Always I try to update psi (with +crypt in make.conf) portage tries to install this package, and fails to install. If I try to install without crypt, and only update psi to the last stable version, fails too with a similar error. >>> emerge (3 of 4) app-crypt/qca-tls-1.0 to / >>> md5 src_uri ;-) qca-tls-1.0.tar.bz2 >>> Unpacking source... >>> Unpacking qca-tls-1.0.tar.bz2 to /var/tmp/portage/qca-tls-1.0/work >>> Source unpacked. Configuring qca-tls ... Verifying Qt 3.x Multithreaded (MT) build environment ... ok Checking for OpenSSL ... yes Good, your configure finished. Now run 'make'. g++ -c -pipe -Wall -W -O2 -D_REENTRANT -fPIC -DQCA_PLUGIN -DOSSL_097 -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN-march=athlon-xp -O2 -pipe -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/qt/3/include -o qca-tls.o qca-tls.cpp <l
Always I try to update psi (with +crypt in make.conf) portage tries to install this package, and fails to install. If I try to install without crypt, and only update psi to the last stable version, fails too with a similar error. >>> emerge (3 of 4) app-crypt/qca-tls-1.0 to / >>> md5 src_uri ;-) qca-tls-1.0.tar.bz2 >>> Unpacking source... >>> Unpacking qca-tls-1.0.tar.bz2 to /var/tmp/portage/qca-tls-1.0/work >>> Source unpacked. Configuring qca-tls ... Verifying Qt 3.x Multithreaded (MT) build environment ... ok Checking for OpenSSL ... yes Good, your configure finished. Now run 'make'. g++ -c -pipe -Wall -W -O2 -D_REENTRANT -fPIC -DQCA_PLUGIN -DOSSL_097 -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN-march=athlon-xp -O2 -pipe -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/qt/3/include -o qca-tls.o qca-tls.cpp <línea de orden>:11:10: aviso: ISO C requiere espacios en blanco después del nombre de macro rm -f libqca-tls.so g++ -Wl,-rpath,/usr/qt/3/lib -shared -o libqca-tls.so qca-tls.o -L/usr/qt/3/lib -lssl -lcrypto -lqt-mt -lpthread >>> Install qca-tls-1.0 into /var/tmp/portage/qca-tls-1.0/image/ category app-crypt ACCESS DENIED mkdir: /qt mkdir: no se puede crear el directorio `/var/tmp/portage/qca-tls-1.0/image/../../../../../qt': Permiso denegado make: *** [install_target] Error 1 !!! ERROR: app-crypt/qca-tls-1.0 failed. !!! Function src_install, Line 29, Exitcode 2 !!! make install failed --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-app-crypt_-_qca-tls-1.0-17758.log" mkdir: /qt -------------------------------------------------------------------------------- My emerge info: Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3-gentoo-r1) ================================================================= System uname: 2.6.3-gentoo-r1 i686 AMD Athlon(TM) XP 2600+ Gentoo Base System version 1.4.3.13 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O2 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /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-xp -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://ftp.caliu.info/pub/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://edubox.org/gentoo-portage" USE="3dnow X acpi alsa apm arts avi berkdb bonobo cdr crypt cups doc encode esd ethereal ffmpeg foomaticdb gd gdbm gif gnome gphoto2 gpm gtk gtk2 gtkhtml guile imlib java jpeg kde ldap libg++ libwww lirc mad mbox mikmod mmx motif mozilla mpeg mpeg4 mysql ncurses nls oggvorbis openal opengl oss pam pda pdflib perl png python qt quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype usb v4l vanilla wmf x86 xml xml2 xmms xv zlib" Anybody can help me?
i assume this happens repeatedly ?
I am using psi 0.9 because I can't install this package. I tried lot of times to install but always fails, but only this packages, I install lot of software and never fails (except some masked ones, but this is normal).
try this then ... ebuild /usr/portage/app-crypt/qca-tls/qca-tls-1.0.ebuild clean unpack compile cd /var/tmp/portage tar -jcf qca-tls-broke.tar.bz2 qca-tls-1.0 and then post that tarball here as an attachment
Created attachment 29017 [details] The tarball
is your $QTDIR screwed up ? what is the output if you `env QC_DEBUG=Y emerge qca-tls` ? what about upgrading QT to a newer version ?
get back to me
Excuse me, I forget to test this. Thank you for try to help :) Bellow you can see the output of the line you give me, and about upgrade QT version, I am currently using qt-3.3.0-r1, what version do you suggest to test? This is the output for the line: env QC_DEBUG=Y emerge qca-tls >>> Source unpacked. Configuring qca-tls ... QTDIR=/usr/qt/3 QC_WITH_OPENSSL_INC= QC_WITH_OPENSSL_LIB= Verifying Qt 3.x Multithreaded (MT) build environment ... ok Checking for OpenSSL ... yes Good, your configure finished. Now run 'make'. g++ -c -pipe -Wall -W -O2 -D_REENTRANT -fPIC -DQCA_PLUGIN -DOSSL_097 -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN-march=athlon-xp -O2 -pipe -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/qt/3/include -o qca-tls.o qca-tls.cpp <l
Excuse me, I forget to test this. Thank you for try to help :) Bellow you can see the output of the line you give me, and about upgrade QT version, I am currently using qt-3.3.0-r1, what version do you suggest to test? This is the output for the line: env QC_DEBUG=Y emerge qca-tls >>> Source unpacked. Configuring qca-tls ... QTDIR=/usr/qt/3 QC_WITH_OPENSSL_INC= QC_WITH_OPENSSL_LIB= Verifying Qt 3.x Multithreaded (MT) build environment ... ok Checking for OpenSSL ... yes Good, your configure finished. Now run 'make'. g++ -c -pipe -Wall -W -O2 -D_REENTRANT -fPIC -DQCA_PLUGIN -DOSSL_097 -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN-march=athlon-xp -O2 -pipe -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/qt/3/include -o qca-tls.o qca-tls.cpp <línea de orden>:11:10: aviso: ISO C requiere espacios en blanco después del nombre de macro rm -f libqca-tls.so g++ -Wl,-rpath,/usr/qt/3/lib -shared -o libqca-tls.so qca-tls.o -L/usr/qt/3/lib -lssl -lcrypto -lqt-mt -lpthread >>> Install qca-tls-1.0 into /var/tmp/portage/qca-tls-1.0/image/ category app-crypt ACCESS DENIED mkdir: /qt mkdir: no se puede crear el directorio `/var/tmp/portage/qca-tls-1.0/image/../../../../../qt': Permiso denegado make: *** [install_target] Error 1 !!! ERROR: app-crypt/qca-tls-1.0 failed. !!! Function src_install, Line 29, Exitcode 2 !!! make install failed --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-app-crypt_-_qca-tls-1.0-7454.log" mkdir: /qt --------------------------------------------------------------------------------
*** Bug 55034 has been marked as a duplicate of this bug. ***
A dirty way to solve it appears to be changing the ebuild to say something like emake INSTALL_ROOT="${D}/usr/foo/bar/baz/biz/boz/" install || die "make install failed" (instead of the ${D}). Then, after merging, rm -rf /usr/foo. But they probably had a reason for the way it is. BTW, shouldn't this bug be reopened?
it'll get re-opened when someone posts the information i asked for
Hi, had a similar Problem - however, the reason seems different from the one posted: I had "PORTAGE_TMPDIR=/usr/tmp" in my /etc/make.conf and installation of qca-tls 1.0 failed repeatedly. I then changed that to /var/tmp -- and Install went thru fine - also repeatedly (i.e. when I change PORTAGE_TMPDIR to /usr/tmp and issue emerge qca-tls it fails, when I set it back to /var/tmp and emerge qca-tls it installs fine. I just include the log from the failed emerge, i.e. the one having PORTAGE_TMPDIT point to /usr/tmp. --- Calculating dependencies ...done! >>> emerge (1 of 1) app-crypt/qca-tls-1.0 to / *** Adjusting cvs-src permissions for portage user... >>> md5 src_uri ;-) qca-tls-1.0.tar.bz2 >>> Unpacking source... >>> Unpacking qca-tls-1.0.tar.bz2 to /usr/tmp/portage/qca-tls-1.0/work >>> Source unpacked. Configuring qca-tls ... Verifying Qt 3.x Multithreaded (MT) build environment ... ok Checking for OpenSSL ... yes Good, your configure finished. Now run 'make'. g++ -c -pipe -Wall -W -O2 -D_REENTRANT -fPIC -DQCA_PLUGIN -DOSSL_097 -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN-march=athlon-tbird -O2 -pipe -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/qt/3/include -o qca-tls.o qca-tls.cpp <command line>:10:10: warning: ISO C requires whitespace after the macro name rm -f libqca-tls.so g++ -Wl,-rpath,/usr/qt/3/lib -shared -o libqca-tls.so qca-tls.o -L/usr/qt/3/lib -lssl -lcrypto -lqt-mt -lpthread >>> Install qca-tls-1.0 into /usr/tmp/portage/qca-tls-1.0/image/ category app-crypt ACCESS DENIED mkdir: /qt mkdir: cannot create directory `/usr/tmp/portage/qca-tls-1.0/image/../../../../../qt': Permission denied make: *** [install_target] Error 1 !!! ERROR: app-crypt/qca-tls-1.0 failed. !!! Function src_install, Line 30, Exitcode 2 !!! make install failed --------------------------- ACCESS VIOLATION SUMMARY ---------------------------LOG FILE = "/tmp/sandbox-app-crypt_-_qca-tls-1.0-24496.log" mkdir: /qt --------------------------------------------------------------------------------penguin root #
the original reporter had TMPDIR set to /var/tmp but who is to say that on his system it isnt a symlink to something else ;) i'll see if i can recreate the bug with your setup Ralf
This is a qmake issue: http://mythtv.org/pipermail/mythtv-dev/2004-January/018279.html But seems like there doesn't exist a real solution for it. Bug 55762 also reports the same problem.
Created attachment 36342 [details] Error report installing qca-tls-1.0
I installed qca-tls succesfully! I used the following method 1 removed the symlink /var/tmp to /usr/tmp 2 created hard tmp dir /var/tmp with normal tmp settings rwxrwxrwt 3 executed emerge qca-tls (succesfully this time) 4 removed hard tmpdir and put the symlink back. Strange that this should make a difference! Peter.
# `env QC_DEBUG=Y emerge qca-tls` <command line>:10:10: warning: ISO C requires whitespace after the macro name ACCESS DENIED mkdir: /qt mkdir: cannot create directory `/usr/data/portage-build/portage/qca-tls-1.0/image/../../../../../../qt': Permission denied make: *** [install_target] Error 1 !!! ERROR: app-crypt/qca-tls-1.0 failed. !!! Function src_install, Line 30, Exitcode 2 !!! make install failed -bash: >>>: command not found # emerge info Portage 2.0.50-r10 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.3.20040420-r0, 2.6.8-gentoo-r3) ================================================================= System uname: 2.6.8-gentoo-r3 i686 AMD Athlon(TM) XP 2500+ Gentoo Base System version 1.4.16 distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-ggdb3 -march=athlon-xp -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/freenet /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-ggdb3 -march=athlon-xp -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache nostrip sandbox userpriv usersandbox" GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/usr/data/portage-build" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://192.168.0.26/portage" USE="3dnow X acl alsa apm arts audiofile avi berkdb bidi canna cdr cjk composite crypt cscope cups debug directfb doc dvd dvdr emacs encode faad flac foomaticdb freewnn gatos gd gdbm gimpprint gphoto2 gpm gtk gtk2 guile imagemagick imlib java javascript jikes jpeg junit kde libg++ libwww mad mikmod mmx mng mpeg mysql ncurses nls oggvorbis opengl pam pcre pdflib perl pic png ppds python qt quicktime readline ruby scanner sdl slang socks5 softmmu spell sse ssl tcltk tcpd tetex theora tiff truetype unicode usb video_cards_radeon wmf x86 xinerama xml2 xmms xv zlib"
PORTAGE_TMPDIR="/var/tmp" emerge --oneshot -u qca-tls That worked, for me.
quick method to reproduce this bug (i just tested with QT 3.3.3 and it's still an issue) mkdir /usr/junktmp PORTAGE_TMPDIR="/usr/junktmp" emerge qca-tls <install will fail because the paths are all screwed up with ../../../../../>
bumping the severity... setting to /var/tmp doesn't work if /var/tmp is symlinked to /usr/tmp
Bug still exists. It stopped the KDE installation. Here's my output of emerge: Configuring qca-tls ... Verifying Qt 3.x Multithreaded (MT) build environment ... ok Checking for OpenSSL ... yes Good, your configure finished. Now run 'make'. g++ -c -pipe -Wall -W -march=athlon-xp -O2 -pipe -D_REENTRANT -fPIC -DQCA_PLUGIN -DOSSL_097 -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN-march=athlon-xp -O2 -pipe -fomit-frame-pointer -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/qt/3/include -o qca-tls.o qca-tls.cpp <Kommandozeile>:7:10: Warnung: ISO-C erfordert Whitespace hinter Makroname rm -f libqca-tls.so g++ -Wl,-rpath,/usr/qt/3/lib -shared -o libqca-tls.so qca-tls.o -L/usr/qt/3/lib -lssl -lcrypto -lqt-mt -lpthread >>> Test phase [not enabled]: app-crypt/qca-tls-1.0 >>> Install qca-tls-1.0 into /usr/var/portage/qca-tls-1.0/image/ category app-crypt ACCESS DENIED mkdir: /qt mkdir: kann Verzeichnis ,,/usr/var/portage/qca-tls-1.0/image/../../../../../qt" nicht anlegen: Keine Berechtigung make: *** [install_target] Fehler 1 !!! ERROR: app-crypt/qca-tls-1.0 failed. !!! Function src_install, Line 27, 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-tls-1.0-18405.log" mkdir: /qt --------------------------------------------------------------------------------
*** Bug 62311 has been marked as a duplicate of this bug. ***
This bug could be avoided using the undocumented "no_fixpath" qmake config option (but I still consider it a qmake bug, the default behaviour should not be so silly): --- qca-tls.pro.orig 2004-11-16 10:15:33.511320952 +0100 +++ qca-tls.pro 2004-11-16 10:14:08.540238520 +0100 @@ -1,7 +1,7 @@ # qca-tls qmake profile TEMPLATE = lib -CONFIG += qt thread release plugin +CONFIG += qt thread release plugin no_fixpath TARGET = qca-tls !exists(qcaprovider.h) { BTW: did anyone noticed that the compiler options contained this broken string: "-DQT_PLUGIN-march=athlon-xp" the ebuild needs this fix: --- qca-tls-1.0.ebuild.orig 2004-11-16 10:13:13.757566752 +0100 +++ qca-tls-1.0.ebuild 2004-11-16 10:13:21.834338896 +0100 @@ -17,8 +17,8 @@ src_compile() { ./configure || die "configure failed" sed -i \ - -e "/^CFLAGS/s:$:${CFLAGS}:" \ - -e "/^CXXFLAGS/s:$:${CXXFLAGS}:" \ + -e "/^CFLAGS/s:$: ${CFLAGS}:" \ + -e "/^CXXFLAGS/s:$: ${CXXFLAGS}:" \ Makefile emake || die "emake failed" }
Thanks Gregorio - qca-tls fixed
closing.
Greg, is no_fixpath now default in qt? Can you set it to default? I don't think we should have to patch everry ebuild that uses qmake to add that.
Created attachment 48303 [details, diff] qt-nofixpath.patch Here's what could be done to make no_fixpath the default. But I'm not sure what all the implications could be, and this will be fixed properly with Qt4, so I'm leaving the decision to the other memebers of the kde team...
reopening
*** Bug 80168 has been marked as a duplicate of this bug. ***
I just got nailed by this one while trying to install mythtv. My /var/tmp is symlinked to /usr/tmp, since /usr is on a much larger hard drive than /var. I got a whole series of messages like: ACCESS DENIED open_wr: /lib/libmythavcodec-0.18.1.so.0.18.1 cp: cannot create regular file `/var/tmp/portage/mythtv-0.18.1-r1/image/../../../../../../../lib/libmythavcodec-0.18.1.so.0.18.1': Permission denied make[2]: [install_target] Error 1 (ignored) strip --strip-unneeded "/var/tmp/portage/mythtv-0.18.1-r1/image/../../../../../../../lib/libmythavcodec-0.18.1.so.0.18.1" strip: '/var/tmp/portage/mythtv-0.18.1-r1/image/../../../../../../../lib/libmythavcodec-0.18.1.so.0.18.1': No such file ln -sf "libmythavcodec-0.18.1.so.0.18.1" "/var/tmp/portage/mythtv-0.18.1-r1/image/../../../../../../../lib/libmythavcodec-0.18.1.so" ACCESS DENIED symlink: /lib/libmythavcodec-0.18.1.so ln: creating symbolic link `/var/tmp/portage/mythtv-0.18.1-r1/image/../../../../../../../lib/libmythavcodec-0.18.1.so' to `libmythavcodec-0.18.1.so.0.18.1': Permission denied make[2]: [install_target] Error 1 (ignored) ln -sf "libmythavcodec-0.18.1.so.0.18.1" "/var/tmp/portage/mythtv-0.18.1-r1/image/../../../../../../../lib/libmythavcodec-0.18.1.so.0" ACCESS DENIED symlink: /lib/libmythavcodec-0.18.1.so.0 ln: creating symbolic link `/var/tmp/portage/mythtv-0.18.1-r1/image/../../../../../../../lib/libmythavcodec-0.18.1.so.0' to `libmythavcodec-0.18.1.so.0.18.1': Permission denied make[2]: [install_target] Error 1 (ignored) ln -sf "libmythavcodec-0.18.1.so.0.18.1" "/var/tmp/portage/mythtv-0.18.1-r1/image/../../../../../../../lib/libmythavcodec-0.18.1.so.0.18" ACCESS DENIED symlink: /lib/libmythavcodec-0.18.1.so.0.18 ln: creating symbolic link `/var/tmp/portage/mythtv-0.18.1-r1/image/../../../../../../../lib/libmythavcodec-0.18.1.so.0.18' to `libmythavcodec-0.18.1.so.0.18.1': Permission denied make[2]: [install_target] Error 1 (ignored) ACCESS DENIED mkdir: /include mkdir: cannot create directory `/var/tmp/portage/mythtv-0.18.1-r1/image/../../../../../../../include': Permission denied make[2]: *** [install_inc] Error 1
I just tried testing this following SpanKY's comment on http://bugs.gentoo.org/show_bug.cgi?id=46805#c20 and it works here. Can anyone else test to see if the qmake bug has been solved? Thanks.
i hereby endorse this event or product. (WORKSFORME)
*** Bug 164508 has been marked as a duplicate of this bug. ***
*** Bug 106528 has been marked as a duplicate of this bug. ***