Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 513128 - [qt overlay] =dev-qt/qttranslations-4.8.6 - .../temp/environment: line 3206: /qmake: No such file or directory
Summary: [qt overlay] =dev-qt/qttranslations-4.8.6 - .../temp/environment: line 3206: ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords: InOverlay, PMASKED
Depends on:
Blocks: 510042
  Show dependency tree
 
Reported: 2014-06-13 15:38 UTC by Andrés Becerra Sandoval
Modified: 2014-06-24 13:25 UTC (History)
0 users

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


Attachments
build.log (build.log,1.97 KB, text/plain)
2014-06-13 16:43 UTC, Andrés Becerra Sandoval
Details
environment (environment,116.27 KB, text/plain)
2014-06-13 16:44 UTC, Andrés Becerra Sandoval
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrés Becerra Sandoval 2014-06-13 15:38:06 UTC
>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-qt/qttranslations-4.8.6/work/qt-everywhere-opensource-src-4.8.6 ...
/var/tmp/portage/dev-qt/qttranslations-4.8.6/temp/environment: line 3206: /qmake: No such file or directory
 * ERROR: dev-qt/qttranslations-4.8.6::qt failed (configure phase):
 *   (no error message)


I can help to test qt-4.8.6 but I am blocked with this package after merging qtcore-4.8.6
Comment 1 Rafał Mużyło 2014-06-13 15:49:56 UTC
Attach full build log.
Comment 2 Rafał Mużyło 2014-06-13 16:11:27 UTC
...and given the message, environment file might be interesting.

That var should be set by qt4-build-multilib_src_prepare.
Is your overlay up to date ?
Comment 3 Davide Pesavento gentoo-dev 2014-06-13 16:32:05 UTC
$QT4_BINDIR expands to the empty string because qt4_prepare_env hasn't been called.

However, I've been thinking that inheriting qt4-build-multilib for qttranslations is a bit overkill (all the multilib stuff is irrelevant) so I'll probably just switch it over to qmake-utils...
Comment 4 Andrés Becerra Sandoval 2014-06-13 16:43:44 UTC
Created attachment 378792 [details]
build.log
Comment 5 Andrés Becerra Sandoval 2014-06-13 16:44:33 UTC
Created attachment 378794 [details]
environment
Comment 6 Andrés Becerra Sandoval 2014-06-13 16:52:17 UTC
(In reply to Rafał Mużyło from comment #2)
> ...and given the message, environment file might be interesting.
> 
> That var should be set by qt4-build-multilib_src_prepare.
> Is your overlay up to date ?

Yes, is up to date
Comment 7 Andrés Becerra Sandoval 2014-06-16 14:57:37 UTC
(In reply to Davide Pesavento from comment #3)
> $QT4_BINDIR expands to the empty string because qt4_prepare_env hasn't been
> called.
> 
> However, I've been thinking that inheriting qt4-build-multilib for
> qttranslations is a bit overkill (all the multilib stuff is irrelevant) so
> I'll probably just switch it over to qmake-utils...

Hi,

With qmake-utils it fails with:
 *              die "The source directory '${S}' doesn't exist"


Full message:

* Package:    dev-qt/qttranslations-4.8.6
 * Repository: qt
 * Maintainer: qt@gentoo.org
 * Upstream:   https://bugreports.qt-project.org/
 * USE:        amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
 * ERROR: dev-qt/qttranslations-4.8.6::qt failed (configure phase):
 *   The source directory '/var/tmp/portage/dev-qt/qttranslations-4.8.6/work/qttranslations-4.8.6' doesn't exist
 * 
 * Call stack:
 *            ebuild.sh, line 714:  Called __ebuild_main 'configure'
 *   phase-functions.sh, line 955:  Called __dyn_configure
 *   phase-functions.sh, line 400:  Called die
 * The specific snippet of code:
 *              die "The source directory '${S}' doesn't exist"
 * 
 * If you need support, post the output of `emerge --info '=dev-qt/qttranslations-4.8.6::qt'`,
 * the complete build log and the output of `emerge -pqv '=dev-qt/qttranslations-4.8.6::qt'`.
 * The complete build log is located at '/var/tmp/portage/dev-qt/qttranslations-4.8.6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-qt/qttranslations-4.8.6/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-qt/qttranslations-4.8.6'
 * S: '/var/tmp/portage/dev-qt/qttranslations-4.8.6/work/qttranslations-4.8.6'
Comment 8 Andrés Becerra Sandoval 2014-06-19 14:16:44 UTC
With qt4-build-multilib I get the following error:

>>> Unpacking source...
>>> Unpacking qt-everywhere-opensource-src-4.8.6.tar.gz to /var/tmp/portage/dev-qt/qttranslations-4.8.6/work
>>> Source unpacked in /var/tmp/portage/dev-qt/qttranslations-4.8.6/work
>>> Preparing source in /var/tmp/portage/dev-qt/qttranslations-4.8.6/work/qt-everywhere-opensource-src-4.8.6 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-qt/qttranslations-4.8.6/work/qt-everywhere-opensource-src-4.8.6 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-qt/qttranslations-4.8.6/work/qt-everywhere-opensource-src-4.8.6 ...
 * abi_x86_64.amd64: running multilib-minimal_abi_src_compile
/var/tmp/portage/dev-qt/qttranslations-4.8.6/temp/environment: line 2091: pushd: /var/tmp/portage/dev-qt/qttranslations-4.8.6/work/qt-everywhere-opensource-src-4.8.6-abi_x86_64.amd64: No such file or directory
 * ERROR: dev-qt/qttranslations-4.8.6::qt failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_compile
 *   environment, line 3207:  Called qt4-build-multilib_src_compile
 *   environment, line 2868:  Called multilib-minimal_src_compile
 *   environment, line 2099:  Called multilib_foreach_abi 'multilib-minimal_abi_src_compile'
 *   environment, line 2323:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 1952:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 1950:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile'
 *   environment, line  362:  Called multilib-minimal_abi_src_compile
 *   environment, line 2091:  Called die
 * The specific snippet of code:
 *           pushd "${BUILD_DIR}" > /dev/null || die;
 * 
 * If you need support, post the output of `emerge --info '=dev-qt/qttranslations-4.8.6::qt'`,
 * the complete build log and the output of `emerge -pqv '=dev-qt/qttranslations-4.8.6::qt'`.
 * The complete build log is located at '/var/tmp/portage/dev-qt/qttranslations-4.8.6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-qt/qttranslations-4.8.6/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-qt/qttranslations-4.8.6/work/qt-everywhere-opensource-src-4.8.6'
 * S: '/var/tmp/portage/dev-qt/qttranslations-4.8.6/work/qt-everywhere-opensource-src-4.8.6'
Comment 9 Davide Pesavento gentoo-dev 2014-06-22 19:24:19 UTC
Should be fixed now. Thanks for reporting.
Comment 10 Andrés Becerra Sandoval 2014-06-24 13:25:52 UTC
(In reply to Davide Pesavento from comment #9)
> Should be fixed now. Thanks for reporting.

Thank you David, I just tested the ebuild and it is merging correctly.