On 2010-12-04 12:02, Michael Tautschnig wrote:
Ok, I've enabled further debugging on these.Hi Alastair, I'm by no means a bsd expert and you actually might want to redirect your question to debian-bsd@l.d.o instead.I've a strange issue: I've a perfectly ordinary package, cmor, which fails to build on s390 and kfreebsd-amd64. In both cases it fails while trying to build a test executable, ipcc_test_code, in the test target, but with different errors in ld, segfault and abort. Now, outside the buildds (lxdebian and asdfasdf) the package builds fine on s390 and kfreebsd-amd64 (it fails on kfreebsd-i386, also in building ./ipcc_test_code, but that appears to be different. While I don't understand the failure yet, it is at least reproducible).[...] Could you maybe, as first measure, try to make the build (or the build of tests at least) way more verbose? Surely it's not ln -sf that aborts, but that is about all that can be found in the build logs. I guess it would be nice to see the full command line that is being executed such that precisely this step can be investigated in more detail. As the tests (once they run) seem to be very verbose, this should (a) help to nail down the error and (b) could possibly be some problem with the terminal!? (The latter is a wild guess as I have no idea what cmor really does.) Hope this helps, Michael Builds on s390 seem to be working fine; its now building on zandonai ; all previous failures appear to have been on lxdebian and i'm assuming issues there (memory, tmpfs, etc.). I'm down to a build issue on kfreebsd-i386, with an abort (Error 134). The FTBFS on kfreebsd-amd64 at the same point seems to have gone away (it was also an abort, error 134); Perhaps a different memory-related error? With debugging (gcc --verbose) the error looks like: ln -sf TestTables Tables rm -f ./ipcc_test_code ; gcc --verbose -lnetcdf -Iinclude -Iinclude/cdTime Test/ipcc_test_code.c -L/usr/lib -I/usr/include -L. -lcmor -lnetcdf -ludunits2 -lossp-uuid -I/usr/include/ossp -lm -o ipcc_test_code ; ./ipcc_test_code Using built-in specs. Target: i486-kfreebsd-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 4.4.5-10' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.4 --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --with-arch-32=i586 --with-tune=generic --enable-checking=release --build=i486-kfreebsd-gnu --host=i486-kfreebsd-gnu --target=i486-kfreebsd-gnu Thread model: posix gcc version 4.4.5 (Debian 4.4.5-10) COLLECT_GCC_OPTIONS='-v' '-Iinclude' '-Iinclude/cdTime' '-L/usr/lib' '-I/usr/include' '-L.' '-I/usr/include/ossp' '-o' 'ipcc_test_code' '-mtune=generic' '-march=i586' /usr/lib/gcc/i486-kfreebsd-gnu/4.4.5/cc1 -quiet -v -Iinclude -Iinclude/cdTime -I/usr/include -I/usr/include/ossp Test/ipcc_test_code.c -quiet -dumpbase ipcc_test_code.c -mtune=generic -march=i586 -auxbase ipcc_test_code -version -o /tmp/cc2yyWnV.s ignoring nonexistent directory "/usr/local/include/i486-kfreebsd-gnu" ignoring nonexistent directory "/usr/lib/gcc/i486-kfreebsd-gnu/4.4.5/../../../../i486-kfreebsd-gnu/include" ignoring nonexistent directory "/usr/include/i486-kfreebsd-gnu" ignoring duplicate directory "/usr/include" as it is a non-system directory that duplicates a system directory #include "..." search starts here: #include <...> search starts here: include include/cdTime /usr/include/ossp /usr/local/include /usr/lib/gcc/i486-kfreebsd-gnu/4.4.5/include /usr/lib/gcc/i486-kfreebsd-gnu/4.4.5/include-fixed /usr/include End of search list. GNU C (Debian 4.4.5-10) version 4.4.5 (i486-kfreebsd-gnu) compiled by GNU C version 4.4.5, GMP version 4.3.2, MPFR version 3.0.0-p3. GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: ac5ecb32b9a1ba1edd331ac3e5f20c5d COLLECT_GCC_OPTIONS='-v' '-Iinclude' '-Iinclude/cdTime' '-L/usr/lib' '-I/usr/include' '-L.' '-I/usr/include/ossp' '-o' 'ipcc_test_code' '-mtune=generic' '-march=i586' as -V -Qy -o /tmp/ccgbAyMN.o /tmp/cc2yyWnV.s GNU assembler version 2.20.1 (i486-kfreebsd-gnu) using BFD version (GNU Binutils for Debian) 2.20.1-system.20100303 COMPILER_PATH=/usr/lib/gcc/i486-kfreebsd-gnu/4.4.5/:/usr/lib/gcc/i486-kfreebsd-gnu/4.4.5/:/usr/lib/gcc/i486-kfreebsd-gnu/:/usr/lib/gcc/i486-kfreebsd-gnu/4.4.5/:/usr/lib/gcc/i486-kfreebsd-gnu/:/usr/lib/gcc/i486-kfreebsd-gnu/4.4.5/:/usr/lib/gcc/i486-kfreebsd-gnu/ LIBRARY_PATH=/usr/lib/gcc/i486-kfreebsd-gnu/4.4.5/:/usr/lib/gcc/i486-kfreebsd-gnu/4.4.5/:/usr/lib/gcc/i486-kfreebsd-gnu/4.4.5/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-v' '-Iinclude' '-Iinclude/cdTime' '-L/usr/lib' '-I/usr/include' '-L.' '-I/usr/include/ossp' '-o' 'ipcc_test_code' '-mtune=generic' '-march=i586' /usr/lib/gcc/i486-kfreebsd-gnu/4.4.5/collect2 --build-id --eh-frame-hdr -m elf_i386_fbsd --hash-style=both -dynamic-linker /lib/ld.so.1 -o ipcc_test_code /usr/lib/gcc/i486-kfreebsd-gnu/4.4.5/../../../crt1.o /usr/lib/gcc/i486-kfreebsd-gnu/4.4.5/../../../crti.o /usr/lib/gcc/i486-kfreebsd-gnu/4.4.5/crtbegin.o -L/usr/lib -L. -L/usr/lib/gcc/i486-kfreebsd-gnu/4.4.5 -L/usr/lib/gcc/i486-kfreebsd-gnu/4.4.5 -L/usr/lib/gcc/i486-kfreebsd-gnu/4.4.5/../../.. -lnetcdf /tmp/ccgbAyMN.o -lcmor -lnetcdf -ludunits2 -lossp-uuid -lm -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/i486-kfreebsd-gnu/4.4.5/crtend.o /usr/lib/gcc/i486-kfreebsd-gnu/4.4.5/../../../crtn.o Aborted make[1]: *** [test_C] Error 134 make[1]: Leaving directory `/build/buildd-cmor_2.5.1-2-kfreebsd-i386-LUJxws/cmor-2.5.1' dh_auto_test: make -j1 test returned exit code 2 make: *** [build] Error 29 dpkg-buildpackage: error: debian/rules build gave error exit status 2 Any ideas? -- Alastair McKinstry , <alastair@sceal.ie> , <mckinstry@debian.org> http://blog.sceal.ie Anyone who believes exponential growth can go on forever in a finite world is either a madman or an economist - Kenneth Boulter, Economist. |