Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 390637 - sys-devel/crossdev-20111018 - nocxx -> cxx transition
Summary: sys-devel/crossdev-20111018 - nocxx -> cxx transition
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
: 391053 391453 392023 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-11-15 17:29 UTC by Stefan Zwanenburg
Modified: 2011-12-01 20:17 UTC (History)
4 users (show)

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


Attachments
Temporary solution to the problem (0001-Temporary-fix-for-cxx-nocxx-use-flag-transition.patch,1.13 KB, patch)
2011-11-15 18:22 UTC, Stefan Zwanenburg
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Zwanenburg 2011-11-15 17:29:16 UTC
It has come to my attention that gcc ebuilds have been made to transition from the "nocxx" USE flag, to a (arguably) saner "cxx" flag.
However, the latest unstable version of crossdev (=sys-devel/crossdev-20111018) enables the "nocxx" flag when building Stage 1 (-s1) cross-development toolchains. This can (and probably will) conflict with the new "cxx" flag.

See the declaration of the GUSE_DISABLE_STAGE_1 variable on line 457 of the version of crossdev mentioned above.

Reproducible: Always
Comment 1 Stefan Zwanenburg 2011-11-15 18:16:31 UTC
On second thought, maybe it's the "toolchain" eclass that's a little backwards. There's a check in there to make sure that the "cxx" and "nocxx" use flags aren't both set, and both *not* set. That means that the GUSE_DISABLE_STAGE_1 variable should add "-cxx" to the list to actually make it work.

I tested this locally, and that actually fixes my problem, but I imagine that this will soon have to be changed again to remove the "nocxx" use flag.
Comment 2 Stefan Zwanenburg 2011-11-15 18:22:39 UTC
Created attachment 292667 [details, diff]
Temporary solution to the problem
Comment 3 SpanKY gentoo-dev 2011-11-18 20:44:45 UTC
mhttp://git.overlays.gentoo.org/gitweb/?p=proj/crossdev.git;a=commitdiff;h=77232e519f076f7e04d7d6323a564249a020bb2d
Comment 4 SpanKY gentoo-dev 2011-11-18 20:54:57 UTC
should be all set now in the tree; thanks for the report!

Commit message: Version bump with USE=cxx updates.
http://sources.gentoo.org/sys-devel/crossdev/crossdev-20111118.ebuild?rev=1.1
Comment 5 Jouni Kosonen 2011-11-19 10:18:09 UTC
It seems that the tarball crossdev-20111118.tar.xz itself is still not in distfiles, not even in d.g.o/~vapier/dist/ ?
Comment 6 SpanKY gentoo-dev 2011-11-19 18:30:16 UTC
should be now
Comment 7 SpanKY gentoo-dev 2011-11-22 16:36:11 UTC
*** Bug 391053 has been marked as a duplicate of this bug. ***
Comment 8 SpanKY gentoo-dev 2011-11-23 18:26:48 UTC
*** Bug 391453 has been marked as a duplicate of this bug. ***
Comment 9 SpanKY gentoo-dev 2011-12-01 20:17:08 UTC
*** Bug 392023 has been marked as a duplicate of this bug. ***