Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 340307 - dev-util/catalyst livecd-stage2 sets "build" use flag and might break some packages
Summary: dev-util/catalyst livecd-stage2 sets "build" use flag and might break some pa...
Status: RESOLVED DUPLICATE of bug 478244
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: Catalyst (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Catalyst Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-10 00:22 UTC by Michael Zanetta
Modified: 2013-08-28 03:09 UTC (History)
1 user (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 Michael Zanetta 2010-10-10 00:22:20 UTC
When using catalyst to build a livecd-stage2, the script targets/support/kmerge.sh, at line 195 adds the build use flag to the make.conf.

[ -e /etc/make.conf ] && \
        echo "USE=\"\${USE} ${clst_kernel_use} build\"" >> /etc/make.conf

This can break packages merged during callback eg
an ebuild needs python[some_new_use_flag], python gets rebuilt with the build use flag. Some apps then stop working like layman, dying with the message:
'module' object has no attribute 'expat'

I haven't made much research but it's definitely related to the "build" use flag.
Since http://www.gentoo.org/dyn/use-index.xml doesn't give much infos other than it must not be set/used, I could track down the real implication behind it. Please let me know what you think.

Reproducible: Always

Steps to Reproduce:
Comment 1 Michael Zanetta 2010-10-10 00:23:18 UTC
Sorry, I forgot to mention I'm using dev-util/catalyst-2.0.6.909
Comment 2 Rick Farina (Zero_Chaos) gentoo-dev 2013-08-28 03:09:01 UTC
this is mostly fixed, all except when kerncache is used.  please see bug with more information.

*** This bug has been marked as a duplicate of bug 478244 ***