I assume the cause for this is going to turn out to be that there was a glibc SRU released between the two snap builds:
Get:4 http://ftpmaster.internal/ubuntu jammy-updates/main s390x libc6-dev s390x 2.35-0ubuntu3.1 [1499 kB] Get:4 http://ftpmaster.internal/ubuntu jammy-updates/main s390x libc6-dev s390x 2.35-0ubuntu3.3 [1501 kB]
I noticed that snapcraft tries a bunch of different ways to determine the dependencies of an elf object https://github.com/snapcore/snapcraft/blob/main/snapcraft/elf/_elf_file.py#L416-L439 and this bug in particular being fixed https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1995362 might influence which one succeeds.
I assume the cause for this is going to turn out to be that there was a glibc SRU released between the two snap builds:
Get:4 http:// ftpmaster. internal/ ubuntu jammy-updates/main s390x libc6-dev s390x 2.35-0ubuntu3.1 [1499 kB] ftpmaster. internal/ ubuntu jammy-updates/main s390x libc6-dev s390x 2.35-0ubuntu3.3 [1501 kB]
Get:4 http://
I noticed that snapcraft tries a bunch of different ways to determine the dependencies of an elf object https:/ /github. com/snapcore/ snapcraft/ blob/main/ snapcraft/ elf/_elf_ file.py# L416-L439 and this bug in particular being fixed https:/ /bugs.launchpad .net/ubuntu/ +source/ glibc/+ bug/1995362 might influence which one succeeds.