Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 571724

Summary: app-admin/ansible-2.0.1 cannot find work dir
Product: Gentoo Linux Reporter: Neil Bothwick <neil>
Component: Current packagesAssignee: Sergey Popov (RETIRED) <pinkbyte>
Status: RESOLVED FIXED    
Severity: normal CC: chainsaw, prometheanfire
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: info.txt
app-admin:ansible-2.0.1:20160113-053349.log
emerge-history.txt
environment

Description Neil Bothwick 2016-01-13 10:02:26 UTC
When updating ansible to 2.0.1 this happens:

>>> Unpacking source...
>>> Unpacking ansible-2.0.0.1.tar.gz to /tmp/portage/app-admin/ansible-2.0.1/work
>>> Source unpacked in /tmp/portage/app-admin/ansible-2.0.1/work
 * ERROR: app-admin/ansible-2.0.1::gentoo failed (prepare phase):
 *   The source directory '/tmp/portage/app-admin/ansible-2.0.1/work/ansible-2.0.1' doesn't exist
 *
 * Call stack:
 *            ebuild.sh, line 805:  Called __ebuild_main 'prepare'
 *   phase-functions.sh, line 974:  Called __dyn_prepare
 *   phase-functions.sh, line 369:  Called die
 * The specific snippet of code:
 *              die "The source directory '${S}' doesn't exist"
 *

It appears the actual version is 2.0.0.1 and that is the name of the work dir. Renaming the ebuild to ansible-2.0.0.1.ebuild and changing SRC_URI to

SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${PV}.tar.gz"

results in a successful emerge.
Comment 1 Ivan Iraci 2016-01-13 10:11:15 UTC
Same here.
Comment 2 Toralf Förster gentoo-dev 2016-01-13 15:47:02 UTC
Created attachment 422808 [details]
info.txt


  -----------------------------------------------------------------

  This is an unstable amd64 chroot image (named amd64-13.0-unstable_20160110-214700) at a hardened host acting as a tinderbox.

  -----------------------------------------------------------------

  Portage 2.2.26 (python 3.4.3-final-0, default/linux/amd64/13.0, gcc-5.3.0, glibc-2.22-r1, 4.3.3-hardened-r4 x86_64)
Comment 3 Toralf Förster gentoo-dev 2016-01-13 15:47:04 UTC
Created attachment 422810 [details]
app-admin:ansible-2.0.1:20160113-053349.log
Comment 4 Toralf Förster gentoo-dev 2016-01-13 15:47:07 UTC
Created attachment 422812 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2016-01-13 15:47:09 UTC
Created attachment 422814 [details]
environment
Comment 6 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2016-01-13 19:28:10 UTC
fixed, renamed to 2.0.0.1