Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 384727 - Incorrect symlinks in media-video/lives
Summary: Incorrect symlinks in media-video/lives
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-27 21:48 UTC by Thomas Rausch
Modified: 2011-10-07 12:04 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (konsole.txt,450.58 KB, text/plain)
2011-10-05 06:26 UTC, Thomas Rausch
Details
new build.log (konsole-lives.txt,663.16 KB, text/plain)
2011-10-05 08:57 UTC, Thomas Rausch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Rausch 2011-09-27 21:48:59 UTC
+++ 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
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2011-09-30 19:16:55 UTC
$ 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.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2011-09-30 19:22:24 UTC
Reopen with requested information.
Comment 3 Thomas Rausch 2011-10-01 06:26:02 UTC
https://bugs.gentoo.org/attachment.cgi?id=288001 is not sufficient to note?
Comment 4 Thomas Rausch 2011-10-01 09:40:06 UTC
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
Comment 5 Thomas Rausch 2011-10-01 10:02:52 UTC
emerge --info see https://384703.bugs.gentoo.org/attachment.cgi?id=287975

build.log and config.log are cleared, because the build without error.
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2011-10-04 21:22:31 UTC
(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
Comment 7 Thomas Rausch 2011-10-05 06:26:04 UTC
Created attachment 288817 [details]
build.log
Comment 8 Thomas Rausch 2011-10-05 06:28:07 UTC
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
Comment 9 Thomas Rausch 2011-10-05 06:49:17 UTC
i have added https://bugs.gentoo.org/show_bug.cgi?id=385691 for this bug.
Comment 10 Samuli Suominen (RETIRED) gentoo-dev 2011-10-05 08:25:01 UTC

*** This bug has been marked as a duplicate of bug 295293 ***
Comment 11 Thomas Rausch 2011-10-05 08:56:23 UTC
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
Comment 12 Thomas Rausch 2011-10-05 08:57:52 UTC
Created attachment 288829 [details]
new build.log
Comment 13 Samuli Suominen (RETIRED) gentoo-dev 2011-10-06 17:26:11 UTC
+  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.
Comment 14 Thomas Rausch 2011-10-07 12:04:52 UTC
It's work's. :-) Both.