[Debian-med-packaging] Bug#742744: uc-echo fails to build on hppa

Helge Deller deller at gmx.de
Wed Mar 26 20:18:50 UTC 2014


Package: uc-echo

uc-echo fails to build on hppa architecture, because the -m64 compiler option is not supported:
http://buildd.debian-ports.org/status/package.php?p=uc-echo&suite=sid

Log shows:
I: DEB_HOST_ARCH: hppa
echo "I: ADDCXXFLAGS: -m64"
I: ADDCXXFLAGS: -m64
echo "I: CXXFLAGS: -g -O2 -Wformat -Werror=format-security -m64"
I: CXXFLAGS: -g -O2 -Wformat -Werror=format-security -m64
dh_auto_build
make[2]: Entering directory `/«PKGBUILDDIR»'
g++ -c -g -O2 -Wformat -Werror=format-security -m64 -Wall -O3  -D_FORTIFY_SOURCE=2 DNASeq.cpp -o DNASeq.o
g++: error: unrecognized command line option '-m64'

Fix is trivial, please just add "hppa" to the list of arches in debian/rules file, like this:

diff -up ./debian/rules.org ./debian/rules
--- ./debian/rules.org  2013-12-18 01:59:25.000000000 -0700
+++ ./debian/rules      2014-03-26 14:14:12.116098000 -0600
@@ -8,7 +8,7 @@ LIBRARY_PATH=/usr/lib/$(DEB_HOST_MULTIAR
 CPATH=/usr/include/$(DEB_HOST_MULTIARCH)
 export LIBRARY_PATH CPATH
 ADDCXXFLAGS = -m64
-ifeq ($(DEB_HOST_ARCH),$(filter $(DEB_HOST_ARCH),mips mipsel kfreebsd-i386 hurd-i386 armel armhf ia64 sh4 powerpcspe m68k))
+ifeq ($(DEB_HOST_ARCH),$(filter $(DEB_HOST_ARCH),mips hppa mipsel kfreebsd-i386 hurd-i386 armel armhf ia64 sh4 powerpcspe m68k))
 ADDCXXFLAGS = 
 endif



More information about the Debian-med-packaging mailing list