From owner-freebsd-ports@FreeBSD.ORG Thu Oct 17 09:18:04 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 83AEBAD9 for ; Thu, 17 Oct 2013 09:18:04 +0000 (UTC) (envelope-from tomse@tomse.dk) Received: from pasmtpB.tele.dk (pasmtpb.tele.dk [80.160.77.98]) by mx1.freebsd.org (Postfix) with ESMTP id 23B652EF1 for ; Thu, 17 Oct 2013 09:18:03 +0000 (UTC) Received: from [192.168.5.89] (unknown [62.243.124.37]) by pasmtpB.tele.dk (Postfix) with ESMTP id 0D19C2D810C for ; Thu, 17 Oct 2013 10:47:35 +0200 (CEST) Message-ID: <525FA427.6010900@tomse.dk> Date: Thu, 17 Oct 2013 10:47:35 +0200 From: Carsten Jensen User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: Bacula (client) 5.2.12 fails on compilation Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Oct 2013 09:18:04 -0000 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.