Bug 244522 - sysutils/bacula9-client : undefined symbol
Summary: sysutils/bacula9-client : undefined symbol
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dan Langille
Depends on:
Reported: 2020-02-29 17:32 UTC by korsani
Modified: 2021-02-26 20:23 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (dvl)


Note You need to log in before you can comment on or make changes to this bug.
Description korsani 2020-02-29 17:32:36 UTC

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:

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.
Comment 5 Dan Langille freebsd_committer 2021-02-25 23:19:40 UTC
Hey korsani@free.fr any luck building this?
Comment 6 korsani 2021-02-26 08:47:01 UTC

Seems to work today (v9.6.7, on amd64)

But I now use borg :)
Comment 7 Dan Langille freebsd_committer 2021-02-26 20:23:56 UTC
Thank you.