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

Bug 209005

Summary: dev-lang/lua-5.0.2 sandbox violation on install
Product: Gentoo Linux Reporter: kevin.riddl
Component: New packagesAssignee: Matti Bickel (RETIRED) <mabi>
Status: RESOLVED WONTFIX    
Severity: normal CC: rhaamo
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 155518    
Bug Blocks:    

Description kevin.riddl 2008-02-05 15:13:02 UTC
I was trying to install mysql-gui-tools on an AMD64 system, and it pulled in dev-lang/lua-5.0.2, resulting in an install error.

Reproducible: Always

Steps to Reproduce:
1. Add 'dev-db/mysql-gui-tools ~amd64' to package.keywords
2. Add 'dev-db/mysql-gui-tools workbench' to package.use
1. emerge mysql-gui-tools on AMD64 system
Actual Results:  
>>> Install lua-5.0.2 into /var/tmp/portage/dev-lang/lua-5.0.2/image/ category dev-lang
(...)
strip bin/*
mkdir -p /usr/bin /usr/include /usr/lib /usr/share/man/man1
cp bin/* /usr/bin
ACCESS DENIED  open_wr:   /usr/bin/lua
cp: cannot create regular file «/usr/bin/lua»: Ikke tilgang
ACCESS DENIED  open_wr:   /usr/bin/luac
cp: cannot create regular file «/usr/bin/luac»: Ikke tilgang
make: *** [install] Error 1
 * 
 * ERROR: dev-lang/lua-5.0.2 failed.
 * Call stack:
 *          ebuild.sh, line 1701:  Called dyn_install
 *          ebuild.sh, line 1138:  Called qa_call 'src_install'
 *          ebuild.sh, line   44:  Called src_install
 *   lua-5.0.2.ebuild, line   67:  Called die
 * The specific snippet of code:
 *      make DESTDIR=${D} install soinstall || die "make install soinstall failed"
 *  The die message:
 *   make install soinstall failed



Portage 2.1.3.19 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r6 x86_64 Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz
Timestamp of tree: Mon, 04 Feb 2008 13:16:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.gentoo.no http://distfiles.gentoo.org"
LANG="nb_NO.UTF-8"
LC_ALL="nb_NO.UTF-8"
LINGUAS="nb"
MAKEOPTS="-j3"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/layman/xeffects"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apache2 berkdb bitmap-fonts bzip2 cairo cddb cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread emboss encode esd exif fam fbcon ffmpeg firefox flac fortran ftp gdbm gif glitz gmail gnome gphoto2 gpm gstreamer gtk hal iconv idn ipod isdnlog java javascript jpeg jpeg2k kerberos ldap lm_sensors mad midi mikmod mime mp3 mpeg mplayer msn mudflap mysql mysqli ncurses nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcre pdf perl php png pppd python qt3support quicktime readline reflection sdl session spell spl sse sse2 ssl svg tcpd theora tidy tiff truetype truetype-fonts type1-fonts unicode usb v4l vorbis wifi xine xinerama xml xorg xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="nb" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Marc Lagrange 2008-02-10 12:45:10 UTC
I've EXACTLY the same problem
I've gentoo amd64.

And i would to install mysql-gui-tools too with the workbench use and keyword for mysql-gui-tools.
My emerge --info too:

Portage 2.1.3.19 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r6 x86_64 AMD Sempron(tm) Processor 2800+
Timestamp of tree: Sun, 10 Feb 2008 09:16:01 +0000
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ ftp://mirror.ovh.net/gentoo-distfiles/ ftp://gentoo.imj.fr/pub/gentoo/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ "
LC_ALL="fr_FR.UTF-8"
LINGUAS="fr fr_FR"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 berkdb bitmap-fonts cdr cli cracklib crypt cups dri dvd ffmpeg fortran gdbm gpm gtk iconv ipv6 isdnlog joystick jpeg jpg lm_sensors mad midi mmx modplug mudflap musepack ncurses network nls nptl nptlonly nvidia ogg opengl openmp pam pcre perl png pppd python qt3 qt4 readline reflection sasl session sid slang sndfile spl sse sse2 ssl stream tcpd test truetype-fonts type1-fonts unicode vorbis xorg xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr fr_FR" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

(In reply to comment #0)
> I was trying to install mysql-gui-tools on an AMD64 system, and it pulled in
> dev-lang/lua-5.0.2, resulting in an install error.
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> 1. Add 'dev-db/mysql-gui-tools ~amd64' to package.keywords
> 2. Add 'dev-db/mysql-gui-tools workbench' to package.use
> 1. emerge mysql-gui-tools on AMD64 system
> Actual Results:  
> >>> Install lua-5.0.2 into /var/tmp/portage/dev-lang/lua-5.0.2/image/ category dev-lang
> (...)
> strip bin/*
> mkdir -p /usr/bin /usr/include /usr/lib /usr/share/man/man1
> cp bin/* /usr/bin
> ACCESS DENIED  open_wr:   /usr/bin/lua
> cp: cannot create regular file «/usr/bin/lua»: Ikke tilgang
> ACCESS DENIED  open_wr:   /usr/bin/luac
> cp: cannot create regular file «/usr/bin/luac»: Ikke tilgang
> make: *** [install] Error 1
>  * 
>  * ERROR: dev-lang/lua-5.0.2 failed.
>  * Call stack:
>  *          ebuild.sh, line 1701:  Called dyn_install
>  *          ebuild.sh, line 1138:  Called qa_call 'src_install'
>  *          ebuild.sh, line   44:  Called src_install
>  *   lua-5.0.2.ebuild, line   67:  Called die
>  * The specific snippet of code:
>  *      make DESTDIR=${D} install soinstall || die "make install soinstall
> failed"
>  *  The die message:
>  *   make install soinstall failed
> 
> 
> 
> Portage 2.1.3.19 (default-linux/amd64/2007.0/desktop, gcc-4.1.2,
> glibc-2.6.1-r0, 2.6.23-gentoo-r6 x86_64)
> =================================================================
> System uname: 2.6.23-gentoo-r6 x86_64 Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz
> Timestamp of tree: Mon, 04 Feb 2008 13:16:01 +0000
> app-shells/bash:     3.2_p17-r1
> dev-java/java-config: 1.3.7, 2.0.33-r1
> dev-lang/python:     2.4.4-r6
> dev-python/pycrypto: 2.0.1-r6
> sys-apps/baselayout: 1.12.10-r5
> sys-apps/sandbox:    1.2.18.1-r2
> sys-devel/autoconf:  2.13, 2.61-r1
> sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
> sys-devel/binutils:  2.18-r1
> sys-devel/gcc-config: 1.4.0-r4
> sys-devel/libtool:   1.5.24
> virtual/os-headers:  2.6.23-r3
> ACCEPT_KEYWORDS="amd64"
> CBUILD="x86_64-pc-linux-gnu"
> CFLAGS="-march=nocona -O2 -pipe"
> CHOST="x86_64-pc-linux-gnu"
> CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
> /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
> CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
> /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
> /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo
> /etc/udev/rules.d"
> CXXFLAGS="-march=nocona -O2 -pipe"
> DISTDIR="/usr/portage/distfiles"
> FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans
> userfetch"
> GENTOO_MIRRORS="http://mirror.gentoo.no http://distfiles.gentoo.org"
> LANG="nb_NO.UTF-8"
> LC_ALL="nb_NO.UTF-8"
> LINGUAS="nb"
> MAKEOPTS="-j3"
> 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
> --filter=H_**/files/digest-*"
> PORTAGE_TMPDIR="/var/tmp"
> PORTDIR="/usr/portage"
> PORTDIR_OVERLAY="/usr/local/portage /usr/local/layman/xeffects"
> SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
> USE="X a52 aac acl acpi alsa amd64 apache2 berkdb bitmap-fonts bzip2 cairo cddb
> cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread emboss encode esd exif
> fam fbcon ffmpeg firefox flac fortran ftp gdbm gif glitz gmail gnome gphoto2
> gpm gstreamer gtk hal iconv idn ipod isdnlog java javascript jpeg jpeg2k
> kerberos ldap lm_sensors mad midi mikmod mime mp3 mpeg mplayer msn mudflap
> mysql mysqli ncurses nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcre
> pdf perl php png pppd python qt3support quicktime readline reflection sdl
> session spell spl sse sse2 ssl svg tcpd theora tidy tiff truetype
> truetype-fonts type1-fonts unicode usb v4l vorbis wifi xine xinerama xml xorg
> xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy
> dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear
> meter mulaw multi null plug rate route share shm softvol"
> APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm
> authn_default authn_file authz_dbm authz_default authz_groupfile authz_host
> authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir
> disk_cache env expires ext_filter file_cache filter headers include info
> log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling
> status unique_id userdir usertrack vhost_alias" ELIBC="glibc"
> INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz
> cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="nb"
> USERLAND="GNU" VIDEO_CARDS="nvidia"
> Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS,
> PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
> 

Comment 2 Matti Bickel (RETIRED) gentoo-dev 2008-02-20 11:35:55 UTC
Lua-5.0.2 is gone.