[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#425863: marked as done (FTBFS: teckit/libtool yields multiple definition errors)



Your message dated Thu, 24 May 2007 19:47:17 +0000
with message-id <E1HrJHJ-0007xy-OC@ries.debian.org>
and subject line Bug#425863: fixed in texlive-bin 2007-9
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: texlive-bin
Version: 2007-8
Severity: serious
Tags: patch
Justification: no longer builds from source

The version of libtool in .../libs/teckit is buggy (rant about libtool
in general elided ;-).  Specifically, it directs g++ to link in
certain system objects that the compiler would normally supply itself,
but neglects to tell the compiler not to introduce its own instances
of the same objects.  As a result, texlive-bin FTBFS on amd64 (and
presumably other architectures as well):

[...]
/bin/sh ../libtool --mode=link g++  -g -O2 -DNDEBUG   -o libTECkit_Compiler.la -rpath /build/buildd/texlive-bin-2007/build/source/inst/lib  Compiler.lo UnicodeNames.lo  
g++ -shared /usr/lib/gcc/x86_64-linux-gnu/4.1.3/../../../../lib/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.1.3/crtbeginS.o  .libs/Compiler.o .libs/UnicodeNames.o  -L/usr/lib/gcc/x86_64-linux-gnu/4.1.3 -L/usr/lib/gcc/x86_64-linux-gnu/4.1.3/../../../../lib -L/lib/../lib -L/usr/lib/../lib -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/4.1.3/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/4.1.3/../../../../lib/crtn.o  -o .libs/libTECkit_Compiler.0.0.0
/usr/lib/gcc/x86_64-linux-gnu/4.1.3/../../../../lib/crti.o: In function `_init':
/tmp/glibc-2.5/build-tree/amd64-libc/csu/crti.S:25: multiple definition of `_init'
/usr/lib/gcc/x86_64-linux-gnu/4.1.3/../../../../lib/crti.o:/tmp/glibc-2.5/build-tree/amd64-libc/csu/crti.S:25: first defined here
/usr/lib/gcc/x86_64-linux-gnu/4.1.3/../../../../lib/crti.o: In function `_fini':
/tmp/glibc-2.5/build-tree/amd64-libc/csu/crti.S:37: multiple definition of `_fini'
/usr/lib/gcc/x86_64-linux-gnu/4.1.3/../../../../lib/crti.o:/tmp/glibc-2.5/build-tree/amd64-libc/csu/crti.S:37: first defined here
/usr/lib/gcc/x86_64-linux-gnu/4.1.3/crtbeginS.o:(.data.rel+0x0): multiple definition of `__dso_handle'
/usr/lib/gcc/x86_64-linux-gnu/4.1.3/crtbeginS.o:(.data.rel+0x0): first defined here
collect2: ld returned 1 exit status
make[4]: *** [libTECkit_Compiler.la] Error 1
make[4]: Leaving directory `/build/buildd/texlive-bin-2007/build/source/Work/libs/teckit/lib'
[...]

The attached patch addresses this by supplying -nostdlib per the
current /usr/share/aclocal/libtool.m4 (which BTW contains many other
changes, none of which appear to be necessary at the moment); could
you please apply it ASAP (particularly given that most of texlive now
specifically depends on texlive-bin 2007-8)?

Thanks!

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.21.1 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
 build/source/libs/teckit/aclocal.m4 |    2 +-
 build/source/libs/teckit/configure  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff -urNad texlive-bin-2007~/build/source/libs/teckit/aclocal.m4 texlive-bin-2007/build/source/libs/teckit/aclocal.m4
--- texlive-bin-2007~/build/source/libs/teckit/aclocal.m4	2006-07-26 05:16:06.000000000 -0400
+++ texlive-bin-2007/build/source/libs/teckit/aclocal.m4	2007-05-24 11:39:15.196126313 -0400
@@ -3564,7 +3564,7 @@
     # linker, instead of GNU ld.  If possible, this setting should
     # overridden to take advantage of the native linker features on
     # the platform it is being used on.
-    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
+    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   fi
 
   # Commands to make compiler produce verbose output that lists
diff -urNad texlive-bin-2007~/build/source/libs/teckit/configure texlive-bin-2007/build/source/libs/teckit/configure
--- texlive-bin-2007~/build/source/libs/teckit/configure	2006-10-08 18:30:14.000000000 -0400
+++ texlive-bin-2007/build/source/libs/teckit/configure	2007-05-24 11:39:36.700320817 -0400
@@ -9745,7 +9745,7 @@
     # linker, instead of GNU ld.  If possible, this setting should
     # overridden to take advantage of the native linker features on
     # the platform it is being used on.
-    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
+    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   fi
 
   # Commands to make compiler produce verbose output that lists

--- End Message ---
--- Begin Message ---
Source: texlive-bin
Source-Version: 2007-9

We believe that the bug you reported is fixed in the latest version of
texlive-bin, which is due to be installed in the Debian FTP archive:

libkpathsea-dev_2007-9_i386.deb
  to pool/main/t/texlive-bin/libkpathsea-dev_2007-9_i386.deb
libkpathsea4_2007-9_i386.deb
  to pool/main/t/texlive-bin/libkpathsea4_2007-9_i386.deb
texlive-base-bin_2007-9_i386.deb
  to pool/main/t/texlive-bin/texlive-base-bin_2007-9_i386.deb
texlive-bin_2007-9.diff.gz
  to pool/main/t/texlive-bin/texlive-bin_2007-9.diff.gz
texlive-bin_2007-9.dsc
  to pool/main/t/texlive-bin/texlive-bin_2007-9.dsc
texlive-extra-utils_2007-9_i386.deb
  to pool/main/t/texlive-bin/texlive-extra-utils_2007-9_i386.deb
texlive-font-utils_2007-9_i386.deb
  to pool/main/t/texlive-bin/texlive-font-utils_2007-9_i386.deb
texlive-lang-indic_2007-9_i386.deb
  to pool/main/t/texlive-bin/texlive-lang-indic_2007-9_i386.deb
texlive-metapost_2007-9_i386.deb
  to pool/main/t/texlive-bin/texlive-metapost_2007-9_i386.deb
texlive-music_2007-9_i386.deb
  to pool/main/t/texlive-bin/texlive-music_2007-9_i386.deb
texlive-omega_2007-9_i386.deb
  to pool/main/t/texlive-bin/texlive-omega_2007-9_i386.deb
texlive-xetex_2007-9_i386.deb
  to pool/main/t/texlive-bin/texlive-xetex_2007-9_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 425863@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Frank Küster <frank@debian.org> (supplier of updated texlive-bin package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 24 May 2007 20:12:02 +0200
Source: texlive-bin
Binary: texlive-extra-utils libkpathsea-dev libkpathsea4 texlive-xetex texlive-lang-indic texlive-omega texlive-font-utils texlive-metapost texlive-base-bin texlive-music
Architecture: source i386
Version: 2007-9
Distribution: unstable
Urgency: low
Maintainer: Debian TeX Maintainers <debian-tex-maint@lists.debian.org>
Changed-By: Frank Küster <frank@debian.org>
Description: 
 libkpathsea-dev - TeX Live: path search library for TeX (development part)
 libkpathsea4 - TeX Live: path search library for TeX (runtime part)
 texlive-base-bin - TeX Live: Essential binaries
 texlive-extra-utils - TeX Live: TeX auxiliary programs
 texlive-font-utils - TeX Live: TeX font-related programs
 texlive-lang-indic - TeX Live: Indic
 texlive-metapost - TeX Live: MetaPost (and Metafont) drawing packages
 texlive-music - TeX Live: Music typesetting
 texlive-omega - TeX Live: Omega
 texlive-xetex - TeX Live: XeTeX macros
Closes: 425863
Changes: 
 texlive-bin (2007-9) unstable; urgency=low
 .
   * Make sure --enable-shared is not in effect in the subdirectories for
     static-only libraries, in particular xetex's teckit.  Thanks to Aaron
     M. Ucko <amu@alum.MIT.EDU> (closes: #425863) [fk]
   * Move libkpathsea4 and the -dev package to the correct sections (libs
     and libdevel, not tex) [np]
Files: 
 ab194f44592592cd5a71db4be42bf2f3 1150 tex optional texlive-bin_2007-9.dsc
 576e0870cec47d5950460068e774bd02 146506 tex optional texlive-bin_2007-9.diff.gz
 62a2ccd4d51f350510818dfb85b388ba 10957628 tex optional texlive-base-bin_2007-9_i386.deb
 5338ffc6046c510c36d036e04b8b0673 566236 tex optional texlive-extra-utils_2007-9_i386.deb
 88cd73b2c991db7ad88e1492c10263b4 971068 tex optional texlive-font-utils_2007-9_i386.deb
 a3ff10dc93ea62e798f3963d86088fe2 7422474 tex optional texlive-metapost_2007-9_i386.deb
 7e22508fed774af6fba1ee553ab49391 2711348 tex optional texlive-omega_2007-9_i386.deb
 07bcb51fefbc36866775d503d050b0ab 6359044 tex optional texlive-xetex_2007-9_i386.deb
 1f7c5d9b21557fed9130e1bfb82f483a 1710378 tex optional texlive-music_2007-9_i386.deb
 a1805142a5138d24bc99299d72ac6b17 6724296 tex optional texlive-lang-indic_2007-9_i386.deb
 b7c5893256ca03291208f3c6c8eeb10f 107650 libs optional libkpathsea4_2007-9_i386.deb
 074a414786100f8bde67f95ee89b2153 145790 libdevel optional libkpathsea-dev_2007-9_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGVeZe+xs9YyJS+hoRAmDCAJ9v0HTuc5UOfXO7xPuX8+F8PsElGgCeO0Rd
PLTQJwVBK5a/2iP5wuuJ7lI=
=ZBoe
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: