Bug#495730: ldd check when building vlc

2008-08-20 Thread Fabian Greffrath

Jean-Damien Durand schrieb:
A side-effect is that ldd, under fakeroot, will exhibit a warning saying it will not 
take into account symbols from libfakeroot-sysv, which fine IMO.


Maybe one should call

if LD_LIBRARY_PATH=$(CURDIR)/debian/tmp/usr/lib ldd $$file 2 
/dev/null | grep -q libX11; then \


to suppress this warning.

Cheers,
Fabian

--
Dipl.-Phys. Fabian Greffrath

Ruhr-Universität Bochum
Lehrstuhl für Energieanlagen und Energieprozesstechnik (LEAT)
Universitätsstr. 150, IB 3/134
D-44780 Bochum

Telefon: +49 (0)234 / 32-26334
Fax: +49 (0)234 / 32-14227
E-Mail:  [EMAIL PROTECTED]



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#495730: ldd check when building vlc

2008-08-20 Thread Loïc Minier
On Wed, Aug 20, 2008, Fabian Greffrath wrote:
 if LD_LIBRARY_PATH=$(CURDIR)/debian/tmp/usr/lib ldd $$file 2 
 /dev/null | grep -q libX11; then \

 objdump -x foo.so | grep -w NEEDED
 or
 objdump -p foo.so | grep -w NEEDED

-- 
Loïc Minier



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#495730: ldd check when building vlc

2008-08-20 Thread Jean-Damien Durand

Loïc Minier a écrit :

On Wed, Aug 20, 2008, Fabian Greffrath wrote:
if LD_LIBRARY_PATH=$(CURDIR)/debian/tmp/usr/lib ldd $$file 2 
/dev/null | grep -q libX11; then \


 objdump -x foo.so | grep -w NEEDED
 or
 objdump -p foo.so | grep -w NEEDED


But if the libX11 dependency could come from another object but foo.so - 
an object with which foo.so is linked to ?


Thanks.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#495730: ldd check when building vlc

2008-08-19 Thread Jean-Damien Durand
Package: vlc
Version: 0.8.6.h-1
Severity: normal


The check to find if a vlc-nox plugin is linked with libX11 uses ldd.
This will check the dependencies using system path by default - thus using 
/usr/lib/libvlc* instead of the newly built libvlc.

A possible patch is the following:
  if LD_LIBRARY_PATH=$(CURDIR)/debian/tmp/usr/lib ldd $$file | grep -q 
libX11; then \

please note the use of LD_LIBRARY_PATH. A side-effect is that ldd, under 
fakeroot, will exhibit a warning saying it will not 
take into account symbols from libfakeroot-sysv, which fine IMO.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]