Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 13376

Summary: ebuild perl-5.8.0-r8 doesn't build
Product: Gentoo Linux Reporter: Guy <gcadieux>
Component: New packagesAssignee: Michael Cummings (RETIRED) <mcummings>
Status: RESOLVED FIXED    
Severity: major CC: michael
Priority: High    
Version: 1.4_rc2   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Guy 2003-01-06 12:15:37 UTC
Emerging newly unmasked (Jan 6, 2003) version perl-5.8.0-r8 doesn't build.

Aborts with the messages:

* Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
*
* /var/tmp/portage/perl-5.8.0-r8/work/patch


If 'patch' is supposed to be a file or directory, it doesn't exist. The only
directory below 'work' is 'perl-5.8.0'.
Comment 1 Guy 2003-01-06 12:30:49 UTC
There has been posted a work-around in the gentoo forums here:
http://forums.gentoo.org/viewtopic.php?t=28907

I'm off to try it myself. :-)
Comment 2 Guy 2003-01-06 13:15:53 UTC
naransanker's suggested fix solves the problem:

-----------------------------------------------------------------------
I fixed this by editing the ebuild. It works and installs for me. Here is what I
did -

in ---------
src_unpack() {

------------
else
# Fix the definition of 'int sockatmark(int);' in perl.h to have __THROW.
# This fixes bug #12605.
# <azarah@gentoo.org> (28 Dec 2002).
cd ${S}; mkdir ${WORKDIR}/patch; epatch
${FILESDIR}/${P}-sockatmark-should-__THROW.patch
fi
}
------------------------

I added the mkdir ${WORKDIR}/patch; 
-----------------------------------------------------------------------
Comment 3 Michael Cummings (RETIRED) gentoo-dev 2003-01-06 17:09:03 UTC
emerge sync again. the patch is there, it was missed in the initial import and
added at most an hour later.
Comment 4 Michael Cummings (RETIRED) gentoo-dev 2003-01-06 17:09:30 UTC
*** Bug 13371 has been marked as a duplicate of this bug. ***
Comment 5 Guy 2003-01-06 21:35:30 UTC
Yes indeed. It does now work properly. :-)
Comment 6 Guy 2003-01-07 22:28:52 UTC
This has now worked well on two different machine for me.  I have no problem
with this being marked fixed. :-)

Thank you very, very much!
Comment 7 Michael Cummings (RETIRED) gentoo-dev 2003-01-10 06:06:13 UTC
fixed (i hate these mandatory comments)