Bug#617465: Package alex4_1.1-3 failed to build from source on Ubuntu natty

Peter Pentchev roam at ringlet.net
Wed Mar 9 17:27:10 UTC 2011


On Wed, Mar 09, 2011 at 10:28:56AM +0530, Tarun Kumar Mall wrote:
> Package: alex4
> Version: 1.1-3
> Severity: normal
> Tags: patch
> User: ubuntu-devel at lists.ubuntu.com
> Usertags: origin-ubuntu natty ubuntu-patch
> 
> Package failed to build from source.
> Here is the error log.
> 
> Binary package hint: alex4
> 
> cc `allegro-config --libs` -laldmb -ldumb -o alex4 actor.o edit.o map.o player.o shooter.o unix.o bullet.o hisc.o options.o script.o timer.o control.o main.o particle.o scroller.o token.o
[snip lots of linker errors because of badly ordered linker command line]
> collect2: ld returned 1 exit status
> make[1]: *** [alex4] Error 1
> make[1]: Leaving directory `/home/tarun/source/alex4/alex4-1.1/src'
> make: *** [build-arch-stamp] Error 2
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
> debuild: fatal error at line 1335:
> dpkg-buildpackage -rfakeroot -D -us -uc failed
> 
> *** /tmp/tmpdOEglw
> In Ubuntu, we've applied the attached patch to achieve the following:
> 
>   * debian/patches/fix_ftbfs_binutils-gold.patch: changed the order of
>     libraries in order to fix FTBFS. (LP: #730653) 
> 
> We thought you might be interested in doing the same. 

Tarun, thanka (again - after the same discussion about dma ;) for the bug
report and the proposed patch!

Peter, what do you think about the attached series of patches that:

1. in the very first patch, fixes this problem (although it does not
   cause an FTBFS in Debian, it's still a good idea to clean up
   the code - after all, the Unix linker has been documented to work
   this way for ages, even though, apparently, GNU ld is a bit lenient)

2. in all the rest of the patches, refreshes the alex4 Debian packaging
   a whole lot - 3.0 (quilt), debhelper 8, Policy 3.9.1,
   dpkg-buildflags, etc.

If you have no objections, I could commit those patches to the Debian
Games Subversion repository; of course, as the principal maintainer of
alex4, it's your call to like or not like some or all of them :)

Thanks to both of you for trying to make the world a better place by
working on Debian and Ubuntu :)

G'luck,
Peter

-- 
Peter Pentchev	roam at ringlet.net roam at FreeBSD.org peter at packetscale.com
PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
If wishes were fishes, the antecedent of this conditional would be true.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Order-the-linker-arguments-properly.patch
Type: text/x-diff
Size: 2082 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20110309/28b3b7f2/attachment-0015.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Convert-to-the-3.0-quilt-source-format.patch
Type: text/x-diff
Size: 2729 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20110309/28b3b7f2/attachment-0016.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Add-misc-Depends-to-the-alex4-data-binary-package.patch
Type: text/x-diff
Size: 1185 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20110309/28b3b7f2/attachment-0017.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Expand-the-long-description-of-the-alex4-data-packag.patch
Type: text/x-diff
Size: 1381 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20110309/28b3b7f2/attachment-0018.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-Bump-the-debhelper-compat-level-to-7-dh_prep-dh_clea.patch
Type: text/x-diff
Size: 2303 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20110309/28b3b7f2/attachment-0019.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-Shorten-the-rules-file-using-the-dh-1-tool.patch
Type: text/x-diff
Size: 3275 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20110309/28b3b7f2/attachment-0020.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-Minimize-the-rules-file-using-debhelper-override-tar.patch
Type: text/x-diff
Size: 2424 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20110309/28b3b7f2/attachment-0021.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0008-Bump-the-debhelper-compat-level-to-8-with-no-further.patch
Type: text/x-diff
Size: 1756 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20110309/28b3b7f2/attachment-0022.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0009-Bump-Standards-Version-to-3.9.1-with-no-changes.patch
Type: text/x-diff
Size: 1437 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20110309/28b3b7f2/attachment-0023.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0010-Get-CFLAGS-CPPFLAGS-and-LDFLAGS-from-dpkg-buildflags.patch
Type: text/x-diff
Size: 3571 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20110309/28b3b7f2/attachment-0024.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0011-Convert-the-copyright-file-to-DEP-5-rev.-166.patch
Type: text/x-diff
Size: 3216 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20110309/28b3b7f2/attachment-0025.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0012-Convert-the-patch-headers-to-the-DEP-3-format.patch
Type: text/x-diff
Size: 4506 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20110309/28b3b7f2/attachment-0026.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0013-Build-with-Werror-if-werror-is-in-DEB_BUILD_OPTIONS.patch
Type: text/x-diff
Size: 1175 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20110309/28b3b7f2/attachment-0027.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0014-Fix-some-more-compiler-warnings.patch
Type: text/x-diff
Size: 10807 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20110309/28b3b7f2/attachment-0028.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0015-Harden-the-build-unless-nohardening-is-set.patch
Type: text/x-diff
Size: 7161 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20110309/28b3b7f2/attachment-0029.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20110309/28b3b7f2/attachment-0001.pgp>


More information about the Pkg-games-devel mailing list