Package: release.debian.org Severity: normal Tags: bookworm User: [email protected] Usertags: pu
[ Reason ] This is a rebuild of the package from sid to fix the autopkgtests on !amd64. The symbol-size-mismatch issue can only happen on amd64, therefore it cannot be reproduced elsewhere. Skip the specific test on !amd64 (in a generic way). [ Impact ] Only failing autopkgtests. [ Tests ] autopkgtests in sid passed. [ Risks ] Low, only autopkgtests affected. [ Checklist ] [*] *all* changes are documented in the d/changelog [*] I reviewed all changes and I approve them [*] attach debdiff against the package in (old)stable [*] the issue is verified as fixed in unstable [ Changes ] Fix suppression of some perl warnings. Add support for skipping the build of some test packages. Skip generating the symbol-size-mismatch test package if the symbol to be tested has a size of 0. adequate | 3 ++- debian/changelog | 27 +++++++++++++++++++++++++++ tests/testpkg/debian/rules | 8 ++++++++ 3 files changed, 37 insertions(+), 1 deletion(-) [ Other info ] n/a Andreas
diff --git a/adequate b/adequate index 0267a0e..dee5442 100755 --- a/adequate +++ b/adequate @@ -25,7 +25,8 @@ use warnings; use v5.14; no feature 'unicode_strings'; -no if $] >= 5.018, warnings => 'experimental::smartmatch'; +no if $] >= 5.017011, warnings => 'experimental::smartmatch'; +no if $] >= 5.037010, warnings => 'deprecated::smartmatch'; use Attribute::Handlers; use Cwd; diff --git a/debian/changelog b/debian/changelog index f049be2..09eb42b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,30 @@ +adequate (0.15.9~deb12u1) bookworm; urgency=medium + + * QA upload. + * Rebuild for bookworm. + + -- Andreas Beckmann <[email protected]> Wed, 29 Nov 2023 07:29:20 +0100 + +adequate (0.15.9) unstable; urgency=medium + + * QA upload. + * Skip symbol-size-mismatch test on architectures where array symbols don't + include a specific length. (Closes: #1050066) + + -- Andreas Beckmann <[email protected]> Thu, 23 Nov 2023 10:06:17 +0100 + +adequate (0.15.8) unstable; urgency=medium + + * QA upload. + * Disable deprecation warnings about smartmatch, given, when in Perl + 5.38. + This is only a band aid but it buys us time before the feature will be + removed in perl 5.42 in roughly 2 years. + Also fix version comparison for smartmatch being experimental warnings. + (Closes: #1043228) + + -- gregor herrmann <[email protected]> Tue, 08 Aug 2023 18:06:34 +0200 + adequate (0.15.7) unstable; urgency=medium * QA upload. diff --git a/tests/testpkg/debian/rules b/tests/testpkg/debian/rules index f2ad455..f21ebd2 100755 --- a/tests/testpkg/debian/rules +++ b/tests/testpkg/debian/rules @@ -35,6 +35,8 @@ override_dh_auto_install: ln -sf lib$(at)-symsize.so.0 $(tmp)/lib$(at)-symsize.so $(CC) symsize.c -L$(tmp) -o $(tmp)/$(at)-symsize -l$(at)-symsize $(CC) -shared -Wl,--soname=lib$(at)-symsize.so.0 -DADEQUATE_SYMBOL_SIZE=42 lib.c -o $(tmp)/lib$(at)-symsize.so.0 + readelf --wide --symbols $(tmp)/$(at)-symsize | grep this_symbol_size_varies + test "$$(readelf --wide --symbols $(tmp)/$(at)-symsize | grep this_symbol_size_varies | head -n 1 | awk '{print $$3}')" != "0" || touch $(tmp)/skip-symbol-size-mismatch # undefined-symbol $(CC) -shared -Wl,--soname=lib$(at)-versioning.so.0 lib.c -o $(tmp)/lib$(at)-versioning.so.0 ln -sf lib$(at)-versioning.so.0 $(tmp)/lib$(at)-versioning.so @@ -60,6 +62,12 @@ override_dh_strip: # we build binaries with missing symbols override_dh_shlibdeps: +override_dh_gencontrol: + dh_gencontrol $(patsubst $(tmp)/skip-%,-N adequate-testpkg-%,$(wildcard $(tmp)/skip-*)) + +override_dh_builddeb: + dh_builddeb $(patsubst $(tmp)/skip-%,-N adequate-testpkg-%,$(wildcard $(tmp)/skip-*)) + execute_after_dh_builddeb: rm debian/adequate-testpkg-obsolete-conffile/etc/adequate/test-obsolete-conffile sed -i -e '/test-obsolete/d' debian/adequate-testpkg-obsolete-conffile/DEBIAN/conffiles

