Bug 256801

Summary: sysutils/bareos-server fails packaging.
Product: Ports & Packages Reporter: dgilbert
Component: Individual Port(s)Assignee: Jose Alonso Cardenas Marquez <acm>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (acm)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
poudriere build log for failure. none

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:

DEFAULT_VERSIONS+=python=3.7
DEFAULT_VERSIONS+=python3=3.7

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 freebsd_triage 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 freebsd_triage 2021-08-04 19:43:15 UTC
It should fix the issue. Thanks for your report