Package: xchat-guile
Version: 0.2.0.99-1
Severity: wishlist
Tags: patch
Hello,
when building 'xchat-guile' on ppc64/unstable, I get the following error:
debian/rules build
dh_testdir
LDFLAGS=" -z defs" CFLAGS="-Wall -ggdb -O2" ./configure --build
powerpc64-linux-gnu --prefix=/usr --mandir=\${prefix}/share/man
--infodir=\${prefix}/share/info
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C
compiler cannot create executables
See `config.log' for more details.
make: *** [config.status] Error 77
A look in config.log shows that this is caused by the '-z defs' in
LDFLAGS:
configure:2335: checking for C compiler default output file name
configure:2338: gcc -Wall -ggdb -O2 -z defs conftest.c >&5
gcc: defs: No such file or directory
With the attached patch 'xchat-guile' can be compiled on ppc64.
The patch removes the '-z defs' from LDFLAGS in debian/control.
I do not know why the '-z defs' was inserted or if it is
necessary for other architectures, but it causes the package to
FTBFS on ppc64.
Regards
Andreas Jochens
diff -urN ../tmp-orig/xchat-guile-0.2.0.99/debian/rules ./debian/rules
--- ../tmp-orig/xchat-guile-0.2.0.99/debian/rules 2006-08-26
13:08:28.000000000 +0000
+++ ./debian/rules 2006-08-26 13:04:11.000000000 +0000
@@ -31,7 +31,7 @@
config.status: configure
dh_testdir
- LDFLAGS="$(LDFLAGS) -z defs" CFLAGS="$(CFLAGS)" ./configure
$(confflags) --prefix=/usr --mandir=\$${prefix}/share/man
--infodir=\$${prefix}/share/info
+ CFLAGS="$(CFLAGS)" ./configure $(confflags) --prefix=/usr
--mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
build: build-stamp
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]