[FFe] Rebuild log4cplus with correct symbols visibility
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
log4cplus (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
As part of the log4cplus MIR work (LP: #2003549), we are adding DEP8 tests and a symbols file for liblog4cplus.
While those changes should not need a FFe, we are also including a "-fvisibility=
As a result several symbols (which were leaking, belonging to other libraries) are no longer being exposed. Since this is a change in the shared library binaries, we decided it would be better to file an FFe.
Note that the new exported symbols list is the intended one for linux systems: the upstream project claims that autotools is the preferred build system for unix-like systems, and the proposed symbols file is what we get from default autotools based builds. However, the package currently builds with cmake, where the "-fvisibility=
We have ran test rebuilds of the reverse dependencies (isc-kea and openvdb) and also verified (best effort) that the versions of such reverse dependencies in the archive are still functional after the changes.
The changes in question and further discussions are available at https:/
A PPA with the proposed package and the rdeps test rebuilds is available at https:/
This Is the proposed chagelog diff:
diff --git a/debian/changelog b/debian/changelog
index 3177ffb..10c0af2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,14 @@
+log4cplus (2.0.8-1ubuntu1) lunar; urgency=medium
+
+ * d/rules: set the default symbol visibility to hidden.
+ * d/liblog4cplus-
+ * Apply filters to exported symbols.
+ * d/liblog4cplus-
+ missing symbols file.
+ * d/tests: use upstream examples as DEP8 tests.
+
+ -- Athos Ribeiro <email address hidden> Tue, 07 Feb 2023 08:43:44 -0300
+
log4cplus (2.0.8-1) unstable; urgency=medium
* New upstream version 2.0.8
Related branches
- git-ubuntu bot: Approve
- Andreas Hasenack: Approve
- Canonical Server Reporter: Pending requested
-
Diff: 1218 lines (+1110/-4)15 files modifieddebian/changelog (+11/-0)
debian/control (+2/-1)
debian/export-map.ld (+9/-0)
debian/liblog4cplus-2.0.5.lintian-overrides (+0/-2)
debian/liblog4cplus-2.0.5.symbols (+807/-0)
debian/liblog4cplus-2.0.5.symbols.optional (+91/-0)
debian/rules (+2/-1)
debian/tests/control (+2/-0)
debian/tests/examples/hello.cpp (+19/-0)
debian/tests/examples/hello.expected (+1/-0)
debian/tests/examples/loglevel.cpp (+55/-0)
debian/tests/examples/loglevel.expected (+33/-0)
debian/tests/examples/macros.cpp (+47/-0)
debian/tests/examples/macros.expected (+14/-0)
debian/tests/run-examples (+17/-0)
I noticed isc-kea FTBFS on !amd64 due to missing symbols. Do you plan to upload isc-kea as well?