Bug 256801 - sysutils/bareos-server fails packaging.
Summary: sysutils/bareos-server fails packaging.
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: Jose Alonso Cardenas Marquez
Depends on:
Reported: 2021-06-24 04:28 UTC by dgilbert
Modified: 2021-08-04 19:43 UTC (History)
0 users

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

poudriere build log for failure. (406.41 KB, text/plain)
2021-06-24 04:29 UTC, dgilbert
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description dgilbert 2021-06-24 04:28:55 UTC
It all ends here:

===>  Building package for bareos-server-20.0.0_3
pkg-static: Unable to access file /wrkdirs/usr/ports/sysutils/bareos-server/work/stage/usr/local/lib/python3.8/site-packages/bareosdir.so:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/sysutils/bareos-server/work/stage/usr/local/lib/python3.8/site-packages/bareossd.so:No such file or directory
*** Error code 1

... now barossd.so is mentioned in the build, but I find no other mention of bareosdir.so.  I'll attach the full poudriere build file in a momment.

buildbox is 13.0p2 as is the jail.
Comment 1 dgilbert 2021-06-24 04:29:36 UTC
Created attachment 226026 [details]
poudriere build log for failure.
Comment 2 dgilbert 2021-06-24 22:39:44 UTC
so if I set:


in make.conf, this builds.
Comment 3 dgilbert 2021-08-04 16:24:16 UTC
Additional datapoint: choosing python in the config is what breaks the build.
Comment 4 commit-hook freebsd_committer 2021-08-04 19:42:35 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=dc3d1d77c99af20bcd7f91a6138fa3ce458ba0b9

commit dc3d1d77c99af20bcd7f91a6138fa3ce458ba0b9
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2021-08-04 19:38:49 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2021-08-04 19:40:38 +0000

    sysutils/bareos-server: fix pkg-plist

    * Fix packaging problem when python >= 3.8 is used by default

    PR:             256801
    Reported by:    dgilbert  at_  eicat.ca

 sysutils/bareos-server/Makefile  | 2 +-
 sysutils/bareos-server/pkg-plist | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
Comment 5 Jose Alonso Cardenas Marquez freebsd_committer 2021-08-04 19:43:15 UTC
It should fix the issue. Thanks for your report