Gentoo Archives: gentoo-user

From: Eliezer Croitoru <eliezer@×××××××××.il>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Broken Ebuild for www-misc/fcgiwrap-1.0.3-r1
Date: Sun, 23 Sep 2012 21:15:08
Message-Id: 505F7B48.30109@ngtech.co.il
1 the ebuild form portage: www-misc/fcgiwrap-1.0.3-r1
2 has the line 22: S="${WORKDIR}/gnosek-${PN}-${MY_REV}"
3 and when trying to emerge it it gives an error
4 * Messages for package www-misc/fcgiwrap-1.0.3-r1:
5
6 * ERROR: www-misc/fcgiwrap-1.0.3-r1 failed (prepare phase):
7 * The source directory
8 '/var/tmp/portage/www-misc/fcgiwrap-1.0.3-r1/work/gnosek-fcgiwrap-'
9 doesn't exist
10 *
11 * Call stack:
12 * ebuild.sh, line 708: Called ebuild_main 'prepare'
13 * phase-functions.sh, line 955: Called dyn_prepare
14 * phase-functions.sh, line 372: Called die
15 * The specific snippet of code:
16 * die "The source directory '${S}' doesn't exist"
17 *
18 * If you need support, post the output of `emerge --info
19 '=www-misc/fcgiwrap-1.0.3-r1'`,
20 * the complete build log and the output of `emerge -pqv
21 '=www-misc/fcgiwrap-1.0.3-r1'`.
22 * The complete build log is located at
23 '/var/tmp/portage/www-misc/fcgiwrap-1.0.3-r1/temp/build.log'.
24 * The ebuild environment file is located at
25 '/var/tmp/portage/www-misc/fcgiwrap-1.0.3-r1/temp/environment'.
26 * Working directory: '/var/tmp/portage/www-misc/fcgiwrap-1.0.3-r1'
27 * S: '/var/tmp/portage/www-misc/fcgiwrap-1.0.3-r1/work/gnosek-fcgiwrap-'
28
29
30 and thie is since there is no
31 "/var/tmp/portage/www-misc/fcgiwrap-1.0.3-r1/work/gnosek-fcgiwrap-"
32
33 but there is a folder:
34 "/var/tmp/portage/www-misc/fcgiwrap-1.0.3-r1/work/gnosek-fcgiwrap-""58ec209"
35
36
37 changing the ebuild sources to uncomment the variable MY_REV="58ec209"
38 fix the problem.
39
40 change it and run: ebuild
41 /usr/portage/www-misc/fcgiwrap/fcgiwrap-1.0.3-r1.ebuild digest
42
43 to update the ebuild and it runs fine.
44
45 Eliezer