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

Bug#344912: marked as done (tetex-bin: binaries linked against unneeded libraries)



Your message dated Wed, 28 Dec 2005 06:17:29 -0800
with message-id <E1Erc7N-0007RE-Rf@spohr.debian.org>
and subject line Bug#344912: fixed in tetex-bin 3.0-13
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)

--------------------------------------
Received: (at submit) by bugs.debian.org; 27 Dec 2005 16:04:29 +0000
>From frank@kuesterei.ch Tue Dec 27 08:04:29 2005
Return-path: <frank@kuesterei.ch>
Received: from idmailgate1.unizh.ch ([130.60.127.100])
	by spohr.debian.org with esmtp (Exim 4.50)
	id 1ErHJM-0008EW-WC
	for submit@bugs.debian.org; Tue, 27 Dec 2005 08:04:29 -0800
Received: from localhost ([130.60.169.159])
	by idmailgate1.unizh.ch (8.13.1/8.13.1/SuSE Linux 0.7) with ESMTP id jBRG4QCl007126
	for <submit@bugs.debian.org>; Tue, 27 Dec 2005 17:04:27 +0100
Received: from localhost ([127.0.0.1] helo=localhost.localdomain)
	by localhost with esmtp (Exim 4.50)
	id 1ErHKC-0006kE-FJ
	for submit@bugs.debian.org; Tue, 27 Dec 2005 17:05:20 +0100
From: =?iso-8859-1?q?Frank_K=FCster?= <frank@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: tetex-bin: binaries linked against unneeded libraries
X-Debbugs-CC: Frank =?iso-8859-1?q?K=FCster?= <frank@debian.org>, Martin Pitt <martin.pitt@canonical.com>, Norbert Preining <preining@logic.at>
X-Attribution: fant
X-Ehrenamt: http://www.langau.de
Date: Tue, 27 Dec 2005 17:05:19 +0100
Message-ID: <[🔎] 864q4uikzk.fsf@alhambra.kuesterei.ch>
User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-Virus-Scanned: by amavisd-new
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-11.0 required=4.0 tests=BAYES_00,HAS_PACKAGE,
	X_DEBBUGS_CC autolearn=ham version=2.60-bugs.debian.org_2005_01_02

Package: tetex-bin
Version: 3.0-11sarge12
Severity: important

Hi all, hi Martin,

since we apply the libpoppler patch to tetex-bin that you kindly
provided, all binaries get linked to "everything", This is easiest seen
with the libkpathsea library, which is also linked against lots of
unneeded things:

$ ldd /usr/lib/libkpathsea.so.4
		libpoppler.so.0 =3D> /usr/lib/libpoppler.so.0 (0xb7ec9000)
	libc.so.6 =3D> /lib/tls/libc.so.6 (0xb7d94000)
	libcairo.so.2 =3D> /usr/lib/libcairo.so.2 (0xb7d51000)
	libfontconfig.so.1 =3D> /usr/lib/libfontconfig.so.1 (0xb7d22000)
	libjpeg.so.62 =3D> /usr/lib/libjpeg.so.62 (0xb7d04000)
	libstdc++.so.5 =3D> /usr/lib/libstdc++.so.5 (0xb7c4a000)
	libm.so.6 =3D> /lib/tls/libm.so.6 (0xb7c28000)
	libgcc_s.so.1 =3D> /lib/libgcc_s.so.1 (0xb7c1f000)
	/lib/ld-linux.so.2 =3D> /lib/ld-linux.so.2 (0x80000000)
	libXrender.so.1 =3D> /usr/lib/libXrender.so.1 (0xb7c16000)
	libX11.so.6 =3D> /usr/X11R6/lib/libX11.so.6 (0xb7b4f000)
	libpng12.so.0 =3D> /usr/lib/libpng12.so.0 (0xb7b2a000)
	libfreetype.so.6 =3D> /usr/lib/libfreetype.so.6 (0xb7abd000)
	libz.so.1 =3D> /usr/lib/libz.so.1 (0xb7aab000)
	libexpat.so.1 =3D> /usr/lib/libexpat.so.1 (0xb7a8b000)
	libdl.so.2 =3D> /lib/tls/libdl.so.2 (0xb7a87000)

Previously, neither the X-related nor the image format related libraries
where in there, and especially not libstdc++ (kpathsea is a pure C
application).

I don't know how this is happening, but this line looks suspcicious:

-gcc -shared [long list of .lo files] -Wl,-soname -Wl,libkpathsea.so.4 -o .=
./kpathsea/.libs/libkpathsea.so.4.0.0
+gcc -shared [long list of .lo files] -L/usr/X11R6/lib -L/usr/lib /usr/lib/=
libpoppler.so -Wl,-soname -Wl,libkpathsea.so.4 -o ../kpathsea/.libs/libkpat=
hsea.so.4.0.0

why is there this "/usr/lib/libpoppler.so"?  Of course, libtool
invocation two lines earlier changed:

-/bin/sh ../libtool --mode=3Dlink gcc -o ../kpathsea/libkpathsea.la -rpath =
/usr/lib -version-info 4:0:0 [long list of .lo files]
+/bin/sh ../libtool --mode=3Dlink gcc -o ../kpathsea/libkpathsea.la -lpoppl=
er  -rpath /usr/lib -version-info 4:0:0 [long list of .lo files]

I'm not sure whether the problem is that -lpoppler is passed - I thought
that gcc is clever enough not to link against libraries from which no
symbols are used.  But why does libtool pass "/usr/lib/libpoppler.so"?

Regards, Frank

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.10
Locale: LANG=3Dde_DE@euro, LC_CTYPE=3Dde_DE@euro (charmap=3DISO-8859-15)

Versions of packages tetex-bin depends on:
ii  debconf [debconf-2 1.4.30.13             Debian configuration managemen=
t sy
ii  debianutils        2.8.4                 Miscellaneous utilities specif=
ic t
ii  dpkg               1.10.28               Package maintenance system for=
 Deb
ii  ed                 0.2-20                The classic unix line editor
ii  libc6              2.3.2.ds1-22          GNU C Library: Shared librarie=
s an
ii  libcairo2          1.0.2-2sarge3         The Cairo 2D vector graphics l=
ibra
ii  libfontconfig1     2.3.1-2               generic font configuration lib=
rary
ii  libfreetype6       2.1.7-2.4             FreeType 2 font engine, shared=
 lib
ii  libgcc1            1:3.4.3-13            GCC support library
ii  libice6            4.3.0.dfsg.1-14sarge1 Inter-Client Exchange library
ii  libjpeg62          6b-10                 The Independent JPEG Group's J=
PEG=20
ii  libkpathsea4       3.0-11sarge12         path search library for teTeX =
(run
ii  libpaper1          1.1.14-3              Library for handling paper cha=
ract
ii  libpng12-0         1.2.8rel-1            PNG library - runtime
ii  libpoppler0        0.4.2-1.0sarge2       PDF rendering library
ii  libsm6             4.3.0.dfsg.1-14sarge1 X Window System Session Manage=
ment
ii  libstdc++5         1:3.3.5-13            The GNU Standard C++ Library v3
ii  libt1-5            5.0.2-3               Type 1 font rasterizer library=
 - r
ii  libx11-6           4.3.0.dfsg.1-14sarge1 X Window System protocol clien=
t li
ii  libxaw7            4.3.0.dfsg.1-14sarge1 X Athena widget set library
ii  libxext6           4.3.0.dfsg.1-14sarge1 X Window System miscellaneous =
exte
ii  libxmu6            4.3.0.dfsg.1-14sarge1 X Window System miscellaneous =
util
ii  libxpm4            4.3.0.dfsg.1-14sarge1 X pixmap library
ii  libxrender1        0.8.3-7               X Rendering Extension client l=
ibra
ii  libxt6             4.3.0.dfsg.1-14sarge1 X Toolkit Intrinsics
ii  mime-support       3.28-1                MIME files 'mime.types' & 'mai=
lcap
ii  perl               5.8.4-8               Larry Wall's Practical Extract=
ion=20
ii  sed                4.1.2-8               The GNU sed stream editor
ii  tetex-base         3.0-11                Basic library files of teTeX
ii  ucf                1.17                  Update Configuration File: pre=
serv
ii  xlibs              4.3.0.dfsg.1-14sarge1 X Keyboard Extension (XKB) con=
figu
ii  zlib1g             1:1.2.2-4.sarge.2     compression library - runtime

-- debconf information:
  tetex-bin/upd_map: true
* tetex-bin/cnf_name:
  tetex-bin/fmtutil: true
  tetex-bin/fmtutil-failed:
  tetex-bin/updmap-failed:
  tetex-bin/hyphen: french[=3Dpatois], ngerman[=3Dnaustrian-neue_Rechtschre=
ibung]
  tetex-bin/oldcfg: true
  tetex-bin/use_debconf: false

--=20
Frank K=FCster
Inst. f. Biochemie der Univ. Z=FCrich
Debian Developer


---------------------------------------
Received: (at 344912-close) by bugs.debian.org; 28 Dec 2005 14:21:39 +0000
>From katie@ftp-master.debian.org Wed Dec 28 06:21:39 2005
Return-path: <katie@ftp-master.debian.org>
Received: from katie by spohr.debian.org with local (Exim 4.50)
	id 1Erc7N-0007RE-Rf; Wed, 28 Dec 2005 06:17:29 -0800
From: =?utf-8?q?Frank_K=C3=BCster?= <frank@debian.org>
To: 344912-close@bugs.debian.org
X-Katie: $Revision: 1.65 $
Subject: Bug#344912: fixed in tetex-bin 3.0-13
Message-Id: <E1Erc7N-0007RE-Rf@spohr.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Wed, 28 Dec 2005 06:17:29 -0800
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 3

Source: tetex-bin
Source-Version: 3.0-13

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

libkpathsea4-dev_3.0-13_i386.deb
  to pool/main/t/tetex-bin/libkpathsea4-dev_3.0-13_i386.deb
libkpathsea4_3.0-13_i386.deb
  to pool/main/t/tetex-bin/libkpathsea4_3.0-13_i386.deb
tetex-bin_3.0-13.diff.gz
  to pool/main/t/tetex-bin/tetex-bin_3.0-13.diff.gz
tetex-bin_3.0-13.dsc
  to pool/main/t/tetex-bin/tetex-bin_3.0-13.dsc
tetex-bin_3.0-13_i386.deb
  to pool/main/t/tetex-bin/tetex-bin_3.0-13_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 344912@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 tetex-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: Tue, 27 Dec 2005 21:21:00 +0100
Source: tetex-bin
Binary: tetex-bin libkpathsea4-dev libkpathsea4
Architecture: source i386
Version: 3.0-13
Distribution: unstable
Urgency: low
Maintainer: teTeX maintainers <debian-tetex-maint@lists.debian.org>
Changed-By: Frank Küster <frank@debian.org>
Description: 
 libkpathsea4 - path search library for teTeX (runtime part)
 libkpathsea4-dev - path search library for teTeX (devel part)
 tetex-bin  - The teTeX binary files
Closes: 343172 343741 344912
Changes: 
 tetex-bin (3.0-13) unstable; urgency=low
 .
   * {texconfig,fmtutil,updmap}-sys: improve handling to avoid spurious
     warnings when fmtutil is called from texconfig-sys (Closes: #343172) [jdg]
   * fmtutil: change $scriptname back to $progname to simplify patch [jdg]
   * fmtutil, updmap: fix mktexfmt handling (now called correctly by root
     and non-root) and error message handling when fmtutil/updmap called by
     root [jdg]
   * Fix patch-poppler: Accidently all binaries where linked against
     libpoppler and everything it links to (closes: #344912) [frank]
   * Add CVE ID to the changelog entry for 3.0-11 to indicate clearly which
     security issues have been fixed.
   * Bump standards version to 3.6.2 (no changes needed)
   * Fixes to manpages to make lintian happy
   * Translations:
     - Added Swedish debconf translation, thanks to Daniel Nylander
       <yeager@lidkoping.net> (closes: #343741) [frank]
Files: 
 9bf66b06ab590422af6e4a79a509f084 1041 tex optional tetex-bin_3.0-13.dsc
 6a54f6cbf3a22932eba8cd8e91662485 133653 tex optional tetex-bin_3.0-13.diff.gz
 8c0f43ebbf8b792a7e076928c27fe1fd 3488486 tex optional tetex-bin_3.0-13_i386.deb
 07b2e34079c39c17c9328451cea98cc5 75052 libs optional libkpathsea4_3.0-13_i386.deb
 f1730e1d8413a4b9ede76ce2f1f786d2 70020 libdevel optional libkpathsea4-dev_3.0-13_i386.deb

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

iD8DBQFDsp2T+xs9YyJS+hoRAmX4AJ4nK18AThYEZ4rGAz4bg8ca9zlrPACeNtsD
BkYi+Dy4OADU1xy9g0blSvo=
=P0p+
-----END PGP SIGNATURE-----



Reply to: