Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31134 - pxes ebuild gives access violation
Summary: pxes ebuild gives access violation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-14 10:57 UTC by Tom Wesley
Modified: 2004-03-01 08:31 UTC (History)
2 users (show)

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


Attachments
Fixes pxesconfg's Makefile.PL to respect DESTDIR (pxes-0.6-destdir.diff,751 bytes, patch)
2003-10-24 14:53 UTC, Doug Weimer
Details | Diff
New version of the 0.7 ebuild (pxes-0.7.ebuild,1.55 KB, text/plain)
2004-02-29 03:31 UTC, Michael Cummings (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Wesley 2003-10-14 10:57:22 UTC
with the following output

-linux/auto/Pxesconfig/.packlist
Appending installation info to
/var/tmp/portage/pxes-0.6-r4/image//usr/lib/perl5/5.8.1/i686-linux/perllocal.pod
/usr/bin/perl -MExtUtils::Install \
-e "install({'etc' => '/usr/share/pxesconfig'},'0',0);"
ACCESS DENIED  mkdir:     /usr/share/pxesconfig
mkdir /usr/share/pxesconfig: Permission denied at
/usr/lib/perl5/vendor_perl/5.8.1/ExtUtils/Install.pm line 113
make: *** [install] Error 255
 
!!! ERROR: net-misc/pxes-0.6-r4 failed.
!!! Function perl-module_src_install, Line 78, Exitcode 2
!!! (no error message)
 
--------------------------- ACCESS VIOLATION SUMMARY
---------------------------LOG FILE = "/tmp/sandbox-pxes-0.6-r4-28445.log"
 
mkdir:     /usr/share/pxesconfig
-------------------------------------------------------------------------------- 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




tawesley root # emerge info
Portage 2.0.49-r13 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.20-gentoo-r6)
=================================================================
System uname: 2.4.20-gentoo-r6 i686 AMD Athlon(tm) MP 2400+
Gentoo Base System version 1.4.3.10p1
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-mp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
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="-mcpu=athlon-mp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox autoaddcvs ccache fixpackages"
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
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="x86 oss apm avi cups encode foomaticdb gif jpeg libg++ mad mikmod mpeg
ncurses nls pdflib png quicktime spell xml2 xmms xv zlib gtkhtml alsa gdbm
berkdb slang readline arts tetex bonobo svga tcltk java guile ruby mysql sdl gpm
tcpd pam libwww ssl perl python esd imlib oggvorbis qt motif opengl mozilla ldap
cdr X kde gtk gtk2 ptl gnome dvd pda crypt truetype artswrappersuid
video_cards_radeon"
Comment 1 Doug Weimer 2003-10-24 14:53:08 UTC
Created attachment 19743 [details, diff]
Fixes pxesconfg's Makefile.PL to respect DESTDIR

The Makefile.PL in pxesconfig doesn't respect the DESTDIR variable as it
should
for newer versions of MakeMaker. To apply the patch modify src_unpack to:

src_unpack() {
    unpack ${A}
									       
		 
    use ltsp && unpack ${PN}-ltsp-${PV}.tar.gz
    cd ${WORKDIR}
    epatch ${FILESDIR}/${P}-destdir.diff
}
Comment 2 Antonio 2004-02-26 07:53:36 UTC
When insert the pach in portage tree ???
Comment 3 Michael Cummings (RETIRED) gentoo-dev 2004-02-27 07:48:37 UTC
Is this still a problem? Just wondering if the modifications to the perl-module eclass that were made in the same time frame to adjust the perl Makefile.PL calls based makemaker versions solved this already?
Comment 4 Michael Cummings (RETIRED) gentoo-dev 2004-02-29 03:31:45 UTC
Created attachment 26572 [details]
New version of the 0.7 ebuild

Details to follow
Comment 5 Michael Cummings (RETIRED) gentoo-dev 2004-02-29 03:34:46 UTC
Wolf, adding you to this bug since you are the actual maintainer of the package. I've included a new version of the 0.7 ebuild that doesn't violate the sandbox. Basically, the ebuild structure hasn't changed since before the last go around with the perl-module eclass, so it was failing to work in the new environment. I can commit, but didn't want to step on toes first.

No offense intended to the author of the last patch, but if possible (and it turned out to be) I wanted to keep this fix as vanilla and within the scope of the existing eclass as possible. This is just another package that doesn't like the quirkiness of the newer MakeMaker is all.
Comment 6 Michael Cummings (RETIRED) gentoo-dev 2004-03-01 02:24:44 UTC
Ebuild fix comitted.
Comment 7 Chris Gianelloni (RETIRED) gentoo-dev 2004-03-01 08:31:22 UTC
Michael, no problem man... sorry I wasn't around sooner, but thanks a bunch for solving it.

=]