Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 389891 - Links between LICENSE and USE are not obvious
Summary: Links between LICENSE and USE are not obvious
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-08 14:11 UTC by hitachi
Modified: 2011-11-09 17:20 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hitachi 2011-11-08 14:11:11 UTC
Hi,

runing amd65 on my box. make.conf important line is:
ACCEPT_LICENSE="-* @FREE"

Now I tried to emerge -Duav system and I get the following:

!!! The following installed packages are masked:
- sys-kernel/gentoo-sources-2.6.39-r3::gentoo (masked by: freedist license(s))
A copy of the 'freedist' license is located at '/usr/portage/licenses/freedist'.

- sys-kernel/gentoo-sources-3.0.6::gentoo (masked by: freedist license(s))
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

The hole thing for me in running gento is I want to use free software (and better software than M$ can ship).

Please also see:
http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=2&chap=1#doc_chap4
Code Listing 4.4: Use only free licenses

Why ist the gentoo-source suddenly no longer part of @FREE?

Regards

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-11-08 15:55:33 UTC
LICENSE=freedist is only for the USE=deblob case, which downloads additional sources from third parties to rid the kernel sources from pre-compiled binaries/firmware. If you do not want ACCEPT_LICENSE=freedist, then set USE=-deblob.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2011-11-08 16:38:14 UTC
Actually, there is a more profound problem here. Maybe we could describe the linkage between LICENSE and USE in metadata.xml so that this kind of confusion can be prevented and so that a solution can be integrated in sys-apps/portage.

Please bring this up on the gentoo-dev mailing list.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2011-11-08 17:11:36 UTC
We have a team for that? :)
Comment 4 Ulrich Müller gentoo-dev 2011-11-08 18:22:22 UTC
(In reply to comment #1)
> LICENSE=freedist is only for the USE=deblob case, which downloads additional
> sources from third parties to rid the kernel sources from pre-compiled
> binaries/firmware. If you do not want ACCEPT_LICENSE=freedist, then set
> USE=-deblob.

@jer: It's the other way around. USE=deblob will _remove_ firmware blobs from the kernel, therefore either USE=deblob is needed, or freedist should be accepted for the kernel (e.g. in /etc/portage/package.licenses).

(In reply to comment #2)
> Actually, there is a more profound problem here. Maybe we could describe
> the linkage between LICENSE and USE in metadata.xml so that this kind of
> confusion can be prevented and so that a solution can be integrated in
> sys-apps/portage. 

But Portage should already have the complete information. In the current case, LICENSE contains "!deblob? ( freedist )". What should metadata.xml add to that?
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2011-11-08 19:23:02 UTC
That would mean it's invalid after all.
Comment 6 hitachi 2011-11-08 22:27:50 UTC
Just adding sys-kernel/gentoo-sources deblob to /etc/portage/package.use did not change the message. Now I added freedist to /etc/portage/package.license . The plan is to reemerge gentoo-sources with deblob and than to remove the line from package.license. Let's see what happens.
Anyway deblob should be default with gentoo-sources because people want to use free software and to use an extra licens should be an act of willing.
Also the output has to be more verbose or different. The information about deblob should ship with the output. Otherwise it is very hard to find out.
Comment 7 hitachi 2011-11-08 22:39:07 UTC
This did not help. Still:
- sys-kernel/gentoo-sources-2.6.39-r3::gentoo (masked by: freedist license(s))
A copy of the 'freedist' license is located at '/usr/portage/licenses/freedist'.
Anyway gentoo-sources is emerged with use: deblob.
Comment 8 Ulrich Müller gentoo-dev 2011-11-09 06:45:54 UTC
(In reply to comment #6)
> Now I added freedist to /etc/portage/package.license .

How have you added it? It should be a line like this:
sys-kernel/gentoo-sources freedist

> Anyway deblob should be default with gentoo-sources because people want to
> use free software and to use an extra licens should be an act of willing.

You can't really generalise like this. Different people may have different priorities; maybe some of them simply like their hardware functioning? If you want the default to be changed, then probably it's best to discuss it with upstream kernel maintainers. (Though I'd guess that it has been discussed before.)
Comment 9 Mike Pagano gentoo-dev 2011-11-09 11:30:56 UTC
(In reply to comment #8)
> You can't really generalise like this. Different people may have different

<snip>

+1
Speaking as a member of the Gentoo Kernel team I agree with Ulrich's statements.
Comment 10 hitachi 2011-11-09 17:09:47 UTC
(In reply to comment #8)
> (In reply to comment #6)
> > Now I added freedist to /etc/portage/package.license .
> 
> How have you added it? It should be a line like this:
> sys-kernel/gentoo-sources freedist
> 

Hi,

no! I added the following to /etc/portage/package.use :
sys-kernel/gentoo-sources deblob

This should free me. So there should not be any message that sais:

- sys-kernel/gentoo-sources-2.6.39-r3::gentoo (masked by: freedist license(s))
A copy of the 'freedist' license is located at '/usr/portage/licenses/freedist'.

I do not want to have the line in package.license. I don't want to accept that license. I want to have free software and I want gentoo to know that I am using free software.

> > Anyway deblob should be default with gentoo-sources because people want to
> > use free software and to use an extra licens should be an act of willing.
> 
> You can't really generalise like this. Different people may have different
> priorities; maybe some of them simply like their hardware functioning? If you
> want the default to be changed, then probably it's best to discuss it with
> upstream kernel maintainers. (Though I'd guess that it has been discussed
> before.)

I now can see this point an I can live with this. But I still think the kernel is the most importend part of linux and the kernel we use should be defind as free software! If the kernel isn't free what the hack with the rest?
Comment 11 hitachi 2011-11-09 17:20:46 UTC
Maybe I need to reemerge a second time. Wait till tomorrow, please.