public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Simone Caronni <negativo17@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/bacula] epel10.3: Fix linking of the S3 cloud driver (rhbz#2413541)
Date: Sun, 08 Nov 2026 18:12:28 GMT [thread overview]
Message-ID: <179416154892.1.6921114910487534841.rpms-bacula-4154646f36b2@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/bacula
Branch : epel10.3
Commit : 4154646f36b2e83cbb19a948b689c0a63f697b81
Author : Simone Caronni <negativo17@gmail.com>
Date : 2026-11-08T19:12:02+01:00
Stats : +30/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/bacula/c/4154646f36b2e83cbb19a948b689c0a63f697b81?branch=epel10.3
Log:
Fix linking of the S3 cloud driver (rhbz#2413541)
---
diff --git a/bacula-s3-driver-linking.patch b/bacula-s3-driver-linking.patch
new file mode 100644
index 0000000..07b2f5b
--- /dev/null
+++ b/bacula-s3-driver-linking.patch
@@ -0,0 +1,25 @@
+diff -Naur bacula-17.0.0.old/src/stored/Makefile.in bacula-17.0.0/src/stored/Makefile.in
+--- bacula-17.0.0.old/src/stored/Makefile.in 2026-08-06 15:41:06.000000000 +0200
++++ bacula-17.0.0/src/stored/Makefile.in 2026-11-08 19:07:23.724491422 +0100
+@@ -25,6 +25,8 @@
+ CLOUD_INSTALL_TARGETS=@CLOUD_INSTALL_TARGETS@
+
+ S3_LIBS=@S3_LIBS@
++CURL_LIBS=@CURL_LIBS@
++XML_LIBS=-lxml2
+ S3_INC=@S3_INC@
+
+ DB_LIBS=@DB_LIBS@
+@@ -229,10 +231,10 @@
+ $(LIBTOOL_LINK) $(CXX) $(LDFLAGS) -shared $(CLOUD_GENERIC_LOBJS) -o $@ -R $(libdir) -rpath $(libdir) -module -export-dynamic -release $(LIBBACSD_LT_RELEASE)
+
+ bacula-sd-cloud-s3-driver.la: Makefile $(CLOUD_S3_LOBJS)
+- $(LIBTOOL_LINK) $(CXX) $(LDFLAGS) -shared $(CLOUD_S3_LOBJS) -o $@ $(S3_LIBS) -R $(libdir) -rpath $(libdir) -module -export-dynamic -release $(LIBBACSD_LT_RELEASE)
++ $(LIBTOOL_LINK) $(CXX) $(LDFLAGS) -shared $(CLOUD_S3_LOBJS) -o $@ $(S3_LIBS) $(CURL_LIBS) $(XML_LIBS) $(OPENSSL_LIBS) -R $(libdir) -rpath $(libdir) -module -export-dynamic -release $(LIBBACSD_LT_RELEASE)
+
+ bacula-sd-cloud-glacier-s3-driver.la: Makefile $(CLOUD_S3_GLACIER_LOBJS)
+- $(LIBTOOL_LINK) $(CXX) $(LDFLAGS) -shared $(CLOUD_S3_GLACIER_LOBJS) -o $@ $(S3_LIBS) -R $(libdir) -rpath $(libdir) -module -export-dynamic -release $(LIBBACSD_LT_RELEASE)
++ $(LIBTOOL_LINK) $(CXX) $(LDFLAGS) -shared $(CLOUD_S3_GLACIER_LOBJS) -o $@ $(S3_LIBS) $(CURL_LIBS) $(XML_LIBS) $(OPENSSL_LIBS) -R $(libdir) -rpath $(libdir) -module -export-dynamic -release $(LIBBACSD_LT_RELEASE)
+
+ bacula-sd-cloud-generic-driver.la: Makefile $(CLOUD_GENERIC_LOBJS)
+ $(LIBTOOL_LINK) $(CXX) $(LDFLAGS) -shared $(CLOUD_GENERIC_LOBJS) -o $@ -R $(libdir) -rpath $(libdir) -module -export-dynamic -release $(LIBBACSD_LT_RELEASE)
diff --git a/bacula.spec b/bacula.spec
index c8eea7b..bc68be2 100644
--- a/bacula.spec
+++ b/bacula.spec
@@ -81,6 +81,11 @@ Patch15: %{name}-bat-restore-progress.patch
# https://gitlab.bacula.org/bacula-community-edition/bacula-community/-/commit/3f114ff206358ce52a784890e83b1756413e2ea7
Patch16: %{name}-docker-cli-29.patch
+# The bundled libs3 is a static library: link the S3 cloud drivers against its
+# dependencies (curl, libxml2 and OpenSSL), or the drivers fail to load:
+# https://bugzilla.redhat.com/show_bug.cgi?id=2413541
+Patch18: %{name}-s3-driver-linking.patch
+
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: desktop-file-utils
reply other threads:[~2026-11-08 18:12 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179416154892.1.6921114910487534841.rpms-bacula-4154646f36b2@fedoraproject.org \
--to=negativo17@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox