After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 649668 - build failure on Debian sid for kfreebsd-{amd64,i386}
build failure on Debian sid for kfreebsd-{amd64,i386}
Status: RESOLVED FIXED
Product: beast
Classification: Other
Component: general
v0.7.x
Other Linux
: Normal normal
: ---
Assigned To: Beast Maintainers
Beast Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-05-07 16:24 UTC by Alessio Treglia
Modified: 2011-05-15 11:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Alessio Treglia 2011-05-07 16:24:09 UTC
Hi,


beast 0.7.4 failed to build on Debian unstable for both kfreebsd-amd64 and kfreebsd-i386 architectures.

An excerpt of the buildlog (kfreebsd-amd64) follows:

make[3]: Entering directory `/build/buildd-beast_0.7.4-1-kfreebsd-amd64-rCn5Dr/beast-0.7.4/birnet/tests'
make  check-TESTS check-local
make[4]: Entering directory `/build/buildd-beast_0.7.4-1-kfreebsd-amd64-rCn5Dr/beast-0.7.4/birnet/tests'
TEST: infotest
CpuInfo: [---*-]
Path handling: [----------]
ZIntern: [--]
FileChecks: [----X
*** TEST-ERROR ***
infotest.cc:92:void test_files(const char*)(): assertion failed: Path::check (argv0, "w") == true
/bin/bash: line 5: 40774 Trace/breakpoint trap   (core dumped) ${dir}$tst
FAIL: infotest
TEST: math
dtoi32: [----------------------]
dtoi64: [--------------------------------------]
iround: [----------------------]
iceil: [----------------------]
ifloor: [----------------------]
PASS: math
TEST: strings
uuid string test: [-----------------]
uuid string cmp: [---------------]
unichar classification: [--]
utf8<->unichar: [--]
PASS: strings
TEST: systest
POLL constants: [----------]
PASS: systest
TEST: threads
Threading: [--------------------]
AtomicThreading: [---------------------------------------------------------------------------------------+-]
C++Threading: [-------------------------------------------------------------------------------------------------------------]
C++OwnedMutex: [---------------]
C++AtomicThreading: [---------------------]
C++AutoLocker: [-----------------------------------------------------------------------------------------]
Deletable destruction: [----------]
RingBuffer: [--------]
AsyncRingBuffer-1-20: [-****-]
AsyncRingBuffer-2-34: [-****-]
AsyncRingBuffer-3-62: [-****-]
AsyncRingBuffer-4-76: [-****-]
AsyncRingBuffer-5-102: [-****-]
AsyncRingBuffer-6-111: [-****-]
AsyncRingBuffer-7-131: [-****-]
AsyncRingBuffer-big: [-**+--*+*-]
DebugChannelFileAsync (countdown): [-9
8
7
6
5
4
3
2
1
0
-]
PASS: threads
TEST: sorting
Corner case lookups: [+-------]
Binary lookup: [---------]
Sibling lookup: [---------]
Insertion lookup1: [----------]
Insertion lookup2: [----------]
PASS: sorting
TEST: datalist
DataList<String>: [---*-]
DataList<int>: [---*--------*--*]
DataList-mixed: [---*----*--------*-----*-*]
DataList-threaded: [---*----*--------*-----*-]
PASS: datalist
TEST: utils
AlignedArray: [-------------------------------------]
PASS: utils
===================
1 of 8 tests failed
===================
make[4]: *** [check-TESTS] Error 1
make[4]: Leaving directory `/build/buildd-beast_0.7.4-1-kfreebsd-amd64-rCn5Dr/beast-0.7.4/birnet/tests'
make[3]: *** [check-am] Error 2
make[3]: Leaving directory `/build/buildd-beast_0.7.4-1-kfreebsd-amd64-rCn5Dr/beast-0.7.4/birnet/tests'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/build/buildd-beast_0.7.4-1-kfreebsd-amd64-rCn5Dr/beast-0.7.4/birnet'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/build/buildd-beast_0.7.4-1-kfreebsd-amd64-rCn5Dr/beast-0.7.4'
dh_auto_test: make -j3 check returned exit code 2
make: *** [build] Error 29


For full buildlogs see here:
 - <https://buildd.debian.org/status/fetch.php?pkg=beast&arch=kfreebsd-amd64&ver=0.7.4-1&stamp=1304774263>
 - <https://buildd.debian.org/status/fetch.php?pkg=beast&arch=kfreebsd-i386&ver=0.7.4-1&stamp=1304773458>
Comment 1 Tim Janik 2011-05-15 11:44:00 UTC
(In reply to comment #0)
> beast 0.7.4 failed to build on Debian unstable for both kfreebsd-amd64 and
> kfreebsd-i386 architectures.
> FileChecks: [----X
> *** TEST-ERROR ***
> infotest.cc:92:void test_files(const char*)(): assertion failed: Path::check
> (argv0, "w") == true
> /bin/bash: line 5: 40774 Trace/breakpoint trap   (core dumped) ${dir}$tst

Ah, interesting, thanks for the report. This tests checks file property tests and assumes argv0 is writable on the system (which doesn't strictly need to be the case). Aparently not portable to kfreebsd, we're fixing this in upstream now:

diff --git a/birnet/tests/infotest.cc b/birnet/tests/infotest.cc
index aa6b6b4..9850062 100644
--- a/birnet/tests/infotest.cc
+++ b/birnet/tests/infotest.cc
@@ -89,7 +89,7 @@ test_files (const char *argv0)
   TASSERT (Path::equals ("/bin", "/sbin") == FALSE);
   TASSERT (Path::check (argv0, "e") == TRUE);
   TASSERT (Path::check (argv0, "r") == TRUE);
-  TASSERT (Path::check (argv0, "w") == TRUE);
+  // TASSERT (Path::check (argv0, "w") == TRUE); // fails on kfreebsd
   TASSERT (Path::check (argv0, "x") == TRUE);
   TASSERT (Path::check (argv0, "d") == FALSE);
   TASSERT (Path::check (argv0, "l") == FALSE);