FTBFS: building 2.4d-1.1 with LTO fails on arm64, ppc64el, s390x

Bug #2019319 reported by Heinrich Schuchardt
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
aespipe (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Building on arm64 fails in the testing stage. The failure can be avoided by disabling LTO with

DEB_BUILD_MAINT_OPTIONS=optimize=-lto

Revision history for this message
Heinrich Schuchardt (xypron) wrote :
Revision history for this message
Heinrich Schuchardt (xypron) wrote :

Uploaded aespipe_2.4d-1.1ubuntu1 uploaded to ppa:xypron/merge-from-debian

Revision history for this message
Heinrich Schuchardt (xypron) wrote :

Submitted to Debian via submittodebian

Revision history for this message
Heinrich Schuchardt (xypron) wrote :
Revision history for this message
Steve Langasek (vorlon) wrote :

If this issue affects arm64, ppc64el, and s390x builds, but NOT amd64, then we should selectively disable LTO on a per-arch basis (checking $DEB_HOST_ARCH) and not disable it across the board.

Revision history for this message
Heinrich Schuchardt (xypron) wrote :

Hello Steve,

thanks for reviewing.

Appended, please, find an updated debdiff to disable LTO only on arm64, ppc64el, s390x. The built package is available in ppa:xypron/golang.

Best regards

Heinrich

Benjamin Drung (bdrung)
summary: - FTBFS: building with LTO fails
+ FTBFS: building 2.4d-1.1 with LTO fails on arm64, ppc64el, s390x
Revision history for this message
Benjamin Drung (bdrung) wrote :

Thanks. I'll sponsor it. Please do not forget to forward your updated debdiff to Debian as well.

Changed in aespipe (Ubuntu):
status: New → Fix Committed
tags: added: update-excuse
Changed in aespipe (Ubuntu):
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package aespipe - 2.4d-1.1ubuntu1

---------------
aespipe (2.4d-1.1ubuntu1) mantic; urgency=medium

  * Disable LTO to avoid failing tests on arm64, ppc64el, s390x
    (LP: #2019319)

 -- Heinrich Schuchardt <email address hidden> Mon, 15 May 2023 17:05:39 +0200

Changed in aespipe (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Heinrich Schuchardt (xypron) wrote :

>> Please do not forget to forward your updated debdiff to Debian as well.
Done

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.