Hello, I'm looking at gcc-4.3 (on experimental) and trying to cross built it, but i get the following error, that maybe somebody could explain what is it.
And why is dpkg-buildpackage failing? I experienced that same problem trying to build another package for experimental (it was *apt-cross* with dpkg-cross 1.99+2.0.0pre1 dependency) which did not work for me. Reading package lists... Building dependency tree... Reading state information... Need to get 53.8MB of source archives. Get:1 http://ftp.uk.debian.org experimental/main gcc-4.3 4.3-20070902-1 (dsc) [3546B] Get:2 http://ftp.uk.debian.org experimental/main gcc-4.3 4.3-20070902-1 (tar) [53.5MB] Get:3 http://ftp.uk.debian.org experimental/main gcc-4.3 4.3-20070902-1 (diff) [329kB] dpkg-source: extracting gcc-4.3 in gcc-4.3-4.3-20070902 dpkg-source: unpacking gcc-4.3_4.3-20070902.orig.tar.gz dpkg-source: applying ./gcc-4.3_4.3-20070902-1.diff.gz Fetched 53.8MB in 18s (2979kB/s) ~/buildcross/trunk/powerpc/gcc-4.3-4.3-20070902 ~/buildcross/trunk/powerpc ~/buildcross/trunk debian/rules.unpack:165: warning: overriding commands for target `stamps/01-unpack-stamp-' debian/rules.unpack:147: warning: ignoring old commands for target `stamps/01-unpack-stamp-' debian/rules.unpack:188: warning: overriding commands for target `stamps/01-unpack-stamp-' debian/rules.unpack:165: warning: ignoring old commands for target `stamps/01-unpack-stamp-' : # unpack gcc tarball mkdir stamps if [ -d /home/zumbi/buildcross/trunk/powerpc/gcc-4.3-4.3-20070902/src ]; then \ echo >&2 "Source directory /home/zumbi/buildcross/trunk/powerpc/gcc-4.3-4.3-20070902/src exists. Delete by hand"; \ false; \ fi rm -rf gcc-20070902 case gcc-20070902.tar.bz2 in \ *.bz2) tar -x --bzip2 -f gcc-20070902.tar.bz2;; \ *.gz) tar -x --gzip -f gcc-20070902.tar.bz2;; \ *) false; \ esac mv gcc-20070902 /home/zumbi/buildcross/trunk/powerpc/gcc-4.3-4.3-20070902/src echo "gcc-20070902.tar.bz2 unpacked." > stamps/01-unpack-stamp-gcc-20070902.tar.bz2 echo -e "\nBuilt from Debian source package gcc-4.3-4.3-20070902-1" \ > pxxx echo -e "Integrated upstream packages in this version:\n" >> pxxx for i in gcc-20070902.tar.bz2 ; do echo " $i" >> pxxx; done mv -f pxxx stamps/01-unpack-stamp DEB_VERSION=$(echo 4.3-20070902-1 | sed 's/ds[0-9]*//'); \ export DEB_VERSION; set -x; \ debian/patches/rename-info-files.dpatch -patch -d /home/zumbi/buildcross/trunk/powerpc/gcc-4.3-4.3-20070902/src + debian/patches/rename-info-files.dpatch -patch -d /home/zumbi/buildcross/trunk/powerpc/gcc-4.3-4.3-20070902/src patching file libgomp/libgomp.texi patching file libgomp/Makefile.am patching file libgomp/Makefile.in patching file gcc/doc/cpp.texi patching file gcc/doc/cppinternals.texi patching file gcc/doc/extend.texi patching file gcc/doc/gcc.texi patching file gcc/doc/gccint.texi patching file gcc/doc/invoke.texi patching file gcc/doc/libgcc.texi patching file gcc/doc/makefile.texi patching file gcc/doc/passes.texi patching file gcc/doc/standards.texi patching file gcc/java/Make-lang.in patching file gcc/java/gcj.texi patching file gcc/fortran/Make-lang.in patching file gcc/fortran/gfortran.texi patching file gcc/treelang/Make-lang.in patching file gcc/treelang/treelang.texi patching file gcc/Makefile.in DEB_VERSION=$(echo 4.3-20070902-1 | sed 's/ds[0-9]*//'); \ export DEB_VERSION; set -x; \ debian/patches/gcc-textdomain.dpatch -patch -d /home/zumbi/buildcross/trunk/powerpc/gcc-4.3-4.3-20070902/src + debian/patches/gcc-textdomain.dpatch -patch -d /home/zumbi/buildcross/trunk/powerpc/gcc-4.3-4.3-20070902/src patching file gcc/Makefile.in Hunk #1 succeeded at 4464 (offset -101 lines). patching file gcc/intl.c Hunk #1 succeeded at 50 (offset -1 lines). patching file libcpp/Makefile.in patching file libcpp/system.h patching file libcpp/init.c Hunk #1 succeeded at 130 (offset 8 lines). DEB_VERSION=$(echo 4.3-20070902-1 | sed 's/ds[0-9]*//'); \ export DEB_VERSION; set -x; \ debian/patches/gcc-driver-extra-langs.dpatch -patch -d /home/zumbi/buildcross/trunk/powerpc/gcc-4.3-4.3-20070902/src + debian/patches/gcc-driver-extra-langs.dpatch -patch -d /home/zumbi/buildcross/trunk/powerpc/gcc-4.3-4.3-20070902/src patching file gcc/Makefile.in Hunk #1 succeeded at 415 (offset -9 lines). DEB_VERSION=$(echo 4.3-20070902-1 | sed 's/ds[0-9]*//'); \ export DEB_VERSION; set -x; \ debian/patches/gcc-hash-style-both.dpatch -patch -d /home/zumbi/buildcross/trunk/powerpc/gcc-4.3-4.3-20070902/src + debian/patches/gcc-hash-style-both.dpatch -patch -d /home/zumbi/buildcross/trunk/powerpc/gcc-4.3-4.3-20070902/src patching file gcc/config/alpha/linux-elf.h patching file gcc/config/s390/linux.h patching file gcc/config/sparc/linux.h patching file gcc/config/sparc/linux64.h patching file gcc/config/i386/linux.h patching file gcc/config/i386/linux64.h patching file gcc/config/ia64/linux.h patching file gcc/config/rs6000/sysv4.h patching file gcc/config/rs6000/linux64.h DEB_VERSION=$(echo 4.3-20070902-1 | sed 's/ds[0-9]*//'); \ export DEB_VERSION; set -x; \ debian/patches/libstdc++-pic.dpatch -patch -d /home/zumbi/buildcross/trunk/powerpc/gcc-4.3-4.3-20070902/src + debian/patches/libstdc++-pic.dpatch -patch -d /home/zumbi/buildcross/trunk/powerpc/gcc-4.3-4.3-20070902/src patching file libstdc++-v3/src/Makefile.am Hunk #1 succeeded at 265 with fuzz 1 (offset 55 lines). patching file libstdc++-v3/src/Makefile.in Hunk #1 succeeded at 678 (offset 67 lines). Hunk #2 succeeded at 711 (offset 67 lines). Hunk #3 succeeded at 828 (offset 98 lines). DEB_VERSION=$(echo 4.3-20070902-1 | sed 's/ds[0-9]*//'); \ export DEB_VERSION; set -x; \ debian/patches/libstdc++-doclink.dpatch -patch -d /home/zumbi/buildcross/trunk/powerpc/gcc-4.3-4.3-20070902/src + debian/patches/libstdc++-doclink.dpatch -patch -d /home/zumbi/buildcross/trunk/powerpc/gcc-4.3-4.3-20070902/src patching file libstdc++-v3/docs/doxygen/mainpage.html DEB_VERSION=$(echo 4.3-20070902-1 | sed 's/ds[0-9]*//'); \ export DEB_VERSION; set -x; \ debian/patches/libstdc++-doxygen.dpatch -patch -d /home/zumbi/buildcross/trunk/powerpc/gcc-4.3-4.3-20070902/src + debian/patches/libstdc++-doxygen.dpatch -patch -d /home/zumbi/buildcross/trunk/powerpc/gcc-4.3-4.3-20070902/src patching file libstdc++-v3/docs/doxygen/user.cfg.in DEB_VERSION=$(echo 4.3-20070902-1 | sed 's/ds[0-9]*//'); \ export DEB_VERSION; set -x; \ debian/patches/libjava-stacktrace.dpatch -patch -d /home/zumbi/buildcross/trunk/powerpc/gcc-4.3-4.3-20070902/src + debian/patches/libjava-stacktrace.dpatch -patch -d /home/zumbi/buildcross/trunk/powerpc/gcc-4.3-4.3-20070902/src patching file libjava/stacktrace.cc Hunk #1 succeeded at 17 with fuzz 2 (offset -3 lines). Hunk #2 succeeded at 261 (offset 34 lines). DEB_VERSION=$(echo 4.3-20070902-1 | sed 's/ds[0-9]*//'); \ export DEB_VERSION; set -x; \ debian/patches/libjava-subdir.dpatch -patch -d /home/zumbi/buildcross/trunk/powerpc/gcc-4.3-4.3-20070902/src + debian/patches/libjava-subdir.dpatch -patch -d /home/zumbi/buildcross/trunk/powerpc/gcc-4.3-4.3-20070902/src patching file gcc/java/Make-lang.in Hunk #1 succeeded at 314 (offset -1 lines). patching file libjava/testsuite/lib/libjava.exp patching file libjava/testsuite/Makefile.am patching file libjava/testsuite/Makefile.in patching file libjava/Makefile.am Hunk #1 succeeded at 5 with fuzz 1. patching file libjava/Makefile.in Hunk #1 succeeded at 781 with fuzz 2 (offset 7 lines). Hunk #2 succeeded at 811 (offset 8 lines). Hunk #3 succeeded at 825 (offset 8 lines). Hunk #4 succeeded at 871 (offset 8 lines). patching file libjava/configure.ac configure.ac:436: error: possibly undefined macro: AC_LIBLTDL_CONVENIENCE If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. make: *** [stamps/02-patch-stamp-libjava-subdir] Error 1 ~/buildcross/trunk/powerpc ~/buildcross/trunk ~/buildcross/trunk/powerpc/gcc-4.3-4.3-20070902-1 ~/buildcross/trunk/powerpc ~/buildcross/trunk /usr/bin/dpkg-buildpackage.orig: line 3: use: command not found /usr/bin/dpkg-buildpackage.orig: line 4: use: command not found /usr/bin/dpkg-buildpackage.orig: line 6: use: command not found /usr/bin/dpkg-buildpackage.orig: line 7: use: command not found /usr/bin/dpkg-buildpackage.orig: line 9: use: command not found /usr/bin/dpkg-buildpackage.orig: line 10: use: command not found /usr/bin/dpkg-buildpackage.orig: line 11: use: command not found /usr/bin/dpkg-buildpackage.orig: line 13: syntax error near unexpected token [EMAIL PROTECTED],' /usr/bin/dpkg-buildpackage.orig: line 13: `push (@INC, $dpkglibdir);' Regards -- Héctor Orón