[cl-debian] Bug#349980: marked as done (cl-gd: links to libfreetype6, which is going away)

Debian Bug Tracking System owner at bugs.debian.org
Thu Jan 26 16:18:42 UTC 2006


Your message dated Thu, 26 Jan 2006 08:02:05 -0800
with message-id <E1F29ZV-0000tR-LU at spohr.debian.org>
and subject line Bug#349980: fixed in cl-gd 0.4.2-4
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; 26 Jan 2006 12:22:51 +0000
>From vorlon at debian.org Thu Jan 26 04:22:51 2006
Return-path: <vorlon at debian.org>
Received: from dsl093-039-086.pdx1.dsl.speakeasy.net ([66.93.39.86] helo=tennyson.dodds.net)
	by spohr.debian.org with esmtp (Exim 4.50)
	id 1F269L-0001DH-7z
	for submit at bugs.debian.org; Thu, 26 Jan 2006 04:22:51 -0800
Received: by tennyson.dodds.net (Postfix, from userid 1000)
	id 7513E24001; Thu, 26 Jan 2006 04:22:49 -0800 (PST)
Date: Thu, 26 Jan 2006 04:22:49 -0800
From: Steve Langasek <vorlon at debian.org>
To: submit at bugs.debian.org
Subject: cl-gd: links to libfreetype6, which is going away
Message-ID: <20060126122249.GB4788 at tennyson.dodds.net>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="rqzD5py0kzyFAOWN"
Content-Disposition: inline
User-Agent: Mutt/1.5.9i
Delivered-To: submit at 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=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02


--rqzD5py0kzyFAOWN
Content-Type: multipart/mixed; boundary="sHrvAb52M6C8blB9"
Content-Disposition: inline


--sHrvAb52M6C8blB9
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Package: cl-gd
Version: 0.4.2-3
Severity: grave
Tags: patch

Hi Peter,

The cl-gd package currently depends on libfreetype6, but it doesn't use
it.  This dependency is being pulled in because you're using a custom linker
line in debian/rules that pulls in libraries that aren't used in your code.

Since the only lib used by your library is libgd, I've attached a patch
which discards all of the other libs from the line, uses gcc instead of ld
for linking (strongly recommended upstream unless you know there's a
specific reason to bypass gcc's logic here), and adds -Wl,-zdefs as an extra
safeguard to ensure that no other libraries are missing.

The patch changes the binary package dependencies from this:

 Depends: common-lisp-controller (>=3D 4.2), cl-uffi (>=3D 1.3.4), libc6 (>=
=3D 2.3.5-1), libfreetype6 (>=3D 2.1.5-1), libgd2-xpm (>=3D 2.0.33), libjpe=
g62, libpng12-0 (>=3D 1.2.8rel), zlib1g (>=3D 1:1.2.1)

to this:

 Depends: common-lisp-controller (>=3D 4.23), cl-uffi (>=3D 1.3.4), libc6 (=
>=3D 2.3.5-1), libgd2-xpm (>=3D 2.0.33)

with, indeed, no loss of functionality AFAICT.

Although libfreetype6 is currently available in unstable, due to bug #314385
it is very likely that this package will have to go through a library
transition in the near future.  Since cl-gd doesn't use freetype, I'm filing
this bug at "grave" severity pre-emptively, to encourage you to get your
package free of the transition before it starts.  Please fix this bug at
your earliest convenience.

Thanks,
--=20
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon at debian.org                                   http://www.debian.org/

--sHrvAb52M6C8blB9
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="cl-gd-trim-libs.diff"
Content-Transfer-Encoding: quoted-printable

diff -u cl-gd-0.4.2/debian/changelog cl-gd-0.4.2/debian/changelog
--- cl-gd-0.4.2/debian/changelog
+++ cl-gd-0.4.2/debian/changelog
@@ -1,3 +1,11 @@
+cl-gd (0.4.2-3.1) unstable; urgency=3Dlow
+
+  * Non-maintainer upload.
+  * Use gcc for linking in debian/rules, and don't link to a bunch of
+    libs not needed by the code!
+
+ -- Steve Langasek <vorlon at debian.org>  Thu, 26 Jan 2006 04:03:36 -0800
+
 cl-gd (0.4.2-3) unstable; urgency=3Dlow
=20
   * Peter Van Eynde
diff -u cl-gd-0.4.2/debian/rules cl-gd-0.4.2/debian/rules
--- cl-gd-0.4.2/debian/rules
+++ cl-gd-0.4.2/debian/rules
@@ -25,7 +25,7 @@
 	dh_testdir
 	# Add here commands to compile the package.
 	gcc -fPIC -c $(lib-base).c
-	ld -lgd -lz -lpng -ljpeg -lfreetype -lm -lc -shared $(lib-base).o -o $(li=
b-base).so
+	gcc -Wl,-zdefs -shared -o $(lib-base).so $(lib-base).o -lgd
 	touch build-stamp
=20
 clean:

--sHrvAb52M6C8blB9--

--rqzD5py0kzyFAOWN
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

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

iD8DBQFD2L8ZKN6ufymYLloRAshZAKCQsmDnKhZMYGamWph0cqop2WnYygCfVXe3
femAOUnpXsCuGaz54LAIxLY=
=aTqT
-----END PGP SIGNATURE-----

--rqzD5py0kzyFAOWN--

---------------------------------------
Received: (at 349980-close) by bugs.debian.org; 26 Jan 2006 16:10:25 +0000
>From katie at ftp-master.debian.org Thu Jan 26 08:10:25 2006
Return-path: <katie at ftp-master.debian.org>
Received: from katie by spohr.debian.org with local (Exim 4.50)
	id 1F29ZV-0000tR-LU; Thu, 26 Jan 2006 08:02:05 -0800
From: Peter Van Eynde <pvaneynd at debian.org>
To: 349980-close at bugs.debian.org
X-Katie: $Revision: 1.65 $
Subject: Bug#349980: fixed in cl-gd 0.4.2-4
Message-Id: <E1F29ZV-0000tR-LU at spohr.debian.org>
Sender: Archive Administrator <katie at ftp-master.debian.org>
Date: Thu, 26 Jan 2006 08:02:05 -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

Source: cl-gd
Source-Version: 0.4.2-4

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

cl-gd_0.4.2-4.diff.gz
  to pool/main/c/cl-gd/cl-gd_0.4.2-4.diff.gz
cl-gd_0.4.2-4.dsc
  to pool/main/c/cl-gd/cl-gd_0.4.2-4.dsc
cl-gd_0.4.2-4_i386.deb
  to pool/main/c/cl-gd/cl-gd_0.4.2-4_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 349980 at bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Peter Van Eynde <pvaneynd at debian.org> (supplier of updated cl-gd 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 at debian.org)


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

Format: 1.7
Date: Thu, 26 Jan 2006 16:44:52 +0100
Source: cl-gd
Binary: cl-gd
Architecture: source i386
Version: 0.4.2-4
Distribution: unstable
Urgency: low
Maintainer: Peter Van Eynde <pvaneynd at debian.org>
Changed-By: Peter Van Eynde <pvaneynd at debian.org>
Description: 
 cl-gd      - GD Interface Library for Common Lisp
Closes: 349980
Changes: 
 cl-gd (0.4.2-4) unstable; urgency=low
 .
   * removed link to libfreetype6, patch from
     Steve Langasek <vorlon at debian.org>
     (Closes: #349980)
Files: 
 f61d422754705cfdc18ab6b2c687790f 584 devel optional cl-gd_0.4.2-4.dsc
 f2947dffd2b218185f0340769849524b 2767 devel optional cl-gd_0.4.2-4.diff.gz
 1874a11acd4071aa214f64cdc19ffe21 199278 devel optional cl-gd_0.4.2-4_i386.deb

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

iD8DBQFD2O/F11ldN0tyliURAnp6AJ9yfkj/T2dQfnk5ALnSaBBhvk6w7ACgp5i/
vn4W/oD6FhnCqzB5uGD4Gk8=
=rSxN
-----END PGP SIGNATURE-----





More information about the Cl-debian mailing list