Package: mcabber Version: 0.9.9-0.1 Severity: serious Tags: patch Justification: FTFBS
Hi, I am now trying to run Debian on Renesas SH CPU(sh4). ecryptfs-utils FTBFS on sh4. When I built in the other architecture(i386), I became the same problem. <snip> make[3]: Leaving directory `/tmp/buildd/mcabber-0.9.9/libjabber' Making all in src make[3]: Entering directory `/tmp/buildd/mcabber-0.9.9/src' ../hgcset.sh /usr/bin/make all-am make[4]: Entering directory `/tmp/buildd/mcabber-0.9.9/src' i486-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -Wall -g -O2 -Wl,-z,defs -Wall -I/usr -D_GNU_SOURCE -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c In file included from pgp.h:9, from roster.h:7, from jabglue.h:6, from main.c:34: /usr/include/gpgme.h:80:2: error: #error GPGME was compiled with _FILE_OFFSET_BITS = 64, please see the section "Largefile support (LFS)" in the GPGME manual. make[4]: *** [main.o] Error 1 make[4]: Leaving directory `/tmp/buildd/mcabber-0.9.9/src' make[3]: *** [all] Error 2 make[3]: Leaving directory `/tmp/buildd/mcabber-0.9.9/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/tmp/buildd/mcabber-0.9.9' make[1]: *** [all] Error 2 make[1]: Leaving directory `/tmp/buildd/mcabber-0.9.9' make: *** [build-stamp] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 </snip> I made a patch to revise to be able to build. Would you apply it? Best regards, Nobuhiro -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.30-1-686-bigmem (SMP w/2 CPU cores) Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash
--- debian/rules.old 2009-09-15 10:08:24.000000000 +0900 +++ debian/rules 2009-09-15 09:51:25.000000000 +0900 @@ -16,6 +16,9 @@ CFLAGS += -O2 endif +# libgpgme need Largefile support +CFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 + config.status: patch dh_testdir CFLAGS="$(CFLAGS) -Wl,-z,defs" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --enable-gpgme --enable-aspell --enable-otr