[Box Backup-dev] Trunk: bbackupd test broken?

James O'Gorman boxbackup-dev@boxbackup.org
Wed, 03 Sep 2008 22:57:52 +0100


I've just tried building the latest trunk on OS X 10.5.4 and FreeBSD 
7.0/amd64 and both fail on the bbackupd test. The failure is straight 
away in release mode, but takes a little longer in debug mode on FreeBSD 
only.


Here is the failure from OS X:

$ ./runtest.pl bbackupd debug
2 processors detected, will set make to perform concurrent jobs
   [CXX]     testbbackupd
testbbackupd.cpp: In function ‘void do_interrupted_restore(const 
TLSContext&, int64_t)’:
testbbackupd.cpp:576: error: ‘::kill’ has not been declared
*** Error code 1

Stop in /Users/jamesog/Projects/box/0.11rc2_trunk/test/bbackupd.
--------
bbackupd: make failed


and from FreeBSD:

% ./runtest.pl bbackupd release
`../../release/lib/win32/win32.a' is up to date.
`../../release/lib/common/common.a' is up to date.
`../../release/lib/compress/compress.a' is up to date.
`../../release/lib/crypto/crypto.a' is up to date.
`../../release/lib/server/server.a' is up to date.
`../../release/lib/backupclient/backupclient.a' is up to date.
`../../release/lib/raidfile/raidfile.a' is up to date.
`../../release/lib/backupstore/backupstore.a' is up to date.
`../../release/lib/intercept/intercept.a' is up to date.
`../../release/bin/bbackupctl/bbackupctl' is up to date.
`../../release/bin/bbackupquery/bbackupquery' is up to date.
`../../release/bin/bbstoreaccounts/bbstoreaccounts' is up to date.
`../../release/bin/bbstored/bbstored' is up to date.
`../../release/bin/bbackupd/bbackupd' is up to date.
   [CXX]     testbbackupd
testbbackupd.cpp: In function 'void do_interrupted_restore(const 
TLSContext&, int64_t)':
testbbackupd.cpp:576: error: '::kill' has not been declared
testbbackupd.cpp:576: error: 'SIGTERM' was not declared in this scope
testbbackupd.cpp: In function 'int test_bbackupd()':
testbbackupd.cpp:1668: warning: deprecated conversion from string 
constant to 'char*'
testbbackupd.cpp:1677: warning: deprecated conversion from string 
constant to 'char*'
testbbackupd.cpp:1742: error: '::signal' has not been declared
testbbackupd.cpp:1742: error: 'SIGPIPE' was not declared in this scope
testbbackupd.cpp:1742: error: 'SIG_IGN' was not declared in this scope
testbbackupd.cpp:1760: error: '::signal' has not been declared
testbbackupd.cpp:1760: error: 'SIG_DFL' was not declared in this scope
testbbackupd.cpp:2397: warning: deprecated conversion from string 
constant to 'char*'
testbbackupd.cpp:2406: warning: deprecated conversion from string 
constant to 'char*'
testbbackupd.cpp:2417: warning: deprecated conversion from string 
constant to 'char*'
*** Error code 1

Stop in /usr/home/jamesog/src/box/trunk/test/bbackupd.
--------
bbackupd: make failed

There goes my plan to actually get my iMac backing up tonight :-)

James