Disabling lto does not work as it should on lunar

Bug #2002582 reported by Marius Gripsgard 
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dpkg (Ubuntu)
Fix Released
Undecided
Shengjing Zhu

Bug Description

While uploading to Debian unstable and letting my packages sync, i found that disabling lto on lunar does not works as expected, even with `optimize=-lto` set it still does not disable it.

I have confirmed this by uploading a simple C++ package by using the exact same source and upload to both lunar and kinetic to a ppa, the one built for kinetic setting -lto works but not on lunar

See:

kinetic: https://launchpadlibrarian.net/645524054/buildlog_ubuntu-kinetic-amd64.btop_1.2.13-0.1_BUILDING.txt.gz

lunar https://launchpadlibrarian.net/645523879/buildlog_ubuntu-lunar-amd64.btop_1.2.13-1_BUILDING.txt.gz

The package i found this issue on is https://launchpad.net/ubuntu/+source/biometryd/0.0.3~git20230110.a8818c2-1

Tags: fr-3183

Related branches

Revision history for this message
Julian Andres Klode (juliank) wrote :

I think that's a duplicate of bug 2002201

Revision history for this message
Shengjing Zhu (zhsj) wrote :

I think it's regression by https://bugs.launchpad.net/bugs/2002201 i'll take a look.

Revision history for this message
Shengjing Zhu (zhsj) wrote :

Uploaded my merge proposal to https://launchpad.net/~zhsj/+archive/ubuntu/lp-2002582 Could you test for it?

Shengjing Zhu (zhsj)
Changed in dpkg (Ubuntu):
assignee: nobody → Shengjing Zhu (zhsj)
tags: added: fr-3183
Revision history for this message
Marius Gripsgard  (mariogrip) wrote :

Yes that does work, thank you.

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

Uploaded thanks!

Changed in dpkg (Ubuntu):
status: New → In Progress
Revision history for this message
Marius Gripsgard  (mariogrip) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dpkg - 1.21.18ubuntu2

---------------
dpkg (1.21.18ubuntu2) lunar; urgency=medium

  [ Shengjing Zhu ]
  * Dpkg::Vendor::Ubuntu: Respect options env when override features
    (LP: #2002582)

 -- Gianfranco Costamagna <email address hidden> Fri, 13 Jan 2023 17:36:24 +0100

Changed in dpkg (Ubuntu):
status: In Progress → 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.