Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 128559

Summary: foomatic-db-engine-3.0.2 gets Sandbox access violation
Product: Gentoo Linux Reporter: Chuck Wegrzyn <chuck.wegrzyn>
Component: Current packagesAssignee: Gentoo Perl team <perl>
Status: RESOLVED FIXED    
Severity: normal CC: aoyu93, charles, gentoo-bugzilla, printing, tnedor
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Chuck Wegrzyn 2006-04-02 13:22:41 UTC
***************** emerge --info ************************************
Portage 2.1_pre7-r3 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.4-r1, 2.6.16-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.14
ccache version 2.4 [disabled]
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac aim alsa apache2 arts artswrappersuid avi berkdb bitmap-fonts bzip2 cli crypt ctype cups dba dri eds emboss encode expat fastbuild foomaticdb force-cgi-redirect fortran ftp gd gif gnome gphoto2 gpm gs gstreamer gtk gtk2 hal imlib ipv6 isdnlog jpeg kde kdeenablefinal kdepim lirc lzw lzw-tiff memlimit mp3 mpeg ncurses nls nptl nptlonly ogg opengl pam pcre pda pdflib perl png posix pppd python qt quicktime rdesktop readline scanner sdl session simplexml soap sockets spell spl ssl tcpd tiff tokenizer truetype truetype-fonts type1-fonts usb vorbis wifi xine xinerama xml xmms xpm xscreensaver xsl xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU video_cards_ati video_cards_vesa video_cards_fbdev"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY

************************** output of emerge foomatic ***********************
/usr/bin/perl -p -i -e "s:foomatic-templates:/usr/share/foomatic/templates:g" /var/tmp/portage/foomatic-db-engine-3.0.2/image//usr/sbin/foomatic-addpjloptions
ln -sf foomatic-ppdfile /var/tmp/portage/foomatic-db-engine-3.0.2/image//usr/bin/foomatic-datafile
./mkinstalldirs /var/tmp/portage/foomatic-db-engine-3.0.2/image//usr/share/man
mkdir /var/tmp/portage/foomatic-db-engine-3.0.2/image/usr/share/man
./mkinstalldirs /var/tmp/portage/foomatic-db-engine-3.0.2/image//usr/share/man/man1
mkdir /var/tmp/portage/foomatic-db-engine-3.0.2/image/usr/share/man/man1
./mkinstalldirs /var/tmp/portage/foomatic-db-engine-3.0.2/image//usr/share/man/man8
mkdir /var/tmp/portage/foomatic-db-engine-3.0.2/image/usr/share/man/man8
/bin/install -c -m 644 *.1 /var/tmp/portage/foomatic-db-engine-3.0.2/image//usr/share/man/man1
/bin/install -c -m 644 *.8 /var/tmp/portage/foomatic-db-engine-3.0.2/image//usr/share/man/man8
 * No Make or Build file detect...
cp Foomatic/DB.pm blib/lib/Foomatic/DB.pm
cp Foomatic/UIElem.pm blib/lib/Foomatic/UIElem.pm
cp Foomatic/Defaults.pm blib/lib/Foomatic/Defaults.pm
cp Foomatic/PPD.pm blib/lib/Foomatic/PPD.pm
ACCESS DENIED  mkdir:     /usr/lib64/perl5/site_perl/5.8.8/Foomatic
mkdir /usr/lib64/perl5/site_perl/5.8.8/Foomatic: Permission denied at /usr/lib64/perl5/5.8.8/ExtUtils/Install.pm line 176
make: *** [pure_site_install] Error 13

!!! ERROR: net-print/foomatic-db-engine-3.0.2 failed.
Call stack:
  ebuild.sh, line 1526:   Called dyn_install
  ebuild.sh, line 999:   Called src_install
  foomatic-db-engine-3.0.2.ebuild, line 34:   Called perl-module_src_install
  perl-module.eclass, line 152:   Called die
Comment 1 Rickard Närström 2006-04-03 00:24:19 UTC
I have the same problem...
Comment 2 Peter Ruskin 2006-04-03 11:36:02 UTC
Same here on x86.  foomatic-db-20050606 as well.
Comment 3 Chuck Wegrzyn 2006-04-04 05:35:06 UTC
I got around the problem, at least temporarily, by issuing the command:

FEATURES="-sandbox" emerge foomat-db-engine

It isn't a fix to the problem but it will allow you to install it!
Comment 4 Charles Ulrich 2006-04-04 21:10:08 UTC
I'm seeing this as well.
Comment 5 Stefan Schweizer (RETIRED) gentoo-dev 2006-04-05 00:21:23 UTC
is this maybe multilib-specific?

amd64: can you please have a look at this?
Comment 6 Simon Stelling (RETIRED) gentoo-dev 2006-04-05 04:01:29 UTC
(In reply to comment #5)
> is this maybe multilib-specific?

Don't think so. The ebuild has nothing multilib-specific in it. Besides:

(In reply to comment #2)
> Same here on x86.  foomatic-db-20050606 as well.
Comment 7 Stefan Schweizer (RETIRED) gentoo-dev 2006-04-05 05:31:52 UTC
This bug is caused by the perl-apps.eclass. There have been some changes the last days, can you please check if it is still there?
Comment 8 Chuck Wegrzyn 2006-04-05 06:00:27 UTC
I did an emerge --sync this morning, updated portage and tried to emerge foomatic-db-engine again. This time it worked.