<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>37575</bug_id>
          
          <creation_ts>2019-12-04 14:29:12 +0300</creation_ts>
          <short_desc>License for Virtualbox</short_desc>
          <delta_ts>2019-12-13 02:45:50 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>virtualbox</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://git.altlinux.org/tasks/242216/logs/events.3.1.log</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Evgeny Sinelnikov">sin</reporter>
          <assigned_to name="Evgeny Sinelnikov">sin</assigned_to>
          <cc>greh</cc>
    
    <cc>ldv</cc>
    
    <cc>legion</cc>
    
    <cc>nbr</cc>
    
    <cc>sin</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>186007</commentid>
    <comment_count>0</comment_count>
    <who name="Evgeny Sinelnikov">sin</who>
    <bug_when>2019-12-04 14:29:12 +0300</bug_when>
    <thetext>При сборке Virtualbox в сизиф возникла ошибка:
sisyphus_check: check-deps ERROR: package dependencies violation
/.out/virtualbox-5.2.34-alt3.x86_64.rpm: The use of such a license name is ambiguous: GPL

Указание лицензии GPLv2 or (GPLv2 and CDDL) приводит к ошибке:
sisyphus_check: check-deps ERROR: package dependencies violation
/.out/virtualbox-5.2.34-alt3.i586.rpm: license not found in &apos;/usr/share/license&apos; directory: CDDL

Новое название лицензии взято из примера спека федоры.
При этом в исходниках, действительно, лежит два файла лицензии:
- COPYING
- COPYING.CDDL
http://git.altlinux.org/people/sin/packages/virtualbox.git

Непонятно - как быть с лицензией. Думаю оставить GPLv2.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>186019</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Gladkov">legion</who>
    <bug_when>2019-12-04 16:38:37 +0300</bug_when>
    <thetext>(В ответ на комментарий №0)
&gt; Указание лицензии GPLv2 or (GPLv2 and CDDL) приводит к ошибке:
&gt; sisyphus_check: check-deps ERROR: package dependencies violation
&gt; /.out/virtualbox-5.2.34-alt3.i586.rpm: license not found in
&gt; &apos;/usr/share/license&apos; directory: CDDL

CDDL нет т.к. у этой лицензии несколько версий.

&gt; Новое название лицензии взято из примера спека федоры.
&gt; При этом в исходниках, действительно, лежит два файла лицензии:
&gt; - COPYING
&gt; - COPYING.CDDL
&gt; http://git.altlinux.org/people/sin/packages/virtualbox.git

В virtualbox используется CDDL-1.0[1].

&gt; Непонятно - как быть с лицензией. Думаю оставить GPLv2.

Это неправильно.

В COPYING.CDDL[1] написано:

Some source files in the VirtualBox Open Source Edition (OSE) are
dual-licensed under both the GNU General Public License V2.0 (GPL2, see
the COPYING file) and the Common Development and Distribution License,
Version 1.0 (CDDL)

Вот из COPYING:

A VirtualBox interface is deemed
multi-licensed if it is declared in a VirtualBox header file that is licensed
under both the GPL version 2 (below) *and* the Common Development and
Distribution License Version 1.0 (CDDL), as it comes in the &quot;COPYING.CDDL&quot; file.

Я написал бы: GPL-2.0 and CDDL-1.0

[1] http://git.altlinux.org/people/sin/packages/virtualbox.git?p=virtualbox.git;a=blob;f=VirtualBox/COPYING.CDDL;h=5329e917cefbaaba102a92181616a5ddc06e1880;hb=739b0f41f6ad3d8ddc7af62355d29fef2802640b</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>186028</commentid>
    <comment_count>2</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2019-12-04 20:25:44 +0300</bug_when>
    <thetext>(In reply to comment #1)
&gt; Вот из COPYING:
&gt; 
&gt; A VirtualBox interface is deemed
&gt; multi-licensed if it is declared in a VirtualBox header file that is licensed
&gt; under both the GPL version 2 (below) *and* the Common Development and
&gt; Distribution License Version 1.0 (CDDL), as it comes in the &quot;COPYING.CDDL&quot;
&gt; file.

Очень странно написано.  Что они хотели этим сказать?

&gt; Я написал бы: GPL-2.0 and CDDL-1.0

Эта формулировка означает, что какие-то файлы под GPL-2.0, а какие-то под CDDL-1.0.  А что там на самом деле?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>186029</commentid>
    <comment_count>3</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2019-12-04 20:27:42 +0300</bug_when>
    <thetext>В любом случае в пакете common-licenses по этому поводу ничего делать не надо.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>186301</commentid>
    <comment_count>4</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2019-12-13 02:45:50 +0300</bug_when>
    <thetext>virtualbox-5.2.34-alt3 -&gt; sisyphus:

Wed Dec 04 2019 Evgeny Sinelnikov &lt;sin@altlinux&gt; 5.2.34-alt3
- Add virtualbox-guest-common subpackages with modules load and modprobe rules
- Fix build with newest libglvnd later than 1.2.0 on Sisyphus
- Adjust license to GPLv2 (closes: 37575)

Tue Dec 03 2019 Valery Sinelnikov &lt;greh@altlinux&gt; 5.2.34-alt2
- Add modprobe install rules for renamed vboxguest and vboxvideo</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>