Bug#217359: gnome-vfs2: Builds package with '-pthread' in .la file (breaking old libtool)

Christian Marillat Christian Marillat <marillat@debian.org>, 217359@bugs.debian.org
Fri, 24 Oct 2003 14:51:53 +0200


Sebastien Bacher <seb128@debian.org> writes:

> Daniel Schepler <schepler@math.berkeley.edu> writes:
>
>> # Libraries that this one depends upon.
>> dependency_libs=' -pthread /usr/lib/libgconf-2.la /usr/lib/libbonobo-activation.la /usr/lib/libORBitCosNaming-2.la /usr/lib/libORBit-2.la /usr/lib/libpopt.la /usr/lib/libgobject-2.0.la /usr/lib/libgthread-2.0.la /usr/lib/libgmodule-2.0.la -ldl /usr/lib/libglib-2.0.la /usr/lib/libxml2.la -lpthread -lm -L/usr/lib /usr/lib/libgnutls.la /usr/lib/libtasn1.la /usr/lib/libgcrypt.la -lnsl -lz -lrt'
>>
>> The "-pthread" in that line causes serious problems with old libtool
>> scripts (see, for example, bug #217320):
>
> So the packages need to have a recent libtool. According to the upstream
> the "-pthread" is not a bug and needed on some systems ... so why
> removing it ?

We don't need to remove this flag. -pthread should be moved in
gnome-vfs-2.0.pc

>> /bin/sh ../libtool --mode=link i386-linux-gcc -Wall -g -O2  -o gnome-open  gnome-open.o libgnome-2.la -lpopt 
>> libtool: link: cannot find the library `'
>>
>> And if I remove that flag, it still works just as well AFAICT.  So
>
> Work fine on one system ? I don't think it's enough to justify the flag
> removal ..
>
>
> Any idea of what's the problem ? In my opinion the right solution is to
> run libtool on the packages which provide a old libtool.

This man that *all* GNOME packages need to run libtoolize. To see how
many package are broken "apt-cache showpkg libgnomevfs2-0"

Then this package need to be fixed.

Christian