Your message dated Fri, 02 Dec 2011 13:20:31 +0000
with message-id <[email protected]>
and subject line Bug#650276: fixed in wmbatppc 2.5-5
has caused the Debian Bug report #650276,
regarding wmbatppc: FTBFS with ld that defaults to --as-needed: bad link order
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.)


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

wmbatppc fails to build with a linker that defaults to --as-needed, as
shown in this Ubuntu build log:

  
https://launchpadlibrarian.net/85966958/buildlog_ubuntu-precise-powerpc.wmbatppc_2.5-4_FAILEDTOBUILD.txt.gz

This is because of incorrect link ordering: it puts libraries before the
objects that use them rather than after.  See:

  http://wiki.debian.org/ToolChain/DSOLinking#Only_link_with_needed_libraries

The following patch fixes this.

  * Fix link order to list libraries after the objects that require them.

--- wmbatppc-2.5.orig/Makefile
+++ wmbatppc-2.5/Makefile
@@ -18,7 +18,7 @@
        $(CC) -I/usr/X11R6/share/include $(FLAGS) -c -Wall wmbatppc.c -o $*.o
 
 wmbatppc: $(OBJS) wmbatppc.o
-       $(CC) $(FLAGS) -o wmbatppc $(OBJS) -lXext $(LIBDIR) $(LIBS) wmbatppc.o
+       $(CC) $(FLAGS) -o wmbatppc wmbatppc.o $(OBJS) -lXext $(LIBDIR) $(LIBS)
 
 all:: wmbatppc
 

Thanks,

-- 
Colin Watson                                       [[email protected]]



--- End Message ---
--- Begin Message ---
Source: wmbatppc
Source-Version: 2.5-5

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

wmbatppc_2.5-5.debian.tar.gz
  to main/w/wmbatppc/wmbatppc_2.5-5.debian.tar.gz
wmbatppc_2.5-5.dsc
  to main/w/wmbatppc/wmbatppc_2.5-5.dsc
wmbatppc_2.5-5_powerpc.deb
  to main/w/wmbatppc/wmbatppc_2.5-5_powerpc.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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julien BLACHE <[email protected]> (supplier of updated wmbatppc 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: Fri, 02 Dec 2011 13:01:03 +0000
Source: wmbatppc
Binary: wmbatppc
Architecture: source powerpc
Version: 2.5-5
Distribution: unstable
Urgency: low
Maintainer: Julien BLACHE <[email protected]>
Changed-By: Julien BLACHE <[email protected]>
Description: 
 wmbatppc   - Battery monitor for Apple G3/G4 ibooks/powerbooks
Closes: 650276
Changes: 
 wmbatppc (2.5-5) unstable; urgency=low
 .
   * Switch to source format 3.0 (quilt).
 .
   * debian/patches/fix_link_order.patch:
     + Fix link order for ld --as-needed, patch from Colin Watson
       (closes: #650276).
Checksums-Sha1: 
 99577dc206579b51a434960723aaddb1caaf7d44 1701 wmbatppc_2.5-5.dsc
 4cfbfa8ff61fafafc8d0c0e5e3a0b14892b0bad9 3470 wmbatppc_2.5-5.debian.tar.gz
 1c3ace6351dcdac41366bec5501344e2e3264f76 40870 wmbatppc_2.5-5_powerpc.deb
Checksums-Sha256: 
 4db76fea33bfe838f536cf6744caa7c4c6b5462a691baac4bbf72baac6b1ef47 1701 
wmbatppc_2.5-5.dsc
 6403906d019c1d69b1b41e4056208195c553faa7bba26d9f6d748859850357e7 3470 
wmbatppc_2.5-5.debian.tar.gz
 ce28929d29201ef060258ca662a7829622b48bdfa26544b4db15172a5941f9ed 40870 
wmbatppc_2.5-5_powerpc.deb
Files: 
 1f9d5a49b6381c3a987e7da9d36877e8 1701 utils optional wmbatppc_2.5-5.dsc
 f24a449dce983aa9a8d467cf7f4b813d 3470 utils optional 
wmbatppc_2.5-5.debian.tar.gz
 54272a0056c0975a22aef90fab78a85d 40870 utils optional 
wmbatppc_2.5-5_powerpc.deb

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

iQIVAwUBTtjNCSbpiur6HlKSAQh62A/7BgRlutZ8gtAG8iBPQKx9Q44w4TC7pAMN
YG0cpS/zP0LBOBeV22Yackq9XtmEtNrq3gcSofqcDUx2XMSeZKsfDELs8kMRLVnT
3cLzJrmIXnqePK9YPpt+uXZJwUguHHqGQAWRSZcJZIolxlLNDiNK6CfRnf/WgfQJ
4fOXfI4q4cKkrwEylI3Rs/Exp+fxoqXANvPVRuN5Euar89PTmC5NAV5ikz8+zaKy
iSD3CGvzcbC+HfMJ7FnjmKTh7O+cM2Y45yMdieJg2PMrDI/JrQtdMIp+2X5fHE4P
BvM3o0wm5cUCM09PaYSZ8IrUbEGUpewXI109Spqqc37cNaB9rcpypgsEouy0+4Uv
Yg6OvQlrGaa0igFQaWfwCz3EeScuWsNNT6Jfsio/STq9fLeQoFKK1a1wzIgMUsuw
L8aZQp/Yc1oiV+tRMjQqp0kAcYuy2sv/YYNHu/hNAxPkKrZ2DIP/OoT0BT+qk2yB
QS2IabSlPUP4v4wZ2EvVl/F1RJBNQlH/yebOVUVqUFyvzGwY8tIO3rSntQi7xRkh
J1WvqD3HZPbGuG9bQ9t6ur3z8jbQJTCTC65zs8l+LIhd6Z08Q0BWLPj3R78pcc6l
tS3sPE0o8RXP+7yyi/8ney4ajqN9kTIGD7jxVU+XPrstney1MXm6RP6lb3h8b+Gy
zq0lBQlTDNw=
=2bfV
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to