* Running qt4_qmake in translations /var/tmp/portage/dev-qt/qttranslations-4.8.6-r1/temp/environment: Zeile 3059: /var/tmp/portage/dev-qt/qttranslations-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6-abi_x86_32.x86/bin/qmake: File not found * ERROR: dev-qt/qttranslations-4.8.6-r1::gentoo failed (configure phase): * qmake failed (/var/tmp/portage/dev-qt/qttranslations-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/translations)
I was able to reproduce locally, I guess we need to enforce qtcore:4[${MULTILIB_USEDEP}] to ensure that qmake is available.
Actually qttranslations has no reason to be a multilib package, it was just way faster to inherit from qt4-build-multilib at the time, plus it reduces code duplication and simplifies maintenance. But yes, if the qttranslations ebuild stays multilib, then it needs MULTILIB_USEDEP of course.
Is it legal to set eg. MULTILIB_COMPAT=( abi_x86_64 ) to disable the other ABIs?
I would suggest simply overriding multilib_src_{configure,compile,install} in this one ebuild to be a no-op on non-native abis. Something like multilib_src_configure() { if multilib_is_native_abi; then qt4_prepare_env qt4_symlink_tools_to_build_dir qt4_foreach_target_subdir qt4_qmake fi } multilib_src_compile() { multilib_is_native_abi && qt4_multilib_src_compile } multilib_src_install() { multilib_is_native_abi && qt4_multilib_src_install } And users will thank you for not wasting time on re-generating the same translation files twice.
and same for multilib_src_test of course.
Any Progress?
(In reply to Roland from comment #6) > Any Progress? See above, build it only for your native ABI.
(In reply to Michael Palimaka (kensington) from comment #7) > (In reply to Roland from comment #6) > > Any Progress? > > See above, build it only for your native ABI. We need the ebuild fixed, so we can proceed with stabilization.
In overlay: https://gitweb.gentoo.org/proj/qt.git/commit/?id=999f73c43088777dbe2639e8e556ce13449add6d
Thanks, fixed in CVS. + 07 Apr 2015; Michael Palimaka <kensington@gentoo.org> + qttranslations-4.8.6-r1.ebuild: + Only build for native ABI to avoid build failure since only ABI-neutral data + is installed wrt bug #545142.