Package: src:boxbackup
Version: 0.13~~git20231028.g3dd5194+ds-2
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules binary
dh binary
   dh_update_autotools_config
cp: warning: behavior of -n is non-portable and may change in future; use 
--update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use 
--update=none instead
   debian/rules override_dh_autoreconf
make[1]: Entering directory '/<<PKGBUILDDIR>>'
echo "0.13~~git20231028.g3dd5194+ds-2" > VERSION.txt
echo "boxbackup" >> VERSION.txt
sh -x ./bootstrap
+ aclocal -I infrastructure/m4
+ autoheader
+ autoconf
configure.ac:12: warning: The macro `AC_CANONICAL_SYSTEM' is obsolete.

[... snipped ...]



== test_compare_detects_attribute_changes ==
WARNING: SSLSecurityLevel set very low (0-1). Your connection may not be 
secure. See https://bit.ly/sslseclevel
NOTICE:  skipping test on this platform
Waiting for server to die (pid 1933959): . done.
NOTICE:  test_compare_detects_attribute_changes passed


== test_sync_new_files ==
WARNING: SSLSecurityLevel set very low (0-1). Your connection may not be 
secure. See https://bit.ly/sslseclevel
WARNING: location path is not absolute: testfiles/TestDir1
WARNING: location path is not absolute: testfiles/TestDir1
WARNING: location path is not absolute: testfiles/TestDir1
WARNING: SSLSecurityLevel set very low (0-1). Your connection may not be 
secure. See https://bit.ly/sslseclevel
WARNING: Failed to determine the time of the last synchronisation -- checks not 
performed.
Waiting for server to die (pid 1933985): . done.
NOTICE:  test_sync_new_files passed


== test_rename_operations ==
WARNING: SSLSecurityLevel set very low (0-1). Your connection may not be 
secure. See https://bit.ly/sslseclevel
WARNING: location path is not absolute: testfiles/TestDir1
WARNING: SSLSecurityLevel set very low (0-1). Your connection may not be 
secure. See https://bit.ly/sslseclevel
WARNING: Failed to determine the time of the last synchronisation -- checks not 
performed.
WARNING: location path is not absolute: testfiles/TestDir1
WARNING: SSLSecurityLevel set very low (0-1). Your connection may not be 
secure. See https://bit.ly/sslseclevel
WARNING: Failed to determine the time of the last synchronisation -- checks not 
performed.
WARNING: SSLSecurityLevel set very low (0-1). Your connection may not be 
secure. See https://bit.ly/sslseclevel
WARNING: Failed to determine the time of the last synchronisation -- checks not 
performed.
WARNING: Quick compare used -- file attributes are not checked.
WARNING: location path is not absolute: testfiles/TestDir1
WARNING: SSLSecurityLevel set very low (0-1). Your connection may not be 
secure. See https://bit.ly/sslseclevel
WARNING: Failed to determine the time of the last synchronisation -- checks not 
performed.
Waiting for server to die (pid 1934065): . done.
NOTICE:  test_rename_operations passed


== test_sync_files_with_timestamps_in_future ==
WARNING: SSLSecurityLevel set very low (0-1). Your connection may not be 
secure. See https://bit.ly/sslseclevel
WARNING: location path is not absolute: testfiles/TestDir1
WARNING: location path is not absolute: testfiles/TestDir1
WARNING: Some files have modification times excessively in the future. Check 
clock synchronisation. Example file (only one shown): 
testfiles/TestDir1/sub23/in-the-future
WARNING: SSLSecurityLevel set very low (0-1). Your connection may not be 
secure. See https://bit.ly/sslseclevel
WARNING: Failed to determine the time of the last synchronisation -- checks not 
performed.
Waiting for server to die (pid 1934170): . done.
NOTICE:  test_sync_files_with_timestamps_in_future passed


== test_changing_client_store_marker_pauses_daemon ==
WARNING: SSLSecurityLevel set very low (0-1). Your connection may not be 
secure. See https://bit.ly/sslseclevel
WARNING: SSLSecurityLevel set very low (0-1). Your connection may not be 
secure. See https://bit.ly/sslseclevel
WARNING: SSLSecurityLevel set very low (0-1). Your connection may not be 
secure. See https://bit.ly/sslseclevel
WARNING: SSLSecurityLevel set very low (0-1). Your connection may not be 
secure. See https://bit.ly/sslseclevel
Waiting for server to die (pid 1934275): . done.
Waiting for server to die (pid 1934257): . done.
NOTICE:  test_changing_client_store_marker_pauses_daemon passed


== test_interrupted_restore_can_be_recovered ==
WARNING: SSLSecurityLevel set very low (0-1). Your connection may not be 
secure. See https://bit.ly/sslseclevel
WARNING: location path is not absolute: testfiles/TestDir1
WARNING: SSLSecurityLevel set very low (0-1). Your connection may not be 
secure. See https://bit.ly/sslseclevel
.........
WARNING: SSLSecurityLevel set very low (0-1). Your connection may not be 
secure. See https://bit.ly/sslseclevel
WARNING: Failed to determine the time of the last synchronisation -- checks not 
performed.
Waiting for server to die (pid 1934447): . done.
NOTICE:  test_interrupted_restore_can_be_recovered passed


== test_restore_deleted_files ==
WARNING: SSLSecurityLevel set very low (0-1). Your connection may not be 
secure. See https://bit.ly/sslseclevel
WARNING: location path is not absolute: testfiles/TestDir1
WARNING: SSLSecurityLevel set very low (0-1). Your connection may not be 
secure. See https://bit.ly/sslseclevel
WARNING: Failed to determine the time of the last synchronisation -- checks not 
performed.
WARNING: location path is not absolute: testfiles/TestDir1
WARNING: SSLSecurityLevel set very low (0-1). Your connection may not be 
secure. See https://bit.ly/sslseclevel
WARNING: Failed to determine the time of the last synchronisation -- checks not 
performed.
WARNING: SSLSecurityLevel set very low (0-1). Your connection may not be 
secure. See https://bit.ly/sslseclevel
WARNING: SSLSecurityLevel set very low (0-1). Your connection may not be 
secure. See https://bit.ly/sslseclevel
..
WARNING: SSLSecurityLevel set very low (0-1). Your connection may not be 
secure. See https://bit.ly/sslseclevel
WARNING: Failed to determine the time of the last synchronisation -- checks not 
performed.
WARNING: SSLSecurityLevel set very low (0-1). Your connection may not be 
secure. See https://bit.ly/sslseclevel
Waiting for server to die (pid 1934488): . done.
NOTICE:  test_restore_deleted_files passed


== test_locked_file_behaviour ==
WARNING: SSLSecurityLevel set very low (0-1). Your connection may not be 
secure. See https://bit.ly/sslseclevel
NOTICE:  skipping test on this platform
Waiting for server to die (pid 1934549): . done.
NOTICE:  test_locked_file_behaviour passed


== test_backup_many_files ==
WARNING: SSLSecurityLevel set very low (0-1). Your connection may not be 
secure. See https://bit.ly/sslseclevel
WARNING: location path is not absolute: testfiles/TestDir1
WARNING: SSLSecurityLevel set very low (0-1). Your connection may not be 
secure. See https://bit.ly/sslseclevel
WARNING: Failed to determine the time of the last synchronisation -- checks not 
performed.
Waiting for server to die (pid 1934585): . done.
NOTICE:  test_backup_many_files passed


== test_parse_incomplete_command ==
NOTICE:  test_parse_incomplete_command passed


== test_parse_syncallowscript_output ==
NOTICE:  SyncAllowScript requested a delay of 1234 seconds (test)
NOTICE:  SyncAllowScript did not set a maximum bandwidth (test)
NOTICE:  SyncAllowScript requested a delay of 1234 seconds (test)
NOTICE:  SyncAllowScript set maximum bandwidth to 5 kB/s (test)
NOTICE:  SyncAllowScript requested a backup now (test)
NOTICE:  SyncAllowScript did not set a maximum bandwidth (test)
NOTICE:  test_parse_syncallowscript_output passed

WARNING: this should be run as root


Setup bbackupd config utility.

Configuration:
   Writing configuration file: 
/<<PKGBUILDDIR>>/release/test/bbackupd/testfiles/tmp/bbackupd.conf
   Account: 12345
   Server hostname: localhost
   Directories to back up:
      /<<PKGBUILDDIR>>/release/test/bbackupd/testfiles/TestDir1

Note: If other file systems are mounted inside these directories, then
they will NOT be backed up. You will have to create separate locations for
any mounted filesystems inside your backup locations.

Creating /<<PKGBUILDDIR>>/release/test/bbackupd/testfiles/tmp/bbackupd
Generating private key...
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [AU]:State or Province Name (full name) 
[Some-State]:Locality Name (eg, city) []:Organization Name (eg, company) 
[Internet Widgits Pty Ltd]:Organizational Unit Name (eg, section) []:Common 
Name (e.g. server FQDN or YOUR name) []:Email Address []:
Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:An optional company name []:

Generating keys for file backup
Writing notify script 
/<<PKGBUILDDIR>>/release/test/bbackupd/testfiles/tmp/bbackupd/NotifySysadmin.sh
Writing configuration file 
/<<PKGBUILDDIR>>/release/test/bbackupd/testfiles/tmp/bbackupd.conf

===================================================================

bbackupd basic configuration complete.

What you need to do now...

1) Make a backup of 
/<<PKGBUILDDIR>>/release/test/bbackupd/testfiles/tmp/bbackupd/12345-FileEncKeys.raw
   This should be a secure offsite backup.
   Without it, you cannot restore backups. Everything else can
   be replaced. But this cannot.
   KEEP IT IN A SAFE PLACE, OTHERWISE YOUR BACKUPS ARE USELESS.

2) Send 
/<<PKGBUILDDIR>>/release/test/bbackupd/testfiles/tmp/bbackupd/12345-csr.pem
   to the administrator of the backup server, and ask for it to
   be signed.

3) The administrator will send you two files. Install them as
      
/<<PKGBUILDDIR>>/release/test/bbackupd/testfiles/tmp/bbackupd/12345-cert.pem
      /<<PKGBUILDDIR>>/release/test/bbackupd/testfiles/tmp/bbackupd/serverCA.pem
   after checking their authenticity.

4) You may wish to read the configuration file
      /<<PKGBUILDDIR>>/release/test/bbackupd/testfiles/tmp/bbackupd.conf
   and adjust as appropriate.
There are some notes in it on excluding files you do not
   wish to be backed up.

5) Review the script
      
/<<PKGBUILDDIR>>/release/test/bbackupd/testfiles/tmp/bbackupd/NotifySysadmin.sh
   and check that it will email the right person when the store
   becomes full. This is important -- when the store is full, no
   more files will be backed up. You want to know about this.

6) Start the backup daemon with the command
      /usr/local/sbin/bbackupd 
/<<PKGBUILDDIR>>/release/test/bbackupd/testfiles/tmp/bbackupd.conf
   in /etc/rc.local, or your local equivalent.
   Note that bbackupd must run as root.

===================================================================

Remember to make a secure, offsite backup of your backup keys,
as described in step 1 above. If you do not, you have no backups.


WARNING: this should be run as root

Checking permissions on testfiles/0_0/backup
Checking permissions on testfiles/0_1/backup
Checking permissions on testfiles/0_2/backup

Setup bbstored config utility.

Configuration:
   Writing configuration file: testfiles/tmp/bbstored.conf
   Writing empty accounts file: testfiles/tmp/bbstored/accounts.txt
   Server hostname: localhost
   RaidFile config: testfiles/raidfile.conf

Creating testfiles/tmp/bbstored
Creating blank accounts file
Generating private key...
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [AU]:State or Province Name (full name) 
[Some-State]:Locality Name (eg, city) []:Organization Name (eg, company) 
[Internet Widgits Pty Ltd]:Organizational Unit Name (eg, section) []:Common 
Name (e.g. server FQDN or YOUR name) []:Email Address []:
Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:An optional company name []:

Writing configuration file testfiles/tmp/bbstored.conf

===================================================================

bbstored basic configuration complete.

What you need to do now...

1) Sign testfiles/tmp/bbstored/localhost-csr.pem
   using the bbstored-certs utility.

2) Install the server certificate and root CA certificate as
      testfiles/tmp/bbstored/localhost-cert.pem
      testfiles/tmp/bbstored/clientCA.pem

3) You may wish to read the configuration file
      testfiles/tmp/bbstored.conf
   and adjust as appropraite.

4) Create accounts with bbstoreaccounts

5) Start the backup store daemon with the command
      /usr/local/sbin/bbstored testfiles/tmp/bbstored.conf
   in /etc/rc.local, or your local equivalent.

===================================================================

You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [AU]:State or Province Name (full name) 
[Some-State]:Locality Name (eg, city) []:Organization Name (eg, company) 
[Internet Widgits Pty Ltd]:Organizational Unit Name (eg, section) []:Common 
Name (e.g. server FQDN or YOUR name) []:Email Address []:
Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:An optional company name []:

Warning: ignoring -extensions option without -extfile
Certificate request self-signature ok
subject=CN=Backup system client root
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [AU]:State or Province Name (full name) 
[Some-State]:Locality Name (eg, city) []:Organization Name (eg, company) 
[Internet Widgits Pty Ltd]:Organizational Unit Name (eg, section) []:Common 
Name (e.g. server FQDN or YOUR name) []:Email Address []:
Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:An optional company name []:

Warning: ignoring -extensions option without -extfile
Certificate request self-signature ok
subject=CN=Backup system server root

This certificate is for backup account

   12345

Ensure this matches the account number you are expecting. The filename is

   testfiles/tmp/bbackupd/12345-csr.pem

which should include this account number, and additionally, you should check
that you received it from the right person.

Signing the wrong certificate compromises the security of your backup system.

Would you like to sign this certificate? (type 'yes' to confirm)
Warning: ignoring -extensions option without -extfile
Certificate request self-signature ok
subject=CN=BACKUP-12345


Certificate signed.

Send the files

   testfiles/tmp/ca/clients/12345-cert.pem
   testfiles/tmp/ca/roots/serverCA.pem

to the client.


This certificate is for backup server

   localhost

Signing the wrong certificate compromises the security of your backup system.

Would you like to sign this certificate? (type 'yes' to confirm)
Warning: ignoring -extensions option without -extfile
Certificate request self-signature ok
subject=CN=localhost


Certificate signed.

Install the files

   testfiles/tmp/ca/servers/localhost-cert.pem
   testfiles/tmp/ca/roots/clientCA.pem

on the server.

NOTICE:  Account 0x00012345 created.


== test_bbackupd_config_script ==
ERROR:   SSL or crypto error: connecting: error:0A000086:SSL 
routines::certificate verify failed
WARNING: Exception thrown: ConnectionException(TLSHandshakeFailed) (Failed to 
connect: error:0A000086:SSL routines::certificate verify failed) at 
lib/server/SocketStreamTLS.cpp:247
NOTICE:  test_bbackupd_config_script errored: TLSHandshakeFailed: Failed to 
connect: error:0A000086:SSL routines::certificate verify failed
NOTICE:  test_bbackupd_config_script failed
ERROR:   **** TEST FAILURE: Condition [test_bbackupd_config_script()] failed at 
test/bbackupd/testbbackupd.cpp:4305
Waiting for server to die (pid 1934742): . done.

Test results:
NOTICE:  test result: passed: test_absolute_symlinks_not_followed_during_restore
NOTICE:  test result: passed: test_backup_disappearing_directory
NOTICE:  test result: passed: test_backup_hardlinked_files
NOTICE:  test result: passed: test_backup_many_files
NOTICE:  test result: passed: test_backup_pauses_when_store_is_full
NOTICE:  test result: passed: test_basics
NOTICE:  test result: ERRORED: test_bbackupd_config_script
NOTICE:  test result: passed: test_bbackupd_exclusions
NOTICE:  test result: passed: test_bbackupd_responds_to_connection_failure
NOTICE:  test result: passed: test_bbackupd_uploads_files
NOTICE:  test result: passed: test_bbackupquery_parser_escape_slashes
NOTICE:  test result: passed: test_change_file_to_symlink_and_back
NOTICE:  test result: passed: test_changing_client_store_marker_pauses_daemon
NOTICE:  test result: passed: test_compare_detects_attribute_changes
NOTICE:  test result: passed: test_continuously_updated_file
NOTICE:  test result: passed: test_delete_dir_change_attribute
NOTICE:  test result: passed: test_delete_update_and_symlink_files
NOTICE:  test result: passed: test_excluded_files_are_not_backed_up
NOTICE:  test result: passed: test_file_rename_tracking
NOTICE:  test result: passed: test_getobject_on_nonexistent_file
NOTICE:  test result: passed: test_initially_missing_locations_are_not_forgotten
NOTICE:  test result: passed: test_interrupted_restore_can_be_recovered
NOTICE:  test result: passed: test_locked_file_behaviour
NOTICE:  test result: passed: test_parse_incomplete_command
NOTICE:  test result: passed: test_parse_syncallowscript_output
NOTICE:  test result: passed: test_read_error_reporting
NOTICE:  test result: passed: test_read_only_dirs_can_be_restored
NOTICE:  test result: passed: test_readdirectory_on_nonexistent_dir
NOTICE:  test result: passed: test_redundant_locations_deleted_on_time
NOTICE:  test result: passed: test_rename_operations
NOTICE:  test result: passed: test_restore_deleted_files
NOTICE:  test result: passed: test_restore_files_and_directories
NOTICE:  test result: passed: test_ssl_keepalives
NOTICE:  test result: passed: test_store_error_reporting
NOTICE:  test result: passed: test_sync_allow_script_can_pause_backup
NOTICE:  test result: passed: test_sync_files_with_timestamps_in_future
NOTICE:  test result: passed: test_sync_new_files
NOTICE:  test result: passed: test_unicode_filenames_can_be_backed_up
NOTICE:  test result: passed: test_upload_very_old_files
FAILED: 2 tests failed (first at :0)
make[2]: Entering directory '/<<PKGBUILDDIR>>/test/s3store'
make -C ../.. release/test/s3store/_test
make[3]: Entering directory '/<<PKGBUILDDIR>>'
g++ -Wdate-time -D_FORTIFY_SOURCE=2  -g -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -Wall -Werror=return-type 
-Werror=delete-non-virtual-dtor -Werror=delete-incomplete -Wno-deprecated-declarations 
-DBOX_VERSION="\"0.13~~git20231028.g3dd5194+ds-2\"" -DBOX_RELEASE_BUILD -O2 -Ilib/backupclient 
-Ilib/backupstore -Ilib/raidfile -Ilib/compress -Ilib/httpserver -Ilib/server -Iqdbm -Ilib/crypto -Ilib/common -Ilib/win32 
-DBOX_MODULE="\"test/s3store\"" -c test/s3store/_main.cpp -o release/test/s3store/_main.o
g++ -Wdate-time -D_FORTIFY_SOURCE=2  -g -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -Wall -Werror=return-type 
-Werror=delete-non-virtual-dtor -Werror=delete-incomplete -Wno-deprecated-declarations 
-DBOX_VERSION="\"0.13~~git20231028.g3dd5194+ds-2\"" -DBOX_RELEASE_BUILD -O2 -Ilib/backupclient 
-Ilib/backupstore -Ilib/raidfile -Ilib/compress -Ilib/httpserver -Ilib/server -Iqdbm -Ilib/crypto -Ilib/common -Ilib/win32 
-DBOX_MODULE="\"test/s3store\"" -c test/s3store/tests3store.cpp -o release/test/s3store/tests3store.o
g++ -Wdate-time -D_FORTIFY_SOURCE=2  -g -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -Wall -Werror=return-type 
-Werror=delete-non-virtual-dtor -Werror=delete-incomplete -Wno-deprecated-declarations 
-DBOX_VERSION="\"0.13~~git20231028.g3dd5194+ds-2\"" -DBOX_RELEASE_BUILD -O2 -Ilib/httpserver -Ilib/server 
-Iqdbm -Ilib/crypto -Ilib/common -Ilib/win32 -DBOX_MODULE="\"bin/s3simulator\"" -c 
bin/s3simulator/s3simulator.cpp -o release/bin/s3simulator/s3simulator.o
g++ -Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -rdynamic  -o 
release/bin/s3simulator/s3simulator release/bin/s3simulator/s3simulator.o 
release/lib/httpserver/httpserver.a release/lib/server/server.a 
release/qdbm/qdbm.a release/lib/crypto/crypto.a release/lib/common/common.a 
release/lib/win32/win32.a  -lbsd -lcrypto -lssl -ldb -lz  -ledit
g++ -Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -rdynamic  -o 
release/test/s3store/_test release/test/s3store/_main.o 
release/test/s3store/tests3store.o release/lib/backupclient/backupclient.a 
release/lib/backupstore/backupstore.a release/lib/raidfile/raidfile.a 
release/lib/compress/compress.a release/lib/httpserver/httpserver.a 
release/lib/server/server.a release/qdbm/qdbm.a release/lib/crypto/crypto.a 
release/lib/common/common.a release/lib/win32/win32.a  -lbsd -lcrypto -lssl 
-ldb -lz  -ledit
cp test/s3store/t release/test/s3store/t
chmod u+x release/test/s3store/t
cp test/s3store/t-gdb release/test/s3store/t-gdb
chmod u+x release/test/s3store/t-gdb
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/test/s3store'
TEST: test/s3store
Killing any running daemons...
Removing old test files...
chmod: cannot access 'testfiles': No such file or directory
Copying new test files...
NOTICE:  Running test s3store in release mode...


== test_create_account_with_account_control ==
Waiting for server to die (pid 1934818): . done.
NOTICE:  test_create_account_with_account_control passed

Test results:
NOTICE:  test result: passed: test_create_account_with_account_control
PASSED
make[2]: Entering directory '/<<PKGBUILDDIR>>/test/httpserver'
make -C ../.. release/test/httpserver/_test
make[3]: Entering directory '/<<PKGBUILDDIR>>'
g++ -Wdate-time -D_FORTIFY_SOURCE=2  -g -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -Wall -Werror=return-type 
-Werror=delete-non-virtual-dtor -Werror=delete-incomplete -Wno-deprecated-declarations 
-DBOX_VERSION="\"0.13~~git20231028.g3dd5194+ds-2\"" -DBOX_RELEASE_BUILD -O2 -Ilib/httpserver -Ilib/server 
-Iqdbm -Ilib/crypto -Ilib/common -Ilib/win32 -DBOX_MODULE="\"test/httpserver\"" -c test/httpserver/_main.cpp -o 
release/test/httpserver/_main.o
g++ -Wdate-time -D_FORTIFY_SOURCE=2  -g -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -Wall -Werror=return-type 
-Werror=delete-non-virtual-dtor -Werror=delete-incomplete -Wno-deprecated-declarations 
-DBOX_VERSION="\"0.13~~git20231028.g3dd5194+ds-2\"" -DBOX_RELEASE_BUILD -O2 -Ilib/httpserver -Ilib/server 
-Iqdbm -Ilib/crypto -Ilib/common -Ilib/win32 -DBOX_MODULE="\"test/httpserver\"" -c 
test/httpserver/testhttpserver.cpp -o release/test/httpserver/testhttpserver.o
g++ -Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -rdynamic  -o 
release/test/httpserver/_test release/test/httpserver/_main.o 
release/test/httpserver/testhttpserver.o release/lib/httpserver/httpserver.a 
release/lib/server/server.a release/qdbm/qdbm.a release/lib/crypto/crypto.a 
release/lib/common/common.a release/lib/win32/win32.a  -lbsd -lcrypto -lssl 
-ldb -lz  -ledit
cp test/httpserver/t release/test/httpserver/t
chmod u+x release/test/httpserver/t
cp test/httpserver/t-gdb release/test/httpserver/t-gdb
chmod u+x release/test/httpserver/t-gdb
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/test/httpserver'
TEST: test/httpserver
Killing any running daemons...
Removing old test files...
chmod: cannot access 'testfiles': No such file or directory
Copying new test files...
NOTICE:  Running test httpserver in release mode...
GET request...
POST request...
HEAD request...
Redirected GET request...
Cookie tests...
Waiting for server to die (pid 1934889): . done.
NOTICE:  200 GET /photos/puppy.jpg
NOTICE:  401 GET /photos/puppy.jpg
NOTICE:  200 GET /photos/puppy.jpg
NOTICE:  200 GET /photos/puppy.jpg
WARNING: Exception thrown: CommonException(OSFileOpenError) (Failed to open 
file: testfiles/nonexist: No such file or directory (2)) at 
lib/common/FileStream.cpp:89
NOTICE:  404 GET /nonexist
NOTICE:  200 PUT /newfile
NOTICE:  200 GET /newfile
NOTICE:  200 PUT /newfile
Waiting for server to die (pid 1934925): . done.
PASSED
--------
common: PASSED
crypto: PASSED
compress: PASSED
raidfile: PASSED
basicserver: PASSED
backupstore: PASSED
backupstorefix: PASSED
backupstorepatch: PASSED
backupdiff: PASSED
bbackupd: FAILED: 2 tests failed (first at :0)
s3store: PASSED
httpserver: PASSED

One or more tests have failed. Please check the following common causes:

* Check that no instances of bbstored or bbackupd are already running
  on this machine.
* Make sure there isn't a firewall blocking incoming or outgoing connections
  on port 2201.
* Check that there is sufficient space in the filesystem that the tests
  are being run from (at least 1 GB free).
* The backupdiff test fails if it takes too long, so it's sensitive to
  the speed of the host and your connection to it.

After checking all the above, if you still have problems please contact
us on the mailing list, boxbac...@boxbackup.org. Thanks!
make[1]: *** [debian/rules:38: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:24: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202405/

About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large from AWS, using sbuild and a
reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.

Reply via email to