[Box Backup] Need to reload bbackupd conf to avoid timeouts?
Tobias Balle-Petersen
boxbackup@fluffy.co.uk
Fri, 29 Dec 2006 13:37:25 +0100
Hello Chris,
Any ideas on how to solve the problem described below?
Thanks,
Tobias
Tobias Balle-Petersen wrote:
> Hello Chris,
>
>> Please could you add a line to
>> infrastructure/buildenv-testmain-template.cpp, after "#include
>> <errno.h>", add:
>>
>> #include <string>
>>
>> and reconfigure and run tests again?
>
> I have added the above. I still get an error when I run the tests. See
> log below.
>
>
> From the edited files:
>
> lib/common/DebugMemLeakFinder.cpp:
> #include <map>
> #include <stdio.h>
> #include <string.h>
> #include <set>
> #include "MemLeakFinder.h"
>
> infrastructure/buildenv-testmain-template.cpp:
> #include "stdio.h"
> #include <exception>
> #include <sys/types.h>
> #include <unistd.h>
> #include <stdlib.h>
> #include <stdarg.h>
> #include <fcntl.h>
> #include <errno.h>
> #include <string>
>
>
> The logs:
>
> B08-TBP-KP:~/timeout-fix-r1194/bin/bbackupd kpadmin$ bsdmake
> (cd ../../lib/common; bsdmake -D NODEPS)
> g++ -g -Wall -DBOX_VERSION="\"_exported\"" -g -Wall -c
> autogen_CommonException.cpp -o
> ../../debug/lib/common/autogen_CommonException.o
> g++ -g -Wall -DBOX_VERSION="\"_exported\"" -g -Wall -c
> autogen_ConversionException.cpp -o
> ../../debug/lib/common/autogen_ConversionException.o
> g++ -g -Wall -DBOX_VERSION="\"_exported\"" -g -Wall -c
> ConversionString.cpp -o ../../debug/lib/common/ConversionString.o
> ............
> ............
> ............
> g++ -g -Wall -I../../lib/common -I../../lib/server -I../../lib/compress
> -I../../lib/crypto -I../../lib/win32 -I../../lib/backupclient
> -DBOX_VERSION="\"_exported\"" -g -Wall -c BackupDaemon.cpp -o
> ../../debug/bin/bbackupd/BackupDaemon.o
> g++ -o ../../debug/bin/bbackupd/bbackupd
> ../../debug/bin/bbackupd/BackupClientContext.o
> ../../debug/bin/bbackupd/BackupClientDeleteList.o
> ../../debug/bin/bbackupd/BackupClientDirectoryRecord.o
> ../../debug/bin/bbackupd/BackupClientInodeToIDMap.o
> ../../debug/bin/bbackupd/BackupDaemon.o
> ../../debug/bin/bbackupd/bbackupd.o
> ../../debug/bin/bbackupd/Win32BackupService.o
> ../../debug/bin/bbackupd/Win32ServiceFunctions.o
> ../../debug/lib/backupclient/backupclient.a
> ../../debug/lib/win32/win32.a ../../debug/lib/crypto/crypto.a
> ../../debug/lib/compress/compress.a ../../debug/lib/server/server.a
> ../../debug/lib/common/common.a -lcrypto -lssl -lz
> /usr/bin/ld: warning empty table of contents:
> ../../debug/lib/win32/win32.a (can't load from it)
>
>
>
>
> B08-TBP-KP:~/timeout-fix-r1194 kpadmin$ ./runtest.pl bbackupd debug
> svn: '.' is not a working copy
> (cd ../../lib/common; bsdmake -D NODEPS)
> `../../debug/lib/common/common.a' is up to date.
> (cd ../../lib/compress; bsdmake -D NODEPS)
> `../../debug/lib/compress/compress.a' is up to date.
> (cd ../../lib/crypto; bsdmake -D NODEPS)
> `../../debug/lib/crypto/crypto.a' is up to date.
> (cd ../../lib/server; bsdmake -D NODEPS)
> `../../debug/lib/server/server.a' is up to date.
> (cd ../../lib/backupclient; bsdmake -D NODEPS)
> `../../debug/lib/backupclient/backupclient.a' is up to date.
> (cd ../../lib/raidfile; bsdmake -D NODEPS)
> ............
> ............
> b/backupstore -I../../lib/intercept -I../../bin/bbackupctl
> -I../../bin/bbackupquery -I../../bin/bbstoreaccounts
> -I../../bin/bbstored -I../../bin/bbackupd -DBOX_VERSION="\"_exported\""
> -g -Wall -c _main.cpp -o ../../debug/test/bbackupd/_main.o
> g++ -g -Wall -I../../lib/common -I../../lib/compress -I../../lib/crypto
> -I../../lib/server -I../../lib/backupclient -I../../lib/raidfile
> -I../../lib/win32 -I../../lib/backupstore -I../../lib/intercept
> -I../../bin/bbackupctl -I../../bin/bbackupquery
> -I../../bin/bbstoreaccounts -I../../bin/bbstored -I../../bin/bbackupd
> -DBOX_VERSION="\"_exported\"" -g -Wall -c testbbackupd.cpp -o
> ../../debug/test/bbackupd/testbbackupd.o
> ../../lib/common/Test.h: In function 'int RunCommand(const char*)':
> ../../lib/common/Test.h:101: error: variable 'std::string command' has
> initializer but incomplete type
> *** Error code 1
>
> Stop in /Users/kpadmin/timeout-fix-r1194/test/bbackupd.
> --------
> bbackupd: make failed
>
>
> Thanks,
> Tobias
> _______________________________________________
> boxbackup mailing list
> boxbackup@fluffy.co.uk
> http://lists.warhead.org.uk/mailman/listinfo/boxbackup
>