Bug 244522

Summary: sysutils/bacula9-client : undefined symbol
Product: Ports & Packages Reporter: korsani
Component: Individual Port(s)Assignee: Dan Langille <dvl>
Status: In Progress ---    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (dvl)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description korsani 2020-02-29 17:32:36 UTC
Hi,

When compiling bacula9-client or bacula9-server (9.6.2), it fails with :

ld: error: undefined symbol: bstatcollect::~bstatcollect()

FreeBSD : 12.1-RELEASE-p2

And latest ports tree
Comment 1 Dan Langille freebsd_committer 2020-02-29 17:59:03 UTC
Please try pkg delete bacula9* first.
Comment 2 Dan Langille freebsd_committer 2020-02-29 18:01:18 UTC
Here is my successful build from yesterday:

https://services.unixathome.org/poudriere/data/121amd64-dvl/2020-02-28_14h04m14s/logs/bacula9-server-9.6.2.log
Comment 3 korsani 2020-02-29 18:04:46 UTC
(In reply to Dan Langille from comment #1)

Works fine.

Although it's confusing : compile fail while upgrading (portmaster -avD -bg). Nothing is said that when upgrading bacula I must delete old bacula first...
Comment 4 Dan Langille freebsd_committer 2020-02-29 18:27:08 UTC
It is something particular to building from ports when the package is already installed.  Several attempts have been made to fix this.

I think an UPDATING entry is called for.