diff -Nru aespipe-2.4d/debian/changelog aespipe-2.4d/debian/changelog --- aespipe-2.4d/debian/changelog 2022-12-08 18:14:21.000000000 +0100 +++ aespipe-2.4d/debian/changelog 2023-05-12 15:21:16.000000000 +0200 @@ -1,3 +1,10 @@ +aespipe (2.4d-1.1ubuntu1) mantic; urgency=medium + + * Disable LTO to avoid failing tests on arm64, ppc64el, s390x + (LP: #2019319) + + -- Heinrich Schuchardt Fri, 12 May 2023 15:21:16 +0200 + aespipe (2.4d-1.1) unstable; urgency=medium * Non-maintainer upload. diff -Nru aespipe-2.4d/debian/control aespipe-2.4d/debian/control --- aespipe-2.4d/debian/control 2016-11-11 00:22:01.000000000 +0100 +++ aespipe-2.4d/debian/control 2023-05-12 15:21:16.000000000 +0200 @@ -1,7 +1,8 @@ Source: aespipe Section: utils Priority: optional -Maintainer: Max Vozeler +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Max Vozeler Build-Depends: debhelper (>= 7), gnupg, autotools-dev Standards-Version: 3.9.8 diff -Nru aespipe-2.4d/debian/rules aespipe-2.4d/debian/rules --- aespipe-2.4d/debian/rules 2022-12-08 18:14:21.000000000 +0100 +++ aespipe-2.4d/debian/rules 2023-05-12 15:21:16.000000000 +0200 @@ -1,15 +1,21 @@ #!/usr/bin/make -f #export DH_VERBOSE=1 -export DEB_BUILD_MAINT_OPTIONS=hardening=-pie reproducible=-fixfilepath,+fixdebugpath - -DPKG_EXPORT_BUILDFLAGS = 1 -include /usr/share/dpkg/buildflags.mk - DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +DEB_BUILD_MAINT_OPTIONS=hardening=-pie reproducible=-fixfilepath,+fixdebugpath + +# Test failures occured with LTO on these architectures +ifneq ($(findstring $(DEB_HOST_ARCH), arm64 ppc64el s390x),) + DEB_BUILD_MAINT_OPTIONS += optimize=-lto +endif +export DEB_BUILD_MAINT_OPTIONS + +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/buildflags.mk + ifeq ($(DEB_HOST_ARCH),amd64) DEBIAN_OPTIMIZE := amd64 endif