Control: reassign 1127743 src:zlib 1:1.3.dfsg+really1.3.1-2
Control: affects 1127743 src:google-android-installers

Hello,

Le jeudi 12 février 2026, 14:13:11 heure normale d’Europe centrale Paul Gevers 
a écrit :
> Source: zlib, google-android-installers
> Control: found -1 zlib/1:1.3.dfsg+really1.3.1-2
> Control: found -1 google-android-installers/1755725555-1
> Severity: serious
> Tags: sid forky
> User: [email protected]
> Usertags: breaks needs-update
> 
> Dear maintainer(s),
> 
> With a recent upload of zlib the autopkgtest of 
> google-android-installers fails in testing when that autopkgtest is run 
> with the binary packages of zlib from unstable. It passes when run with 
> only packages from testing. In tabular form:
> 
>                             pass            fail
> zlib                       from testing    1:1.3.dfsg+really1.3.1-2
> google-android-installers  from testing    1755725555-1
> all others                 from testing    from testing
> 
> I copied some of the output at the bottom of this report.
> 
> Currently this regression is blocking the migration of zlib to testing 
> [1]. Due to the nature of this issue, I filed this bug report against 
> both packages. Can you please investigate the situation and reassign the 
> bug to the right package?
> 
> More information about this bug and the reason for filing it can be found on
> https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation
> 
> Paul
> 
> [1] https://qa.debian.org/excuses.php?package=zlib
> 
> https://ci.debian.net/data/autopkgtest/testing/amd64/g/google-android-installers/68630033/log.gz
> 
> 131s /usr/lib/android-sdk/build-tools/19.1.0/aapt: error while loading 
> shared libraries: libz.so.1: wrong ELF class: ELFCLASS64
> 131s autopkgtest [03:13:03]: test command1

Maybe I'm wrong, but from what I understand /usr/lib32/libz.so.1 is built for 
x64 (ELF64) while it should be for x32 (ELF32).


With version: 1:1.3.dfsg+really1.3.1-1+b1 (from testing)
$ readelf -h /usr/lib32/libz.so.1ELF Header:
  Magic:   7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 
  Class:                             ELF32
  Data:                              2's complement, little endian
  Version:                           1 (current)
  OS/ABI:                            UNIX - System V
  ABI Version:                       0
  Type:                              DYN (Shared object file)
  Machine:                           Intel 80386
  Version:                           0x1
  Entry point address:               0x0
  Start of program headers:          52 (bytes into file)
  Start of section headers:          111100 (bytes into file)
  Flags:                             0x0
  Size of this header:               52 (bytes)
  Size of program headers:           32 (bytes)
  Number of program headers:         9
  Size of section headers:           40 (bytes)
  Number of section headers:         28
  Section header string table index: 27

With version: 1:1.3.dfsg+really1.3.1-2 (from sid)

$ readelf -h /usr/lib32/libz.so.1
ELF Header:
  Magic:   7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 
  Class:                             ELF64
  Data:                              2's complement, little endian
  Version:                           1 (current)
  OS/ABI:                            UNIX - System V
  ABI Version:                       0
  Type:                              DYN (Shared object file)
  Machine:                           Advanced Micro Devices X86-64
  Version:                           0x1
  Entry point address:               0x0
  Start of program headers:          64 (bytes into file)
  Start of section headers:          123584 (bytes into file)
  Flags:                             0x0
  Size of this header:               64 (bytes)
  Size of program headers:           56 (bytes)
  Number of program headers:         9
  Size of section headers:           64 (bytes)
  Number of section headers:         28
  Section header string table index: 27


strace -f /usr/lib/android-sdk/build-tools/19.1.0/aapt

openat(AT_FDCWD, "/lib32/libz.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 
512) = 512
close(3)                                = 0
statx(AT_FDCWD, "/lib32/", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, 
STATX_BASIC_STATS, {stx_mask=STATX_BASIC_STATS|STATX_MNT_ID, stx_attributes=0, 
stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
openat(AT_FDCWD, "/usr/lib32/libz.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 
512) = 512
close(3)                                = 0
statx(AT_FDCWD, "/usr/lib32/", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, 
STATX_BASIC_STATS, {stx_mask=STATX_BASIC_STATS|STATX_MNT_ID, stx_attributes=0, 
stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
openat(AT_FDCWD, "/lib/libz.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT 
(No such file or directory)
statx(AT_FDCWD, "/lib/", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, 
STATX_BASIC_STATS, {stx_mask=STATX_BASIC_STATS|STATX_MNT_ID, stx_attributes=0, 
stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
openat(AT_FDCWD, "/usr/lib/libz.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 
ENOENT (No such file or directory)
statx(AT_FDCWD, "/usr/lib/", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, 
STATX_BASIC_STATS, {stx_mask=STATX_BASIC_STATS|STATX_MNT_ID, stx_attributes=0, 
stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
writev(2, [{iov_base="/usr/lib/android-sdk/build-tools"..., iov_len=44}, 
{iov_base=": ", iov_len=2}, {iov_base="error while loading shared libra"..., 
iov_len=36}, {iov_base=": ", iov_len=2}, {iov_base="libz.so.1", iov_len=9}, 
{iov_base=": ", iov_len=2}, {iov_base="wrong ELF class: ELFCLASS64", 
iov_len=27}, {iov_base="", iov_len=0}, {iov_base="", iov_len=0}, 
{iov_base="\n", iov_len=1}], 10/usr/lib/android-sdk/build-tools/19.1.0/aapt: 
error while loading shared libraries: libz.so.1: wrong ELF class: ELFCLASS64
) = 123


In some way althought the system tries to load /usr/lib32/libz.so.1 it fails to 
do so and falls back to /usr/lib/libz.so.1 ?

Reassigning to zlib for now.

Regards
Fab

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to