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 !!!
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 #
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
I've asked for help over here: https://sourceforge.net/p/bacula/mailman/message/58759439/
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.
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.
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(-)
Thank you for reporting this.