[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: powerpc slind host - First real problem ?



Hi,

Some print errors (that's not the main problem) on
http://www.emdebian.org/docs/slind-toolchain.html :

$ dpkg-cross -a<arch> -b
linux-kernel-headers_2.6.12.0-1.slind1_<arch>.deb

And install the freshly built cross-package with

$ dpkg -i
../linux-kernel-headers-<arch>-cross_2.6.12.0-1.slind1_all.deb
-->$ dpkg -i
linux-kernel-headers-<arch>-cross_2.6.12.0-1.slind1_all.deb


$ cd uclibc-0.9.28

Build the package with

$ evn DEB_CROSS_BOOTSTRAP=yes dpkg-buildpackage -uc -us
-rfakeroot -a<arch> -b -d
-->$ env DEB_CROSS_BOOTSTRAP=yes dpkg-buildpackage -uc -us
-rfakeroot -a<arch> -b -d


A second (not main) problem: I had a problem during the libc
development headers compilation:
sh: line 1: powerpc-linux-uclibc-gcc: command not found
dpkg-architecture: warning: Couldn't determine gcc system
type, falling back to default (native compilation)
I'm quite sure that's normal. I used this commandline:
env DEB_CROSS_BOOTSTRAP=yes dpkg-buildpackage -uc -us
-rfakeroot -auclibc-powerpc -b -d. For me that's a kind of
circular dependancy. Does someone confirm that ?


Ok, now the real problem which stopped me, here the log:
jujux@jujuxG4:~/tmp/g/gcc-3.4$ ls
gcc-3.4_3.4.4-5.slind1.dsc  gcc-3.4_3.4.4-5.slind1.tar.gz
jujux@jujuxG4:~/tmp/g/gcc-3.4$ dpkg-source -x
gcc-3.4_3.4.4-5.slind1.dsc
dpkg-source: extracting gcc-3.4 in gcc-3.4-3.4.4
dpkg-source: unpacking gcc-3.4_3.4.4-5.slind1.tar.gz
jujux@jujuxG4:~/tmp/g/gcc-3.4$ cd gcc-3.4-3.4.4/
jujux@jujuxG4:~/tmp/g/gcc-3.4/gcc-3.4-3.4.4$ ls
debian  gcc-3.4.4.tar.bz2  gpc-20050331.tar.bz2
jujux@jujuxG4:~/tmp/g/gcc-3.4/gcc-3.4-3.4.4$ env
GCC_TARGET=uclibc-powerpc DEB_CROSS_BOOTSTRAP=yes
dpkg-buildpackage -uc -us -rfakeroot -b -d
dpkg-buildpackage: source package is gcc-3.4
dpkg-buildpackage: source version is 3.4.4-5.slind1
dpkg-buildpackage: source changed by Vartan Khachaturov
<vartan.khachaturov@siemens.com>
dpkg-buildpackage: host architecture powerpc
 fakeroot debian/rules clean
rm -rf stamps
rm -rf gcc-3.4.4 gpc-20050331-minimal p
/usr/bin/make -f debian/rules2 clean
make[1]: entrant dans le répertoire «
/home/jujux/tmp/g/gcc-3.4/gcc-3.4-3.4.4 »
dh_testdir
rm -f pxxx status
rm -f *-summary *-protocol testsuite-comparision summary-diff
if [ -f
/home/jujux/tmp/g/gcc-3.4/gcc-3.4-3.4.4/src/gcc/p/config-lang.in.debian
]; then \
  mv -f
/home/jujux/tmp/g/gcc-3.4/gcc-3.4-3.4.4/src/gcc/p/config-lang.in.debian
/home/jujux/tmp/g/gcc-3.4/gcc-3.4-3.4.4/src/gcc/p/config-lang.in;
\
else true; fi
rm -f /home/jujux/tmp/g/gcc-3.4/gcc-3.4-3.4.4/src/gcc/po/*.gmo
rm -f
debian/lib{ffi,g2c,gcc,gcj,objc,stdc++}{-v3,[0-9]}*.{{pre,post}{inst,rm},shlibs}
for f in debian/*-BV*; do \
  f2=$(echo $f | sed 's/BV/3.4/;s/PV/2.1/'); \
  rm -f $f2; \
done
rm -f debian/shlibs.local
rm -f debian/*.debhelper
[ -d debian/bugs ] && /usr/bin/make -C debian/bugs clean
make[1]: [clean] Erreur 1 (ignorée)
rm -f debian/README.libstdc++-baseline
rm -rf bin locales
rm -rf check-inst
rm -rf libunwind-0.98.3.tar.gz libunwind-0.98.3 debian/tmp-unwind
rm -rf protector*
dh_clean
make[1]: quittant le répertoire «
/home/jujux/tmp/g/gcc-3.4/gcc-3.4-3.4.4 »
rm -rf /home/jujux/tmp/g/gcc-3.4/gcc-3.4-3.4.4/src
/home/jujux/tmp/g/gcc-3.4/gcc-3.4-3.4.4/build* debian/tmp* html
rm -f bootstrap-* first-move-stamp
rm -f debian/*.tmp
find debian -name '.#*' | xargs rm -f
dh_clean
 debian/rules build
: # unpack gcc tarball
mkdir stamps
if [ -d /home/jujux/tmp/g/gcc-3.4/gcc-3.4-3.4.4/src ]; then \
  echo >&2 "Source directory
/home/jujux/tmp/g/gcc-3.4/gcc-3.4-3.4.4/src exists. Delete by
hand"; \
  false; \
fi
rm -rf gcc-3.4.4
case gcc-3.4.4.tar.bz2 in \
  *.bz2) tar -x --bzip2 -f gcc-3.4.4.tar.bz2;; \
  *.gz)  tar -x --gzip  -f gcc-3.4.4.tar.bz2;; \
  *)     false; \
esac
mv gcc-3.4.4 /home/jujux/tmp/g/gcc-3.4/gcc-3.4-3.4.4/src
echo "gcc-3.4.4.tar.bz2 unpacked." >
stamps/01-unpack-stamp-gcc-3.4.4.tar.bz2
echo -e "\nBuilt from Debian source package
gcc-3.4-3.4.4-5.slind1" \
	> pxxx
echo -e "Integrated upstream packages in this version:\n" >> pxxx
for i in gcc-3.4.4.tar.bz2; do echo "  $i" >> pxxx; done
mv -f pxxx stamps/01-unpack-stamp
if [ -x debian/patches/cvs-updates.dpatch ]; then true; else
chmod +x debian/patches/cvs-updates.dpatch; fi
if [ -f stamps/02-patch-stamp-cvs-updates ]; then \
  echo "cvs-updates patches already applied."; exit 1; \
fi
DEB_VERSION='3.4.4-5.slind1'; export DEB_VERSION; \
debian/patches/cvs-updates.dpatch -patch -d
/home/jujux/tmp/g/gcc-3.4/gcc-3.4-3.4.4/src
patching file boehm-gc/ChangeLog
patching file boehm-gc/include/private/gcconfig.h
patching file contrib/ChangeLog
patching file contrib/gennews
patching file gcc/ChangeLog
patching file gcc/c-decl.c
patching file gcc/config.in
patching file gcc/configure
patching file gcc/configure.ac
patching file gcc/fold-const.c
patching file gcc/reg-stack.c
patching file gcc/unroll.c
patching file gcc/version.c
patching file gcc/config/alpha/alpha.c
patching file gcc/config/alpha/alpha.md
patching file gcc/config/m32r/m32r-protos.h
patching file gcc/config/m32r/m32r.c
patching file gcc/config/m32r/m32r.md
patching file gcc/config/sparc/sol2-gas-bi.h
patching file gcc/config/sparc/sol2.h
patching file gcc/cp/ChangeLog
patching file gcc/cp/cp-tree.def
patching file gcc/cp/cp-tree.h
patching file gcc/cp/cvt.c
patching file gcc/cp/decl.c
patching file gcc/cp/parser.c
patching file gcc/cp/pt.c
patching file gcc/cp/typeck.c
patching file gcc/doc/install.texi
patching file gcc/fixinc/fixincl.x
patching file gcc/fixinc/inclhack.def
patching file gcc/fixinc/tests/base/iso/math_c99.h
patching file gcc/testsuite/ChangeLog
patching file gcc/testsuite/g++.dg/conversion/simd2.C
patching file gcc/testsuite/g++.dg/expr/static_cast6.C
patching file gcc/testsuite/g++.dg/ext/label4.C
patching file gcc/testsuite/g++.dg/init/member1.C
patching file gcc/testsuite/g++.dg/other/warning1.C
patching file gcc/testsuite/g++.dg/parse/defarg9.C
patching file gcc/testsuite/g++.dg/parse/local-class1.C
patching file gcc/testsuite/g++.dg/template/explicit6.C
patching file gcc/testsuite/g++.dg/template/new2.C
patching file gcc/testsuite/g++.old-deja/g++.oliva/template6.C
patching file gcc/testsuite/gcc.dg/20050510-1.c
patching file gcc/testsuite/gcc.dg/c99-math-double-1.c
patching file gcc/testsuite/gcc.dg/c99-math-float-1.c
patching file gcc/testsuite/gcc.dg/c99-math-long-double-1.c
patching file gcc/testsuite/gcc.dg/c99-math.h
patching file gcc/testsuite/gcc.dg/pr21709-1.c
patching file gcc/testsuite/gcc.dg/pr22308-1.c
patching file gcc/testsuite/gcc.dg/tls/debug-1.c
patching file libstdc++-v3/ChangeLog
patching file libstdc++-v3/include/bits/c++config
patching file libstdc++-v3/testsuite/Makefile.in
echo "cvs-updates patches applied." >
stamps/02-patch-stamp-cvs-updates
if [ -x debian/patches/gcc-textdomain.dpatch ]; then true;
else chmod +x debian/patches/gcc-textdomain.dpatch; fi
if [ -f stamps/02-patch-stamp-gcc-textdomain ]; then \
  echo "gcc-textdomain patches already applied."; exit 1; \
fi
DEB_VERSION='3.4.4-5.slind1'; export DEB_VERSION; \
debian/patches/gcc-textdomain.dpatch -patch -d
/home/jujux/tmp/g/gcc-3.4/gcc-3.4-3.4.4/src
patching file gcc/Makefile.in
Hunk #1 succeeded at 2337 (offset 26 lines).
patching file gcc/intl.c
echo "gcc-textdomain patches applied." >
stamps/02-patch-stamp-gcc-textdomain
if [ -x debian/patches/rename-info-files.dpatch ]; then true;
else chmod +x debian/patches/rename-info-files.dpatch; fi
if [ -f stamps/02-patch-stamp-rename-info-files ]; then \
  echo "rename-info-files patches already applied."; exit 1; \
fi
DEB_VERSION='3.4.4-5.slind1'; export DEB_VERSION; \
debian/patches/rename-info-files.dpatch -patch -d
/home/jujux/tmp/g/gcc-3.4/gcc-3.4-3.4.4/src
patching file gcc/Makefile.in
Hunk #1 succeeded at 2644 (offset 29 lines).
Hunk #2 succeeded at 2690 (offset 29 lines).
Hunk #3 succeeded at 3000 (offset 30 lines).
Hunk #4 succeeded at 3175 (offset 33 lines).
patching file gcc/doc/cpp.texi
patching file gcc/doc/cppinternals.texi
patching file gcc/doc/extend.texi
Hunk #1 succeeded at 8463 (offset 792 lines).
patching file gcc/doc/gcc.texi
Hunk #1 succeeded at 64 (offset -15 lines).
Hunk #2 succeeded at 128 (offset -3 lines).
patching file gcc/doc/gccint.texi
Hunk #1 succeeded at 48 (offset -17 lines).
Hunk #2 succeeded at 83 (offset -31 lines).
patching file gcc/doc/invoke.texi
Hunk #1 succeeded at 768 (offset 5 lines).
Hunk #2 succeeded at 5051 (offset 6 lines).
Hunk #3 succeeded at 5059 (offset 6 lines).
Hunk #4 succeeded at 11288 (offset 77 lines).
Hunk #5 succeeded at 11447 (offset 84 lines).
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/doc/trouble.texi
patching file gcc/f/Make-lang.in
Hunk #1 succeeded at 151 (offset -2 lines).
Hunk #2 succeeded at 165 (offset -2 lines).
Hunk #3 succeeded at 263 (offset -2 lines).
Hunk #4 succeeded at 279 (offset -2 lines).
patching file gcc/java/Make-lang.in
Hunk #1 succeeded at 159 (offset 1 line).
Hunk #2 succeeded at 236 (offset 1 line).
patching file gcc/java/gcj.texi
patching file gcc/treelang/Make-lang.in
patching file gcc/treelang/treelang.texi
patching file gcc/f/g77.texi
echo "rename-info-files patches applied." >
stamps/02-patch-stamp-rename-info-files
if [ -x debian/patches/libstdc++-pic.dpatch ]; then true; else
chmod +x debian/patches/libstdc++-pic.dpatch; fi
if [ -f stamps/02-patch-stamp-libstdc++-pic ]; then \
  echo "libstdc++-pic patches already applied."; exit 1; \
fi
DEB_VERSION='3.4.4-5.slind1'; export DEB_VERSION; \
debian/patches/libstdc++-pic.dpatch -patch -d
/home/jujux/tmp/g/gcc-3.4/gcc-3.4-3.4.4/src
patching file libstdc++-v3/src/Makefile.am
Hunk #1 succeeded at 210 with fuzz 2 (offset -14 lines).
patching file libstdc++-v3/src/Makefile.in
Hunk #1 succeeded at 592 (offset 7 lines).
Hunk #2 succeeded at 625 (offset 7 lines).
Hunk #3 succeeded at 710 (offset 2 lines).
echo "libstdc++-pic patches applied." >
stamps/02-patch-stamp-libstdc++-pic
if [ -x debian/patches/libstdc++-doclink.dpatch ]; then true;
else chmod +x debian/patches/libstdc++-doclink.dpatch; fi
if [ -f stamps/02-patch-stamp-libstdc++-doclink ]; then \
  echo "libstdc++-doclink patches already applied."; exit 1; \
fi
DEB_VERSION='3.4.4-5.slind1'; export DEB_VERSION; \
debian/patches/libstdc++-doclink.dpatch -patch -d
/home/jujux/tmp/g/gcc-3.4/gcc-3.4-3.4.4/src
patching file libstdc++-v3/docs/doxygen/mainpage.html
Hunk #2 succeeded at 75 (offset -3 lines).
echo "libstdc++-doclink patches applied." >
stamps/02-patch-stamp-libstdc++-doclink
if [ -x debian/patches/libstdc++-doxygen-syntax.dpatch ]; then
true; else chmod +x
debian/patches/libstdc++-doxygen-syntax.dpatch; fi
if [ -f stamps/02-patch-stamp-libstdc++-doxygen-syntax ]; then \
  echo "libstdc++-doxygen-syntax patches already applied.";
exit 1; \
fi
DEB_VERSION='3.4.4-5.slind1'; export DEB_VERSION; \
debian/patches/libstdc++-doxygen-syntax.dpatch -patch -d
/home/jujux/tmp/g/gcc-3.4/gcc-3.4-3.4.4/src
patching file libstdc++-v3/include/bits/basic_string.h
echo "libstdc++-doxygen-syntax patches applied." >
stamps/02-patch-stamp-libstdc++-doxygen-syntax
if [ -x debian/patches/amd64-specs.dpatch ]; then true; else
chmod +x debian/patches/amd64-specs.dpatch; fi
if [ -f stamps/02-patch-stamp-amd64-specs ]; then \
  echo "amd64-specs patches already applied."; exit 1; \
fi
DEB_VERSION='3.4.4-5.slind1'; export DEB_VERSION; \
debian/patches/amd64-specs.dpatch -patch -d
/home/jujux/tmp/g/gcc-3.4/gcc-3.4-3.4.4/src
patching file gcc/config/i386/x86-64.h
Hunk #1 succeeded at 49 with fuzz 2.
echo "amd64-specs patches applied." >
stamps/02-patch-stamp-amd64-specs
if [ -x debian/patches/gccbug.dpatch ]; then true; else chmod
+x debian/patches/gccbug.dpatch; fi
if [ -f stamps/02-patch-stamp-gccbug ]; then \
  echo "gccbug patches already applied."; exit 1; \
fi
DEB_VERSION='3.4.4-5.slind1'; export DEB_VERSION; \
debian/patches/gccbug.dpatch -patch -d
/home/jujux/tmp/g/gcc-3.4/gcc-3.4-3.4.4/src
patching file gcc/gccbug.in
echo "gccbug patches applied." > stamps/02-patch-stamp-gccbug
if [ -x debian/patches/gccbug-posix.dpatch ]; then true; else
chmod +x debian/patches/gccbug-posix.dpatch; fi
if [ -f stamps/02-patch-stamp-gccbug-posix ]; then \
  echo "gccbug-posix patches already applied."; exit 1; \
fi
DEB_VERSION='3.4.4-5.slind1'; export DEB_VERSION; \
debian/patches/gccbug-posix.dpatch -patch -d
/home/jujux/tmp/g/gcc-3.4/gcc-3.4-3.4.4/src
patching file gcc/gccbug.in
echo "gccbug-posix patches applied." >
stamps/02-patch-stamp-gccbug-posix
if [ -x debian/patches/hppa-toplevel.dpatch ]; then true; else
chmod +x debian/patches/hppa-toplevel.dpatch; fi
if [ -f stamps/02-patch-stamp-hppa-toplevel ]; then \
  echo "hppa-toplevel patches already applied."; exit 1; \
fi
DEB_VERSION='3.4.4-5.slind1'; export DEB_VERSION; \
debian/patches/hppa-toplevel.dpatch -patch -d
/home/jujux/tmp/g/gcc-3.4/gcc-3.4-3.4.4/src
patching file configure.in
Hunk #1 succeeded at 489 (offset 7 lines).
patching file configure
Hunk #1 succeeded at 1250 (offset 7 lines).
echo "hppa-toplevel patches applied." >
stamps/02-patch-stamp-hppa-toplevel
if [ -x debian/patches/hppa-libffi.dpatch ]; then true; else
chmod +x debian/patches/hppa-libffi.dpatch; fi
if [ -f stamps/02-patch-stamp-hppa-libffi ]; then \
  echo "hppa-libffi patches already applied."; exit 1; \
fi
DEB_VERSION='3.4.4-5.slind1'; export DEB_VERSION; \
debian/patches/hppa-libffi.dpatch -patch -d
/home/jujux/tmp/g/gcc-3.4/gcc-3.4-3.4.4/src
patching file libffi/Makefile.am
patching file libffi/Makefile.in
patching file libffi/configure.in
Hunk #1 succeeded at 87 (offset 2 lines).
Hunk #2 succeeded at 112 (offset 2 lines).
patching file libffi/src/pa/ffi.c
patching file libffi/src/pa/ffitarget.h
patching file libffi/src/pa/linux.S
patching file libffi/src/prep_cif.c
configure.in:93: error: possibly undefined macro: AM_RUNTESTFLAGS
      If this token and others are legitimate, please use
m4_pattern_allow.
      See the Autoconf documentation.
make: *** [stamps/02-patch-stamp-hppa-libffi] Erreur 1

I really don't understand why I have a problem with applying a
patch. Previous problems I encountered were by my fault, I
didn't follow stricly the documentation, but here I can't
explain it.

Best regards
Julien

Accédez au courrier électronique de La Poste : www.laposte.net ;
3615 LAPOSTENET (0,34 ?/mn) ; tél : 08 92 68 13 50 (0,34?/mn)




Accédez au courrier électronique de La Poste : www.laposte.net ; 
3615 LAPOSTENET (0,34 ?/mn) ; tél : 08 92 68 13 50 (0,34?/mn)





Reply to: