Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 342117 - x11-libs/libdrm-2.4.20-r1 - Cannot find $EPATCH_SOURCE
Summary: x11-libs/libdrm-2.4.20-r1 - Cannot find $EPATCH_SOURCE
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-22 06:05 UTC by Outer Measure
Modified: 2010-10-22 13:04 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 Outer Measure 2010-10-22 06:05:07 UTC
2.4.18-0001-datatypes.patch removable in Changelog causes 2.4.20-r1 to failed to build.

From Changelog:

  21 Oct 2010; Tomáš Chvátal <scarabeus@gentoo.org>
  -files/2.4.18-0001-datatypes.patch, -libdrm-2.4.18_pre20100211-r1.ebuild,
  -libdrm-2.4.21.ebuild:
  old

But in libdrm-2.4.20-r1.ebuild (lines 24--28) :

PATCHES=(
	# Fixes buidling of x11-drivers/xf86-video-openchrome, Gentoo bug 298352,
	# upstream bug 26994
	"${FILESDIR}"/2.4.18-0001-datatypes.patch
	)


Reproducible: Always

Steps to Reproduce:
1. emerge libdrm-2.4.20
2.
3.

Actual Results:  
>>> Unpacking source...
>>> Unpacking libdrm-2.4.20.tar.bz2 to /var/tmp/portage/x11-libs/libdrm-2.4.20-r1/work

 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 *                  
 *   /usr/portage/x11-libs/libdrm/files/2.4.18-0001-datatypes.patch
 *   ( 2.4.18-0001-datatypes.patch )
                    
 * ERROR: x11-libs/libdrm-2.4.20-r1 failed:
 *   Cannot find $EPATCH_SOURCE!
 *                  
 * Call stack:      
 *     ebuild.sh, line   54:  Called src_unpack
 *   environment, line 3302:  Called x-modular_src_unpack
 *   environment, line 4193:  Called x-modular_src_prepare
 *   environment, line 4184:  Called x-modular_patch_source
 *   environment, line 4082:  Called epatch '/usr/portage/x11-libs/libdrm/files/2.4.18-0001-datatypes.patch'
 *   environment, line 1770:  Called die
 * The specific snippet of code:
 *               die "Cannot find \$EPATCH_SOURCE!";
 *                  
 * If you need support, post the output of 'emerge --info =x11-libs/libdrm-2.4.20-r1',
 * the complete build log and the output of 'emerge -pqv =x11-libs/libdrm-2.4.20-r1'.
 * The complete build log is located at '/var/tmp/portage/x11-libs/libdrm-2.4.20-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/libdrm-2.4.20-r1/temp/environment'.
 * S: '/var/tmp/portage/x11-libs/libdrm-2.4.20-r1/work/libdrm-2.4.20'
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-10-22 06:58:52 UTC
Thanks for the report. Fixed in CVS.
Comment 2 Outer Measure 2010-10-22 12:57:01 UTC
Thanks.  Closing this bug.
Comment 3 Anton 2010-10-22 13:04:52 UTC
x11-libs/libdrm-2.4.20-r1 failed to build without 2.4.18-0001-datatypes.patch