Bug 276543

Summary: sysutils/bareos-server packaging fails on FreeBSD 13.2
Product: Ports & Packages Reporter: Tomáš Čiernik <tomas>
Component: Individual Port(s)Assignee: Jose Alonso Cardenas Marquez <acm>
Status: Closed FIXED    
Severity: Affects Only Me CC: tomas
Priority: --- Flags: bugzilla: maintainer-feedback? (acm)
Version: Latest   
Hardware: amd64   
OS: Any   
Attachments:
Description Flags
Fix pkg-plist for bareos-server-23.0.1 none

Description Tomáš Čiernik 2024-01-23 03:00:39 UTC
Created attachment 247865 [details]
Fix pkg-plist for bareos-server-23.0.1

bareos-server 23.0.1 packaging fails. Attached patch fixes this issue, but I didn't test created package in production and I am not quite sure I can simple remove all of them - especially libraries.

===>   Building bareos-server-23.0.1
pkg-static: Unable to access file /wrkdirs/usr/ports/sysutils/bareos-server/work/stage/usr/local/etc/bareos/bareos-dir.d/fileset/plugin-ovirt.conf.sample:No such file or directory
pkg-static: Fail to apply keyword 'sample'
pkg-static: Unable to access file /wrkdirs/usr/ports/sysutils/bareos-server/work/stage/usr/local/etc/bareos/bareos-dir.d/job/backup-ovirt.conf.sample:No such file or directory
pkg-static: Fail to apply keyword 'sample'
pkg-static: Unable to access file /wrkdirs/usr/ports/sysutils/bareos-server/work/stage/usr/local/lib/bareos/backends/libbareoscats-postgresql.so:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/sysutils/bareos-server/work/stage/usr/local/lib/bareos/scripts/make_catalog_backup.pl:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/sysutils/bareos-server/work/stage/usr/local/lib/libbareoscats.so:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/sysutils/bareos-server/work/stage/usr/local/lib/libbareoscats.so.23:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/sysutils/bareos-server/work/stage/usr/local/lib/libbareoscats.so.23.0.1:No such file or directory
*** Error code 1
Comment 1 commit-hook freebsd_committer freebsd_triage 2024-01-24 01:25:08 UTC
A commit in branch main references this bug:

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

commit 43926676d5f136ccfbfd9031c4b3cf57daca6ede
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2024-01-24 01:19:00 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2024-01-24 01:24:44 +0000

    sysutils/bareos-server: Fix pkg-plist

    - Remove obsolete option entries
    - Other minor modifications
    - Bump PORTREVISION

    PR:             276543
    Reported by:    tomas at_ ciernik.sk

 sysutils/bareos-server/Makefile  | 16 +---------------
 sysutils/bareos-server/pkg-plist | 41 +++++++++++++++++-----------------------
 2 files changed, 18 insertions(+), 39 deletions(-)
Comment 2 Jose Alonso Cardenas Marquez freebsd_committer freebsd_triage 2024-01-24 01:26:30 UTC
Committed with few modifications, thanks!