Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 391149 - toolchain.eclass breaks sys-devel/kgcc64 on cxx/nocxx sanity check
Summary: toolchain.eclass breaks sys-devel/kgcc64 on cxx/nocxx sanity check
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-20 19:13 UTC by Raúl Porcel (RETIRED)
Modified: 2011-11-20 20:12 UTC (History)
2 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 Raúl Porcel (RETIRED) gentoo-dev 2011-11-20 19:13:36 UTC
The toolchain.eclass does:
if [[ ${PN} != "kgcc64" && ${PN} != gcc-* ]] ; then
    IUSE+=" altivec cxx fortran nocxx"

therefore sys-devel/kgcc64 doesn't have cxx or nocxx as IUSE.

Then there's this sanity check in the eclass:
    # Sanity check for USE=nocxx -> USE=cxx migration
    if (use cxx && use nocxx) || (use !cxx && use !nocxx) ; then
        eerror "We are migrating USE=nocxx to USE=cxx, but your USE settings do not make"
        eerror "sense.  Please make sure these two flags line up logically in your setup."
        die "USE='cxx nocxx' and USE='-cxx -nocxx' make no sense"
    fi

Which will die on sys-devel/kgcc64