Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 296336 - dev-util/libconf-0.42.10-r2 fails to emerge: a typo in the ebuild
Summary: dev-util/libconf-0.42.10-r2 fails to emerge: a typo in the ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-09 18:37 UTC by Andrey Grozin
Modified: 2009-12-10 05:20 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 Andrey Grozin gentoo-dev 2009-12-09 18:37:53 UTC
libconf-0.42.10-r2.ebuild contains the line

epatch "${FILESDIR}/${PV}-per5.10.patch"

which, obviously, should be

epatch "${FILESDIR}/${PV}-perl5.10.patch"

As a result:

>>> Unpacking perl-Libconf-0.42.10.tar.bz2 to /var/tmp/portage/dev-util/libconf-0.42.10-r2/work

 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 *
 *   /usr/portage/dev-util/libconf/files/0.42.10-per5.10.patch
 *   ( 0.42.10-per5.10.patch )

 * ERROR: dev-util/libconf-0.42.10-r2 failed:
 *   Cannot find $EPATCH_SOURCE!
 *
 * Call stack:
 *     ebuild.sh, line   49:  Called src_unpack
 *   environment, line 2297:  Called epatch '/usr/portage/dev-util/libconf/files/0.42.10-per5.10.patch'
 *   environment, line 1077:  Called die
 * The specific snippet of code:
 *                   die "Cannot find \$EPATCH_SOURCE!";
 *
 * If you need support, post the output of 'emerge --info =dev-util/libconf-0.42.10-r2',
 * the complete build log and the output of 'emerge -pqv =dev-util/libconf-0.42.10-r2'.
 * The complete build log is located at '/var/log/portage/dev-util:libconf-0.42.10-r2:20091210-001024.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/libconf-0.42.10-r2/temp/environment'.
 * S: '/var/tmp/portage/dev-util/libconf-0.42.10-r2/work/perl-Libconf-0.42.10'

>>> Failed to emerge dev-util/libconf-0.42.10-r2, Log file:

>>>  '/var/log/portage/dev-util:libconf-0.42.10-r2:20091210-001024.log'


Reproducible: Always
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2009-12-09 18:49:51 UTC
SYNC before reporting issues like this.
Comment 2 Andrey Grozin gentoo-dev 2009-12-10 05:20:19 UTC
(In reply to comment #1)
> SYNC before reporting issues like this.
Exactly. I synced, got bitten by this bug in the middle of a (moderately) long upgrade, and reported.