Package: uc-echo Version: 1.12-3 Severity: wishlist Tags: patch Dear Maintainer,
uc-echo FTBFS on sh4 (maybe other 32bit architecture) with following error. http://buildd.debian-ports.org/status/fetch.php?pkg=uc-echo&arch=sh4&ver=1.12-3&stamp=1383194229 ---- I: DEB_HOST_ARCH: sh4 echo "I: ADDCXXFLAGS: -m64" I: ADDCXXFLAGS: -m64 echo "I: CXXFLAGS: -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -m64" I: CXXFLAGS: -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -m64 dh_auto_build make[2]: Entering directory `/«PKGBUILDDIR»' g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -m64 -Wall -O3 -D_FORTIFY_SOURCE=2 DNASeq.cpp -o DNASeq.o cc1plus: error: unrecognized command line option '-m64' make[2]: *** [DNASeq.o] Error 1 make[2]: Leaving directory `/«PKGBUILDDIR»' dh_auto_build: make -j1 returned exit code 2 make[1]: *** [override_dh_auto_build] Error 2 make[1]: Leaving directory `/«PKGBUILDDIR»' make: *** [build-arch] Error 2 ---- I created a patch which revise this problem. Could you appply this patch? Best regards, Nobuhiro -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: armhf Kernel: Linux 3.11-trunk-amd64 (SMP w/4 CPU cores) Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash
diff -Nru uc-echo-1.12/debian/changelog uc-echo-1.12/debian/changelog --- uc-echo-1.12/debian/changelog 2013-10-31 06:41:23.000000000 +0900 +++ uc-echo-1.12/debian/changelog 2013-11-01 08:39:56.000000000 +0900 @@ -1,3 +1,11 @@ +uc-echo (1.12-3.1) UNRELEASED; urgency=low + + * Non-maintainer upload. + * Add sh4 powerpcspe and m68k for don't need -m64. + * Use dpkg-architecture -qDEB_HOST_MULTIARCH instead of gcc -print-multiarch. + + -- Nobuhiro Iwamatsu <iwama...@debian.org> Fri, 01 Nov 2013 08:31:24 +0900 + uc-echo (1.12-3) unstable; urgency=low * debian/rules: more architectures don't need -m64 diff -Nru uc-echo-1.12/debian/rules uc-echo-1.12/debian/rules --- uc-echo-1.12/debian/rules 2013-10-30 23:55:58.000000000 +0900 +++ uc-echo-1.12/debian/rules 2013-11-01 08:39:34.000000000 +0900 @@ -3,11 +3,12 @@ # DH_VERBOSE := 1 DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) -LIBRARY_PATH=/usr/lib/$(gcc -print-multiarch) -CPATH=/usr/include/$(gcc -print-multiarch) +DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) +LIBRARY_PATH=/usr/lib/$(DEB_HOST_MULTIARCH) +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 )) +ifeq ($(DEB_HOST_ARCH),$(filter $(DEB_HOST_ARCH),mips mipsel kfreebsd-i386 hurd-i386 armel armhf ia64 sh4 powerpcspe m68k)) ADDCXXFLAGS = endif