Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 577114 - [qt overlay] dev-qt/qtcore-5.7.0_alpha - The source directory '/var/tmp/portage/dev-qt/qtcore-5.7.0_alpha/work/qtbase-opensource-src-5.7.0-alpha' doesn't exist
Summary: [qt overlay] dev-qt/qtcore-5.7.0_alpha - The source directory '/var/tmp/porta...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
: 577170 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-03-12 02:04 UTC by jospezial
Modified: 2016-03-13 01:28 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jospezial 2016-03-12 02:04:52 UTC
source is in /var/tmp/portage/dev-qt/qtcore-5.7.0_alpha/work/qtbase-opensource-src-5.7.0/


 * Package:    dev-qt/qtcore-5.7.0_alpha
 * Repository: qt
 * Maintainer: qt@gentoo.org
 * Upstream:   https://bugreports.qt.io/
 * USE:        abi_x86_64 amd64 elibc_glibc icu kernel_linux userland_GNU
 * FEATURES:   ccache preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking qtbase-opensource-src-5.7.0-alpha.tar.xz to /var/tmp/portage/dev-qt/qtcore-5.7.0_alpha/work
>>> Source unpacked in /var/tmp/portage/dev-qt/qtcore-5.7.0_alpha/work
 * ERROR: dev-qt/qtcore-5.7.0_alpha::qt failed (prepare phase):
 *   The source directory '/var/tmp/portage/dev-qt/qtcore-5.7.0_alpha/work/qtbase-opensource-src-5.7.0-alpha' doesn't exist
 * 
 * Call stack:                                                                                                                         
 *            ebuild.sh, line  780:  Called __ebuild_main 'prepare'                                                                    
 *   phase-functions.sh, line 1005:  Called __dyn_prepare                                                                              
 *   phase-functions.sh, line  369:  Called die                                                                                        
 * The specific snippet of code:                                                                                                       
 *              die "The source directory '${S}' doesn't exist"                                                                        
 *
Comment 1 jospezial 2016-03-12 03:19:30 UTC
I edited /var/lib/layman/qt/eclass/qt5-build.eclass .
After that it went on.

--- /home/joerg/Downloads/qt5-build.eclass      2016-03-12 04:09:28.020189915 +0100
+++ /var/lib/layman/qt/eclass/qt5-build.eclass  2016-03-12 03:42:51.339140430 +0100
@@ -84,7 +84,7 @@
                QT5_BUILD_TYPE="release"
                MY_P=${QT5_MODULE}-opensource-src-${PV/_/-}
                SRC_URI="http://download.qt.io/development_releases/qt/${PV%.*}/${PV/_/-}/submodules/${MY_P}.tar.xz"
-               S=${WORKDIR}/${MY_P}
+               S=${WORKDIR}/${QT5_MODULE}-opensource-src-${PV/_alpha/}
                ;;
        *)
                # official stable release


After compilation I get:

 * Running emake INSTALL_ROOT=/var/tmp/portage/dev-qt/qtcore-5.7.0_alpha/image/ install_global_docs install_mkspecs install_qmake install_syncqt
make -j5 INSTALL_ROOT=/var/tmp/portage/dev-qt/qtcore-5.7.0_alpha/image/ install_global_docs install_mkspecs install_qmake install_syncqt 
make: *** No rule to make target 'install_qmake'.  Stop.

https://bugs.gentoo.org/show_bug.cgi?id=566196#c6
Comment 2 Michael Palimaka (kensington) gentoo-dev 2016-03-12 16:43:45 UTC
*** Bug 577170 has been marked as a duplicate of this bug. ***
Comment 3 Davide Pesavento (RETIRED) gentoo-dev 2016-03-13 01:28:01 UTC
Fixed in be19d02bcd57c7070be6969be595ae5c9f4f74f3