ivar 1.4.2+dfsg-2 FTBFS

Bug #2037769 reported by Mateus Rodrigues de Morais
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ivar (Ubuntu)
Fix Released
Undecided
Graham Inggs

Bug Description

ivar 1.4.2+dfsg-2 is currently failing to build from source on all architectures, except riscv64 [1].

On amd64 and arm64, the failure seems to be LTO-related. I've tested adding optimize=-lto to DEB_BUILD_MAINT_OPTIONS in d/rules and that seems to fix the issue for the two architectures.

However, on all other archs, the build failure seems to be related with autopkgtests, e.g.

```
...
Reverse
Cigar flag didn't match for test_184_379_11:1:0_8:1:0_26 ! Expected 6 Got 0
Cigar length didn't match for test_184_379_11:1:0_8:1:0_26 ! Expected 2 Got 89
Cigar flag didn't match for test_184_379_11:1:0_8:1:0_26 ! Expected 0 Got 4
Cigar length didn't match for test_184_379_11:1:0_8:1:0_26 ! Expected 89 Got 18

Condensing cigar ...
Cigar length didn't match after condense! Expected 71 Got 160
Cigar flag didn't match! Expected  Got 4
Cigar length didn't match after condense! Expected 2 Got 18
FAIL check_unpaired_trim (exit status: 255)

============================================================================
Testsuite summary for ivar 1.4.2
============================================================================
# TOTAL: 19
# PASS: 18
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
...
```

[1] https://launchpad.net/ubuntu/+source/ivar/1.4.2+dfsg-2

Related branches

Revision history for this message
Graham Inggs (ginggs) wrote :

ivar has never built on armhf, ppc64el and s390x, so fixing it on amd64 and arm64 should be sufficient for it to migrate.

Revision history for this message
Mateus Rodrigues de Morais (mateus-morais) wrote :

In that case, I've submitted a MP to fix amd64 and arm64 by disabling LTO.

Revision history for this message
Graham Inggs (ginggs) wrote :

I triggered the autopkgtests in the PPA and they succeeded on amd64 and arm64:
https://autopkgtest.ubuntu.com/results/autopkgtest-mantic-mateus-morais-ivar-ftbfs/?format=plain

Graham Inggs (ginggs)
Changed in ivar (Ubuntu):
assignee: nobody → Graham Inggs (ginggs)
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ivar - 1.4.2+dfsg-2ubuntu1

---------------
ivar (1.4.2+dfsg-2ubuntu1) mantic; urgency=medium

  * d/rules: disable LTO to fix failure to build from source on amd64 and
    arm64 on Ubuntu. (LP: #2037769)

 -- Mateus Rodrigues de Morais <email address hidden> Wed, 27 Sep 2023 12:41:50 -0300

Changed in ivar (Ubuntu):
status: Fix Committed → Fix Released
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.