Bug 131299 - multimedia/vlc: does not compile any more, wuth luiveMedia support
Summary: multimedia/vlc: does not compile any more, wuth luiveMedia support
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Norikatsu Shigemura
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-02 15:00 UTC by Erwan David
Modified: 2009-02-26 16:36 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erwan David 2009-02-02 15:00:08 UTC
While trying to upgrade vlc from 0.8.6 to 0.9.8, I get the following error

libtool: link: c++ -shared -nostdlib /usr/lib/crti.o /usr/lib/crtbeginS.o  .libs/liblive555_plugin_la-live555.o .libs/liblive555_plugin_la-a
sf.o .libs/liblive555_plugin_la-buffer.o   -Wl,-rpath -Wl,/usr/ports/multimedia/vlc/work/vlc-0.9.8a/src/.libs -Wl,-rpath -Wl,/usr/local/lib 
-Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -L/usr/local/live/UsageEnvironment -lUsageEnvironment -L/usr/local/live/groupsock -lgroupsock
 -L/usr/local/live/BasicUsageEnvironment -lBasicUsageEnvironment -L/usr/local/live/liveMedia -lliveMedia ../../src/.libs/libvlccore.so /usr/
local/lib/libhal.so /usr/local/lib/libdbus-1.so -lrt /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -L/usr/lib -lstdc++ -lm -lpthread 
-lc -lgcc_s /usr/lib/crtendS.o /usr/lib/crtn.o  -pthread   -pthread -Wl,-soname -Wl,liblive555_plugin.so -o .libs/liblive555_plugin.so
/usr/bin/ld: /usr/local/live/UsageEnvironment/libUsageEnvironment.a: relocation R_X86_64_32S can not be used when making a shared object; re
compile with -fPIC
/usr/local/live/UsageEnvironment/libUsageEnvironment.a: could not read symbols: Bad value
gmake[5]: *** [liblive555_plugin.la] Error 1


It seems vlc tries to make a relocatable library from the static liveMedia libraries, and it does not work.

How-To-Repeat: install vlc from port with liveMedia support.
Comment 1 Ollivier Robert freebsd_committer freebsd_triage 2009-02-04 23:44:22 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jsa@wickedmachine.net

Over to maintainer.
Comment 2 Ollivier Robert freebsd_committer freebsd_triage 2009-02-08 23:17:38 UTC
Responsible Changed
From-To: jsa@wickedmachine.net->nork

Responsible field seems to expect only @freebsd.org addresses.  Put nork@ instead.
Comment 3 Joseph S Atkinson 2009-02-08 23:37:45 UTC
I cannot duplicate this locally (i386), some emails following up on this 
(which did not get cc'ed here) indicate the issue is with PIC and 
livemedia on amd64.

I will hopefully have access to an amd64 machine within coming weeks, 
but my hands are tied for the moment.

aka: jsa@wickedmachine.net
Comment 4 Norikatsu Shigemura freebsd_committer freebsd_triage 2009-02-26 16:35:50 UTC
State Changed
From-To: open->closed

Mybe fixed.  Please test latest port.