[Bug 1901080] Re: libgphobos1: ABI breakage in SRU
Launchpad Bug Tracker
1901080 at bugs.launchpad.net
Mon Sep 5 08:39:36 UTC 2022
This bug was fixed in the package dub - 1.19.0-1build2.1
---------------
dub (1.19.0-1build2.1) focal; urgency=medium
* SRU: LP: #1901080: No-change rebuild, building with GCC 10.3.
-- Matthias Klose <doko at ubuntu.com> Wed, 23 Jun 2021 12:54:24 +0200
** Changed in: dub (Ubuntu Focal)
Status: Fix Committed => Fix Released
** Changed in: torus-trooper (Ubuntu Focal)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-10 in Ubuntu.
https://bugs.launchpad.net/bugs/1901080
Title:
libgphobos1: ABI breakage in SRU
Status in a7xpg package in Ubuntu:
New
Status in dub package in Ubuntu:
New
Status in dustmite package in Ubuntu:
New
Status in gcc-10 package in Ubuntu:
Confirmed
Status in gunroar package in Ubuntu:
New
Status in ii-esu package in Ubuntu:
New
Status in mu-cade package in Ubuntu:
New
Status in parsec47 package in Ubuntu:
New
Status in projectl package in Ubuntu:
New
Status in tatan package in Ubuntu:
New
Status in titanion package in Ubuntu:
New
Status in torus-trooper package in Ubuntu:
New
Status in tumiki-fighters package in Ubuntu:
New
Status in val-and-rick package in Ubuntu:
New
Status in a7xpg source package in Focal:
Fix Released
Status in dub source package in Focal:
Fix Released
Status in dustmite source package in Focal:
Fix Released
Status in gcc-10 source package in Focal:
New
Status in gunroar source package in Focal:
Fix Released
Status in ii-esu source package in Focal:
Fix Released
Status in mu-cade source package in Focal:
Fix Released
Status in parsec47 source package in Focal:
Fix Released
Status in projectl source package in Focal:
Fix Released
Status in tatan source package in Focal:
Fix Released
Status in titanion source package in Focal:
Fix Released
Status in torus-trooper source package in Focal:
Fix Released
Status in tumiki-fighters source package in Focal:
Fix Released
Status in val-and-rick source package in Focal:
Fix Released
Bug description:
gcc-10 was a shipped as a pre-release version in focal, which saw an
ABI change in libgphobos with the GCC 10.2 release. Now instead of
reverting this change, just rebuild the affected packages, mostly some
games implemented in D, and dub.
Validation: CHeck the autopkg tests where available, check at least
one game, that it starts.
Regression potential: low, no-change rebuilds with the updated GCC
10.3.
Original report:
gcc-10 was SRUed to focal, and in the process introduced regressions caused by ABI breakage of libgphobos1.
This has manifested as failing autopkgtests of the dub package,
following unrelated SRUs:
[...]
autopkgtest [13:52:44]: test run: - - - - - - - - - - stderr - - - - - - - - - -
dub: symbol lookup error: dub: undefined symbol: _D3std3net4curl4HTTP9__mixin376onSendMFNdDFAvZmZv
[...]
The symbol present in the new version of libgphobos1 is now
_D3std3net4curl4HTTP9__mixin396onSendMFNdDFAvZmZv instead of
_D3std3net4curl4HTTP9__mixin376onSendMFNdDFAvZmZv.
Libraries are not allowed to change ABI without changing binary
package name. And for libraries built from such a core package as
gcc, ABIs should be enforced at package build time to avoid such
regressions.
This regression was overlooked at the time of gcc SRU because the
autopkgtests for gcc uploads are special-cased to not test all
reverse-dependencies; so it's incumbent on gcc to properly enforce ABI
stability.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/a7xpg/+bug/1901080/+subscriptions
More information about the foundations-bugs
mailing list