Bug 278312 - sysutils/bacula15-server
Summary: sysutils/bacula15-server
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Dan Langille
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-11 17:31 UTC by Dean E. Weimer
Modified: 2024-05-05 12:40 UTC (History)
1 user (show)

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


Attachments
Poudriere Build Log (102.54 KB, text/plain)
2024-04-11 17:31 UTC, Dean E. Weimer
no flags Details
fix broken S3 option, mangled by me (578 bytes, patch)
2024-04-12 14:46 UTC, Dan Langille
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dean E. Weimer 2024-04-11 17:31:33 UTC
Created attachment 249905 [details]
Poudriere Build Log

Fails to Install during Poudriere Build if S3 option is selected

Options selected:
# Options for bacula15-server-15.0.2                                                                                                                                                                                                     
_OPTIONS_READ=bacula15-server-15.0.2                                                                                                                                                                                                     
_FILE_COMPLETE_OPTIONS_LIST=IPV6 MTX NLS S3 MYSQL PGSQL SQLITE3                                                                                                                                                                          
OPTIONS_FILE_SET+=IPV6                                                                                                                                                                                                                   
OPTIONS_FILE_UNSET+=MTX                                                                                                                                                                                                                  
OPTIONS_FILE_SET+=NLS                                                                                                                                                                                                                    
OPTIONS_FILE_SET+=S3                                                                                                                                                                                                                     
OPTIONS_FILE_UNSET+=MYSQL                                                                                                                                                                                                                
OPTIONS_FILE_SET+=PGSQL                                                                                                                                                                                                                  
OPTIONS_FILE_UNSET+=SQLITE3                                  

Error from Build Log, Full log attached:
=======================<phase: package        >============================
===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2024-04-11T17:00:39+0000' 'PKG_NOTE_ports_top_git_hash=fa8ceaffe6' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=589ca2f8ef' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.1_1' NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building packages for bacula15-server-15.0.2_2
===>   Building bacula15-server-15.0.2_2
pkg-static: Unable to access file /wrkdirs/usr/ports/sysutils/bacula15-server/work/stage/usr/local/lib/bacula-sd-cloud-driver-15.0.2.so:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/sysutils/bacula15-server/work/stage/usr/local/lib/bacula-sd-cloud-driver.so:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/sysutils/bacula15-server/work/stage/usr/local/lib/bacula-sd-cloud-s3-driver-15.0.2.so:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/sysutils/bacula15-server/work/stage/usr/local/lib/bacula-sd-cloud-s3-driver.so:No such file or directory
*** Error code 1

Stop.
make: stopped in /usr/ports/sysutils/bacula15-server
=>> Cleaning up wrkdir
===>  Cleaning for bacula15-server-15.0.2_2
build of sysutils/bacula15-server | bacula15-server-15.0.2_2 ended at Thu Apr 11 12:01:24 CDT 2024
build time: 00:00:44
!!! build failure encountered !!!
Comment 1 Dan Langille freebsd_committer freebsd_triage 2024-04-11 18:52:23 UTC
I suspect they renamed it to bacula-sd-cloud-driver.so

root@140R-dvl:/wrkdirs/usr/ports/sysutils/bacula15-server/work # find . -name '*cloud*'
./bacula-15.0.2/platforms/rpms/redhat/bacula-cloud.spec.in
./bacula-15.0.2/src/stored/cloud_glacier.h
./bacula-15.0.2/src/stored/.libs/cloud_transfer_mgr.o
./bacula-15.0.2/src/stored/.libs/cloud_parts.o
./bacula-15.0.2/src/stored/.libs/bacula-sd-cloud-driver.so
./bacula-15.0.2/src/stored/.libs/bacula-sd-cloud-driver.la
./bacula-15.0.2/src/stored/.libs/cloud_dev.o
./bacula-15.0.2/src/stored/.libs/bacula-sd-cloud-driver-15.0.2.so
./bacula-15.0.2/src/stored/.libs/bacula-sd-cloud-driver.lai
./bacula-15.0.2/src/stored/cloud_transfer_mgr.h
./bacula-15.0.2/src/stored/cloud_transfer_mgr.c
./bacula-15.0.2/src/stored/cloud_parts.c
./bacula-15.0.2/src/stored/cloud_parts.h
./bacula-15.0.2/src/stored/cloud_parts.lo
./bacula-15.0.2/src/stored/cloud_test.c
./bacula-15.0.2/src/stored/cloud_driver.h
./bacula-15.0.2/src/stored/bacula-sd-cloud-driver.la
./bacula-15.0.2/src/stored/cloud_dev.h
./bacula-15.0.2/src/stored/cloud_dev.c
./bacula-15.0.2/src/stored/cloud_dev.lo
./bacula-15.0.2/src/stored/cloud_transfer_mgr.lo
./bacula-15.0.2/scripts/aws_cloud_driver
./bacula-15.0.2/scripts/aws_cloud_driver.in
root@140R-dvl:/wrkdirs/usr/ports/sysutils/bacula15-server/work #
Comment 2 Dan Langille freebsd_committer freebsd_triage 2024-04-11 20:02:12 UTC
The bacula13-server build:

root@140R-dvl-FreeBSD:~ # cd /wrkdirs/usr/ports/sysutils/bacula13-server/work/
root@140R-dvl-FreeBSD:/wrkdirs/usr/ports/sysutils/bacula13-server/work # find . -name bacula-sd-cloud-s3-driver.so
./stage/usr/local/lib/bacula-sd-cloud-s3-driver.so
./bacula-13.0.4/src/stored/.libs/bacula-sd-cloud-s3-driver.so
root@140R-dvl-FreeBSD:/wrkdirs/usr/ports/sysutils/bacula13-server/work # find . -name bacula-sd-cloud-s3-driver-13.0.4.so
./stage/usr/local/lib/bacula-sd-cloud-s3-driver-13.0.4.so
./bacula-13.0.4/src/stored/.libs/bacula-sd-cloud-s3-driver-13.0.4.so
root@140R-dvl-FreeBSD:/wrkdirs/usr/ports/sysutils/bacula13-server/work # ^D
Comment 3 Dan Langille freebsd_committer freebsd_triage 2024-04-11 20:44:08 UTC
I've asked for help over here:

https://sourceforge.net/p/bacula/mailman/message/58759439/
Comment 4 Dan Langille freebsd_committer freebsd_triage 2024-04-12 14:46:22 UTC
Created attachment 249932 [details]
fix broken  S3 option, mangled by me

If you are able to test the attached patch, that would be a great help. I don't use S3 at all.
Comment 5 Dan Langille freebsd_committer freebsd_triage 2024-05-02 18:24:52 UTC
With no response from Dean, and given the option is disabled by default, I'm going to proceed and commit these otherwise-untested changes. Soon.
Comment 6 commit-hook freebsd_committer freebsd_triage 2024-05-05 12:39:32 UTC
A commit in branch main references this bug:

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

commit 331075c0afa04ef95c11fad7d8a611cac29ef897
Author:     Dan Langille <dvl@FreeBSD.org>
AuthorDate: 2024-05-05 12:35:12 +0000
Commit:     Dan Langille <dvl@FreeBSD.org>
CommitDate: 2024-05-05 12:35:12 +0000

    sysutils/bacula15-server: Fix broken S3 option

    I did not properly convert the S3 option from the old format to the
    new format.

    PR:             278312

 sysutils/bacula15-server/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Comment 7 Dan Langille freebsd_committer freebsd_triage 2024-05-05 12:40:06 UTC
Thank you for reporting this.