+++ This bug was initially created as a clone of Bug #384703 +++ Solution: https://bugs.gentoo.org/attachment.cgi?id=288001 When creating binary packages symbolic links are created incorrectly. Reproducible: Always Steps to Reproduce: 1. emerge -1 net-fs/davfs2 2. tar jtvf /usr/portage/packages/net-fs/davfs2-1.4.5-r1.tbz2 | grep '^l' Actual Results: lrwxrwxrwx root/root 0 2011-09-27 21:03 ./sbin/umount.davfs -> /tmp/pool/lenovo/portage/net-fs/davfs2-1.4.5-r1/image//usr/sbin/umount.davfs lrwxrwxrwx root/root 0 2011-09-27 21:03 ./sbin/mount.davfs -> /tmp/pool/lenovo/portage/net-fs/davfs2-1.4.5-r1/image//usr/sbin/mount.davfs Expected Results: lrwxrwxrwx root/root 0 2011-09-27 21:03 ./sbin/umount.davfs -> /usr/sbin/umount.davfs lrwxrwxrwx root/root 0 2011-09-27 21:03 ./sbin/mount.davfs -> /usr/sbin/mount.davfs This problem occurs in several different packages: - net-fs/davfs2-1.4.5 - x11-libs/wxGTK-2.8.11.0 - media-video/lives-1.4.2
$ sudo emerge portage-utils $ qlist -CIv lives media-video/lives-1.4.6 $ qlist lives | grep tmp $ Need emerge --info, build.log from 1.4.6 (not intrested in 1.4.2 anymore), config.log from portage work -directory and other relavent information to process this bug.
Reopen with requested information.
https://bugs.gentoo.org/attachment.cgi?id=288001 is not sufficient to note?
Please re-open because the error still exists! CHROOT Lenovo:~ # qlist -CIv lives media-video/lives-1.4.6 CHROOT Lenovo:~ # qlist lives | grep tmp CHROOT Lenovo:~ # tar jtvf /usr/portage/packages/media-video/lives-1.4.6.tbz2 | grep '^l' lrwxrwxrwx root/root 0 2011-10-01 11:20 ./usr/lib64/libweed_slice.so -> libweed_slice.so.0.0.5 lrwxrwxrwx root/root 0 2011-10-01 11:20 ./usr/lib64/libweed_slice.so.0 -> libweed_slice.so.0.0.5 lrwxrwxrwx root/root 0 2011-10-01 11:20 ./usr/lib64/libweed.so -> libweed.so.0.0.5 lrwxrwxrwx root/root 0 2011-10-01 11:20 ./usr/lib64/libweed.so.0 -> libweed.so.0.0.5 lrwxrwxrwx root/root 0 2011-10-01 11:20 ./usr/bin/lives -> /tmp/pool/lenovo/portage/media-video/lives-1.4.6/image//usr/bin/lives-exe
emerge --info see https://384703.bugs.gentoo.org/attachment.cgi?id=287975 build.log and config.log are cleared, because the build without error.
(In reply to comment #3) > https://bugs.gentoo.org/attachment.cgi?id=288001 is not sufficient to note? nope, it's not, it's about some other package than lives... (In reply to comment #4) > CHROOT Lenovo:~ # qlist lives | grep tmp ok, so there are no broken symlinks afterall? still need that build.log from lives to process this bug, reopen with the requested data, thanks
Created attachment 288817 [details] build.log
emerge -1 media-video/lives have just an another error (with sys-devel/gcc-4.4.5 ok this is with sys-devel/gcc-4.5.3-r1): /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -Wstrict-aliasing=0 -DHAVE_MJPEGTOOLS=1 -DHAVE_LDVGRAB=1 -I libavc1394/avc1394.h -I libraw1394/raw1394.h -I libraw1394/rom1394.h -DIS_LINUX_GNU=1 -DENABLE_OSC=1 -I/usr/include/alsa -DALSA_MIDI=1 -DENABLE_JACK -DENABLE_JACK_TRANSPORT -DENABLE_GIW=1 -I/usr/include/weed -DHAVE_SYSTEM_WEED=1 -DLIVES_LIBDIR=\""/usr/lib64"\" -DHAVE_GTK_NICE_VERSION=1 -DHAVE_GTK_VERSION216=1 -march=core2 -mcx16 -msahf -msse4.1 -mtune=core2 -O2 -pipe -Wall -Wl,-O1 -Wl,--as-needed -o lives-exe main.o support.o effects.o plugins.o effects-weed.o framedraw.o interface.o paramspecial.o paramwindow.o rfx-builder.o lives-yuv4mpeg.o preferences.o rte_window.o gui.o htmsocket.o merge.o dialogs.o saveplay.o audio.o events.o resample.o osc.o omc-learn.o callbacks.o colourspace.o keyboard.o utils.o multitrack.o stream.o cvirtual.o startup.o pangotext.o jack.o ldvgrab.o ldvcallbacks.o ldvinterface.o giwknob.o giwvslider.o giwled.o -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lm -lcairo -lpng14 -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lX11 -lmjpegutils -L../libOSC/ -lOSC -L../libOSC/client/ -lOSC_client -lm -ljack -lavc1394 -lraw1394 -lrom1394 -lasound -lpthread -lweed_slice -lweed-utils -lm -ljack -ldl libtool: link: x86_64-pc-linux-gnu-gcc -Wstrict-aliasing=0 -DHAVE_MJPEGTOOLS=1 -DHAVE_LDVGRAB=1 -I libavc1394/avc1394.h -I libraw1394/raw1394.h -I libraw1394/rom1394.h -DIS_LINUX_GNU=1 -DENABLE_OSC=1 -I/usr/include/alsa -DALSA_MIDI=1 -DENABLE_JACK -DENABLE_JACK_TRANSPORT -DENABLE_GIW=1 -I/usr/include/weed -DHAVE_SYSTEM_WEED=1 -DLIVES_LIBDIR=\"/usr/lib64\" -DHAVE_GTK_NICE_VERSION=1 -DHAVE_GTK_VERSION216=1 -march=core2 -mcx16 -msahf -msse4.1 -mtune=core2 -O2 -pipe -Wall -Wl,-O1 -Wl,--as-needed -o lives-exe main.o support.o effects.o plugins.o effects-weed.o framedraw.o interface.o paramspecial.o paramwindow.o rfx-builder.o lives-yuv4mpeg.o preferences.o rte_window.o gui.o htmsocket.o merge.o dialogs.o saveplay.o audio.o events.o resample.o osc.o omc-learn.o callbacks.o colourspace.o keyboard.o utils.o multitrack.o stream.o cvirtual.o startup.o pangotext.o jack.o ldvgrab.o ldvcallbacks.o ldvinterface.o giwknob.o giwvslider.o giwled.o -pthread /usr/lib64/libgtk-x11-2.0.so /usr/lib64/libgdk-x11-2.0.so /usr/lib64/libatk-1.0.so -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpng14 -lpango-1.0 /usr/lib64/libfreetype.so /usr/lib64/libfontconfig.so -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lX11 -lmjpegutils -L/tmp/pool/lenovo/portage/media-video/lives-1.4.6/work/lives-1.4.6/libOSC /tmp/pool/lenovo/portage/media-video/lives-1.4.6/work/lives-1.4.6/libOSC/.libs/libOSC.a -L/tmp/pool/lenovo/portage/media-video/lives-1.4.6/work/lives-1.4.6/libOSC/client /tmp/pool/lenovo/portage/media-video/lives-1.4.6/work/lives-1.4.6/libOSC/client/.libs/libOSC_client.a -lrt /usr/lib64/libavc1394.so /usr/lib64/libraw1394.so /usr/lib64/librom1394.so -lasound -lpthread -lweed_slice -lweed-utils -lm /usr/lib64/libjack.so -ldl -pthread /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lweed-utils collect2: ld returned 1 exit status
i have added https://bugs.gentoo.org/show_bug.cgi?id=385691 for this bug.
*** This bug has been marked as a duplicate of bug 295293 ***
My Solution: 1.) emerge -C media-video/lives 2.) emerge -1 media-video/lives 3.) tar jtvf /usr/portage/packages/media-video/lives-1.4.6.tbz2 2>/dev/null | grep '^l' | grep tmp The Result: lrwxrwxrwx root/root 0 2011-10-05 10:52 ./usr/bin/lives -> /tmp/pool/lenovo/portage/media-video/lives-1.4.6/image//usr/bin/lives-exe
Created attachment 288829 [details] new build.log
+ 06 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> lives-1.4.6.ebuild: + Don't try to detect installed copies of libweed and sendOSC wrt #295293 by + Dustin Polke and Juergen Rose. Fix absolute path to symlink (with rm and + dosym) wrt #384727 by Thomas Rausch.
It's work's. :-) Both.