Your message dated Sat, 08 Jun 2013 18:20:26 +0000
with message-id <[email protected]>
and subject line Bug#633556: fixed in lusernet.app 0.4.2-6.1
has caused the Debian Bug report #633556,
regarding lusernet.app: FTBFS with ld that defaults to --as-needed: undefined 
reference to `__objc_class_name_CWCharset'
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
633556: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=633556
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lusernet.app
Version: 0.4.2-6
Severity: important
Tags: patch
User: [email protected]
Usertags: origin-ubuntu ubuntu-patch oneiric

I noticed that somebody had synced the base GNUstep packages from
experimental into Ubuntu oneiric, so I started work on rebuilding all
the application packages against that new version so that we can drop
the older library versions.  lusernet.app failed to build as follows:

  
https://launchpadlibrarian.net/74974344/buildlog_ubuntu-oneiric-i386.lusernet.app_0.4.2-6build2_FAILEDTOBUILD.txt.gz

  gcc  -rdynamic -lPantomime    -Wl,-z,defs -Wl,--as-needed -shared-libgcc 
-fexceptions -fgnu-runtime -o LuserNET.app/./LuserNET \
          ./obj/LuserNET.obj/NNTPServer.m.o ./obj/LuserNET.obj/MsgDB.m.o 
./obj/LuserNET.obj/NNTPSource.m.o ./obj/LuserNET.obj/KeyWindow.m.o 
./obj/LuserNET.obj/NNTPSourceGUI.m.o ./obj/LuserNET.obj/main.m.o 
./obj/LuserNET.obj/main_prefs.m.o ./obj/LuserNET.obj/FolderListController.m.o 
./obj/LuserNET.obj/FolderWindowController.m.o 
./obj/LuserNET.obj/FolderThreader.m.o 
./obj/LuserNET.obj/LogWindowController.m.o 
./obj/LuserNET.obj/MessageViewController.m.o 
./obj/LuserNET.obj/ComposeWindowController.m.o 
./obj/LuserNET.obj/PreferencesWindowController.m.o 
./obj/LuserNET.obj/Pref_Sources.m.o ./obj/LuserNET.obj/Pref_MessageViewing.m.o 
./obj/LuserNET.obj/Pref_ReadAhead.m.o ./obj/LuserNET.obj/Pref_Posting.m.o 
./obj/LuserNET.obj/autokeyviewchain.m.o      -L/usr/local/lib -L/usr/lib     
-lgnustep-gui    -lgnustep-base   -lpthread -lobjc   -lm
  ./obj/LuserNET.obj/main.m.o:(.data.rel+0x1c): undefined reference to 
`__objc_class_name_CWCharset'
  ./obj/LuserNET.obj/FolderThreader.m.o:(.data.rel+0x4): undefined reference to 
`__objc_class_name_CWMIMEUtility'
  ./obj/LuserNET.obj/MessageViewController.m.o:(.data.rel+0x14): undefined 
reference to `__objc_class_name_CWUUFile'
  ./obj/LuserNET.obj/MessageViewController.m.o:(.data.rel+0x18): undefined 
reference to `__objc_class_name_CWMessage'
  ./obj/LuserNET.obj/MessageViewController.m.o:(.data.rel+0x20): undefined 
reference to `__objc_class_name_CWPart'
  ./obj/LuserNET.obj/MessageViewController.m.o:(.data.rel+0x28): undefined 
reference to `__objc_class_name_CWMIMEMultipart'
  ./obj/LuserNET.obj/ComposeWindowController.m.o:(.data.rel+0x3c): undefined 
reference to `__objc_class_name_CWInternetAddress'
  ./obj/LuserNET.obj/ComposeWindowController.m.o:(.data.rel+0x44): undefined 
reference to `__objc_class_name_CWMessage'
  ./obj/LuserNET.obj/Pref_MessageViewing.m.o:(.data.rel+0xc): undefined 
reference to `__objc_class_name_CWCharset'

It appears that link-libs.patch needs to be extended to cover this;
-lPantomime is clearly in the wrong place on the link line for
--as-needed (http://wiki.debian.org/ToolChain/DSOLinking).  This
probably doesn't affect Debian right now because --as-needed is a
positional option and only affects those libraries listed after it, but
Ubuntu's linker defaults to --as-needed right out of the gate.
Nevertheless, I believe that the debian-gcc team is tracking these
problems and wants to make Debian packages work cleanly with such a
linker.

Here's a patch.  Does it seem like a reasonable approach?

  * debian/patches/30_link_order.dpatch: Fix link order with 'ld
    --as-needed'.

diff -u lusernet.app-0.4.2/debian/patches/00list 
lusernet.app-0.4.2/debian/patches/00list
--- lusernet.app-0.4.2/debian/patches/00list
+++ lusernet.app-0.4.2/debian/patches/00list
@@ -4,0 +5,1 @@
+30_link_order
only in patch2:
unchanged:
--- lusernet.app-0.4.2.orig/debian/patches/30_link_order.dpatch
+++ lusernet.app-0.4.2/debian/patches/30_link_order.dpatch
@@ -0,0 +1,20 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 30_link_order.dpatch by Colin Watson <[email protected]>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Put -lPantomime in LuserNET_GUI_LIBS rather than LuserNET_LDFLAGS,
+## DP: fixing build with 'ld --as-needed'.
+
+@DPATCH@
+diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' 
'--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' 
lusernet.app~/GNUmakefile lusernet.app/GNUmakefile
+--- lusernet.app~/GNUmakefile  2011-07-11 15:36:05.000000000 +0100
++++ lusernet.app/GNUmakefile   2011-07-11 15:36:12.000000000 +0100
+@@ -44,7 +44,7 @@
+ 
+ MAKE_STRINGS_OPTIONS = --aggressive-match --aggressive-remove
+ 
+-LuserNET_LDFLAGS += -lPantomime
++LuserNET_GUI_LIBS += -lPantomime
+ #-lMime
+ 
+ include $(GNUSTEP_MAKEFILES)/application.make

Thanks,

-- 
Colin Watson                                       [[email protected]]



--- End Message ---
--- Begin Message ---
Source: lusernet.app
Source-Version: 0.4.2-6.1

We believe that the bug you reported is fixed in the latest version of
lusernet.app, which is due to be installed in the Debian FTP archive.

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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson <[email protected]> (supplier of updated lusernet.app 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 03 Jun 2013 18:22:12 +0100
Source: lusernet.app
Binary: lusernet.app
Architecture: source i386
Version: 0.4.2-6.1
Distribution: unstable
Urgency: low
Maintainer: Debian GNUstep maintainers 
<[email protected]>
Changed-By: Colin Watson <[email protected]>
Description: 
 lusernet.app - News reader for GNUstep
Closes: 633556 633557
Changes: 
 lusernet.app (0.4.2-6.1) unstable; urgency=low
 .
   * Non-maintainer upload.
   * debian/patches/30_link_order.dpatch: Fix link order with 'ld
     --as-needed' (closes: #633556, LP: #771011).
   * debian/patches/40_modern_objc_api.dpatch: Use the modern GNU Objective-C
     API (closes: #633557).
Checksums-Sha1: 
 492a805ea62f22a1c0c669231bec91c030f47b38 2036 lusernet.app_0.4.2-6.1.dsc
 04f696ef8891af678257e75b06d23ab5172b9a33 17040 lusernet.app_0.4.2-6.1.diff.gz
 dcffe3d23a611a9a16889e3673f4ef260121d57f 145738 lusernet.app_0.4.2-6.1_i386.deb
Checksums-Sha256: 
 b5b66cdaf6d9f322328b85563bda59d95ce7ec060eb431751a2e23d3d0a79ccf 2036 
lusernet.app_0.4.2-6.1.dsc
 1df2436bb85ed5c5b913674855fa195e33d19ccc9006ab4f1ee17e4acb57878a 17040 
lusernet.app_0.4.2-6.1.diff.gz
 944e2cf29b576153ccbd2b3f24aa1bd670b566527a7399eedf273929e2cdeec5 145738 
lusernet.app_0.4.2-6.1_i386.deb
Files: 
 f2277342717bc981e80ed0c4293a8ea3 2036 gnustep optional 
lusernet.app_0.4.2-6.1.dsc
 59fe23f8096f22fda94d3fc0c3c83e65 17040 gnustep optional 
lusernet.app_0.4.2-6.1.diff.gz
 a8cb956b8f35aea645d642ed3ad7d051 145738 gnustep optional 
lusernet.app_0.4.2-6.1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Colin Watson <[email protected]> -- Debian developer

iQIVAwUBUazYQzk1h9l9hlALAQjTWQ//abOusmNMexTGPemh5aZ5uYEwFgCF5uZp
6Ur8Kjdgl9xpYZWmFuJrYjHZZVwMfgKAvkK+pQj1ipjMdSnWBbbjigD+YUAWfmGw
Uk4+R+7+r183iAXzLFpqOvwcfhLW67KjhY5ALVMQtVuFhXy3OabSbxaV8QkuTnHd
FX4WNbgAZh4vV1cti9guZI5ZoDWC1tnXVjgkHHZUDvLulZxWVr+e7jgN5oGq0IiO
D1Y9ztD+8AdmijfP+Ma5Hqcr14fMryCQ11qOdA1sz19FOhWFAcv82pzp6Jsux5Da
Q5cvOg9+DcdjLbjetwIK1uQuTqr5VcgnJgiL2ZNhE+D2/vFWzwrnVKRFwxOjlrfU
jE8YkavfRPBFYHa0gAF9W6SjCgY7j9d9Bw26cAOA+pBEaitHA23Ygzl6VXiLiyQ3
qZKnHY4o7doXEIxCo3nISfoT2fT0k9zyZzeIMJDL+hFc8Rw8rAouSr/7EdgeDY50
Dxon5Row8S4TpzrLeNN2OvpTUf49eCaT7uKb5GJZvCE8V2eHhVdq2SuWECCB0qPc
giZuamHDJoQp489pnqML1pKO4urUlacOE+z9Kv0m9QQE3h4M8FSknMOQT91yGYGg
yp868J/YBNex86UL16b1cxe2gbd/SmtbBwD3yCzxTwBMWpTZfluMNco9y+RgmYiR
4N2i5PiQGsU=
=GSPs
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to