Public bug reported:

Actually golang-github-containers-{common,image} are already present in
the lto-disabled-list but only for amd64. We have seen the following
build failures against both packages in Impish and Hirsute on non-amd64
arches:

# github.com/containers/storage/pkg/devicemapper
../../../go-build2465159309/b262/_cgo_export.c:21:13: error: variable 
‘_cgoexp_ebd00b0772db_StorageDevmapperLogCallback’ redeclared as function
   21 | extern void _cgoexp_ebd00b0772db_StorageDevmapperLogCallback(void *);
      |             ^
../../../go-build2465159309/b262/cgo-generated-wrappers:1:5: note: previously 
declared here
lto1: fatal error: errors during merging of translation units
compilation terminated.

After some research it seems related to this Golang upstream bug:

https://github.com/golang/go/issues/45275

Therefore, I'd like to add arch any to golang-github-
containers-{common,image} in Hirsute and Impish.

** Affects: golang-github-containers-common (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: golang-github-containers-image (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: golang-github-containers-common (Ubuntu Hirsute)
     Importance: Undecided
         Status: New

** Affects: golang-github-containers-image (Ubuntu Hirsute)
     Importance: Undecided
         Status: New


** Tags: lto

** Also affects: golang-github-containers-image (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: golang-github-containers-image (Ubuntu Hirsute)
   Importance: Undecided
       Status: New

** Also affects: golang-github-containers-common (Ubuntu Hirsute)
   Importance: Undecided
       Status: New

** Tags added: lto

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1931258

Title:
  Add golang-github-containers-{common,image} to lto-disabled-list

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/golang-github-containers-common/+bug/1931258/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to