Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 653418 - app-doc/phrack-03 : * The source directory /var/tmp/portage/app-doc/phrack-03/work/phrack3 doesn t exist
Summary: app-doc/phrack-03 : * The source directory /var/tmp/portage/app-doc/phrack-0...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-17 16:51 UTC by Toralf Förster
Modified: 2018-07-27 13:11 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.97 KB, text/plain)
2018-04-17 16:51 UTC, Toralf Förster
Details
app-doc:phrack-03:20180417-004808.log (app-doc:phrack-03:20180417-004808.log,1.38 KB, text/plain)
2018-04-17 16:51 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,105.05 KB, text/plain)
2018-04-17 16:51 UTC, Toralf Förster
Details
environment (environment,9.96 KB, text/plain)
2018-04-17 16:51 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.24 KB, application/x-bzip)
2018-04-17 16:51 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,167 bytes, application/x-bzip)
2018-04-17 16:51 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-04-17 16:51:15 UTC
>>> Source unpacked in /var/tmp/portage/app-doc/phrack-03/work
 * ERROR: app-doc/phrack-03::gentoo failed (prepare phase):
 *   The source directory '/var/tmp/portage/app-doc/phrack-03/work/phrack3' doesn't exist
 * 
 * Call stack:
 *            ebuild.sh, line  789:  Called __ebuild_main 'prepare'

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop_libressl-test_20180413-202925

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.7.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv app-doc/phrack
[ebuild  NS   ] app-doc/phrack-68 [25, 56]
Comment 1 Toralf Förster gentoo-dev 2018-04-17 16:51:18 UTC
Created attachment 527810 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-04-17 16:51:21 UTC
Created attachment 527812 [details]
app-doc:phrack-03:20180417-004808.log
Comment 3 Toralf Förster gentoo-dev 2018-04-17 16:51:24 UTC
Created attachment 527814 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-04-17 16:51:27 UTC
Created attachment 527816 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-04-17 16:51:30 UTC
Created attachment 527818 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-04-17 16:51:33 UTC
Created attachment 527820 [details]
logs.tbz2
Comment 7 Jonas Jelten 2018-07-07 23:45:40 UTC
Same happens for phrack-01, 02, 03, 04, 05, 06, 07, 08, 09:


>>> Emerging (17 of 66) app-doc/phrack-01::gentoo
 * phrack1.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                                                                                                [ ok ]
>>> Unpacking source...
>>> Unpacking phrack1.tar.gz to /tmp/portage/app-doc/phrack-01/work
>>> Source unpacked in /tmp/portage/app-doc/phrack-01/work
 * ERROR: app-doc/phrack-01::gentoo failed (prepare phase):
 *   The source directory '/tmp/portage/app-doc/phrack-01/work/phrack1' doesn't exist
 * 
 * Call stack:
 *            ebuild.sh, line  792:  Called __ebuild_main 'prepare'
 *   phase-functions.sh, line 1067:  Called __dyn_prepare
 *   phase-functions.sh, line  383:  Called die
 * The specific snippet of code:
 *              die "The source directory '${S}' doesn't exist"


When I move the work/* files to work/phrack${id}/ all files are installed.
Comment 8 Jiří Moravec 2018-07-11 19:56:18 UTC
Hello.
It's look like you missed another necessary change in app-doc/phrack-all ebuild:

--- phrack-all-69.ebuild        2018-07-08 12:15:42.378948787 +0200
+++ phrack-all-69.ebuild        2018-07-11 21:49:35.967636496 +0200
@@ -13,4 +13,4 @@ SLOT="0"
 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE=""
 
-RDEPEND=$(printf '=app-doc/phrack-%02i ' {1..69})
+RDEPEND=$(printf 'app-doc/phrack:%02i ' {1..69})
Comment 10 Nils Freydank 2018-07-15 22:16:43 UTC
(In reply to Pacho Ramos from comment #9)
> should be solved with
> https://gitweb.gentoo.org/repo/gentoo.git/commit/
> ?id=9663d70b415c329ec1f634f402af3e8f2e3cc67d

No, it does *not* solve the issue, it only bumps the EAPI (and does so into stable - I guess QA would rip off s.o.'s head for this :-)

Inside my linked PR at github.com I adopted ${MY_P} depending on the slot number;
${MY_P} is used in ${S} later on:

--- snip ---
if [[ ${PV} < 10 ]]
then
	MY_P="${PN}0${PV:1:1}"
else
	MY_P="${PN}${PV:1:2}"
fi
--- snap ---
Comment 11 Larry the Git Cow gentoo-dev 2018-07-27 13:11:39 UTC
The bug has been closed via the following commit(s):

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

commit dccd17ca6b055ffdc0f5f2239563f177775e9e08
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2018-07-27 13:11:25 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-07-27 13:11:25 +0000

    app-doc/phrack: Fix S for releases 01..10
    
    Closes: https://bugs.gentoo.org/653418
    Closes: https://github.com/gentoo/gentoo/pull/9138

 app-doc/phrack/phrack-01.ebuild | 2 +-
 app-doc/phrack/phrack-02.ebuild | 2 +-
 app-doc/phrack/phrack-03.ebuild | 2 +-
 app-doc/phrack/phrack-04.ebuild | 2 +-
 app-doc/phrack/phrack-05.ebuild | 2 +-
 app-doc/phrack/phrack-06.ebuild | 2 +-
 app-doc/phrack/phrack-07.ebuild | 2 +-
 app-doc/phrack/phrack-08.ebuild | 2 +-
 app-doc/phrack/phrack-09.ebuild | 2 +-
 app-doc/phrack/phrack-10.ebuild | 2 +-
 10 files changed, 10 insertions(+), 10 deletions(-)