Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 539572

Summary: media-video/vlc-9999 USE=svg - libtool: error: cannot install 'libsvg_plugin.la' to a directory not ending in
Product: Gentoo Linux Reporter: jospezial <jospezial>
Component: Current packagesAssignee: Paweł Stankowski <aambitny>
Status: RESOLVED UPSTREAM    
Severity: normal CC: media-video, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://git.videolan.org/?p=vlc.git;a=commit;h=2f675d8c88a5f5d5e9700e8f1e81b07772ef903f
Whiteboard:
Package list:
Runtime testing required: ---

Description jospezial 2015-02-10 04:46:10 UTC
configure: WARNING: unrecognized options: --enable-glx, --disable-mmal-codec, --disable-mmal-vout

libvlc configuration
--------------------
version               : 3.0.0-git
system                : linux
architecture          : x86_64 mmx sse sse2
optimizations         : no
vlc aliases           : cvlc rvlc qvlc svlc nvlc



....

 /bin/mkdir -p '/var/tmp/portage/media-video/vlc-9999/image//usr/lib64/vlc/plugins/text_render'
 ../doltlibtool   --mode=install /usr/lib/portage/python3.3/ebuild-helpers/xattr/install -c   libtdummy_plugin.la libfreetype_plugin.la libsvg_plugin.la '/var/tmp/portage/media-video/vlc-9999/image//usr/lib64/vlc/plugins/text_render'
libtool: relink: /usr/bin/x86_64-pc-linux-gnu-nm -B  services_discovery/.libs/libmtp_plugin_la-mtp.o   | sed -n -e 's/^.*[      ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[         ][      ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' | /bin/sed 's/.* //' | sort | uniq > .libs/libmtp_plugin.exp
libtool: relink: /bin/grep -E -e "^vlc_entry" ".libs/libmtp_plugin.exp" > ".libs/libmtp_plugin.expT"
libtool: relink: mv -f ".libs/libmtp_plugin.expT" ".libs/libmtp_plugin.exp"
libtool: relink: echo "{ global:" > .libs/libmtp_plugin.ver
libtool: relink:  cat .libs/libmtp_plugin.exp | sed -e "s/\(.*\)/\1;/" >> .libs/libmtp_plugin.ver
libtool: relink:  echo "local: *; };" >> .libs/libmtp_plugin.ver
libtool: relink:  x86_64-pc-linux-gnu-gcc -std=gnu99 -shared  -fPIC -DPIC  services_discovery/.libs/libmtp_plugin_la-mtp.o   ../compat/.libs/libcompat.a -L/usr/lib64/sidplay/builders/ -L/var/tmp/portage/media-video/vlc-9999/image//usr/lib64 -L/usr/lib64 -lvlccore -lrt -lidn -lpthread -ldl -lm -ldbus-1 -lmtp -lusb-1.0  -march=native -O2 -Wl,-O1 -Wl,--as-needed   -Wl,-soname -Wl,libmtp_plugin.so -Wl,-version-script -Wl,.libs/libmtp_plugin.ver -o .libs/libmtp_plugin.so

...

libtool: relink: /bin/grep -E -e "^vlc_entry" ".libs/libudev_plugin.exp" > ".libs/libudev_plugin.expT"
libtool: install: /usr/lib/portage/python3.3/ebuild-helpers/xattr/install -c .libs/libfreetype_plugin.soT /var/tmp/portage/media-video/vlc-9999/image//usr/lib64/vlc/plugins/text_render/libfreetype_plugin.so
libtool: install: /usr/lib/portage/python3.3/ebuild-helpers/xattr/install -c .libs/libfreetype_plugin.lai /var/tmp/portage/media-video/vlc-9999/image//usr/lib64/vlc/plugins/text_render/libfreetype_plugin.la
libtool: relink: mv -f ".libs/libudev_plugin.expT" ".libs/libudev_plugin.exp"
libtool: relink: echo "{ global:" > .libs/libudev_plugin.ver
libtool: relink:  cat .libs/libudev_plugin.exp | sed -e "s/\(.*\)/\1;/" >> .libs/libudev_plugin.ver
libtool: relink:  echo "local: *; };" >> .libs/libudev_plugin.ver
libtool: relink:  x86_64-pc-linux-gnu-gcc -std=gnu99 -shared  -fPIC -DPIC  services_discovery/.libs/libudev_plugin_la-udev.o   ../compat/.libs/libcompat.a -L/usr/lib64/sidplay/builders/ -L/var/tmp/portage/media-video/vlc-9999/image//usr/lib64 -L/usr/lib64 -lvlccore -lrt -lidn -lpthread -ldl -lm -ldbus-1 -ludev -lasound  -march=native -O2 -Wl,-O1 -Wl,--as-needed   -Wl,-soname -Wl,libudev_plugin.so -Wl,-version-script -Wl,.libs/libudev_plugin.ver -o .libs/libudev_plugin.so
libtool:   error: error: cannot install 'libsvg_plugin.la' to a directory not ending in 
Makefile:6870: recipe for target 'install-textLTLIBRARIES' failed
make[5]: *** [install-textLTLIBRARIES] Error 1
make[5]: *** Waiting for unfinished jobs....
Comment 1 jospezial 2015-02-10 05:04:14 UTC
Merges fine with USE="-svg" emerge -va vlc
Comment 2 jospezial 2015-02-12 01:28:34 UTC
Today it build fine with USE=svg .
I think this fixes it:

http://git.videolan.org/?p=vlc.git;a=commit;h=2f675d8c88a5f5d5e9700e8f1e81b07772ef903f

svg: don't build as a static library