Your message dated Thu, 19 Jan 2012 15:32:36 +0000
with message-id <[email protected]>
and subject line Bug#631738: fixed in lordsawar 0.2.0-2
has caused the Debian Bug report #631738,
regarding lordsawar: FTBFS with ld --as-needed
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.)
--
631738: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=631738
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lordsawar
Version: 0.2.0-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: ld-as-needed
The package fails to build when --as-needed linker option is enabled,
because of incorrect order of parameters passed to ld. Here's a log of
failed build in Ubuntu:
https://launchpadlibrarian.net/70882027/buildlog_ubuntu-oneiric-i386.lordsawar_0.2.0-1_FAILEDTOBUILD.txt.gz
See also
http://wiki.debian.org/ToolChain/DSOLinking#Only_link_with_needed_libraries
The attached patch was used in Ubuntu to fix the problem.
https://launchpad.net/ubuntu/+source/lordsawar/0.2.0-1ubuntu1
-- System Information:
Debian Release: wheezy/sid
APT prefers oneiric
APT policy: (500, 'oneiric')
Architecture: i386 (i686)
Kernel: Linux 2.6.38-10-generic (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Description: Correct the order of linker parameters so that it doesn't fail
with --as-needed option.
Author: Ilya Barygin <[email protected]>
Bug-Ubuntu: https://launchpad.net/bugs/770984
--- a/src/pbm/Makefile.am
+++ b/src/pbm/Makefile.am
@@ -23,8 +23,8 @@
lordsawar_pbm_SOURCES = pbm.cpp main.cpp pbm.h
${top_srcdir}/src/pbm-game-client.cpp ${top_srcdir}/src/pbm-game-client.h
${top_srcdir}/src/game-client-decoder.cpp
${top_srcdir}/src/game-client-decoder.h ${top_srcdir}/src/chat-client.cpp
${top_srcdir}/src/chat-client.h
-lordsawar_pbm_LDADD = $(LIBSIGC_LIBS) $(GTKMM_LIBS) $(SDL_LIBS) -ltar -lz \
- $(top_builddir)/src/liblordsawar.la \
+lordsawar_pbm_LDADD = $(top_builddir)/src/liblordsawar.la \
+ $(LIBSIGC_LIBS) $(GTKMM_LIBS) $(SDL_LIBS) -ltar -lz \
@LIBINTL@ \
-L$(top_builddir)/src
##endif
--- a/src/pbm/Makefile.in
+++ b/src/pbm/Makefile.in
@@ -283,8 +283,8 @@
# 02110-1301, USA.
MAINTAINERCLEANFILES = Makefile.in
lordsawar_pbm_SOURCES = pbm.cpp main.cpp pbm.h
${top_srcdir}/src/pbm-game-client.cpp ${top_srcdir}/src/pbm-game-client.h
${top_srcdir}/src/game-client-decoder.cpp
${top_srcdir}/src/game-client-decoder.h ${top_srcdir}/src/chat-client.cpp
${top_srcdir}/src/chat-client.h
-lordsawar_pbm_LDADD = $(LIBSIGC_LIBS) $(GTKMM_LIBS) $(SDL_LIBS) -ltar -lz \
- $(top_builddir)/src/liblordsawar.la \
+lordsawar_pbm_LDADD = $(top_builddir)/src/liblordsawar.la -lz \
+ $(LIBSIGC_LIBS) $(GTKMM_LIBS) $(SDL_LIBS) -ltar \
@LIBINTL@ \
-L$(top_builddir)/src
--- a/src/gls/Makefile.am
+++ b/src/gls/Makefile.am
@@ -22,20 +22,20 @@
lordsawar_game_list_client_SOURCES = gls-client-main.cpp \
gls-client-tool.cpp gls-client-tool.h
-lordsawar_game_list_client_LDADD = $(LIBSIGC_LIBS) $(GTKMM_LIBS) -ltar -lz \
- $(top_builddir)/src/liblordsawar.la \
+lordsawar_game_list_client_LDADD = $(top_builddir)/src/liblordsawar.la \
$(top_builddir)/src/liblordsawargamelist.la
\
$(top_builddir)/src/liblordsawarnet.la \
+ $(LIBSIGC_LIBS) $(GTKMM_LIBS) -ltar -lz \
@LIBINTL@ \
-L$(top_builddir)/src
lordsawar_game_list_server_SOURCES = main.cpp \
gamelist-server.cpp gamelist-server.h
-lordsawar_game_list_server_LDADD = $(LIBSIGC_LIBS) $(GTKMM_LIBS) -ltar -lz \
- $(top_builddir)/src/liblordsawar.la \
+lordsawar_game_list_server_LDADD = $(top_builddir)/src/liblordsawar.la \
$(top_builddir)/src/liblordsawargamelist.la
\
$(top_builddir)/src/liblordsawarnet.la \
+ $(LIBSIGC_LIBS) $(GTKMM_LIBS) -ltar -lz \
@LIBINTL@ \
-L$(top_builddir)/src
##endif
--- a/src/gls/Makefile.in
+++ b/src/gls/Makefile.in
@@ -296,20 +296,20 @@
lordsawar_game_list_client_SOURCES = gls-client-main.cpp \
gls-client-tool.cpp gls-client-tool.h
-lordsawar_game_list_client_LDADD = $(LIBSIGC_LIBS) $(GTKMM_LIBS) -ltar -lz \
- $(top_builddir)/src/liblordsawar.la \
+lordsawar_game_list_client_LDADD = $(top_builddir)/src/liblordsawar.la \
$(top_builddir)/src/liblordsawargamelist.la
\
$(top_builddir)/src/liblordsawarnet.la \
+ $(LIBSIGC_LIBS) $(GTKMM_LIBS) -ltar -lz \
@LIBINTL@ \
-L$(top_builddir)/src
lordsawar_game_list_server_SOURCES = main.cpp \
gamelist-server.cpp gamelist-server.h
-lordsawar_game_list_server_LDADD = $(LIBSIGC_LIBS) $(GTKMM_LIBS) -ltar -lz \
- $(top_builddir)/src/liblordsawar.la \
+lordsawar_game_list_server_LDADD = $(top_builddir)/src/liblordsawar.la \
$(top_builddir)/src/liblordsawargamelist.la
\
$(top_builddir)/src/liblordsawarnet.la \
+ $(LIBSIGC_LIBS) $(GTKMM_LIBS) -ltar -lz \
@LIBINTL@ \
-L$(top_builddir)/src
--- a/src/ghs/Makefile.am
+++ b/src/ghs/Makefile.am
@@ -22,22 +22,22 @@
lordsawar_game_host_client_SOURCES = ghs-client-main.cpp \
ghs-client-tool.cpp ghs-client-tool.h
-lordsawar_game_host_client_LDADD = $(LIBSIGC_LIBS) $(GTKMM_LIBS) -ltar -lz \
- $(top_builddir)/src/liblordsawar.la \
+lordsawar_game_host_client_LDADD = $(top_builddir)/src/liblordsawar.la \
$(top_builddir)/src/liblordsawargamelist.la
\
$(top_builddir)/src/liblordsawargamehost.la
\
$(top_builddir)/src/liblordsawarnet.la \
+ $(LIBSIGC_LIBS) $(GTKMM_LIBS) -ltar -lz \
@LIBINTL@ \
-L$(top_builddir)/src
lordsawar_game_host_server_SOURCES = main.cpp \
gamehost-server.cpp gamehost-server.h
-lordsawar_game_host_server_LDADD = $(LIBSIGC_LIBS) $(GTKMM_LIBS) -ltar -lz \
- $(top_builddir)/src/liblordsawar.la \
+lordsawar_game_host_server_LDADD = $(top_builddir)/src/liblordsawar.la \
$(top_builddir)/src/liblordsawargamelist.la
\
$(top_builddir)/src/liblordsawargamehost.la
\
$(top_builddir)/src/liblordsawarnet.la \
+ $(LIBSIGC_LIBS) $(GTKMM_LIBS) -ltar -lz \
@LIBINTL@ \
-L$(top_builddir)/src
##endif
--- a/src/ghs/Makefile.in
+++ b/src/ghs/Makefile.in
@@ -298,22 +298,22 @@
lordsawar_game_host_client_SOURCES = ghs-client-main.cpp \
ghs-client-tool.cpp ghs-client-tool.h
-lordsawar_game_host_client_LDADD = $(LIBSIGC_LIBS) $(GTKMM_LIBS) -ltar -lz \
- $(top_builddir)/src/liblordsawar.la \
+lordsawar_game_host_client_LDADD = $(top_builddir)/src/liblordsawar.la \
$(top_builddir)/src/liblordsawargamelist.la
\
$(top_builddir)/src/liblordsawargamehost.la
\
$(top_builddir)/src/liblordsawarnet.la \
+ $(LIBSIGC_LIBS) $(GTKMM_LIBS) -ltar -lz \
@LIBINTL@ \
-L$(top_builddir)/src
lordsawar_game_host_server_SOURCES = main.cpp \
gamehost-server.cpp gamehost-server.h
-lordsawar_game_host_server_LDADD = $(LIBSIGC_LIBS) $(GTKMM_LIBS) -ltar -lz \
- $(top_builddir)/src/liblordsawar.la \
+lordsawar_game_host_server_LDADD = $(top_builddir)/src/liblordsawar.la \
$(top_builddir)/src/liblordsawargamelist.la
\
$(top_builddir)/src/liblordsawargamehost.la
\
$(top_builddir)/src/liblordsawarnet.la \
+ $(LIBSIGC_LIBS) $(GTKMM_LIBS) -ltar -lz \
@LIBINTL@ \
-L$(top_builddir)/src
--- End Message ---
--- Begin Message ---
Source: lordsawar
Source-Version: 0.2.0-2
We believe that the bug you reported is fixed in the latest version of
lordsawar, which is due to be installed in the Debian FTP archive:
lordsawar-data_0.2.0-2_all.deb
to main/l/lordsawar/lordsawar-data_0.2.0-2_all.deb
lordsawar_0.2.0-2.diff.gz
to main/l/lordsawar/lordsawar_0.2.0-2.diff.gz
lordsawar_0.2.0-2.dsc
to main/l/lordsawar/lordsawar_0.2.0-2.dsc
lordsawar_0.2.0-2_amd64.deb
to main/l/lordsawar/lordsawar_0.2.0-2_amd64.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.
Alexander Reichle-Schmehl <[email protected]> (supplier of updated lordsawar
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: Thu, 19 Jan 2012 15:03:53 +0100
Source: lordsawar
Binary: lordsawar lordsawar-data
Architecture: source all amd64
Version: 0.2.0-2
Distribution: unstable
Urgency: low
Maintainer: Debian Games Team <[email protected]>
Changed-By: Alexander Reichle-Schmehl <[email protected]>
Description:
lordsawar - Clone of the popular SSG game Warlords II
lordsawar-data - Clone of the popular SSG game Warlords II - data files
Closes: 631738 655401
Changes:
lordsawar (0.2.0-2) unstable; urgency=low
.
* Stopp build-depending on libggz-dev, libggzdmod-dev and libggzmod-dev.
Apparently they are no longer used (Closes: #655401)
* Include ftbfs_as-needed.diff by Ilya Barygin to fix FTBFS with ld
--as-needed (Closes: #631738)
* Drop debian/patches/{ftbfs_gcc-4.3_fix2.diff,ftbfs_gcc-4.3_fix.diff} as
they are no longer used
* Fix description-synopsis-starts-with-article from lintian by removing
two a's
* Add recommended targets build-arch and build-indep to debian/rules
* Bump standards (no further changes needed)
Checksums-Sha1:
1fa147b6b78af5e41af5db50b3d397838953885c 2158 lordsawar_0.2.0-2.dsc
f4a6cafea62fbca29693a7d246cdccbd6f0c7d4d 16083 lordsawar_0.2.0-2.diff.gz
00b87e5a20bb5ab18176e8500c3f90fa2d6c02b2 22895032
lordsawar-data_0.2.0-2_all.deb
b4ef0e319c1387acbf92329aec06b60dd5da8d7e 11010770 lordsawar_0.2.0-2_amd64.deb
Checksums-Sha256:
836feb55f140f5be8d83e551ac6ebf347822e589ac4ad83641058433a40a4df7 2158
lordsawar_0.2.0-2.dsc
6339cdc360ff1758154fcea00365cca650e80f9123c6b24085ce668e1f14dbdf 16083
lordsawar_0.2.0-2.diff.gz
749b738e05ff15163ea7a9e75a37fc320a162853e4b4649256fe30fa75eeb86d 22895032
lordsawar-data_0.2.0-2_all.deb
aaafbcdaaf86dd6b94bffa0d751ef95cfc3a5d241eb0a6ca8a2a9a9f6df556fb 11010770
lordsawar_0.2.0-2_amd64.deb
Files:
540e6875c733841eca947bfec884489e 2158 games extra lordsawar_0.2.0-2.dsc
94f62d275f7f6279c7a81c3de4a8a522 16083 games extra lordsawar_0.2.0-2.diff.gz
b19fece51602b34246be15bc74a0f41b 22895032 games extra
lordsawar-data_0.2.0-2_all.deb
62584d582486b49a9ac068144527075f 11010770 games extra
lordsawar_0.2.0-2_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iQIcBAEBCAAGBQJPGDU2AAoJEMJLZaJnLIsSoU4P/jNFnq2sdSHB9lc5xsMjQl2+
jchgTLUrwxFkZDCuGWS7aUPh9VHWPi/6YwiM8nkRZkM38HwcDBD90NJ/XXNfZ8c4
fbW4EDcJ9TWkVu/xxcNTsfDTttpv3Y5KfJRp03T0YtHa5yOw+CDRbMPo2rOPDDAj
FrUpdLxO92oGL8AM54hBqiDDpeuUiIZc3qA/rtrBRZnHfoDqXItoWGg45DCrwOvN
eazqn5rG77XTJ8lF4iXxLqIzXG7gDkbMqmD41UUgAt+5s0O/S6sYetISDm6ywueK
FelSPdOCqyFfushnlFwTr0dvrM5JKfAZiaMN815PbuU1xSqsA+ZxomV+nEy4ZGjZ
xCD1Ax5j9QALP+5xAVlj5w/wAnevCWU5JeU434pX87PQP7d7abqI8wMnrd9oAxv+
b9zXw6e+PmcEXwACdJMRl0wERCUWX4pm8mkVdJSemXLLgDjJEvRACklwuMmu86je
kxe2uhpo5kPrDAbd8uankHVWyGc3r+UVlvtImYpz8Sk+/7znzYqMUyKDy0Rqxipq
xJD88n/S2CWWn9Dxp8wdjCIojL8IJoHVw0No31BrKsiYHlqeKlGXEvHNTfrmUIBR
S5NzSwaMwSs4vxq5Mz4zwfVul0vQ5CBZz4TuFMyLMA8SQJZf9OhxecLXldVPIU5a
utTdQDhUNyKiIwO+FvB3
=n0m2
-----END PGP SIGNATURE-----
--- End Message ---