Trying to emerge qt-core-4.4.2 will result in various eclasses calling die. Reproducible: Always Steps to Reproduce: 1. add qt-core and dependencies to package.keywords 2. emerge qt-core Actual Results: * ERROR: x11-libs/qt-core-4.4.2 failed: * Unknown CHOST, no platform choosen. * * Call stack: * ebuild.sh: 49: <call pkg_setup> * qt-core-4.4.2.ebuild: 50: <call qt4-build_pkg_setup> * qt4-build.eclass: 62: <call qt_mkspecs_dir> * qt4-build.eclass:466: die "Unknown CHOST, no platform choosen." adding solaris to qt4-build.eclass will lead to the following error: * ERROR: x11-libs/qt-core-4.4.2 failed: * sparc-solaris is unsupported by this eclass. Please file a bug. * * Call stack: * ebuild.sh: 49: <call src_compile> * environment:2835: <call qt4-build_src_compile> * environment:2602: <call standard_configure_options> * environment:2915: die "${ARCH} is unsupported by this eclass. Please file a bug." Expected Results: At least try to start the build. This is a regression from qt-4.3.3.
So, I guess that qt4-build.eclass needs to be made solaris aware. qt_mkspecs_dir() { # Allows us to define which mkspecs dir we want to use. local spec case ${CHOST} in *-freebsd*|*-dragonfly*) spec="freebsd" ;; *-openbsd*) spec="openbsd" ;; *-netbsd*) spec="netbsd" ;; *-darwin*) spec="darwin" ;; *-linux-*|*-linux) spec="linux" ;; *) die "Unknown CHOST, no platform choosen." esac I don't know the answer.
try specs=solaris
Created attachment 174192 [details, diff] qt4-build.eclass.patch Patch to make qt4-build eclass not die. Unfortunately, configure is still broken, I am looking into it.
(In reply to comment #3) > Created an attachment (id=174192) [edit] > qt4-build.eclass.patch > > Patch to make qt4-build eclass not die. Unfortunately, configure is still > broken, I am looking into it. > Applied.
The remaining fixes (not eclass related) are attached to bug 256802 now.
since this patch is applied, closing