Summary: | gscmxx ebuild fails with sandbox access violation | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dead Schorsch <spamlover> |
Component: | Current packages | Assignee: | Lars Weiler (RETIRED) <pylon> |
Status: | VERIFIED TEST-REQUEST | ||
Severity: | normal | CC: | dougw, perl, tove |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Adds DESTDIR handling to Makefile.PL |
Description
Dead Schorsch
2003-10-18 02:27:23 UTC
Created attachment 19637 [details, diff]
Adds DESTDIR handling to Makefile.PL
The problem is that Makefile.PL doesn't respect DESTDIR. This patch changes
the
pixmaps and i18n targets to respect DESTDIR and VENDORPREFIX. Save the patch
in
/usr/portage/app-misc/gscmxx/files/, add:
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${P}-destdir.diff
}
to the gscmxx-0.4.1.ebuild and reemerge.
When will the patch become part of an updated package, because I am unable to implemented it? hello devs, could you please fix it? The patch is submitted. If you don't want to fix it -- remove it from the tree. Pylon: even if I got a clean emerge I wouldn't know what this for. Since you posted it, can you take a look? I'll leave perl@gentoo.org on the cc: list in case you need assistance. Hmm, the ebuild is ages old ;) I can't remember if we had sandboxing at that time. Nevertheless I tried to reproduce the error on my system. Without luck. I have FEATURES="autoaddcvs ccache cvs digest distcc sandbox strict userpriv usersandbox" enabled. Or do I have to do something special for this error? But if you have still problems I can simply add the patch and everybody will be happy. It does not seem to break anything. Or what do the Perl-People think? No special settings are required :) It is reproduceable (at least on my gentoobox). It is the third time that i had these problems (with different perl versions). Installing /var/tmp/portage/gscmxx-0.4.1/image/usr/bin/gscmxx Writing /var/tmp/portage/gscmxx-0.4.1/image//usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/gscmxx/.packlist /usr/bin/perl "-MExtUtils::Command" -e mkpath /usr/share/pixmaps/gscmxx ACCESS DENIED mkdir: /usr/share/pixmaps/gscmxx mkdir /usr/share/pixmaps/gscmxx: Permission denied at /usr/lib/perl5/vendor_perl/5.8.3/ExtUtils/Command.pm line 203 make: *** [pixmaps] Error 255 !!! ERROR: app-misc/gscmxx-0.4.1 failed. !!! Function perl-module_src_install, Line 83, Exitcode 2 !!! (no error message) $ emerge info Portage 2.0.50_pre16 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0, 2.4.24-ck1) ================================================================= System uname: 2.4.24-ck1 i686 AMD Duron(tm) processor Gentoo Base System version 1.4.3.12 distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59 Automake: sys-devel/automake-1.7.8 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache cvs sandbox" GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow X aalib acl acpi activefilter alsa apache2 avi berkdb bonobo caps cdr composite crypt cscope cups dga dvd encode esd faad fbcon ffmpeg foomaticdb gd gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml guile imap imlib innodb joystick jpeg lcms libwww lirc mad maildir mcal mmx mozcalendar mpeg mpi mule mysql ncurses nls nvidia offensive oggvorbis opengl pam pdflib png ppds python quicktime readline sasl scanner sdk sdl slang slp snmp spell sse ssl svga t1lib tcltk tcpd tetex tiff transcode truetype type1 unicode usb v4l wmf x86 xface xfs xine xml xml2 xmms xosd xv zlib zvbi video_cards_nvidia linguas_de" I added the patch to gscmxx and bumped the ebuild to -r1. May you test it now? Well, the new ebuild isn't in the tree. And yes, i patched it myself and it installs without sandbox violation. HTH Oops. Seems that I forgot to check-in without the --pretend option ;-) Thanks for pointing that out. Now it's really in portage. It tried this new version -- and it installs without sandbox violation. Okay, closing. As far as it concerns me, this bug can be closed. No problems any more. okay, closing |