Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 730992 - sys-cluster/heat-14.0.0 - ERROR: src_prepare(): The source directory '.../work/heat-14.0.0' doesn't exist
Summary: sys-cluster/heat-14.0.0 - ERROR: src_prepare(): The source directory '.../wor...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-06 00:39 UTC by Guillaume Seren
Modified: 2020-07-09 01:14 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 Guillaume Seren 2020-07-06 00:39:32 UTC
Hello,
as I was upgrading my setup to sys-cluster/openstack-meta-2020.1.0,
I discovered an issue regarding the P.

>>> Source unpacked in /var/tmp/portage/sys-cluster/heat-14.0.0/work
 * ERROR: sys-cluster/heat-14.0.0::gentoo failed (prepare phase):
 *   The source directory '/var/tmp/portage/sys-cluster/heat-14.0.0/work/heat-14.0.0' doesn't exist
 * 
 * Call stack:
 *            ebuild.sh, line  762:  Called __ebuild_main 'prepare'
 *   phase-functions.sh, line 1054:  Called __dyn_prepare
 *   phase-functions.sh, line  384:  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 '=sys-cluster/heat-14.0.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-cluster/heat-14.0.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-cluster/heat-14.0.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-cluster/heat-14.0.0/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-cluster/heat-14.0.0/homedir'
 * S: '/var/tmp/portage/sys-cluster/heat-14.0.0/work/heat-14.0.0'

After checking the tarball, it needs the following fix,
which was here on the previous (13.0) version.
S="${WORKDIR}/openstack-${P}"

I can submit a PR if you want.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2020-07-06 07:03:17 UTC
[...]
HTTP request sent, awaiting response... 302 Found
Location: https://tarballs.opendev.org/openstack/heat/openstack-heat-14.0.0.tar.gz [following]
--2020-07-06 09:02:30--  https://tarballs.opendev.org/openstack/heat/openstack-heat-14.0.0.tar.gz
Resolving tarballs.opendev.org (tarballs.opendev.org)... 23.253.245.150, 2001:4800:7818:101:be76:4eff:fe04:7c28
Connecting to tarballs.opendev.org (tarballs.opendev.org)|23.253.245.150|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2393821 (2.3M) [application/x-gzip]
Saving to: ‘/aches/gentoo/distfiles/openstack-heat-14.0.0.tar.gz.__download__’

/aches/gentoo/distfiles/openstack-heat- 100%[==============================================================================>]   2.28M   744KB/s    in 3.1s

2020-07-06 09:02:34 (744 KB/s) - ‘/aches/gentoo/distfiles/openstack-heat-14.0.0.tar.gz.__download__’ saved [2393821/2393821]

 * openstack-heat-14.0.0.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                             [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     5.7.7-gentoo-JeR
>>> Unpacking source...
>>> Unpacking heat.conf.sample-14.0.0 to /home/jer/portage/sys-cluster/heat-14.0.0/work
unpack heat.conf.sample-14.0.0: file format not recognized. Ignoring.
>>> Unpacking openstack-heat-14.0.0.tar.gz to /home/jer/portage/sys-cluster/heat-14.0.0/work
>>> Source unpacked in /home/jer/portage/sys-cluster/heat-14.0.0/work
 * ERROR: sys-cluster/heat-14.0.0::gentoo failed (prepare phase):
 *   The source directory '/home/jer/portage/sys-cluster/heat-14.0.0/work/heat-14.0.0' doesn't exist
 *
 * Call stack:
 *            ebuild.sh, line  762:  Called __ebuild_main 'prepare'
 *   phase-functions.sh, line 1050:  Called __dyn_prepare
 *   phase-functions.sh, line  384:  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 '=sys-cluster/heat-14.0.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-cluster/heat-14.0.0::gentoo'`.
 * The complete build log is located at '/aches/gentoo/emergelogs/wim/sys-cluster:heat-14.0.0:20200706-070223.log'.
 * For convenience, a symlink to the build log is located at '/home/jer/portage/sys-cluster/heat-14.0.0/temp/build.log'.
 * The ebuild environment file is located at '/home/jer/portage/sys-cluster/heat-14.0.0/temp/environment'.
 * Working directory: '/home/jer/portage/sys-cluster/heat-14.0.0/homedir'
 * S: '/home/jer/portage/sys-cluster/heat-14.0.0/work/heat-14.0.0'
Comment 2 Larry the Git Cow gentoo-dev 2020-07-09 01:14:35 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96eec51b4e112585b17f6501458377dd45736bee

commit 96eec51b4e112585b17f6501458377dd45736bee
Author:     Matthew Thode <prometheanfire@gentoo.org>
AuthorDate: 2020-07-09 01:14:18 +0000
Commit:     Matthew Thode <prometheanfire@gentoo.org>
CommitDate: 2020-07-09 01:14:30 +0000

    sys-cluster/heat: fix S-dir again
    
    Closes: https://bugs.gentoo.org/730992
    Package-Manager: Portage-2.3.99, Repoman-2.3.23
    Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>

 sys-cluster/heat/heat-14.0.0.ebuild      | 1 +
 sys-cluster/heat/heat-2020.1.9999.ebuild | 1 +
 2 files changed, 2 insertions(+)