Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 299996

Summary: >=sys-devel/gcc-4.2 LICENSE doesn't play well with ACCEPT_LICENSE
Product: Gentoo Linux Reporter: Ulrich Müller <ulm>
Component: New packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ulrich Müller gentoo-dev 2010-01-07 06:54:46 UTC
Licenses libgcc, libstdc++, and gcc-runtime-library-exception-3.1 are additional permissions to the GPL. So having GPL-3 (or a set like @GPL-COMPATIBLE) in ACCEPT_LICENSE should be sufficient to accept gcc.

I think the licenses should be joined by || rather than (implicit) &&:
   "|| ( GPL-3 libgcc libstdc++ ) LGPL-3"
(This is for gcc-4.3*, 4.4* is similar of course.)

Also, FDL-1.2 should be added for gcc's texinfo documentation.
Comment 1 Ulrich Müller gentoo-dev 2010-01-09 13:02:26 UTC
I've changed it to the following (for gcc-4.3.4, but others are similar):

LICENSE="GPL-3 LGPL-3 || ( GPL-3 libgcc libstdc++ ) FDL-1.2"

because exceptions don't apply to all installed files.
Of course, "GPL-3 || ( GPL-3 foo )" is logically equivalent to "GPL-3", but LICENSE is also informational.