Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jul 2019 11:54:49 +0200
From:      Andrea Brancatelli <abrancatelli@schema31.it>
To:        bacula-users <bacula-users@lists.sourceforge.net>, ports@freebsd.org
Subject:   Problems with Bacula 9.4.3 port on FreeBSD
Message-ID:  <f45f50056b2ce1d806e5c2782113b1b5@schema31.it>

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

I was trying to upgrade our Bacula 9.4.2 to 9.4.3 on FreeBSD. 

I have to compile it from ports and not use binaries as the official PKG
uses pgsql while we're using mysql. 

Anyhow, halfway through the compilation I get this error: 

Linking bacula-dir ...
/usr/ports/sysutils/bacula9-server/work/bacula-9.4.3/libtool --silent
--tag=CXX --mode=link /usr/bin/c++ -L/usr/local/lib -L/usr/local/lib
-fstack-protector-strong -L../lib -L../cats -L../findlib -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 -lz -lbacfind
-lbacsql -lbaccats -lbaccfg -lbac -lm -lpthread -lintl -lwrap
/usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -lssl -lcrypto
/usr/bin/ld: error: undefined symbol: BDB::bdb_get_client_pool(JCR*,
alist*)
>>> referenced by ua_prune.c
>>> ua_prune.o:(prunecmd(UAContext*, char const*))
c++: error: linker command failed with exit code 1 (use -v to see
invocation)
*** [bacula-dir] Error code 1 

I suppose this is related to
https://fossies.org/diffs/bacula/9.4.2_vs_9.4.3/src/cats/sql_get.c-diff.html
which looks like a new function... ? 

Any idea about what could be causing the error? 

Thanks 

-- 

Andrea Brancatelli
From owner-freebsd-ports@freebsd.org  Fri Jul 12 10:02:32 2019
Return-Path: <owner-freebsd-ports@freebsd.org>
Delivered-To: freebsd-ports@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9F3E215EB8FD
 for <freebsd-ports@mailman.ysv.freebsd.org>;
 Fri, 12 Jul 2019 10:02:32 +0000 (UTC) (envelope-from pi@freebsd.org)
Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org
 [IPv6:2001:1900:2254:206a::50:5])
 by mx1.freebsd.org (Postfix) with ESMTP id 3189B8FAD8
 for <freebsd-ports@freebsd.org>; Fri, 12 Jul 2019 10:02:32 +0000 (UTC)
 (envelope-from pi@freebsd.org)
Received: by mailman.ysv.freebsd.org (Postfix)
 id E79A715EB8FB; Fri, 12 Jul 2019 10:02:31 +0000 (UTC)
Delivered-To: ports@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id D4B8F15EB8FA
 for <ports@mailman.ysv.freebsd.org>; Fri, 12 Jul 2019 10:02:31 +0000 (UTC)
 (envelope-from pi@freebsd.org)
Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 server-signature RSA-PSS (4096 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 6A5BE8FAD0;
 Fri, 12 Jul 2019 10:02:31 +0000 (UTC) (envelope-from pi@freebsd.org)
Received: from pi by home.opsec.eu with local (Exim 4.92 (FreeBSD))
 (envelope-from <pi@freebsd.org>)
 id 1hlsNn-000DT3-Jf; Fri, 12 Jul 2019 12:02:27 +0200
Date: Fri, 12 Jul 2019 12:02:27 +0200
From: Kurt Jaeger <pi@freebsd.org>
To: Oliver Schonrock <oliver@schonrocks.com>
Cc: joneum@freebsd.org, sunpoet@freebsd.org, ports@freebsd.org
Subject: Re: Potential New FreeBSD Port: php72-pecl-DS - Data Structures
Message-ID: <20190712100227.GH34918@home.opsec.eu>
References: <dd198992-140a-76e9-d402-a4738702337c@schonrocks.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <dd198992-140a-76e9-d402-a4738702337c@schonrocks.com>
X-BeenThere: freebsd-ports@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Porting software to FreeBSD <freebsd-ports.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-ports>,
 <mailto:freebsd-ports-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports/>;
List-Post: <mailto:freebsd-ports@freebsd.org>
List-Help: <mailto:freebsd-ports-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-ports>,
 <mailto:freebsd-ports-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 12 Jul 2019 10:02:32 -0000

Hi!

> If it is the latter, and there are no known issues, I am happy to help
> create/compile/test. The extension is very actively maintained, and devs
> have offered help.

Can you submit a patch to add this port to bugs.freebsd.org ?

-- 
pi@opsec.eu            +49 171 3101372                    One year to go !



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