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

[Pkg-fonts-devel] Bug#656498: fontforge-dbg symbols don't match fontforge somehow



tags 656498 + patch
thanks

On 01/19/2012 01:11 PM, Daniel Kahn Gillmor wrote:
> Something is amiss in how the fontforge-dbg package is generated.
> perhaps these symbols belong to the fontforge-nox binary?

yes, this is indeed what's happening.  if i force fontforge-nox and
fontforge-dbg to be installed together, then "gdb fontforge" doesn't
produce the error messages, and any backtraces are complete.

debian/rules is producing debug symbols for fontforge-nox instead of the
x11 package.

i just committed r4429 (attached here), which appears to resolve the
problem for me.

	--dkg
commit 44e4ccaa1c368f076a352ac7c6e09776d1053999
Author: dkg <dkg@7376ef65-540e-0410-8a1a-a90064c4b4ec>
Date:   Thu Jan 19 19:43:49 2012 +0000

    do not keep debugging symbols from fontforge-nox (Closes: #656498)
    
    git-svn-id: svn+ssh://svn.debian.org/srv/svn.debian.org/svn/pkg-fonts/packages/fontforge/trunk@4429 7376ef65-540e-0410-8a1a-a90064c4b4ec

diff --git a/debian/changelog b/debian/changelog
index 10d8568..0b80c43 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,8 @@ fontforge (0.0.20110222-8) UNRELEASED; urgency=low
   * Fix memory corruption when moving spline points via upstream patch by
     Paul Flo Williams
     Closes: #656443
+  * ensure fontforge-dbg gets symbols from X11-capable fontforge
+    Closes: #656498
   
  -- Christian Perrier <bubulle@debian.org>  Thu, 19 Jan 2012 19:52:54 +0100
 
diff --git a/debian/rules b/debian/rules
index b9e9a1d..91571bf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -161,7 +161,7 @@ binary-common:
 	dh_installmime
 	dh_installman
 	dh_link
-	dh_strip --dbg-package=fontforge-dbg
+	dh_strip --exclude=fontforge-nox --dbg-package=fontforge-dbg
 	dh_compress
 	dh_fixperms
 	dh_makeshlibs

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: