I attemped to fix it with the following patch:
Index: b/src/Makefile.am
===================================================================
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -91,7 +91,7 @@ libparser_la_CFLAGS = ${AM_CFLAGS} \
libnftables_la_LIBADD = ${LIBMNL_LIBS} ${LIBNFTNL_LIBS} libparser.la
libnftables_la_LDFLAGS = -version-info ${libnftables_LIBVERSION} \
- --version-script=$(srcdir)/libnftables.map
+ -Wl,--version-script=$(srcdir)/libnftables.map
if BUILD_MINIGMP
noinst_LTLIBRARIES += libminigmp.la
however, that FTBFS due to LTO being used in the build; examining the
generated library does show the appropriate versions on the symbols:
/build/nftables-r9ytiF/nftables-1.0.2/src$ nm -D --with-symbol-versions
--defined-only .libs/libnftables.so
0000000000000000 A LIBNFTABLES_1
0000000000000000 A LIBNFTABLES_2
0000000000000000 A LIBNFTABLES_3
000000000005ad10 T nft_ctx_add_include_path@@LIBNFTABLES_1
000000000005abe0 T nft_ctx_add_var@@LIBNFTABLES_2
000000000005b150 T nft_ctx_buffer_error@@LIBNFTABLES_1
000000000005b050 T nft_ctx_buffer_output@@LIBNFTABLES_1
000000000005ad90 T nft_ctx_clear_include_paths@@LIBNFTABLES_1
000000000005acb0 T nft_ctx_clear_vars@@LIBNFTABLES_2
000000000005b2e0 T nft_ctx_free@@LIBNFTABLES_1
000000000005b590 T nft_ctx_get_dry_run@@LIBNFTABLES_1
000000000005b2a0 T nft_ctx_get_error_buffer@@LIBNFTABLES_1
000000000005b270 T nft_ctx_get_output_buffer@@LIBNFTABLES_1
000000000005add0 T nft_ctx_new@@LIBNFTABLES_1
000000000005b5d0 T nft_ctx_output_get_debug@@LIBNFTABLES_1
000000000005b5b0 T nft_ctx_output_get_flags@@LIBNFTABLES_1
000000000005b5e0 T nft_ctx_output_set_debug@@LIBNFTABLES_1
000000000005b5c0 T nft_ctx_output_set_flags@@LIBNFTABLES_1
000000000005b5a0 T nft_ctx_set_dry_run@@LIBNFTABLES_1
000000000005b550 T nft_ctx_set_error@@LIBNFTABLES_1
000000000005b510 T nft_ctx_set_output@@LIBNFTABLES_1
000000000005b200 T nft_ctx_unbuffer_error@@LIBNFTABLES_1
000000000005b0f0 T nft_ctx_unbuffer_output@@LIBNFTABLES_1
000000000005b5f0 T nft_run_cmd_from_buffer@@LIBNFTABLES_1
000000000005b940 T nft_run_cmd_from_filename@@LIBNFTABLES_1
My concern is if this gets fixed, will this cause us to need to do a SO
version bump?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1965464
Title:
add debian symbols tracking for libnftables1 package
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nftables/+bug/1965464/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs