Package: uhexen2
Version: 1.5.6+dfsg-1
Severity: serious
Tags: patch
Justification: fails to build from source
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu vivid ubuntu-patch

Dear Maintainer,

Currently, uhexen2 FTBFS on ppc64el because config.guess isn't updated for new 
architectures. This means that TARGET_TRIPLET isn't set, and thus the 
pthread.sh script isn't being called properly, leading to the error in the 
build log.

In Ubuntu, the attached patch was applied to achieve the following:

  * Use autotools-dev to update config.{sub,guess} for new arches.

Thanks for considering the patch.

Logan Rosen

-- System Information:
Debian Release: jessie/sid
  APT prefers vivid-updates
  APT policy: (500, 'vivid-updates'), (500, 'vivid-security'), (500, 'vivid'), 
(100, 'vivid-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-25-generic (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru uhexen2-1.5.6+dfsg/debian/control uhexen2-1.5.6+dfsg/debian/control
--- uhexen2-1.5.6+dfsg/debian/control	2013-10-02 16:30:17.000000000 -0400
+++ uhexen2-1.5.6+dfsg/debian/control	2014-12-09 00:49:02.000000000 -0500
@@ -10,7 +10,8 @@
                libogg-dev,
                libsdl1.2-dev,
                libvorbis-dev,
-               nasm
+               nasm,
+               autotools-dev
 Standards-Version: 3.9.4
 Homepage: http://uhexen2.sourceforge.net/
 
diff -Nru uhexen2-1.5.6+dfsg/debian/rules uhexen2-1.5.6+dfsg/debian/rules
--- uhexen2-1.5.6+dfsg/debian/rules	2013-08-23 10:40:24.000000000 -0400
+++ uhexen2-1.5.6+dfsg/debian/rules	2014-12-09 00:32:16.000000000 -0500
@@ -9,7 +9,7 @@
 include /usr/share/dpkg/buildflags.mk
 
 %:
-	dh $@
+	dh $@ --with autotools_dev
 
 override_dh_auto_build:
 	# Build the main game binaries

Reply via email to