Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139980 - dev-perl/Unicode-MapUTF8-1.11 sandbox violation
Summary: dev-perl/Unicode-MapUTF8-1.11 sandbox violation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-11 04:10 UTC by Sophie Hamilton
Modified: 2006-07-11 10:14 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sophie Hamilton 2006-07-11 04:10:28 UTC
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4
Build Identifier: 

dev-perl/Unicode-MapUTF8-1.11 is currently keyworded ~x86. When trying to emerge
it, I get the following output:

[...snipped...]
>>> Emerging (5 of 6) dev-perl/Unicode-MapUTF8-1.11 to /
>>> Downloading
http://gentoo.ITDNet.net/gentoo/distfiles/Unicode-MapUTF8-1.11.tar.gz
--11:59:19--  http://gentoo.itdnet.net/gentoo/distfiles/Unicode-MapUTF8-1.11.tar.gz
           => `/usr/portage/distfiles/Unicode-MapUTF8-1.11.tar.gz'
Resolving gentoo.itdnet.net... 212.116.151.54
Connecting to gentoo.itdnet.net|212.116.151.54|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 16,402 (16K) [application/x-tar]

100%[============================================================================================>]
16,402        90.47K/s

11:59:19 (90.17 KB/s) - `/usr/portage/distfiles/Unicode-MapUTF8-1.11.tar.gz'
saved [16402/16402]

>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking Unicode-MapUTF8-1.11.tar.gz ;-)
>>> Unpacking source...
>>> Unpacking Unicode-MapUTF8-1.11.tar.gz to
/var/tmp/portage/Unicode-MapUTF8-1.11/work
>>> Source unpacked.
>>> Compiling source in
/var/tmp/portage/Unicode-MapUTF8-1.11/work/Unicode-MapUTF8-1.11 ...
 * Using Module::Build
Checking whether your kit is complete...
Looks good
Creating new 'Build' script for 'Unicode-MapUTF8' version '1.11'
lib/Unicode/MapUTF8.pm -> blib/lib/Unicode/MapUTF8.pm
lib/Unicode/MapUTF8.pod -> blib/lib/Unicode/MapUTF8.pod
Manifying blib/lib/Unicode/MapUTF8.pod -> blib/libdoc/Unicode::MapUTF8.3pm
>>> Source compiled.
>>> Test phase [not enabled]: dev-perl/Unicode-MapUTF8-1.11

>>> Install Unicode-MapUTF8-1.11 into
/var/tmp/portage/Unicode-MapUTF8-1.11/image/ category dev-perl
ACCESS DENIED   mkdir:     /usr/lib/perl5/site_perl/5.8.8/Unicode
mkdir /usr/lib/perl5/site_perl/5.8.8/Unicode: Permission denied at
/usr/lib/perl5/5.8.8/ExtUtils/Install.pm line 176
 * Cleaning out stray man files
>>> Completed installing Unicode-MapUTF8-1.11 into
/var/tmp/portage/Unicode-MapUTF8-1.11/image/

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-dev-perl_-_Unicode-MapUTF8-1.11-10355.log"

mkdir:     /usr/lib/perl5/site_perl/5.8.8/Unicode
--------------------------------------------------------------------------------

I don't have time to submit a patch right now, but I'll see if I can get time later.

Reproducible: Always

Steps to Reproduce:
1. echo "dev-perl/Unicode-MapUTF8 ~x86" >> /etc/portage/package.keywords
2. emerge Unicode-MapUTF8

Actual Results:  
The emerge failed with the above error, an access violation summary.

Expected Results:  
The software should have installed cleanly into the sandbox.

Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.3.6, glibc-2.3.4.20041102-r1,
2.6.9-gentoo-r9 i686)
=================================================================
System uname: 2.6.9-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 1400MHz
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.10
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/gcc-config: 1.3.12-r2
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -mcpu=pentium4 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config
/usr/kde/3.4/shutdown /usr/lib/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-march=pentium4 -mcpu=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.ITDNet.net/gentoo http://ftp.heanet.ie/pub/gentoo/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://ftp.du.se/pub/os/gentoo http://distfiles.gentoo.org/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/ciaran/portage/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apache2 apm avi berkdb bitmap-fonts caps cdr cli crypt cups
dga dlloader dri dvd eds emboss encode esd fluidsynth foomaticdb fortran gd gdbm
gif gmail gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jack jbig joystick
jpeg kde kdeenablefinal ladspa libg++ libwww mad mikmod mmx mmxext motif mozsvg
mp3 mpeg multitarget ncurses nls nodrm nptl ogg opengl oss pam pcre pdflib perl
pic png povray ppds pppd python qt qt3 qt4 quicktime readline real reflection
samba sdl session spl sse sse2 ssl tcpd truetype truetype-fonts type1-fonts udev
unicode v4l vorbis xml xmms xorg xv zlib elibc_glibc input_devices_keyboard
input_devices_mouse input_devices_evdev kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-07-11 04:17:59 UTC
Uhm, upgrade your sandbox to actually existing version before reporting sandbox-related bugs. (The rest of your system is very outdated as well).

Comment 2 Sophie Hamilton 2006-07-11 04:50:13 UTC
Thanks for that. I should have done it at first, and would have done, but I forgot that the sandbox was a separate ebuild. I've also upgraded Python to 2.4.3-r1.

Unfortunately, it still fails:

==========
>>> Install Unicode-MapUTF8-1.11 into /var/tmp/portage/Unicode-MapUTF8-1.11/image/ category dev-perl
ACCESS DENIED  mkdir:     /usr/lib/perl5/site_perl/5.8.8/Unicode
mkdir /usr/lib/perl5/site_perl/5.8.8/Unicode: Permission denied at /usr/lib/perl5/5.8.8/ExtUtils/Install.pm line 176
 * Cleaning out stray man files
>>> Completed installing Unicode-MapUTF8-1.11 into /var/tmp/portage/Unicode-MapUTF8-1.11/image/

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-dev-perl_-_Unicode-MapUTF8-1.11-10993.log"

mkdir:     /usr/lib/perl5/site_perl/5.8.8/Unicode
--------------------------------------------------------------------------------
==========

My new emerge --info:

==========
Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.3.6, glibc-2.3.4.20041102-r1, 2.6.9-gentoo-r9 i686)
=================================================================
System uname: 2.6.9-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 1400MHz
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/gcc-config: 1.3.12-r2
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -mcpu=pentium4 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/lib/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-march=pentium4 -mcpu=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.ITDNet.net/gentoo http://ftp.heanet.ie/pub/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.du.se/pub/os/gentoo http://distfiles.gentoo.org/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/ciaran/portage/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apache2 apm avi berkdb bitmap-fonts caps cdr cli crypt cups dga dlloader dri dvd eds emboss encode esd fluidsynth foomaticdb fortran gd gdbm gif gmail gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jack jbig joystick jpeg kde kdeenablefinal ladspa libg++ libwww mad mikmod mmx mmxext motif mozsvg mp3 mpeg multitarget ncurses nls nodrm nptl ogg opengl oss pam pcre pdflib perl pic png povray ppds pppd python qt qt3 qt4 quicktime readline real reflection samba sdl session spl sse sse2 ssl tcpd truetype truetype-fonts type1-fonts udev unicode v4l vorbis xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
==========

I realise the rest of my system is very outdated, but in this case there's no actual compiling being done, merely copying Perl files. I understand completely if you're not willing to give support in this case, though. Being a programmer myself, I understand how irritating it is that users don't use the latest versions of stuff, and in my case there are some reasons for the moment why I can't just do an emerge -u world. I plan to reinstall my Gentoo system at a later date.

Hope this helps.
Comment 3 Christian Hartmann (RETIRED) gentoo-dev 2006-07-11 07:08:08 UTC
Works for me. Please make sure you've got a recent version of module-build installed.
Comment 4 Sophie Hamilton 2006-07-11 07:59:13 UTC
That seems to have fixed it. Previously, I had dev-perl/module-build-0.25 installed. I now have dev-perl/module-build-0.28, and it works.

I should point out, however, that in the meantime I had also used CPAN to install Bundle::CPAN, which also included a version of Module::Build. As a result, I'm not entirely sure what module version I'm using now. In any case, it's fixed it so I'm not complaining. Thanks!
Comment 5 Christian Hartmann (RETIRED) gentoo-dev 2006-07-11 10:03:49 UTC
Not INVALID
Comment 6 Christian Hartmann (RETIRED) gentoo-dev 2006-07-11 10:04:02 UTC
Fixed in cvs (added depend to >=dev-perl/module-build-0.28-r1)
Comment 7 Sophie Hamilton 2006-07-11 10:14:18 UTC
Okay, sorry, my mistake. I figured it was just a result of me having lots of outdated stuff.

It works fine with module-build-0.28, though, not just -r1. Also, -r1 is keyworded ~x86 right now. I'll defer to the Gentoo devs on this one though, since I don't know exactly how dependencies for Perl modules are worked out in Gentoo.