Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 555908 - dev-util/kdevelop-pg-qt-1.1.0 fails to src_prepare
Summary: dev-util/kdevelop-pg-qt-1.1.0 fails to src_prepare
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-26 00:05 UTC by Greg Turner
Modified: 2015-07-26 08:32 UTC (History)
0 users

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 Greg Turner 2015-07-26 00:05:28 UTC
See below

Reproducible: Always

Steps to Reproduce:
emerge
Actual Results:  
>>> Emerging (4 of 4) dev-util/kdevelop-pg-qt-1.1.0::gentoo
 * kdevelop-pg-qt-1.1.0.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                         [ ok ]
>>> Unpacking source...
>>> Unpacking kdevelop-pg-qt-1.1.0.tar.gz to /var/tmp/portage/dev-util/kdevelop-pg-qt-1.1.0/work
>>> Source unpacked in /var/tmp/portage/dev-util/kdevelop-pg-qt-1.1.0/work
 * ERROR: dev-util/kdevelop-pg-qt-1.1.0::gentoo failed (prepare phase):
 *   The source directory '/var/tmp/portage/dev-util/kdevelop-pg-qt-1.1.0/work/kdevelop-pg-qt-1.1.0' doesn't exist
 * 
 * Call stack:
 *            ebuild.sh, line 765:  Called __ebuild_main 'prepare'
 *   phase-functions.sh, line 968:  Called __dyn_prepare
 *   phase-functions.sh, line 369:  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-util/kdevelop-pg-qt-1.1.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-util/kdevelop-pg-qt-1.1.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-util/kdevelop-pg-qt-1.1.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/kdevelop-pg-qt-1.1.0/temp/environment'.
 * Working directory: '/usr/lib64/python2.7/site-packages'
 * S: '/var/tmp/portage/dev-util/kdevelop-pg-qt-1.1.0/work/kdevelop-pg-qt-1.1.0'


Tarball creates ${WORKDIR}/${PN}, not ${WORKDIR}/${P}.  Adding the line:

    S="${WORKDIR}/${PN}"

to the end of the ebuild does the trick.
Comment 1 Johannes Huber (RETIRED) gentoo-dev 2015-07-26 08:32:26 UTC
Should be already fixed in tree. Please sync.

+
+  26 Jul 2015; Michał Górny <mgorny@gentoo.org> kdevelop-pg-qt-1.1.0.ebuild:
+  Fix S=. https://github.com/gentoo/gentoo-portage-rsync-mirror/pull/184 by
+  a17r.
+