Writing /var/tmp/portage/xmltv-0.5.19/image//usr/lib/perl5/vendor_perl/5.8.1/i686-linux/auto/XMLTV/.packlist Appending installation info to /var/tmp/portage/xmltv-0.5.19/image//usr/lib/perl5/5.8.1/i686-linux/perllocal.pod Installing contents of blib/doc into /usr/share/doc/xmltv-0.5.19 ACCESS DENIED mkdir: /usr/share/doc/xmltv-0.5.19 mkdir /usr/share/doc/xmltv-0.5.19: Permission denied at /usr/lib/perl5/vendor_perl/5.8.0/ExtUtils/Install.pm line 113 make: *** [plaindoc_install] Error 255 !!! ERROR: media-tv/xmltv-0.5.19 failed. !!! Function perl-module_src_install, Line 78, Exitcode 2 !!! (no error message) --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-xmltv-0.5.19-31694.log" mkdir: /usr/share/doc/xmltv-0.5.19 -------------------------------------------------------------------------------- b Reproducible: Always Steps to Reproduce: 1. emerge -u xmltv Actual Results: emerge fails Expected Results: emerge done Portage 2.0.49-r7 (default-1.0, gcc-2.95.3, glibc-2.2.5-r8, 2.4.20-gentoo-r6) ================================================================= System uname: 2.4.20-gentoo-r6 i686 Pentium III (Coppermine) ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=i686 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /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/gconf /etc/env.d" CXXFLAGS="-march=i686 -O3 -pipe" DISTDIR="/download/gentoo" FEATURES="ccache autoaddcvs sandbox userpriv usersandbox" GENTOO_MIRRORS=" ftp://ftp.easynet.nl/mirror/gentoo// ftp://ftp.tu-clausthal.de/pub/linux/gentoo/" MAKEOPTS="-j3" PKGDIR="/download/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="x86 oss apm avi crypt cups encode gpm jpeg libg++ mikmod mmx mpeg ncurses pdflib spell truetype xml2 xmms xv alsa arts berkdb bonobo cdr directfb esd gdbm gif gnome-libs gtk gtkhtml guile imlib java kde ldap libwww motif mozilla mysql nls oggvorbis opengl pam perl png postgres python qt readline scanner sdl slang ssl svga tcltk tcpd tetex tiff X apache2 crypto curl dga dv dvd emacs exiscan exiscan-acl fbcon gamma gd gtk2 imap lcd lcms lirc maildir matrox oci8 sse usb v4l zlib -3dnow -quicktime"
This is a problem with the way xmltv interacts with MakeMaker version (6.17) in perl 5.8.1. I could use some help with this.
Just to add a sidenote, I can reproduce this with 0.5.19 as well as 0.5.18. Apparently if you update to Perl 5.8.1 and then try to build xmltv it dies, no matter what version.
Created attachment 18888 [details, diff] Adds $DESTDIR to INSTALLPLAINDOC and INSTALLSHARE The problem is in Makefile.PL. The author adds the custom variables INSTALLPLAINDOC and INSTALLSHARE, and uses them in the install process. Unfortunately these variables don't respect the $DESTDIR variable. This patch is a simple two line fix to xmltv-0.5.19 to fix the problem. Note: The INSTALLMAN1DIR and INSTALLMAN3DIR variables aren't used in the typical vendor_install done by the perl.eclass so they don't need to be changed.
Thanks Doug! I'll have this in soon. (Confirmed working on my side)
Created attachment 18948 [details] ebuild file which automatically uses the previous posters .patch file.
I have an ebuild ready to go...it only applies the patch if necessary (i.e. old makemaker or perl earlier than 5.8.1). I'll commit it soon. stay tuned.
Patch and ebuild worked for me. Thanks to Doug.
Same here, works like a charm. Thanx.
in CVS