Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 526494

Summary: dev-util/mingw64-runtime - pkg_setup(): die "Invalid configuration"
Product: Gentoo Linux Reporter: barade.barade
Component: [OLD] DevelopmentAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED INVALID    
Severity: normal CC: jer
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log
emerge info

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