Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 299996 - >=sys-devel/gcc-4.2 LICENSE doesn't play well with ACCEPT_LICENSE
Summary: >=sys-devel/gcc-4.2 LICENSE doesn't play well with ACCEPT_LICENSE
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-07 06:54 UTC by Ulrich Müller
Modified: 2010-01-09 13:02 UTC (History)
0 users

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 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.