From owner-freebsd-ports@freebsd.org Fri Oct 9 23:19:56 2015 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1437F9D23DE for ; Fri, 9 Oct 2015 23:19:56 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [IPv6:2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "thebighonker.lerctr.org", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8D2D21126 for ; Fri, 9 Oct 2015 23:19:55 +0000 (UTC) (envelope-from ler@lerctr.org) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=lerami; h=Message-ID:Subject:To:From:Date:Content-Transfer-Encoding: Content-Type:MIME-Version; bh=jLgsuHLwQXNsoufGV2M9N95gLTSMz0aBRariZGy0iWM=; b=fuDDaUb0zrofd7CtNKcFQMrWW7VQ+K5hrhLEP8apu/i6a4+zogD+KKRt071YfA7mB7AjcXiCNF IIlwJjUpkrJBTCN8B+qEWpUJLRQWIuzYeXEbg9UE0wZVkjSkErf23sc7r3uNeKR5Jyf3gQaekrp/o iBYIU8G3t9XVVSlkkxBg=; Received: from thebighonker.lerctr.org ([2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]:23535 helo=webmail.lerctr.org) by thebighonker.lerctr.org with esmtpsa (TLSv1:ECDHE-RSA-AES128-SHA:128) (Exim 4.86 (FreeBSD)) (envelope-from ) id 1Zkgx8-0008Fi-1p for freebsd-ports@freebsd.org; Fri, 09 Oct 2015 18:19:54 -0500 Received: from cpe-70-113-56-244.austin.res.rr.com ([70.113.56.244]) by webmail.lerctr.org with HTTP (HTTP/1.1 POST); Fri, 09 Oct 2015 18:19:53 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 09 Oct 2015 18:19:53 -0500 From: Larry Rosenman To: Freebsd ports Subject: HELP: Bacula compile with older version installed Message-ID: <6a6589e34fa675cee98181e74325474a@thebighonker.lerctr.org> X-Sender: ler@lerctr.org User-Agent: Roundcube Webmail/1.1.3 X-Spam-Score: -1.0 (-) X-LERCTR-Spam-Score: -1.0 (-) X-Spam-Report: SpamScore (-1.0/5.0) ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 X-LERCTR-Spam-Report: SpamScore (-1.0/5.0) ALL_TRUSTED=-1, SHORTCIRCUIT=-0.0001 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Oct 2015 23:19:56 -0000 Related to BZ# 193641, the new 7.2.0 bacula port doesn't link if the 7.0.5 packages are installed. we get: ==>Entering directory /var/ports/basejail/usr/ports/sysutils/bacula-server/work/bacula-7.2.0/src/dird --- bacula-dir --- Linking bacula-dir ... /var/ports/basejail/usr/ports/sysutils/bacula-server/work/bacula-7.2.0/libtool --silent --tag=CXX --mode=link /usr/bin/c++ -L../lib -L../cats -L../findlib -L/usr/local/lib -L/usr/local/lib -fstack-protector -o bacula-dir dird.o admin.o authenticate.o autoprune.o backup.o bsr.o catreq.o dir_plugins.o dird_conf.o expand.o fd_cmds.o getmsg.o inc_conf.o job.o jobq.o mac.o mac_sql.o mountreq.o msgchan.o next_vol.o newvol.o recycle.o restore.o run_conf.o scheduler.o ua_acl.o ua_cmds.o ua_dotcmds.o ua_query.o ua_input.o ua_label.o ua_output.o ua_prune.o ua_purge.o ua_restore.o ua_run.o ua_select.o ua_server.o snapshot.o ua_status.o ua_tree.o ua_update.o vbackup.o verify.o -lbacfind -lbacsql -lbaccats -lbaccfg -lbac -lm -lpthread -lintl -lwrap /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -lssl -lcrypto dird.o: In function `main': dird.c:(.text+0x2f3): undefined reference to `debug_level_tags' dird.o: In function `check_catalog(cat_op)': dird.c:(.text+0x215b): undefined reference to `set_db_engine_name(char const*)' backup.o: In function `update_bootstrap_file(JCR*)': backup.c:(.text+0x2635): undefined reference to `open_bpipe(char*, int, char const*, char**)' dir_plugins.o: In function `generate_plugin_event': dir_plugins.c:(.text+0x23): undefined reference to `b_plugin_list' dir_plugins.c:(.text+0xa7): undefined reference to `b_plugin_list' dir_plugins.c:(.text+0xe5): undefined reference to `b_plugin_list' dir_plugins.o: In function `load_dir_plugins': dir_plugins.c:(.text+0x264): undefined reference to `b_plugin_list' dir_plugins.c:(.text+0x28a): undefined reference to `b_plugin_list' dir_plugins.o:dir_plugins.c:(.text+0x30b): more undefined references to `b_plugin_list' follow fd_cmds.o: In function `restore_object_handler(void*, int, char**)': fd_cmds.c:(.text+0x1a4c): undefined reference to `BSOCK::send(int)' fd_cmds.c:(.text+0x1ac4): undefined reference to `BSOCK::send(int)' fd_cmds.o: In function `send_list_item(JCR*, char const*, char*, BSOCK*)': fd_cmds.c:(.text+0x2487): undefined reference to `BSOCK::send(int)' fd_cmds.c:(.text+0x24d4): undefined reference to `open_bpipe(char*, int, char const*, char**)' fd_cmds.c:(.text+0x25de): undefined reference to `BSOCK::send(int)' fd_cmds.c:(.text+0x2662): undefined reference to `BSOCK::send(int)' scheduler.o: In function `wait_for_next_job(char*)': scheduler.c:(.text+0x48): undefined reference to `debug_level_tags' scheduler.c:(.text+0x189): undefined reference to `debug_level_tags' scheduler.c:(.text+0x240): undefined reference to `debug_level_tags' scheduler.c:(.text+0x336): undefined reference to `debug_level_tags' scheduler.c:(.text+0x5eb): undefined reference to `debug_level_tags' scheduler.o:scheduler.c:(.text+0x81d): more undefined references to `debug_level_tags' follow ua_cmds.o: In function `wait_cmd(UAContext*, char const*)': ua_cmds.c:(.text+0x21cf): undefined reference to `job_status_to_str(int, int)' ua_dotcmds.o: In function `tagscmd(UAContext*, char const*)': ua_dotcmds.c:(.text+0x3472): undefined reference to `debug_get_tag(unsigned int, char const**)' ua_dotcmds.c:(.text+0x34ab): undefined reference to `debug_get_tag(unsigned int, char const**)' ua_output.o: In function `do_messages(UAContext*, char const*)': ua_output.c:(.text+0x2546): undefined reference to `BSOCK::send(int)' ua_output.o: In function `bmsg(UAContext*, char const*, __va_list_tag*)': ua_output.c:(.text+0x277e): undefined reference to `BSOCK::send(int)' snapshot.o: In function `snapshot_catreq(JCR*, BSOCK*)': snapshot.c:(.text+0x1605): undefined reference to `debug_level_tags' snapshot.c:(.text+0x175d): undefined reference to `debug_level_tags' snapshot.c:(.text+0x191f): undefined reference to `debug_level_tags' snapshot.c:(.text+0x1a1a): undefined reference to `debug_level_tags' snapshot.o: In function `SNAPSHOT_DBR::debug(int)': snapshot.c:(.text._ZN12SNAPSHOT_DBR5debugEi[_ZN12SNAPSHOT_DBR5debugEi]+0x2b): undefined reference to `debug_level_tags' ua_status.o: In function `list_dir_status_header(UAContext*)': ua_status.c:(.text+0x4e0): undefined reference to `b_plugin_list' ua_status.c:(.text+0x529): undefined reference to `b_plugin_list' ua_status.c:(.text+0x580): undefined reference to `b_plugin_list' /var/ports/basejail/usr/ports/sysutils/bacula-server/work/bacula-7.2.0/src/cats/.libs/libbacsql.so: undefined reference to `htable::init(void*, void*, int)' c++: error: linker command failed with exit code 1 (use -v to see invocation) *** [bacula-dir] Error code 1 make[3]: stopped in /var/ports/basejail/usr/ports/sysutils/bacula-server/work/bacula-7.2.0/src/dird 1 error make[3]: stopped in /var/ports/basejail/usr/ports/sysutils/bacula-server/work/bacula-7.2.0/src/dird ====== Error in /var/ports/basejail/usr/ports/sysutils/bacula-server/work/bacula-7.2.0/src/dird ====== *** [all] Error code 1 make[2]: stopped in /var/ports/basejail/usr/ports/sysutils/bacula-server/work/bacula-7.2.0 1 error make[2]: stopped in /var/ports/basejail/usr/ports/sysutils/bacula-server/work/bacula-7.2.0 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[1]: stopped in /basejail/usr/ports/sysutils/bacula-server *** Error code 1 Stop. make: stopped in /basejail/usr/ports/sysutils/bacula-server ports-play /usr/ports/sysutils/bacula-server # I moved the -L's before the ${LDFLAGS} stuff thinking that was the issue, but as you can see no luck. I have a jail setup with this config if we could get some help I'd appreciate it. -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: ler@lerctr.org US Mail: 7011 W Parmer Ln, Apt 1115, Austin, TX 78729-6961