Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 526494 - dev-util/mingw64-runtime - pkg_setup(): die "Invalid configuration"
Summary: dev-util/mingw64-runtime - pkg_setup(): die "Invalid configuration"
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-22 18:25 UTC by barade.barade
Modified: 2014-10-23 20:58 UTC (History)
1 user (show)

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


Attachments
build log (build.log,1.35 KB, text/plain)
2014-10-22 18:25 UTC, barade.barade
Details
emerge info (emerge.info,5.12 KB, text/plain)
2014-10-23 16:06 UTC, barade.barade
Details

Note You need to log in before you can comment on or make changes to this bug.
Description barade.barade 2014-10-22 18:25:53 UTC
Created attachment 387224 [details]
build log

It fails immediately after starting emerging it.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-22 23:15:13 UTC
That's because:

pkg_setup() {
    if [[ ${CBUILD} == ${CHOST} ]] && [[ ${CHOST} == ${CTARGET} ]] ; then
        die "Invalid configuration"
    fi
}

Please post your `emerge --info' output in a comment.
Comment 2 barade.barade 2014-10-23 16:06:02 UTC
Created attachment 387266 [details]
emerge info

I think it is because CTARGET is unset. Where do I have to set it?
Comment 3 barade.barade 2014-10-23 16:07:13 UTC
man make.conf says:
CTARGET
              This variable is passed by the ebuild scripts to the configure as --target=${CTARGET} only if it is defined.
Comment 4 SpanKY gentoo-dev 2014-10-23 20:58:32 UTC
use `crossdev` to create a toolchain that targets Windows