Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25417 - Trying to update to dev-perl/ExtUtils-MakeMaker-6.11 results in Access Violations
Summary: Trying to update to dev-perl/ExtUtils-MakeMaker-6.11 results in Access Violat...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-28 04:39 UTC by Dewet Diener
Modified: 2003-09-23 11:22 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge transcript (3741-ExtUtils-MakeMaker-6.11.log,23.56 KB, text/plain)
2003-07-28 04:41 UTC, Dewet Diener
Details
Fix the installation to go into the right dir and not have a write error. (makemaker.patch,654 bytes, patch)
2003-09-23 11:05 UTC, Wayne Davison
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dewet Diener 2003-07-28 04:39:08 UTC
Updating from ExtUtils-MakeMaker-6.05-r6 to ExtUtils-MakeMaker-6.11 results in an 
Access Violation: 
 
>>> Completed installing into 
/mp3/portage/portage/ExtUtils-MakeMaker-6.11/image/ 
 
--------------------------- ACCESS VIOLATION SUMMARY --------------------------- 
LOG FILE = "/tmp/sandbox-ExtUtils-MakeMaker-6.11-12087.log" 
 
open_wr:   /usr/lib/perl5/5.8.0/i686-linux/perllocal.pod 
-------------------------------------------------------------------------------- 
 
I'll attach the complete build log. 
 
asara root # emerge info 
Portage 2.0.49_pre14 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) 
================================================================= 
System uname: 2.4.20-gentoo-r5 i686 AMD Duron(tm) Processor 
GENTOO_MIRRORS="ftp://ftp.is.co.za/linux/distributions/gentoo/" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config 
/usr/kde/3/share/config /etc/env.d /usr/X11R6/lib/X11/xkb 
/usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ 
/usr/share/texmf/tex/platex/config/ /usr/share/config" 
CONFIG_PROTECT_MASK="/etc/init.d /etc/gconf /etc/env.d" 
PORTDIR="/usr/portage" 
DISTDIR="/usr/portage/distfiles" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/mp3/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
USE="x86 3dnow apm avi crypt cups encode foomaticdb gif jpeg gnome libg++ 
mad mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib 
gtkhtml alsa gdbm berkdb slang readline arts tetex aalib nas bonobo svga ggi tcltk 
java guile ruby mysql postgres X sdl gpm tcpd pam libwww ssl perl python esd imlib 
oggvorbis gtk qt kde opengl mozilla gphoto2 ldap snmp cdr scanner acl apache2 
artswrappersuid curl dga dvd flash gd gtk2 imap innodb mbox pda samba tiff usb 
wmf xinerama xml -oss -mikmod -motif" 
COMPILER="gcc3" 
CHOST="i686-pc-linux-gnu" 
CFLAGS="-march=athlon-tbird -O2 -pipe -fomit-frame-pointer" 
CXXFLAGS="-march=athlon-tbird -O2 -pipe -fomit-frame-pointer" 
ACCEPT_KEYWORDS="x86 ~x86" 
MAKEOPTS="-j2" 
AUTOCLEAN="yes" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
FEATURES="ccache sandbox distcc userpriv prelink" 
 
 

Reproducible: Always
Steps to Reproduce:
Comment 1 Dewet Diener 2003-07-28 04:41:39 UTC
Created attachment 15117 [details]
emerge transcript
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-07-28 10:07:43 UTC
portage bug `?
Comment 3 Michael Cummings (RETIRED) gentoo-dev 2003-07-28 10:13:45 UTC
Nope. As much as I like to blame portage, this isn't a portage problem. Please emerge sync again, this was corrected about an hour ago.
Comment 4 Michael Cummings (RETIRED) gentoo-dev 2003-07-28 10:14:20 UTC
carpaski - sorry about that last one :)
Comment 5 Dewet Diener 2003-07-28 11:53:22 UTC
Thanks -- I resync'ed, and it emerged without problem now. 
Comment 6 Michael Cummings (RETIRED) gentoo-dev 2003-07-29 08:58:27 UTC
all in a day's mess up for me :)
Comment 7 Wayne Davison 2003-09-23 11:01:25 UTC
This is not fixed, at least, not without using a more modern MakeMaker. The error may be gone, but the use of "DESTDIR" with older versions of MakeMaker does not work, and the resulting build gets _merged_ into the portage tmp dir, not the system's destination dir, and thus the installed files have no effect on how perl runs.

The proper fix is leave DESTDIR unset and to add PERLPREFIX=${D}/usr to the list of variables in the "make". This ensures that the packlist files get put into the temporary image dirs. I'll attach a patch.

NOTE:  This fix is needed for 6.13 and 6.15 as well.  While you're at it, you may want to add an ebuild for 6.16.
Comment 8 Wayne Davison 2003-09-23 11:04:27 UTC
This is not fixed, at least, not without using a more modern MakeMaker. The error may be gone, but the use of "DESTDIR" with older versions of MakeMaker does not work, and the resulting build gets _merged_ into the portage tmp dir, not the system's destination dir, and thus the installed files have no effect on how perl runs.

The proper fix is leave DESTDIR unset and to add PERLPREFIX=${D}/usr to the list of variables in the "make". This ensures that the packlist files get put into the temporary image dirs. I'll attach a patch.

NOTE:  This fix is needed for 6.13 and 6.15 as well.  While you're at it, you may want to add an ebuild for 6.16.
Comment 9 Wayne Davison 2003-09-23 11:05:32 UTC
Created attachment 18212 [details, diff]
Fix the installation to go into the right dir and not have a write error.

Use this to fix 6.11, 6.13, and 6.15.
Comment 10 Wayne Davison 2003-09-23 11:22:25 UTC
Since this bug was already closed, I created a new one that targets the subject of the latest ebuild failure -- the files getting installed into the wrong dirs. So, leave this one closed, and refer to bug 29447 if you want to see the new one.