Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30239 - emerge xmltv-0.5.19 sandbox violation
Summary: emerge xmltv-0.5.19 sandbox violation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-03 04:52 UTC by Jörg Gollnick
Modified: 2003-10-12 09:08 UTC (History)
5 users (show)

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


Attachments
Adds $DESTDIR to INSTALLPLAINDOC and INSTALLSHARE (xmltv-0.5.19-plaindoc.patch,656 bytes, patch)
2003-10-06 19:52 UTC, Doug Weimer
Details | Diff
ebuild file which automatically uses the previous posters .patch file. (xmltv-0.5.19.ebuild,5.97 KB, text/plain)
2003-10-08 07:20 UTC, James
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jörg Gollnick 2003-10-03 04:52:52 UTC
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"
Comment 1 Max Kalika (RETIRED) gentoo-dev 2003-10-03 10:14:04 UTC
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.
Comment 2 Mike Tangolics 2003-10-06 17:31:39 UTC
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.
Comment 3 Doug Weimer 2003-10-06 19:52:57 UTC
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.
Comment 4 Max Kalika (RETIRED) gentoo-dev 2003-10-07 07:02:08 UTC
Thanks Doug!  I'll have this in soon. (Confirmed working on my side)
Comment 5 James 2003-10-08 07:20:03 UTC
Created attachment 18948 [details]
ebuild file which automatically uses the previous posters .patch file.
Comment 6 Max Kalika (RETIRED) gentoo-dev 2003-10-08 11:23:03 UTC
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.
Comment 7 Jörg Gollnick 2003-10-12 00:28:47 UTC
Patch and ebuild worked for me. Thanks to Doug.
Comment 8 Maurice van der Pot (RETIRED) gentoo-dev 2003-10-12 02:14:56 UTC
Same here, works like a charm. Thanx.
Comment 9 Max Kalika (RETIRED) gentoo-dev 2003-10-12 09:08:11 UTC
in CVS