$ sudo emerge id3lib Calculating dependencies ...done! >>> emerge (1 of 1) media-libs/id3lib-3.8.3-r3 to / !!! No write access to /usr/portage/distfiles/ >>> md5 src_uri ;-) id3lib-3.8.3.tar.gz >>> Unpacking source... >>> Unpacking id3lib-3.8.3.tar.gz to /var/tmp/portage/id3lib-3.8.3-r3/work * Applying id3lib-3.8.3-zlib.patch... [ ok ] You should update your `aclocal.m4' by running aclocal. cp: listing attributes of `/usr/share/libtool/config.guess': Permission denied libtoolize: cannot copy `/usr/share/libtool/config.guess' to `config.guess' cp: listing attributes of `/usr/share/libtool/config.sub': Permission denied libtoolize: cannot copy `/usr/share/libtool/config.sub' to `config.sub' cp: listing attributes of `/usr/share/libtool/ltmain.sh': Permission denied libtoolize: cannot copy `/usr/share/libtool/ltmain.sh' to `ltmain.sh' !!! ERROR: media-libs/id3lib-3.8.3-r3 failed. !!! Function src_unpack, Line 32, Exitcode 1 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status $ FEATURES="autoaddcvs buildpkg ccache sandbox sfperms -userpriv -usersandbox " sudo emerge id3lib Calculating dependencies ...done! >>> emerge (1 of 1) media-libs/id3lib-3.8.3-r3 to / !!! No write access to /usr/portage/distfiles/ >>> md5 src_uri ;-) id3lib-3.8.3.tar.gz >>> Unpacking source... >>> Unpacking id3lib-3.8.3.tar.gz to /var/tmp/portage/id3lib-3.8.3-r3/work * Applying id3lib-3.8.3-zlib.patch... [ ok ] You should update your `aclocal.m4' by running aclocal. >>> Source unpacked. ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for i686-pc-linux-gnu-strip... no checking for strip... strip checking for style of include used by make... GNU checking for i686-pc-linux-gnu-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes ... and emerge continues... Reproducible: Always Steps to Reproduce:
Some of the dirs in the path to /usr/share/libtool/config.guess seem to have wron permissions, could you run the following command and paste it's output. ls -ld /usr{,/share{,/libtool{,/config.guess}}}
Of course. Here it is: $ ls -ld /usr{,/share{,/libtool{,/config.guess}}} drwxr-xr-x 21 root root 624 Aug 19 04:46 /usr drwxr-xr-x 105 root root 2752 Sep 12 15:26 /usr/share drwxr-xr-x 3 root root 168 Jul 13 02:59 /usr/share/libtool -rwxr-xr-x 1 root root 43019 Jul 13 02:59 /usr/share/libtool/config.guess
Do you have any extra access control system, like grsec/lids/selinux?
No
Clicked on "commit" too fast. One thing that could be different on my boxes is /var/tmp/portage is tmpfs. But I've never had a problem.
box #2: g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/id3 -I../include -Wno-deprecated -O3 -march=pentium3 -funroll-loops -pipe -fomit-frame-pointer -fexpensive-optimizations -ffast-math -maccumulate-outgoing-args -frerun-loop-opt -frerun-cse-after-loop -c field_string_unicode.cpp -MT field_string_unicode.lo -MD -MP -MF .deps/field_string_unicode.TPlo -o field_string_unicode.o >/dev/null 2>&1 source='frame_parse.cpp' object='frame_parse.lo' libtool=yes \ depfile='.deps/frame_parse.Plo' tmpdepfile='.deps/frame_parse.TPlo' \ depmode=gcc3 /bin/sh ../depcomp \ /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/id3 -I../include -Wno-deprecated -O3 -march=pentium3 -funroll-loops -pipe -fomit-frame-pointer -fexpensive-optimizations -ffast-math -maccumulate-outgoing-args -frerun-loop-opt -frerun-cse-after-loop -c -o frame_parse.lo `test -f 'frame_parse.cpp' || echo './'`frame_parse.cpp source='frame_render.cpp' object='frame_render.lo' libtool=yes \ depfile='.deps/frame_render.Plo' tmpdepfile='.deps/frame_render.TPlo' \ depmode=gcc3 /bin/sh ../depcomp \ /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/id3 -I../include -Wno-deprecated -O3 -march=pentium3 -funroll-loops -pipe -fomit-frame-pointer -fexpensive-optimizations -ffast-math -maccumulate-outgoing-args -frerun-loop-opt -frerun-cse-after-loop -c -o frame_render.lo `test -f 'frame_render.cpp' || echo './'`frame_render.cpp distcc[16307] ERROR: compile /var/tmp/portage/homedir/.ccache/frame_impl.tmp.cosmosis.16289.ii on 192.168.0.1 failed In file included from frame_impl.h:36, from frame_impl.cpp:33: /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/include/g++-v3/bitset: In member function `size_t std::_Base_bitset<1>::_M_do_count() const': /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/include/g++-v3/bitset:397: error: ` __builtin_popcountl' undeclared (first use this function) /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/include/g++-v3/bitset:397: error: (Each undeclared identifier is reported only once for each function it appears in.) /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/include/g++-v3/bitset: In member function `size_t std::_Base_bitset<1>::_M_do_find_first(unsigned int) const': /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/include/g++-v3/bitset:406: error: ` __builtin_ctzl' undeclared (first use this function) /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/include/g++-v3/bitset: In member function `size_t std::_Base_bitset<1>::_M_do_find_next(unsigned int, unsigned int) const': /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/include/g++-v3/bitset:421: error: ` __builtin_ctzl' undeclared (first use this function) make[2]: *** [frame_impl.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/id3 -I../include -Wno-deprecated -O3 -march=pentium3 -funroll-loops -pipe -fomit-frame-pointer -fexpensive-optimizations -ffast-math -maccumulate-outgoing-args -frerun-loop-opt -frerun-cse-after-loop -c frame_parse.cpp -MT frame_parse.lo -MD -MP -MF .deps/frame_parse.TPlo -fPIC -DPIC -o .libs/frame_parse.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/id3 -I../include -Wno-deprecated -O3 -march=pentium3 -funroll-loops -pipe -fomit-frame-pointer -fexpensive-optimizations -ffast-math -maccumulate-outgoing-args -frerun-loop-opt -frerun-cse-after-loop -c frame_render.cpp -MT frame_render.lo -MD -MP -MF .deps/frame_render.TPlo -fPIC -DPIC -o .libs/frame_render.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/id3 -I../include -Wno-deprecated -O3 -march=pentium3 -funroll-loops -pipe -fomit-frame-pointer -fexpensive-optimizations -ffast-math -maccumulate-outgoing-args -frerun-loop-opt -frerun-cse-after-loop -c frame_parse.cpp -MT frame_parse.lo -MD -MP -MF .deps/frame_parse.TPlo -o frame_parse.o >/dev/null 2>&1 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/id3 -I../include -Wno-deprecated -O3 -march=pentium3 -funroll-loops -pipe -fomit-frame-pointer -fexpensive-optimizations -ffast-math -maccumulate-outgoing-args -frerun-loop-opt -frerun-cse-after-loop -c frame_render.cpp -MT frame_render.lo -MD -MP -MF .deps/frame_render.TPlo -o frame_render.o >/dev/null 2>&1 make[2]: Leaving directory `/var/tmp/portage/id3lib-3.8.3-r3/work/id3lib-3.8.3/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/id3lib-3.8.3-r3/work/id3lib-3.8.3' make: *** [all] Error 2 !!! ERROR: media-libs/id3lib-3.8.3-r3 failed. !!! Function src_compile, Line 41, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. emerge info: # emerge info Portage 2.0.51_pre23 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20040808-r0, 2.4.23_pre8-gss i686) ================================================================= System uname: 2.4.23_pre8-gss i686 Pentium III (Coppermine) Gentoo Base System version 1.5.3 distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux-headers-2.4.22 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium3 -funroll-loops -pipe -fomit-frame-pointer -fexpensive-optimizations -ffast-math -maccumulate-outgoing-args -frerun-loop-opt -frerun-cse-after-loop" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control /var/www/localhost/htdocs//mythweb/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium3 -funroll-loops -pipe -fomit-frame-pointer -fexpensive-optimizations -ffast-math -maccumulate-outgoing-args -frerun-loop-opt -frerun-cse-after-loop" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distcc sandbox" GENTOO_MIRRORS="ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.chem.wisc.edu/gentoo/" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync2.us.gentoo.org/gentoo-portage" USE="X aac alsa apache2 apm audiofile avi berkdb bitmap-fonts cdr crypt cups dba dvd encode flac foomaticdb footmaticdb gd gdbm gif gnomedb gpm gstreamer imlib ipv6 jpeg libg++ libwww lirc mad mikmod mmx motif mozilla mpeg mysql nas ncurses nvidia oav oggvorbis opengl oss pam pcmcia pdflib perl png pnp ppds python qt quicktime readline samba sdl session slang slp smooth spell sse ssl svga tcpd tiff truetype usb v4l2 wmf x86 xinerama xml2 xmms xprint xv zlib"
grrr.. Bugzilla switched bugs on me... ignore my previous comment here.
try to rm -rf /var/tmp/portage then re-emerge...
no response from submitter... please reopen if you're still having trouble
what response? What do I need to do? I told you my /var/tmp/portage is tmpfs, it is emptied on every reboot; and if I don't reboot, I do rm -rfv /var/tmp/portage/* after every emerge, so that will not fix the problem. As I said, I fixed the problem removing userpriv and usersandbox from FEATURES.