[Pkg-freeciv-devel] Bug#322950: freeciv: FTBFS (ppc64): /bin/sh
../bootstrap/config.sub powerpc64-linux-gnu failed
Andreas Jochens
aj at andaco.de
Sat Aug 13 18:08:15 UTC 2005
Package: freeciv
Version: 2.0.4-1
Severity: normal
Tags: patch
When building 'freeciv' on ppc64/unstable,
I get the following error:
mv -f patch-stampT patch-stamp
dh_testdir
rm -f config.sub config.guess
ln -s /usr/share/misc/config.sub config.sub
ln -s /usr/share/misc/config.guess config.guess
mkdir build-xaw3d
(cd build-xaw3d && \
../configure --cache-file=/freeciv-2.0.4/config.cache --prefix=/usr --datadir=\${prefix}/share/games --bindir=\${prefix}/games --host powerpc64-linux-gnu --build powerpc64-linux-gnu --enable-debug=no --disable-server --enable-client=xaw \
--with-xaw3d --without-zlib && \
/usr/bin/make CFLAGS="-Wall -g -O2 ")
configure: creating cache /freeciv-2.0.4/config.cache
checking build system type... Invalid configuration `powerpc64-linux-gnu': machine `powerpc64' not recognized
configure: error: /bin/sh ../bootstrap/config.sub powerpc64-linux-gnu failed
make: *** [build-xaw3d] Error 1
This is because the automatic update of the config.{guess,sub} files
should copy or link those files to the './bootstrap' directory instead
of the parent directory. This error leads to the use of outdated
config files.
With the attached patch 'freeciv' can be compiled on ppc64.
Regards
Andreas Jochens
diff -urN ../tmp-orig/freeciv-2.0.4/debian/rules ./debian/rules
--- ../tmp-orig/freeciv-2.0.4/debian/rules 2005-08-13 12:23:17.000000000 +0000
+++ ./debian/rules 2005-08-13 12:07:30.000000000 +0000
@@ -31,9 +31,7 @@
build-server:
dh_testdir
- -rm -f config.sub config.guess
- ln -s /usr/share/misc/config.sub config.sub
- ln -s /usr/share/misc/config.guess config.guess
+ ln -sf /usr/share/misc/config.{guess,sub} bootstrap
mkdir build-server
(cd build-server && ../configure $(COMMON_CONFIG) --disable-client && \
@@ -44,9 +42,7 @@
build-xaw3d:
dh_testdir
- -rm -f config.sub config.guess
- ln -s /usr/share/misc/config.sub config.sub
- ln -s /usr/share/misc/config.guess config.guess
+ ln -sf /usr/share/misc/config.{guess,sub} bootstrap
mkdir build-xaw3d
(cd build-xaw3d && \
@@ -59,9 +55,7 @@
build-gtk:
dh_testdir
- -rm -f config.sub config.guess
- ln -s /usr/share/misc/config.sub config.sub
- ln -s /usr/share/misc/config.guess config.guess
+ ln -sf /usr/share/misc/config.{guess,sub} bootstrap
mkdir build-gtk
(cd build-gtk && \
More information about the Pkg-freeciv-devel
mailing list