Hello Zack, On Mon, Sep 03, 2007 at 06:59:28PM -0700, Zack Weinberg wrote: > in unstable, we decided to run the program's testsuite during the > build. This found failures on many architectures - a mixed blessing, Well, in the end this is positive, of course. > This message is going out to all the porter lists for which the > monotone package presently FTBFS because of testsuite failures. I am > not a DD (the package is being sponsored by Ludovic Brenta) so I do > not have access to any of the Debian porting hosts, nor do I have > other access to any of your architectures. Sorry, I cannot grant to access to an alpha, but maybe someone on this list can. > I would therefore greatly appreciate assistance with these bugs. If > you have time to debug the thing yourself and send patches to > monotone-debian@nongnu.org, that is of course the most helpful thing > you could do. Failing that, the next most helpful possibility is if > you are willing to grant me access (unprivileged only is fine) to a > machine under your control, and install monotone's build-dependencies > on that machine. If you can't do that either, at the least we might > have a chance of guessing what the problem is if you built the package > to the point where it fails (using a method that does not destroy the > build tree when the build fails), then tar up the tester_dir/ > directory and the "mtn" binary and send them to me. First, I see several "cast from pointer to integer of different size", I think these are the low hanging portability fixes to catch: sqlite/func.c: In function 'trimFunc': sqlite/func.c:891: warning: cast from pointer to integer of different size sqlite/func.c: In function 'sqlite3RegisterBuiltinFunctions': sqlite/func.c:1382: warning: cast to pointer from integer of different size sqlite/func.c:1401: warning: cast to pointer from integer of different size sqlite/table.c: In function 'sqlite3_get_table': sqlite/table.c:148: warning: cast to pointer from integer of different size sqlite/table.c: In function 'sqlite3_free_table': sqlite/table.c:193: warning: cast from pointer to integer of different size sqlite/vdbemem.c: In function 'sqlite3ValueText': sqlite/vdbemem.c:857: warning: cast from pointer to integer of different size sqlite/vtab.c: In function 'sqlite3VtabRollback': sqlite/vtab.c:587: warning: cast from pointer to integer of different size sqlite/vtab.c: In function 'sqlite3VtabCommit': sqlite/vtab.c:596: warning: cast from pointer to integer of different size For the tests: echo '#!/bin/sh' > run_tester_tests ; \ echo 'PATH=.:$PATH' >> run_tester_tests ; \ echo 'exec ./tester ./tester-testsuite.lua "$@"' >> run_tester_tests ; \ chmod 755 run_tester_tests echo '#!/bin/sh' > run_lua_tests ; \ echo 'PATH=.:$PATH' >> run_lua_tests ; \ echo 'exec ./tester ./testsuite.lua "$@"' >> run_lua_tests ; \ chmod 755 run_lua_tests Running unit tests... basic_io:binary_transparency ok charset:idna_encoding ok charset:utf8_validation ok commands:command_complete_command ok commands:command_find_command ok commands:complete_command ok commands:make_command_id ok crypto:calculate_ident ok cset:basic_csets ok cset:cset_written /bin/sh: line 4: 15213 Segmentation fault AUTOTEST_PATH="." ${dir}$tst FAIL: unit_tests Running tests... 1 isolated-1 ok 2 isolated-2 ok 3 cleanup-1 ok 4 cleanup-2 ok 5 remove-unwriteable ok Of 5 tests run: 5 succeeded 0 failed 0 had expected failures 0 succeeded unexpectedly 0 were skipped PASS: run_tester_tests /bin/sh: line 4: 15224 Segmentation fault AUTOTEST_PATH="." ${dir}$tst FAIL: run_lua_tests ========================================== 2 of 3 tests failed Please report to monotone-devel@nongnu.org ========================================== make[4]: *** [check-TESTS] Error 1 If I run the tests manually, I get the following results (abbreviated, I cannot get the output captured (the ordinary > foo 2>&1 does not work): run_tester_tests: Running tests... 1 isolated-1 ok 2 isolated-2 ok 3 cleanup-1 ok 4 cleanup-2 ok 5 remove-unwriteable ok Of 5 tests run: 5 succeeded 0 failed 0 had expected failures 0 succeeded unexpectedly 0 were skipped ./tester ./tester-testsuite.lua Running tests... 1 isolated-1 ok 2 isolated-2 ok 3 cleanup-1 ok 4 cleanup-2 ok 5 remove-unwriteable ok Of 5 tests run: 5 succeeded 0 failed 0 had expected failures 0 succeeded unexpectedly 0 were skipped *** glibc detected *** /home/helge/build/monotone/monotone-0.36/mtn: free(): invalid pointer: 0x0000020000282a70 *** ======= Backtrace: ========= /lib/libc.so.6.1[0x200003f7298] /lib/libc.so.6.1(cfree+0xb0)[0x200003f9050] /usr/lib/libstdc++.so.6(_ZdlPv+0x1c)[0x20000237f8c] /usr/lib/libstdc++.so.6(_ZNSs4_Rep10_M_destroyERKSaIcE+0x18)[0x200001ff288] ======= Memory map: ======== 11f1de000-11f208000 rw-p 11f1de000 00:00 0 [stack]120000000-120704000 r-xp 00000000 fe:01 119882 /home/helge/build/monotone/monotone-0.36/mtn 120714000-120728000 rwxp 00704000 fe:01 119882 /home/helge/build/monotone/monotone-0.36/mtn 120728000-1207d0000 rwxp 120728000 00:00 0 [heap] 20000000000-20000020000 r-xp 00000000 fe:01 295142 /lib/ld-2.6.1.so 20000020000-20000022000 rw-p 20000020000 00:00 0 2000002a000-2000002e000 rw-p 2000002a000 00:00 0 ./tester ./tester-testsuite.lua Running tests... 1 isolated-1 ok 2 isolated-2 ok 3 cleanup-1 ok 4 cleanup-2 ok 5 remove-unwriteable ok Of 5 tests run: 5 succeeded 0 failed 0 had expected failures 0 succeeded unexpectedly 0 were skipped *** glibc detected *** /home/helge/build/monotone/monotone-0.36/mtn: free(): invalid pointer: 0x0000020000282a70 *** ======= Backtrace: ========= /lib/libc.so.6.1[0x200003f7298] /lib/libc.so.6.1(cfree+0xb0)[0x200003f9050] /usr/lib/libstdc++.so.6(_ZdlPv+0x1c)[0x20000237f8c] /usr/lib/libstdc++.so.6(_ZNSs4_Rep10_M_destroyERKSaIcE+0x18)[0x200001ff288] ======= Memory map: ======== 11f1de000-11f208000 rw-p 11f1de000 00:00 0 [stack]120000000-120704000 r-xp 00000000 fe:01 119882 /home/helge/build/monotone/monotone-0.36/mtn 120714000-120728000 rwxp 00704000 fe:01 119882 /home/helge/build/monotone/monotone-0.36/mtn 120728000-1207d0000 rwxp 120728000 00:00 0 [heap] 20000000000-20000020000 r-xp 00000000 fe:01 295142 /lib/ld-2.6.1.so 20000020000-20000022000 rw-p 20000020000 00:00 0 2000002a000-2000002e000 rw-p 2000002a000 00:00 0 ./tester ./tester-testsuite.lua Running tests... 1 isolated-1 ok 2 isolated-2 ok 3 cleanup-1 ok 4 cleanup-2 ok 5 remove-unwriteable ok Of 5 tests run: 5 succeeded 0 failed 0 had expected failures 0 succeeded unexpectedly 0 were skipped *** glibc detected *** /home/helge/build/monotone/monotone-0.36/mtn: free(): invalid pointer: 0x0000020000282a70 *** ======= Backtrace: ========= /lib/libc.so.6.1[0x200003f7298] /lib/libc.so.6.1(cfree+0xb0)[0x200003f9050] /usr/lib/libstdc++.so.6(_ZdlPv+0x1c)[0x20000237f8c] /usr/lib/libstdc++.so.6(_ZNSs4_Rep10_M_destroyERKSaIcE+0x18)[0x200001ff288] ======= Memory map: ======== 11f1de000-11f208000 rw-p 11f1de000 00:00 0 [stack]120000000-120704000 r-xp 00000000 fe:01 119882 /home/helge/build/monotone/monotone-0.36/mtn 120714000-120728000 rwxp 00704000 fe:01 119882 /home/helge/build/monotone/monotone-0.36/mtn 120728000-1207d0000 rwxp 120728000 00:00 0 [heap] 20000000000-20000020000 r-xp 00000000 fe:01 295142 /lib/ld-2.6.1.so 20000020000-20000022000 rw-p 20000020000 00:00 0 2000002a000-2000002e000 rw-p 2000002a000 00:00 0 ./tester ./tester-testsuite.lua Running tests... 1 isolated-1 ok 2 isolated-2 ok 3 cleanup-1 ok 4 cleanup-2 ok 5 remove-unwriteable ok Of 5 tests run: 5 succeeded 0 failed 0 had expected failures 0 succeeded unexpectedly 0 were skipped ./run_lua_tests *** glibc detected *** /home/helge/build/monotone/monotone-0.36/mtn: free(): invalid pointer: 0x0000020000282a70 *** ======= Backtrace: ========= /lib/libc.so.6.1[0x200003f7298] /lib/libc.so.6.1(cfree+0xb0)[0x200003f9050] /usr/lib/libstdc++.so.6(_ZdlPv+0x1c)[0x20000237f8c] /usr/lib/libstdc++.so.6(_ZNSs4_Rep10_M_destroyERKSaIcE+0x18)[0x200001ff288] ======= Memory map: ======== 11f1de000-11f208000 rw-p 11f1de000 00:00 0 [stack]120000000-120704000 r-xp 00000000 fe:01 119882 /home/helge/build/monotone/monotone-0.36/mtn 120714000-120728000 rwxp 00704000 fe:01 119882 /home/helge/build/monotone/monotone-0.36/mtn 120728000-1207d0000 rwxp 120728000 00:00 0 [heap] 20000000000-20000020000 r-xp 00000000 fe:01 295142 /lib/ld-2.6.1.so 20000020000-20000022000 rw-p 20000020000 00:00 0 2000002a000-2000002e000 rw-p 2000002a000 00:00 0 ... 20000526000-20000528000 rwxp 00018000 fe:01 295100 /lib/libpthread-2.6.1.so 20000528000-2000052c000 rwxp 20000528000 00:00 0 2000052c000-200006b0000 r-xp 00000000 fe:01 369170 /usr/lib/libicui18n.so.36.0 200006b0000-200006c0000 ---p 00184000 fe:01 369170 /usr/lib/libicui18n.so.36.0 200006c0000-200006d0000 rwxp 00184000 fe:01 369170 /usr/lib/libicui18n.so.36.0 200006d0000-20000830000 r-xp 00000000 fe:01 369172 /usr/lib/libicuuc.so.36.0 20000830000-20000840000 rwxp 00160000 fe:01 369172 /usr/lib/libicuuc.so.36.0 20000840000-20000842000 rwxp 20000840000 00:00 0 20000842000-200011f2000 r-xp 00000000 fe:01 369173 /usr/lib/libicudata.so.36.0 200011f2000-20001200000 ---p 009b0000 fe:01 369173 /usr/lib/libicudata.so.36.0 20001200000-20001202000 rw-p 009ae000 fe:01 369173 /usr/lib/libicudata.so.36.0 20001202000-20001204000 rw-p 20001202000 00:00 0 20004000000-20004022000 rw-p 20004000000 00:00 0 20004022000-20008000000 ---p 20004022000 00:00 0 Segmentation fault You can find the build log under: http://www.helgefjell.de/data/mlog.bz2 You can find the requested file and directory in (18 MB!) http://www.helgefjell.de/data/monotone_36_alpha.tar.bz2 I hope this helps, Greetings Helge -- Dr. Helge Kreutzmann, Dipl.-Phys. Helge.Kreutzmann@itp.uni-hannover.de gpg signed mail preferred 64bit GNU powered http://www.itp.uni-hannover.de/~kreutzm Help keep free software "libre": http://www.ffii.de/
Attachment:
signature.asc
Description: Digital signature