Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 509578 - stages fail to build with dev-util/pkgconf due to catalyst disabling USE flags
Summary: stages fail to build with dev-util/pkgconf due to catalyst disabling USE flags
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Stages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-04 22:04 UTC by Markos Chandras (RETIRED)
Modified: 2019-02-04 04:32 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 Markos Chandras (RETIRED) gentoo-dev 2014-05-04 22:04:12 UTC
Trying to build a stage1 for mipsel3 results to the following problem

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by virtual/pkgconfig-0-r1
# required by virtual/pkgconfig (argument)
=dev-util/pkgconf-0.9.3-r1 pkg-config


This is because the stage1 code does this:

# Now, we install our packages
[ -e ${clst_make_conf} ] && \
        echo "USE=\"-* build ${BOOTSTRAP_USE} ${clst_HOSTUSE}\"" \
        >> ${clst_make_conf}
run_merge "--oneshot ${clst_buildpkgs}"


This seems to disable all use flags so the build fails.

Any proposed way to solve that?

I am using the catalyst 3.0 branch on commit c88d930a286a836ffe137a46d13d15c70ccb6b67
Comment 1 Francisco Blas Izquierdo Riera (RETIRED) gentoo-dev 2014-10-11 17:28:29 UTC
Hey hwoarang! I stumbled into this one by chance but, wouldn't adding the pkg-config flag to clst_HOSTUSE fix the issue?

That said since this may sting other stage1s too maybe it should be added to BOOTSTRAP_USE.

I hope you can solve the issue :)
Comment 2 Matt Turner gentoo-dev 2019-02-04 04:15:54 UTC
I've pushed virtual/pkgconfig-1 which prefers dev-util/pkgconf[pkg-config] over dev-util/pkgconfig.

We may need to do something to smarten up catalyst to have portage choose pkgconf like we want, given that it disables all USE flags.
Comment 3 Matt Turner gentoo-dev 2019-02-04 04:19:57 UTC
Looks like the best thing to do is to add "pkg-config" to BOOTSTRAP_USE, since it currently contains "internal-glib" for dev-util/pkgconfig:

profiles/base/make.defaults:BOOTSTRAP_USE="... internal-glib ..."
Comment 4 Larry the Git Cow gentoo-dev 2019-02-04 04:32:14 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5328e870725abd97c896724199e2cf08b264d967

commit 5328e870725abd97c896724199e2cf08b264d967
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2019-02-04 04:31:21 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2019-02-04 04:31:21 +0000

    profiles/base: Add pkg-config to BOOTSTRAP_USE
    
    Closes: https://bugs.gentoo.org/509578
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 profiles/base/make.defaults | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)