Package: libzip Version: 1.7.3-1 Severity: minor Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu hirsute ubuntu-patch
The issue is described there upstream https://github.com/nih-at/libzip/issues/20 The flag is default in Ubuntu which makes the package build fail. The upstream fix makes the tests being disabled when -Wl,-Bsymbolic-functions is used by ideally we would not have those turned off. The attached patch strips the -Wl,-Bsymbolic-functions flag if defined, it should make no difference for Debian but allow Ubuntu to build and keep the tests enabled Thanks,
diff -Nru libzip-1.7.3/debian/changelog libzip-1.7.3/debian/changelog --- libzip-1.7.3/debian/changelog 2020-10-10 21:01:16.000000000 +0200 +++ libzip-1.7.3/debian/changelog 2021-03-03 13:30:59.000000000 +0100 @@ -1,3 +1,10 @@ +libzip (1.7.3-2) unstable; urgency=medium + + * debian/rules: + - build without -Wl,-Bsymbolic-functions to workaround failing tests + + -- Sebastien Bacher <seb...@ubuntu.com> Wed, 03 Mar 2021 13:30:59 +0100 + libzip (1.7.3-1) unstable; urgency=medium * New upstream version 1.7.3 diff -Nru libzip-1.7.3/debian/rules libzip-1.7.3/debian/rules --- libzip-1.7.3/debian/rules 2020-10-10 21:01:16.000000000 +0200 +++ libzip-1.7.3/debian/rules 2021-03-03 13:30:59.000000000 +0100 @@ -3,6 +3,10 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 +# having -Wl,-Bsymbolic-functions defined isn't compatible with some tests +# https://github.com/nih-at/libzip/issues/20 +export DEB_LDFLAGS_MAINT_STRIP := -Wl,-Bsymbolic-functions + DEB_HOST_MULTIARCH ?=. %: