[Debian-med-packaging] Bug#728412: FTBFS: sh4: cc1plus: error: unrecognized command line option '-m64'

Nobuhiro Iwamatsu iwamatsu at debian.org
Thu Oct 31 23:56:34 UTC 2013


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uc-echo-1.12.debdiff
Type: text/x-diff
Size: 1466 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20131101/7307d3f1/attachment.diff>


More information about the Debian-med-packaging mailing list