faac 1.24 fail to emerge with a sandbox error message while trying to rename a file. Reproducible: Always Steps to Reproduce: 1.emerge world 2. 3. Actual Results: emerge fail Expected Results: emerge -p vlc These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] media-libs/faac-1.24 [ebuild N ] media-libs/faad2-2.0-r7 [ebuild U ] media-video/ffmpeg-0.4.9_p20050226-r5 [0.4.9_pre1] [ebuild N ] media-fonts/ttf-bitstream-vera-1.10-r3 [ebuild N ] media-libs/libdts-0.0.2-r1 [ebuild N ] dev-libs/libebml-0.7.4 [ebuild N ] media-libs/libmatroska-0.7.6 [ebuild N ] media-plugins/live-2005.01.29 [ebuild N ] dev-libs/fribidi-0.10.4 [ebuild U ] media-video/vlc-0.8.1-r3 [0.8.1-r2] just wishing to get vlc :D emerge world Calculating world dependencies ...done! >>> emerge (1 of 23) media-libs/faac-1.24 to / Cannot chown a lockfile. This could cause inconvenience later. >>> md5 files ;-) faac-1.23.5.ebuild >>> md5 files ;-) faac-1.24.ebuild >>> md5 files ;-) files/digest-faac-1.23.5 >>> md5 files ;-) files/digest-faac-1.24 >>> md5 files ;-) files/fix-linefeeds.sh >>> md5 files ;-) files/libsndfile-1.0.diff >>> md5 src_uri ;-) faac-1.24.tar.gz >>> Unpacking source... >>> Unpacking faac-1.24.tar.gz to /var/tmp/portage/faac-1.24/work configure.in: installing `./install-sh' configure.in: installing `./mkinstalldirs' configure.in: installing `./missing' frontend/Makefile.am: installing `./depcomp' * Patching ${S}/ltmain.sh ... * Portage patch seems to be already applied. * Please verify that it is not needed. * Applying sed-1.5.6.patch ... * Applying uClibc/libtool patches ... * Removing useless C++ checks ... [ ok ]>>> Source unpacked. --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-media-libs_-_faac-1.24-11046.log" rename: /var/tmp/portage/faac-1.24/work/faac/ltmain.sh (symlink to /usr/share/libtool/ltmain.sh) -------------------------------------------------------------------------------- emerge --info Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.11-gentoo-r7 i686) ================================================================= System uname: 2.6.11-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.6.12 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.3 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.5 sys-devel/binutils: 2.15.92.0.2-r1, 2.16-r1 sys-devel/libtool: 1.5.18 virtual/os-headers: 2.6.11-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O2 -pipe" DISTDIR="/mnt/distfiles" FEATURES="autoconfig distcc distlocks nodoc noinfo noman sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.mirror.sdv.fr/ http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X a52 aac aalib alsa apm avi berkdb bitmap-fonts cdr crypt curl dvd dvdread encode fam flac gdbm gif gimp gnome gpm gstreamer gtk gtk2 imlib ipv6 java jpeg libcaca libg++ libwww mad mikmod mjpeg mng motif mp3 mpeg mpeg4 mplayer ncurses nls nptl nptlonly ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl spell sse sse2 ssl stream svga tcpd tiff timidity truetype truetype-fonts type1-fonts vcd vorbis win32codecs wxwindows xine xinerama xml2 xmms xosd xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Created attachment 61092 [details] log file from sandbox certainly useful to post sandbox-media-libs_-_faac-1.24-11046.log
ls -l /usr/share/libtool/ltmain.sh -rw-r--r-- 1 root root 189476 Jun 2 03:55 /usr/share/libtool/ltmain.sh Permissions ? (i didn't change them)
Bug 93363 is unrelated looks like the src_unpack of faac is kind of weak ... elibtoolize is pointless since it just invoked the bootstrap script which ran libtoolize
As violation comes from "symlink to /usr/share/libtool/ltmain.sh" Could be more related to that one https://bugs.gentoo.org/show_bug.cgi?id=96242 I mean as you said as comment https://bugs.gentoo.org/show_bug.cgi?id=96242#c2 should use --copy Only problem is that i don't see where GTK is involve in mine. Also i'm under x86 platform not amd... But symptoms seems really similars, what you think, different version of same bug ? Can you gave me a patch with the "--copy" added to test ?
I have the same problem.
emerge of faac fails for me with the same ACCESS VIOLATION error.
Same problem here... Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.12-gentoo-r10 i686) ================================================================= System uname: 2.6.12-gentoo-r10 i686 Pentium III (Coppermine) Gentoo Base System version 1.6.13 dev-lang/python: 2.3.4-r1 sys-apps/sandbox: 1.2.12 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.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /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/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="x86 X a52 aac aalib aim alsa apm avi berkdb bitmap-fonts bzip2 crypt curl divx4linux dts dvd dvdread eds emboss encode ffmpeg flac foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 imlib ipv6 java jpeg libg++ libwww mad matroska mikmod mmx motif mp3 mpeg ncurses nls ogg oggvorbis opengl pam pcmcia pdflib perl png python quicktime readline sdl spell sse ssl tcltk tcpd tetex theora truetype truetype-fonts type1-fonts usb vcd vorbis win32codecs xanim xml2 xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
faac-1.24 compiles for me now, after running emerge --sync and upgrading all packages... my new emerge info is below. Does someone who actually knows about such things know why this helped? Thanks! Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r1, 2.6.12-gentoo-r10 i686) ================================================================= System uname: 2.6.12-gentoo-r10 i686 Pentium III (Coppermine) Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5-r2 sys-apps/sandbox: 1.2.12 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 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2
emerge -u libtool and remerge faac.
emerge sync && emerge -u libtool && emerge faac same issue, well, a bit change, now i have 2x times the message : >>> Source unpacked. --------------------------- ACCESS VIOLATION SUMMARY ---------------------------LOG FILE = "/tmp/sandbox-media-libs_-_faac-1.24-31761.log" rename: /var/tmp/portage/faac-1.24/work/faac/ltmain.sh (symlink to /usr/share/libtool/ltmain.sh) rename: /var/tmp/portage/faac-1.24/work/faac/ltmain.sh (symlink to /usr/share/libtool/ltmain.sh) --------------------------------------------------------------------------------b emerge --info (please note libtool version changed from 1.5.18 to 1.5.20) Portage 2.0.52-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.11-gentoo-r7 i686) ================================================================= System uname: 2.6.11-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.12.0_pre8 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.3 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-r1 sys-devel/binutils: 2.15.92.0.2-r1, 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O2 -pipe" DISTDIR="/mnt/distfiles" FEATURES="autoconfig distcc distlocks nodoc noinfo noman sandbox sfperms strict"GENTOO_MIRRORS="ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.mirror.sdv.fr/ http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X a52 aac aalib alsa apm avi berkdb bitmap-fonts cdr crypt curl dvd dvdread encode fam flac gdbm gif gimp gnome gpm gstreamer gtk gtk2 imagemagick imlib ipv6 java jpeg libcaca libg++ libwww mad mikmod mjpeg mng motif mp3 mpeg mpeg4 mplayer ncurses nls nptl nptlonly ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl spell sse sse2 ssl stream svg svga tcpd tiff timidity truetype truetype-fonts type1-fonts vcd vorbis win32codecs wxwindows xine xinerama xml2 xmms xosd xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Try with latest change (sync in an hour and make sure ChangeLog reports last entry on 16 Oct), and see if that helps. The problem is that the bootstrap script provided by faac used libtoolize instead of libtoolize --copy (so if /var and /usr are on the same filesystem, it symlinks instead of copying). eautoreconf should fix that.
*** Bug 106797 has been marked as a duplicate of this bug. ***
*** Bug 91786 has been marked as a duplicate of this bug. ***
head /usr/portage/media-libs/faac/ChangeLog # ChangeLog for media-libs/faac # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 # $Header: /var/cvsroot/gentoo-x86/media-libs/faac/ChangeLog,v 1.31 2005/10/16 18:14:14 flameeyes Exp $ 16 Oct 2005; Diego Pettenò <flameeyes@gentoo.org> faac-1.24.ebuild: Use autotools eclass and eautoreconf instead of faac's bootstrap script, should fix bug #95825. 09 Sep 2005; Diego Pettenò <flameeyes@gentoo.org> faac-1.23.5.ebuild, faac-1.24.ebuild: AND... >>> Completed installing faac-1.24 into /var/tmp/portage/faac-1.24/image/ >>> Merging media-libs/faac-1.24 to / --- /usr/ --- /usr/lib/ >>> /usr/lib/libfaac.so.0.0.0 >>> /usr/lib/libfaac.so.0 -> libfaac.so.0.0.0 >>> /usr/lib/libfaac.so -> libfaac.so.0.0.0 >>> /usr/lib/libfaac.la >>> /usr/lib/libfaac.a --- /usr/bin/ >>> /usr/bin/faac --- /usr/include/ >>> /usr/include/faac.h >>> /usr/include/faaccfg.h >>> Regenerating /etc/ld.so.cache... >>> media-libs/faac-1.24 merged. Thank you Mr Petteno !!! (leaving it open so you can close it yourself for stats)
head /usr/portage/media-libs/faac/ChangeLog # ChangeLog for media-libs/faac # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 # $Header: /var/cvsroot/gentoo-x86/media-libs/faac/ChangeLog,v 1.31 2005/10/16 18:14:14 flameeyes Exp $ 16 Oct 2005; Diego Pettenò <flameeyes@gentoo.org> faac-1.24.ebuild: Use autotools eclass and eautoreconf instead of faac's bootstrap script, should fix bug #95825. 09 Sep 2005; Diego Pettenò <flameeyes@gentoo.org> faac-1.23.5.ebuild, faac-1.24.ebuild: AND... >>> Completed installing faac-1.24 into /var/tmp/portage/faac-1.24/image/ >>> Merging media-libs/faac-1.24 to / --- /usr/ --- /usr/lib/ >>> /usr/lib/libfaac.so.0.0.0 >>> /usr/lib/libfaac.so.0 -> libfaac.so.0.0.0 >>> /usr/lib/libfaac.so -> libfaac.so.0.0.0 >>> /usr/lib/libfaac.la >>> /usr/lib/libfaac.a --- /usr/bin/ >>> /usr/bin/faac --- /usr/include/ >>> /usr/include/faac.h >>> /usr/include/faaccfg.h >>> Regenerating /etc/ld.so.cache... >>> media-libs/faac-1.24 merged. Thank you Mr Petteno !!! (leaving it open so you can close it yourself for stats)
Good to see it working now :) (actually the stats are based on assignee not on who actually closes the bug, closing now, tho)