ln -s libqca.so.1.0.0 libqca.so ln -s libqca.so.1.0.0 libqca.so.1 ln -s libqca.so.1.0.0 libqca.so.1.0 >>> Test phase [not enabled]: app-crypt/qca-1.0 >>> Install qca-1.0 into /usr/var/tmp/portage/qca-1.0/image/ category app-crypt cp -f "libqca.so.1.0.0" "/usr/var/tmp/portage/qca-1.0/image/../../../../../../lib/libqca.so.1.0.0" ACCESS DENIED open_wr: /lib/libqca.so.1.0.0 cp: cannot create regular file `/usr/var/tmp/portage/qca-1.0/image/../../../../../../lib/libqca.so.1.0.0': Permission denied make: [install_target] Error 1 (ignored) strip --strip-unneeded "/usr/var/tmp/portage/qca-1.0/image/../../../../../../lib/libqca.so.1.0.0" strip: '/usr/var/tmp/portage/qca-1.0/image/../../../../../../lib/libqca.so.1.0.0': No such file ln -sf "libqca.so.1.0.0" "/usr/var/tmp/portage/qca-1.0/image/../../../../../../lib/libqca.so" ACCESS DENIED symlink: /lib/libqca.so ln: creating symbolic link `/usr/var/tmp/portage/qca-1.0/image/../../../../../../lib/libqca.so' to `libqca.so.1.0.0': Permission denied make: [install_target] Error 1 (ignored) ln -sf "libqca.so.1.0.0" "/usr/var/tmp/portage/qca-1.0/image/../../../../../../lib/libqca.so.1" ACCESS DENIED symlink: /lib/libqca.so.1 ln: creating symbolic link `/usr/var/tmp/portage/qca-1.0/image/../../../../../../lib/libqca.so.1' to `libqca.so.1.0.0': Permission denied make: [install_target] Error 1 (ignored) ln -sf "libqca.so.1.0.0" "/usr/var/tmp/portage/qca-1.0/image/../../../../../../lib/libqca.so.1.0" ACCESS DENIED symlink: /lib/libqca.so.1.0 ln: creating symbolic link `/usr/var/tmp/portage/qca-1.0/image/../../../../../../lib/libqca.so.1.0' to `libqca.so.1.0.0': Permission denied make: [install_target] Error 1 (ignored) ACCESS DENIED mkdir: /include mkdir: cannot create directory `/usr/var/tmp/portage/qca-1.0/image/../../../../../../include': Permission denied make: *** [install_incfiles] Error 1 !!! ERROR: app-crypt/qca-1.0 failed. !!! Function src_install, Line 35, Exitcode 2 !!! make install failed !!! If you need support, post the topmost build error, NOT this status message. --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-app-crypt_-_qca-1.0-12967.log" open_wr: /lib/libqca.so.1.0.0 symlink: /lib/libqca.so symlink: /lib/libqca.so.1 symlink: /lib/libqca.so.1.0 mkdir: /include -------------------------------------------------------------------------------- Reproducible: Always Steps to Reproduce: 1.emerge qca 2. 3. Expected Results: success Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r11 i686) ================================================================= System uname: 2.6.9-gentoo-r11 i686 AMD Athlon(TM) MP 2400+ Gentoo Base System version 1.6.8 Python: dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4 [2.3.4 (#1, Jun 5 2004, 19:53:39)] dev-lang/python: 2.2.3-r5, 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r2 virtual/os-headers: 2.6.8.1-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-mp -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /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="-march=athlon-mp -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://ftp.gentoo.skynet.be/pub/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.mirror.sdv.fr" LDFLAGS="" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/usr/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowex X aac aalib acl acpi alsa apm arts avi berkdb bigger-fonts bindist bitmap-fonts bonobo bootsplash cdr chroot crypt cscope cups curl dga directfb divx4linux dvd encode esd evo fam fbcon flac foomaticdb fortran gdbm ggi gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imap imlib ipv6 java jikes jpeg junit kde libwww mad mikmod mmxmotif mozilla mpeg nas ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python qt quicktime readline ruby samba scanner sdl slang slp speex spell ssl svga tcltk tcpd tetex tiff truetype unicode usb x86 xml xml2 xmms xosd xv xvid zlib"
hello, this was due to FEATURES="sandbox" that prevent creation of files outside of the sandbox (in /lib here) FEATURES="-sandbox -userpriv -usersandbox" emerge qca makes it works.
this is not an acceptable solution.
It is more a workaround but could you explain a little bit why it is unacceptable ?
Sorry for being so brief last comment. Disabling the sandbox for installation of most programs is against the QA rules of gentoo. Having said that I have been unable to get the same error as you did. Can you attach an output of emerge --debug qca that may reveal some insight as to why this happened. Gustavo - can you add yourself to the crypto mail list and/or the metadata.xml for this package.
full output of emerge --debug qca (hope it will help) : [root@gui - 23:12:28 - ~] # emerge --debug qca Calculating dependencies Parent: None Depstring: app-crypt/qca Candidates: ['app-crypt/qca'] ebuild: app-crypt/qca-1.0 binpkg: None - Parent: ebuild / app-crypt/qca-1.0 merge Depstring: >=x11-libs/qt-3.3.0-r1 >=dev-libs/openssl-0.9.6i !bootstrap? ( sys-devel/patch )>=x11-libs/qt-3.3.0-r1 >=dev-libs/openssl-0.9.6i Candidates: [] Exiting... ebuild / app-crypt/qca-1.0 merge Exiting... None ...done! >>> emerge (1 of 1) app-crypt/qca-1.0 to / + dyn_clean + rm -rf /usr/var/tmp/portage/qca-1.0/image + hasq keeptemp autoaddcvs autoconfig ccache distlocks sandbox sfperms + local x + local me=keeptemp + shift + for x in '"$@"' + '[' autoaddcvs == keeptemp ']' + for x in '"$@"' + '[' autoconfig == keeptemp ']' + for x in '"$@"' + '[' ccache == keeptemp ']' + for x in '"$@"' + '[' distlocks == keeptemp ']' + for x in '"$@"' + '[' sandbox == keeptemp ']' + for x in '"$@"' + '[' sfperms == keeptemp ']' + return 1 + rm -rf /usr/var/tmp/portage/qca-1.0/temp/eclass-debug.log + hasq keepwork autoaddcvs autoconfig ccache distlocks sandbox sfperms + local x + local me=keepwork + shift + for x in '"$@"' + '[' autoaddcvs == keepwork ']' + for x in '"$@"' + '[' autoconfig == keepwork ']' + for x in '"$@"' + '[' ccache == keepwork ']' + for x in '"$@"' + '[' distlocks == keepwork ']' + for x in '"$@"' + '[' sandbox == keepwork ']' + for x in '"$@"' + '[' sfperms == keepwork ']' + return 1 + rm -rf /usr/var/tmp/portage/qca-1.0/.compiled + rm -rf /usr/var/tmp/portage/qca-1.0/.unpacked + rm -rf /usr/var/tmp/portage/qca-1.0/.installed + rm -rf /usr/var/tmp/portage/qca-1.0/build-info + rm -rf /usr/var/tmp/portage/qca-1.0/work + '[' -f /usr/var/tmp/portage/qca-1.0/.unpacked ']' + true + set +x >>> md5 src_uri ;-) qca-1.0.tar.bz2 + dyn_setup + '[' GNU == Linux ']' + pkg_setup + return + set +x + dyn_unpack + trap abort_unpack SIGINT SIGQUIT + local newstuff=no + '[' -e /usr/var/tmp/portage/qca-1.0/work ']' + '[' -e /usr/var/tmp/portage/qca-1.0/work ']' + install -m0700 -d /usr/var/tmp/portage/qca-1.0/work + '[' -d /usr/var/tmp/portage/qca-1.0/work ']' + cd /usr/var/tmp/portage/qca-1.0/work + echo '>>> Unpacking source...' >>> Unpacking source... + src_unpack + unpack qca-1.0.tar.bz2 + local x + local y + local myfail + local tarvars + '[' GNU == BSD ']' + tarvars=--no-same-owner + for x in '"$@"' + myfail='failure unpacking qca-1.0.tar.bz2' ++ pwd + echo '>>> Unpacking qca-1.0.tar.bz2 to /usr/var/tmp/portage/qca-1.0/work' >>> Unpacking qca-1.0.tar.bz2 to /usr/var/tmp/portage/qca-1.0/work + y=qca-1.0.tar + y=tar + case "${x##*.}" in + '[' tar == tar ']' + bzip2 -dc /usr/portage/distfiles/qca-1.0.tar.bz2 + tar xf - --no-same-owner + cd /usr/var/tmp/portage/qca-1.0/work/qca-1.0 + touch /usr/var/tmp/portage/qca-1.0/.unpacked + echo '>>> Source unpacked.' >>> Source unpacked. + cd /usr/var/tmp/portage/qca-1.0 + trap SIGINT SIGQUIT + set +x + dyn_compile + trap abort_compile SIGINT SIGQUIT + '[' '-march=athlon-mp -O2 -pipe' '!=' unset ']' + export CFLAGS + '[' '-march=athlon-mp -O2 -pipe' '!=' unset ']' + export CXXFLAGS + '[' unset '!=' unset ']' + '[' unset '!=' unset ']' + '[' unset '!=' unset ']' + '[' unset '!=' unset ']' + '[' /root/.ccache '!=' unset ']' + export CCACHE_DIR + '[' 500M '!=' unset ']' + export CCACHE_SIZE + '[' unset == unset ']' + export DISTCC_DIR=/usr/var/tmp/.distcc + DISTCC_DIR=/usr/var/tmp/.distcc + '[' '!' -z /usr/var/tmp/.distcc ']' + addwrite /usr/var/tmp/.distcc + export SANDBOX_WRITE=/dev/zero:/dev/fd/:/dev/null:/dev/pts/:/dev/vc/:/dev/tty:/tmp/:/dev/shm/ngpt:/var/log/scrollkeeper.log:/usr/tmp/conftest:/usr/lib/conftest:/usr/lib32/conftest:/usr/lib64/conftest:/usr/tmp/cf:/usr/lib/cf:/usr/lib32/cf:/usr/lib64/cf:/usr/var/tmp/portage/homedir/.gconfd/lock:/usr/var/tmp/portage/homedir/.bash_history:/usr/var/tmp:/tmp:/var/tmp:/tmp/:/var/tmp/:/dev/shm:/usr/var/tmp:/root/.ccache:/usr/var/tmp/.distcc + SANDBOX_WRITE=/dev/zero:/dev/fd/:/dev/null:/dev/pts/:/dev/vc/:/dev/tty:/tmp/:/dev/shm/ngpt:/var/log/scrollkeeper.log:/usr/tmp/conftest:/usr/lib/conftest:/usr/lib32/conftest:/usr/lib64/conftest:/usr/tmp/cf:/usr/lib/cf:/usr/lib32/cf:/usr/lib64/cf:/usr/var/tmp/portage/homedir/.gconfd/lock:/usr/var/tmp/portage/homedir/.bash_history:/usr/var/tmp:/tmp:/var/tmp:/tmp/:/var/tmp/:/dev/shm:/usr/var/tmp:/root/.ccache:/usr/var/tmp/.distcc + hasq noauto autoaddcvs autoconfig ccache distlocks sandbox sfperms + cd /usr/var/tmp/portage/qca-1.0 + '[' '!' -e build-info ']' + mkdir build-info + cp /usr/portage/app-crypt/qca/qca-1.0.ebuild build-info/qca-1.0.ebuild + '[' /usr/var/tmp/portage/qca-1.0/.compiled -nt /usr/var/tmp/portage/qca-1.0/work ']' + '[' -d /usr/var/tmp/portage/qca-1.0/work/qca-1.0 ']' + cd /usr/var/tmp/portage/qca-1.0/work/qca-1.0 + export S D + export PWORKDIR=/usr/var/tmp/portage/qca-1.0/work + PWORKDIR=/usr/var/tmp/portage/qca-1.0/work + src_compile + ./configure --prefix=/usr Configuring Qt Cryptographic Architecture (QCA) ... Verifying Qt 3.x Multithreaded (MT) build environment ... ok Good, your configure finished. Now run 'make'. + sed -i -e '/^CFLAGS/s:$: -march=athlon-mp -O2 -pipe:' -e '/^CXXFLAGS/s:$: -march=athlon-mp -O2 -pipe:' Makefile + emake g++ -c -pipe -Wall -W -O2 -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -march=athlon-mp -O2 -pipe -I/usr/qt/3/mkspecs/linux-g++ -I. -Isrc -I/usr/qt/3/include -I.ui/ -I.moc/ -o .obj/qca.o src/qca.cpp /usr/qt/3/bin/moc src/qca.h -o .moc/moc_qca.cpp g++ -c -pipe -Wall -W -O2 -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -march=athlon-mp -O2 -pipe -I/usr/qt/3/mkspecs/linux-g++ -I. -Isrc -I/usr/qt/3/include -I.ui/ -I.moc/ -o .obj/moc_qca.o .moc/moc_qca.cpp rm -f libqca.so.1.0.0 libqca.so libqca.so.1 libqca.so.1.0 g++ -Wl,-rpath,/usr/qt/3/lib -shared -Wl,-soname,libqca.so.1 -o libqca.so.1.0.0 .obj/qca.o .obj/moc_qca.o -L/usr/qt/3/lib -lqt-mt -lpthread ln -s libqca.so.1.0.0 libqca.so ln -s libqca.so.1.0.0 libqca.so.1 ln -s libqca.so.1.0.0 libqca.so.1.0 + cd /usr/var/tmp/portage/qca-1.0 + touch .compiled + cd build-info + echo '' + echo app-crypt + echo '' + echo '' + echo ' ' + echo '-march=athlon-mp -O2 -pipe' + echo i686-pc-linux-gnu + echo '' + echo '' + echo '-march=athlon-mp -O2 -pipe' + echo '>=x11-libs/qt-3.3.0-r1 >=dev-libs/openssl-0.9.6i !bootstrap? ( sys-devel/patch )' + echo '' + echo '' + echo '' + echo 'autoaddcvs autoconfig ccache distlocks sandbox sfperms' + echo 'eutils eutils eutils eutils' + echo ' ' + echo '' + echo '' + echo '' + echo '' + echo GPL-2 + echo ' ' + echo qca-1.0 + echo '' + echo '>=x11-libs/qt-3.3.0-r1 >=dev-libs/openssl-0.9.6i ' + echo '' + echo 0 + echo '3dnow 3dnowex X aac aalib acl acpi alsa apm arts avi berkdb bigger-fonts bindist bitmap-fonts bonobo bootsplash cdr chroot crypt cscope cups curl dga directfb divx4linux dvd encode esd evo fam fbcon flac foomaticdb fortran gdbm ggi gif gnome gphoto2 gpm gstreamer gtkgtk2 gtkhtml guile imagemagick imap imlib ipv6 java jikes jpeg junit kde libwww mad mikmod mmx motif mozilla mpeg nas ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python qt quicktime readline ruby samba scanner sdl slang slp speex spell ssl svga tcltk tcpd tetextiff truetype unicode usb x86 xml xml2 xmms xosd xv xvid zlib' + set + export -p + sed 's:declare -rx:declare -x:' + bzip2 -9 environment + cp /usr/portage/app-crypt/qca/qca-1.0.ebuild qca-1.0.ebuild + hasq nostrip autoaddcvs autoconfig ccache distlocks sandbox sfperms + local x + local me=nostrip + shift + for x in '"$@"' + '[' autoaddcvs == nostrip ']' + for x in '"$@"' + '[' autoconfig == nostrip ']' + for x in '"$@"' + '[' ccache == nostrip ']' + for x in '"$@"' + '[' distlocks == nostrip ']' + for x in '"$@"' + '[' sandbox == nostrip ']' + for x in '"$@"' + '[' sfperms == nostrip ']' + return 1 + trap SIGINT SIGQUIT + set +x + dyn_test + trap abort_test SIGINT SIGQUIT + '[' -d /usr/var/tmp/portage/qca-1.0/work/qca-1.0 ']' + cd /usr/var/tmp/portage/qca-1.0/work/qca-1.0 + hasq maketest + local x + local me=maketest + shift + return 1 + hasq maketest autoaddcvs autoconfig ccache distlocks sandbox sfperms + local x + local me=maketest + shift + for x in '"$@"' + '[' autoaddcvs == maketest ']' + for x in '"$@"' + '[' autoconfig == maketest ']' + for x in '"$@"' + '[' ccache == maketest ']' + for x in '"$@"' + '[' distlocks == maketest ']' + for x in '"$@"' + '[' sandbox == maketest ']' + for x in '"$@"' + '[' sfperms == maketest ']' + return 1 + echo '>>> Test phase [not enabled]: app-crypt/qca-1.0' >>> Test phase [not enabled]: app-crypt/qca-1.0 + cd /usr/var/tmp/portage/qca-1.0 + touch .tested + trap SIGINT SIGQUIT + set +x + dyn_install + trap abort_install SIGINT SIGQUIT + rm -rf /usr/var/tmp/portage/qca-1.0/image + mkdir /usr/var/tmp/portage/qca-1.0/image + '[' -d /usr/var/tmp/portage/qca-1.0/work/qca-1.0 ']' + cd /usr/var/tmp/portage/qca-1.0/work/qca-1.0 + echo + echo '>>> Install qca-1.0 into /usr/var/tmp/portage/qca-1.0/image/ category app-crypt' >>> Install qca-1.0 into /usr/var/tmp/portage/qca-1.0/image/ category app-crypt + export S D + export PWORKDIR=/usr/var/tmp/portage/qca-1.0/work + PWORKDIR=/usr/var/tmp/portage/qca-1.0/work + src_install + make INSTALL_ROOT=/usr/var/tmp/portage/qca-1.0/image/ install cp -f "libqca.so.1.0.0" "/usr/var/tmp/portage/qca-1.0/image/../../../../../../lib/libqca.so.1.0.0" ACCESS DENIED open_wr: /lib/libqca.so.1.0.0 ACCESS DENIED unlink: /lib/libqca.so.1.0.0 cp: cannot remove `/usr/var/tmp/portage/qca-1.0/image/../../../../../../lib/libqca.so.1.0.0': Permission denied make: [install_target] Error 1 (ignored) strip --strip-unneeded "/usr/var/tmp/portage/qca-1.0/image/../../../../../../lib/libqca.so.1.0.0" ACCESS DENIED open_wr: /lib/stVRL5zL strip: /usr/var/tmp/portage/qca-1.0/image/../../../../../../lib/stVRL5zL: Permission denied ACCESS DENIED unlink: /lib/stVRL5zL make: [install_target] Error 1 (ignored) ln -sf "libqca.so.1.0.0" "/usr/var/tmp/portage/qca-1.0/image/../../../../../../lib/libqca.so" ACCESS DENIED unlink: /lib/libqca.so ln: cannot remove `/usr/var/tmp/portage/qca-1.0/image/../../../../../../lib/libqca.so': Permission denied make: [install_target] Error 1 (ignored) ln -sf "libqca.so.1.0.0" "/usr/var/tmp/portage/qca-1.0/image/../../../../../../lib/libqca.so.1" ACCESS DENIED unlink: /lib/libqca.so.1 ln: cannot remove `/usr/var/tmp/portage/qca-1.0/image/../../../../../../lib/libqca.so.1': Permission denied make: [install_target] Error 1 (ignored) ln -sf "libqca.so.1.0.0" "/usr/var/tmp/portage/qca-1.0/image/../../../../../../lib/libqca.so.1.0" ACCESS DENIED unlink: /lib/libqca.so.1.0 ln: cannot remove `/usr/var/tmp/portage/qca-1.0/image/../../../../../../lib/libqca.so.1.0':Permission denied make: [install_target] Error 1 (ignored) cp -f "src/qca.h" "/usr/var/tmp/portage/qca-1.0/image/../../../../../../include/" ACCESS DENIED open_wr: /include/qca.h ACCESS DENIED unlink: /include/qca.h cp: cannot remove `/usr/var/tmp/portage/qca-1.0/image/../../../../../../include/qca.h': Permission denied make: [install_incfiles] Error 1 (ignored) + prepall man: prepallstrip: strip: + cd /usr/var/tmp/portage/qca-1.0/image/ + declare -i UNSAFE=0 ++ find /usr/var/tmp/portage/qca-1.0/image// -type f -perm -2002 ++ find /usr/var/tmp/portage/qca-1.0/image// -type f -perm -4002 + '[' -x /usr/bin/readelf -a -x /usr/bin/file ']' ++ find /usr/var/tmp/portage/qca-1.0/image// -type f '(' -perm -04000 -o -perm -02000 ')' + [[ 0 > 0 ]] + local file s + find /usr/var/tmp/portage/qca-1.0/image// -user portage + read file + find /usr/var/tmp/portage/qca-1.0/image// -group portage + read file + unset -f stat_perms + '[' -f /usr/var/tmp/portage/qca-1.0/image//usr/share/info/dir.gz ']' + touch /usr/var/tmp/portage/qca-1.0/.installed + echo '>>> Completed installing qca-1.0 into /usr/var/tmp/portage/qca-1.0/image/' >>> Completed installing qca-1.0 into /usr/var/tmp/portage/qca-1.0/image/ + echo + cd /usr/var/tmp/portage/qca-1.0 + trap SIGINT SIGQUIT + set +x --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-app-crypt_-_qca-1.0-4654.log" open_wr: /lib/libqca.so.1.0.0 unlink: /lib/libqca.so.1.0.0 open_wr: /lib/stVRL5zL unlink: /lib/stVRL5zL unlink: /lib/libqca.so unlink: /lib/libqca.so.1 unlink: /lib/libqca.so.1.0 open_wr: /include/qca.h unlink: /include/qca.h --------------------------------------------------------------------------------
There were (and it seems there still are) some issues with qmake and unusual PORTAGE_TMPDIR. I just uploaded qca-1.0-r1 please try that and report so that i can close this bug.
as soon as it appears in my mirror sync tree, I will make the test and let you know
qca-1.0-r1 is working quite perfectly ! thanks a lot
As vapier said: "but the real answer is, qmake is a pos"