Hello, I'm attempting to rebuild gcc-3.0-3.0.1ds1 on my PowerPC machine, because I want to get gcj to work (the older version in sid for PowerPC is incompatible with the newer gcc, so we'll have to either get gcj to work or remove it for woody on powerpc).
I started by simply removing powerpc from the disabled architectures in debian/rules.defs. GCJ seemed to build OK (except for one strange fakeroot shared library thing); I've attached the test summary at the bottom of this mail. However, I'm running into this problem: dh_compress -plibgcc1 dh_fixperms -plibgcc1 DH_COMPAT=3 dh_makeshlibs -plibgcc1 -V 'libgcc1 (>= 1:3.0.1-0pre010803)' cat debian/libgcc1/DEBIAN/shlibs >> debian/shlibs.local cat: debian/libgcc1/DEBIAN/shlibs: No such file or directory make[1]: *** [stamps/08-binary-stamp-libgcc] Error 1 make[1]: Leaving directory `/usr/src/gcc/gcc-3.0-3.0.1ds1' make: *** [binary] Error 2 Anyone have any hints? This doesn't look like an error that should result from enabling Java. I've saved the whole (5.4 megabyte) build log, and can make it available upon request.
WARNING: Couldn't find the global config file. Test Run By walters on Sat Aug 4 19:50:26 2001 Native configuration is powerpc-unknown-linux-gnu === libjava tests === Schedule of variations: unix Running target unix Using /usr/share/dejagnu/baseboards/unix.exp as board description file for targe t. Using /usr/share/dejagnu/config/unix.exp as generic interface file for target. Using /usr/src/gcc/gcc-3.0-3.0.1ds1/src/libjava/testsuite/config/default.exp as tool-and-target-specific interface file. Running /usr/src/gcc/gcc-3.0-3.0.1ds1/src/libjava/testsuite/libjava.compile/comp ile.exp ... Running /usr/src/gcc/gcc-3.0-3.0.1ds1/src/libjava/testsuite/libjava.lang/lang.ex p ... XPASS: N19990310_4 output from source compiled test expected was OK output was NG XPASS: N19990310_4 -O output from source compiled test expected was OK output was NG expected was zardoz output was q=0 zardoz XPASS: stringconst output from bytecode->native test expected was zardoz output was q=0 zardoz XPASS: stringconst -O output from bytecode->native test XPASS: stub compilation from source XPASS: stub byte compilation XPASS: stub compilation from bytecode XPASS: stub -O compilation from source XPASS: stub byte compilation XPASS: stub -O compilation from bytecode Running /usr/src/gcc/gcc-3.0-3.0.1ds1/src/libjava/testsuite/libjava.mauve/mauve. exp ... === libjava Summary === # of expected passes 1676 # of unexpected successes 10 # of expected failures 14 # of untested testcases 16 make[5]: *** [check-DEJAGNU] Error 1 make[5]: Leaving directory `/usr/src/gcc/gcc-3.0-3.0.1ds1/build/powerpc-linux/li bjava/testsuite' make[4]: *** [check-am] Error 2 make[4]: Target `check' not remade because of errors. make[4]: Leaving directory `/usr/src/gcc/gcc-3.0-3.0.1ds1/build/powerpc-linux/li bjava/testsuite' Making check in gcj make[4]: Entering directory `/usr/src/gcc/gcc-3.0-3.0.1ds1/build/powerpc-linux/l ibjava/gcj' make[4]: Nothing to be done for `check'. make[4]: Leaving directory `/usr/src/gcc/gcc-3.0-3.0.1ds1/build/powerpc-linux/li bjava/gcj' Making check in include make[4]: Entering directory `/usr/src/gcc/gcc-3.0-3.0.1ds1/build/powerpc-linux/l ibjava/include' make[4]: Leaving directory `/usr/src/gcc/gcc-3.0-3.0.1ds1/build/powerpc-linux/li bjava/include' make[4]: Entering directory `/usr/src/gcc/gcc-3.0-3.0.1ds1/build/powerpc-linux/l ibjava' make[4]: Nothing to be done for `check-am'. make[4]: Leaving directory `/usr/src/gcc/gcc-3.0-3.0.1ds1/build/powerpc-linux/li bjava' make[3]: *** [check-recursive] Error 1 make[3]: Target `check' not remade because of errors. make[3]: Leaving directory `/usr/src/gcc/gcc-3.0-3.0.1ds1/build/powerpc-linux/li bjava' make[2]: *** [check-target-libjava] Error 2 make[3]: Entering directory `/usr/src/gcc/gcc-3.0-3.0.1ds1/build/powerpc-linux/z lib' make[3]: Nothing to be done for `check'. make[3]: Leaving directory `/usr/src/gcc/gcc-3.0-3.0.1ds1/build/powerpc-linux/zl ib' make[3]: Entering directory `/usr/src/gcc/gcc-3.0-3.0.1ds1/build/powerpc-linux/b oehm-gc' /usr/src/gcc/gcc-3.0-3.0.1ds1/build/gcc/xgcc -B/usr/src/gcc/gcc-3.0-3.0.1ds1/bui ld/gcc/ -B/usr/powerpc-linux/bin/ -B/usr/powerpc-linux/lib/ -isystem /usr/powerp c-linux/include -DLINUX_THREADS=1 -D_REENTRANT=1 -DSILENT=1 -DNO_SIGNALS=1 -DJAV A_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -I. -I../../../src/boehm-gc -I././targ- include -I./../../../src/boehm-gc/./libc/include -fno-builtin -g -c ../../../src /boehm-gc/test.c /bin/sh ./libtool --mode=link /usr/src/gcc/gcc-3.0-3.0.1ds1/build/gcc/xgcc -B/us r/src/gcc/gcc-3.0-3.0.1ds1/build/gcc/ -B/usr/powerpc-linux/bin/ -B/usr/powerpc-l inux/lib/ -isystem /usr/powerpc-linux/include -I././targ-include -I./../../../sr c/boehm-gc/./libc/include -fno-builtin -o gctest -shared-libgcc test.o ./libgc jgc.la -lpthread -ldl /usr/src/gcc/gcc-3.0-3.0.1ds1/build/gcc/xgcc -B/usr/src/gcc/gcc-3.0-3.0.1ds1/bui ld/gcc/ -B/usr/powerpc-linux/bin/ -B/usr/powerpc-linux/lib/ -isystem /usr/powerp c-linux/include -I././targ-include -I./../../../src/boehm-gc/./libc/include -fno -builtin -o .libs/gctest -shared-libgcc test.o ./.libs/libgcjgc.so -lpthread -l dl creating gctest /usr/bin/make "AR_FLAGS=rc" "CC_FOR_BUILD=cc " "CFLAGS=-g" "CXXFLAGS=-g -O2 -D_G NU_SOURCE" "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=-g" "INSTALL=/bin/sh /usr/src/ gcc/gcc-3.0-3.0.1ds1/src/install-sh -c" "INSTALL_DATA=/bin/sh /usr/src/gcc/gcc-3 .0-3.0.1ds1/src/install-sh -c -m 644" "INSTALL_PROGRAM=/bin/sh /usr/src/gcc/gcc- 3.0-3.0.1ds1/src/install-sh -c " "INSTALL_SCRIPT=/bin/sh /usr/src/gcc/gcc-3.0-3. 0.1ds1/src/install-sh -c" "LDFLAGS=" "LIBCFLAGS=-g" "LIBCFLAGS_FOR_TARGET=-g" "M AKE=/usr/bin/make" "MAKEINFO=makeinfo " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL =/bin/sh" "EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/usr" " infodir=/share/info" "libdir=/usr/lib" "prefix=/usr" "tooldir=/usr/powerpc-linux " "AR=ar" "AS=as" "CC=/usr/src/gcc/gcc-3.0-3.0.1ds1/build/gcc/xgcc -B/usr/src/gc c/gcc-3.0-3.0.1ds1/build/gcc/ -B/usr/powerpc-linux/bin/ -B/usr/powerpc-linux/lib / -isystem /usr/powerpc-linux/include" "CXX=/usr/src/gcc/gcc-3.0-3.0.1ds1/build/ gcc/g++ -B/usr/src/gcc/gcc-3.0-3.0.1ds1/build/gcc/ -nostdinc++ -nostdinc++ -I/us r/src/gcc/gcc-3.0-3.0.1ds1/build/powerpc-linux/libstdc++-v3/include/powerpc-linu x -I/usr/src/gcc/gcc-3.0-3.0.1ds1/build/powerpc-linux/libstdc++-v3/include -I/us r/src/gcc/gcc-3.0-3.0.1ds1/src/libstdc++-v3/libsupc++ -I/usr/src/gcc/gcc-3.0-3.0 .1ds1/src/libstdc++-v3/libio -I/usr/src/gcc/gcc-3.0-3.0.1ds1/src/libstdc++-v3/te stsuite -L/usr/src/gcc/gcc-3.0-3.0.1ds1/build/powerpc-linux/libstdc++-v3/src -L/ usr/src/gcc/gcc-3.0-3.0.1ds1/build/powerpc-linux/libstdc++-v3/src/.libs -B/usr/p owerpc-linux/bin/ -B/usr/powerpc-linux/lib/ -isystem /usr/powerpc-linux/include" "LD=ld" "LIBCFLAGS=-g" "NM=nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR=" check-TEST S make[4]: Entering directory `/usr/src/gcc/gcc-3.0-3.0.1ds1/build/powerpc-linux/b oehm-gc' /bin/sh: error while loading shared libraries: libfakeroot.so.0: cannot open sha red object file: No such file or directory FAIL: gctest =================== 1 of 1 tests failed make[4]: *** [check-TESTS] Error 1 make[4]: Leaving directory `/usr/src/gcc/gcc-3.0-3.0.1ds1/build/powerpc-linux/bo ehm-gc' make[3]: *** [check-am] Error 2 make[3]: Target `check' not remade because of errors. make[3]: Leaving directory `/usr/src/gcc/gcc-3.0-3.0.1ds1/build/powerpc-linux/bo ehm-gc' make[2]: *** [check-target-boehm-gc] Error 2