Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Oct 2013 10:47:35 +0200
From:      Carsten Jensen <tomse@tomse.dk>
To:        freebsd-ports@freebsd.org
Subject:   Bacula (client) 5.2.12 fails on compilation
Message-ID:  <525FA427.6010900@tomse.dk>

next in thread | raw e-mail | index | archive | help
Hello people.

I'm trying to upgrade my system, after an upgrade from 8.2 to 8.4p4
I'm now upgrading my ports too.

using portmaster -avD

but in compiling a new version of bacula I've encountered this error.

making a manual "make" gives the error, so does
make -DMAKE_JOBS_UNSAFE=yes

and also tried added MAKE_JOBS_UNSAFE=yes to /etc/make.conf, and running 
make after.

any ideas ?

cheers
Carsten

==== Make of findlib is good ====
==>Entering directory 
/usr/ports/sysutils/bacula-client/work/bacula-5.2.12/src/filed
Compiling filed.c
Compiling authenticate.c
Compiling acl.c
Compiling backup.c
Compiling estimate.c
Compiling fd_plugins.c
Compiling accurate.c
Compiling filed_conf.c
Compiling heartbeat.c
Compiling job.c
Compiling pythonfd.c
Compiling restore.c
Compiling status.c
Compiling verify.c
Compiling verify_vol.c
Compiling xattr.c
Linking bacula-fd ...
/usr/ports/sysutils/bacula-client/work/bacula-5.2.12/libtool --silent 
--tag=CXX --mode=link /usr/bin/c++  -L/usr/local/lib 
-Wl,-rpath=/usr/lib:/usr/local/lib -L../lib -L../findlib -o bacula-fd 
filed.o authenticate.o acl.o backup.o estimate.o fd_plugins.o accurate.o 
filed_conf.o heartbeat.o job.o pythonfd.o restore.o status.o verify.o 
verify_vol.o xattr.o    -lz -lbacfind -lbacpy -lbaccfg -lbac -lm 
-lpthread  -lintl   -lwrap /usr/local/lib/libintl.so 
/usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/lib 
-lssl -lcrypto   -llzo2
filed.o(.text+0x141): In function `terminate_filed(int)':
: undefined reference to `lmgr_cleanup_main()'
filed.o(.text+0x94d): In function `main':
: undefined reference to `lmgr_init_thread()'
authenticate.o(.text+0x10c): In function `authenticate_director(JCR*)':
: undefined reference to `bthread_mutex_lock_p(pthread_mutex**, char 
const*, int)'
authenticate.o(.text+0x13c): In function `authenticate_director(JCR*)':
: undefined reference to `bthread_mutex_unlock_p(pthread_mutex**, char 
const*, int)'
authenticate.o(.text+0x905): In function `authenticate_storagedaemon(JCR*)':
: undefined reference to `bthread_mutex_lock_p(pthread_mutex**, char 
const*, int)'
authenticate.o(.text+0x935): In function `authenticate_storagedaemon(JCR*)':
: undefined reference to `bthread_mutex_unlock_p(pthread_mutex**, char 
const*, int)'
backup.o(.text+0x59b): In function `encode_and_send_attributes(JCR*, 
FF_PKT*, int&)':
: undefined reference to `bthread_mutex_lock_p(pthread_mutex**, char 
const*, int)'
backup.o(.text+0x5dd): In function `encode_and_send_attributes(JCR*, 
FF_PKT*, int&)':
: undefined reference to `bthread_mutex_unlock_p(pthread_mutex**, char 
const*, int)'
fd_plugins.o(.text+0x412): In function `baculaAcceptFile(bpContext*, 
save_pkt*)':
: undefined reference to `accept_file(FF_PKT*)'
heartbeat.o(.text+0x47): In function `start_dir_heartbeat(JCR*)':
: undefined reference to `lmgr_thread_create(pthread**, pthread_attr* 
const*, void* (*)(void*), void*)'
heartbeat.o(.text+0xac): In function `start_heartbeat_monitor(JCR*)':
: undefined reference to `lmgr_thread_create(pthread**, pthread_attr* 
const*, void* (*)(void*), void*)'
job.o(.text+0x531d): In function `bootstrap_cmd(JCR*)':
: undefined reference to `bthread_mutex_lock_p(pthread_mutex**, char 
const*, int)'
job.o(.text+0x5378): In function `bootstrap_cmd(JCR*)':
: undefined reference to `bthread_mutex_unlock_p(pthread_mutex**, char 
const*, int)'
restore.o(.text+0x340d): In function `do_restore(JCR*)':
: undefined reference to `bthread_mutex_lock_p(pthread_mutex**, char 
const*, int)'
restore.o(.text+0x3452): In function `do_restore(JCR*)':
: undefined reference to `bthread_mutex_unlock_p(pthread_mutex**, char 
const*, int)'
status.o(.text+0xbb4): In function `list_running_jobs(STATUS_PKT*)':
: undefined reference to `bthread_mutex_lock_p(pthread_mutex**, char 
const*, int)'
status.o(.text+0xbee): In function `list_running_jobs(STATUS_PKT*)':
: undefined reference to `bthread_mutex_unlock_p(pthread_mutex**, char 
const*, int)'
status.o(.text+0x1024): In function `list_running_jobs(STATUS_PKT*)':
: undefined reference to `bthread_mutex_lock_p(pthread_mutex**, char 
const*, int)'
status.o(.text+0x1066): In function `list_running_jobs(STATUS_PKT*)':
: undefined reference to `bthread_mutex_unlock_p(pthread_mutex**, char 
const*, int)'
verify.o(.text+0x776): In function `verify_file(JCR*, FF_PKT*, bool)':
: undefined reference to `bthread_mutex_lock_p(pthread_mutex**, char 
const*, int)'
verify.o(.text+0x7ad): In function `verify_file(JCR*, FF_PKT*, bool)':
: undefined reference to `bthread_mutex_unlock_p(pthread_mutex**, char 
const*, int)'
verify_vol.o(.text+0x5ee): In function `do_verify_volume(JCR*)':
: undefined reference to `bthread_mutex_lock_p(pthread_mutex**, char 
const*, int)'
verify_vol.o(.text+0x633): In function `do_verify_volume(JCR*)':
: undefined reference to `bthread_mutex_unlock_p(pthread_mutex**, char 
const*, int)'
*** Error code 1
1 error

   ====== Error in 
/usr/ports/sysutils/bacula-client/work/bacula-5.2.12/src/filed ======


*** Error code 1
1 error
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop in /usr/ports/sysutils/bacula-client.
*** Error code 1

Stop in /usr/ports/sysutils/bacula-client.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?525FA427.6010900>