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

Daniel Schepler Daniel Schepler <schepler@math.berkeley.edu>, 217359@bugs.debian.org
Thu, 23 Oct 2003 22:41:02 -0700


Package: gnome-vfs2
Severity: serious
Version: 2.4.1-3

When I build gnome-vfs2 from source, the resulting libgnomevfs-2.la
file contains the line:

# 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):

/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
Christian Marillat asked me to file a serious bug regarding this
issue.

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux frobnitz 2.6.0-test8 #1 Sat Oct 18 13:47:08 PDT 2003 i686
Locale: LANG=C, LC_CTYPE=C


-- 
Daniel Schepler              "Please don't disillusion me.  I
schepler@math.berkeley.edu    haven't had breakfast yet."
                                 -- Orson Scott Card