the ebuild form portage: www-misc/fcgiwrap-1.0.3-r1
has the line 22: S="${WORKDIR}/gnosek-${PN}-${MY_REV}"
and when trying to emerge it it gives an error
* Messages for package www-misc/fcgiwrap-1.0.3-r1:
* ERROR: www-misc/fcgiwrap-1.0.3-r1 failed (prepare phase):
* The source directory
'/var/tmp/portage/www-misc/fcgiwrap-1.0.3-r1/work/gnosek-fcgiwrap-'
doesn't exist
*
* Call stack:
* ebuild.sh, line 708: Called ebuild_main 'prepare'
* phase-functions.sh, line 955: Called dyn_prepare
* phase-functions.sh, line 372: 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
'=www-misc/fcgiwrap-1.0.3-r1'`,
* the complete build log and the output of `emerge -pqv
'=www-misc/fcgiwrap-1.0.3-r1'`.
* The complete build log is located at
'/var/tmp/portage/www-misc/fcgiwrap-1.0.3-r1/temp/build.log'.
* The ebuild environment file is located at
'/var/tmp/portage/www-misc/fcgiwrap-1.0.3-r1/temp/environment'.
* Working directory: '/var/tmp/portage/www-misc/fcgiwrap-1.0.3-r1'
* S: '/var/tmp/portage/www-misc/fcgiwrap-1.0.3-r1/work/gnosek-fcgiwrap-'
and thie is since there is no
"/var/tmp/portage/www-misc/fcgiwrap-1.0.3-r1/work/gnosek-fcgiwrap-"
but there is a folder:
"/var/tmp/portage/www-misc/fcgiwrap-1.0.3-r1/work/gnosek-fcgiwrap-""58ec209"
changing the ebuild sources to uncomment the variable MY_REV="58ec209"
fix the problem.
change it and run: ebuild
/usr/portage/www-misc/fcgiwrap/fcgiwrap-1.0.3-r1.ebuild digest
to update the ebuild and it runs fine.
Eliezer