Package: src:mold
Version: 2.40.4+dfsg-2
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build.

Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202509/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:mold, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure -- \
  -DMOLD_USE_SYSTEM_MIMALLOC=ON \
  -DMOLD_USE_SYSTEM_TBB=ON
        cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb 
PKG_CONFIG=/usr/bin/pkg-config cmake -DCMAKE_INSTALL_PREFIX=/usr 
-DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc 
-DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON 
-DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF 
-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON 
-DFETCHCONTENT_FULLY_DISCONNECTED=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run 
-DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON "-GUnix Makefiles" 
-DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu 
-DMOLD_USE_SYSTEM_MIMALLOC=ON -DMOLD_USE_SYSTEM_TBB=ON ..
-- The C compiler identification is GNU 15.2.0

[... snipped ...]

420: + cc -o out/test/x86_64/z-pack-relative-relocs/exe1 
out/test/x86_64/z-pack-relative-relocs/a.o -pie -Wl,-z,pack-relative-relocs
421: + cc -B. -o out/test/x86_64/z-rodynamic/exe1 
out/test/x86_64/z-rodynamic/a.o
421: + readelf -WS out/test/x86_64/z-rodynamic/exe1
421: + grep '\.dynamic.* WA '
420: + readelf -WS out/test/x86_64/z-pack-relative-relocs/exe1
420: + grep -F .relr.dyn
421:   [19] .dynamic          DYNAMIC         00000000000026d8 0006d8 0001b0 10 
 WA  7   0  8
421: + cc -B. -o out/test/x86_64/z-rodynamic/exe2 
out/test/x86_64/z-rodynamic/a.o -Wl,-z,rodynamic
420:   [11] .relr.dyn         RELR            0000000000000638 000638 000018 08 
  A  0   0  8
420: + out/test/x86_64/z-pack-relative-relocs/exe1
420: + grep Hello
420: Hello world
420: + cc -B. -o out/test/x86_64/z-pack-relative-relocs/exe2 
out/test/x86_64/z-pack-relative-relocs/a.o -pie -Wl,-z,pack-relative-relocs
421: + readelf -WS out/test/x86_64/z-rodynamic/exe2
421: + grep '\.dynamic.* A '
421:   [11] .dynamic          DYNAMIC         00000000000004e0 0004e0 0001a0 10 
  A  7   0  8
421: + on_exit
421: + echo OK
421: OK
421: + exit 0
420/425 Test #421: x86_64-z-rodynamic ....................................   
Passed    0.05 sec
test 422
        Start 422: x86_64-z-sectionheader

422: Test command: /usr/bin/bash "-x" "/<<PKGBUILDDIR>>/test/z-sectionheader.sh"
422: Working Directory: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
422: Environment variables: 
422:  MACHINE=x86_64
422:  CPU=
422: Test timeout computed to be: 1500
420: + out/test/x86_64/z-pack-relative-relocs/exe2
420: + grep Hello
420: Hello world
420: + readelf --dynamic out/test/x86_64/z-pack-relative-relocs/exe2
422: ++ dirname /<<PKGBUILDDIR>>/test/z-sectionheader.sh
420: + grep -Ew 'RELR|<unknown>: 24' out/test/x86_64/z-pack-relative-relocs/log2
420:  0x0000000000000024 (RELR)               0x560
422: + . /<<PKGBUILDDIR>>/test/common.inc
422: ++ export LC_ALL=C
422: ++ LC_ALL=C
420: + grep -Ew 'RELRSZ|<unknown>: 23' 
out/test/x86_64/z-pack-relative-relocs/log2
422: ++ '[' -z x86_64 ']'
422: ++ '[' -z '' ']'
422: ++ TESTDIR=out/test/x86_64
422: ++ CC=cc
422: ++ CXX=c++
422: ++ GCC=gcc
422: ++ GXX=g++
422: ++ OBJDUMP=objdump
422: ++ OBJCOPY=objcopy
422: ++ STRIP=strip
422: ++ QEMU=
422: +++ basename /<<PKGBUILDDIR>>/test/z-sectionheader.sh .sh
420:  0x0000000000000023 (RELRSZ)             32 (bytes)
420: + grep -Ew 'RELRENT|<unknown>: 25' 
out/test/x86_64/z-pack-relative-relocs/log2
422: ++ testname=z-sectionheader
422: ++ t=out/test/x86_64/z-sectionheader
422: ++ mkdir -p out/test/x86_64/z-sectionheader
420:  0x0000000000000025 (RELRENT)            8 (bytes)
420: + on_exit
420: + echo OK
420: OK
420: + exit 0
422: ++ case $MACHINE in
422: ++ tlsdesc_opt=-mtls-dialect=gnu2
421/425 Test #420: x86_64-z-pack-relative-relocs .........................   
Passed    0.07 sec
422: +++ uname
test 423
        Start 423: x86_64-z-separate-code

423: Test command: /usr/bin/bash "-x" "/<<PKGBUILDDIR>>/test/z-separate-code.sh"
423: Working Directory: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
423: Environment variables: 
423:  MACHINE=x86_64
423:  CPU=
423: Test timeout computed to be: 1500
422: ++ '[' Linux = FreeBSD ']'
422: ++ trap 'on_error $LINENO' ERR
422: ++ trap on_exit EXIT
422: ++ echo -n 'Testing z-sectionheader ... '
422: Testing z-sectionheader ... ++ set -o pipefail
422: ++ set -x
422: + cat
422: + cc -o out/test/x86_64/z-sectionheader/a.o -c -xc -
423: ++ dirname /<<PKGBUILDDIR>>/test/z-separate-code.sh
423: + . /<<PKGBUILDDIR>>/test/common.inc
423: ++ export LC_ALL=C
423: ++ LC_ALL=C
423: ++ '[' -z x86_64 ']'
423: ++ '[' -z '' ']'
423: ++ TESTDIR=out/test/x86_64
423: ++ CC=cc
423: ++ CXX=c++
423: ++ GCC=gcc
423: ++ GXX=g++
423: ++ OBJDUMP=objdump
423: ++ OBJCOPY=objcopy
423: ++ STRIP=strip
423: ++ QEMU=
423: +++ basename /<<PKGBUILDDIR>>/test/z-separate-code.sh .sh
423: ++ testname=z-separate-code
423: ++ t=out/test/x86_64/z-separate-code
423: ++ mkdir -p out/test/x86_64/z-separate-code
423: ++ case $MACHINE in
423: ++ tlsdesc_opt=-mtls-dialect=gnu2
423: +++ uname
423: ++ '[' Linux = FreeBSD ']'
423: ++ trap 'on_error $LINENO' ERR
423: ++ trap on_exit EXIT
423: ++ echo -n 'Testing z-separate-code ... '
423: Testing z-separate-code ... ++ set -o pipefail
423: ++ set -x
423: + is_musl
423: + grep musl
423: + cat
423: + cc -o out/test/x86_64/z-separate-code/a.o -c -xc -
422: + cc -B. -o out/test/x86_64/z-sectionheader/exe 
out/test/x86_64/z-sectionheader/a.o -Wl,-z,nosectionheader
423: + cc -B. -o out/test/x86_64/z-separate-code/exe1 
out/test/x86_64/z-separate-code/a.o -Wl,-z,separate-loadable-segments
422: + out/test/x86_64/z-sectionheader/exe
422: + grep 'Hello world'
422: Hello world
422: + readelf -h out/test/x86_64/z-sectionheader/exe
422: + grep -E 'Size of section headers:\s+0 '
423: + out/test/x86_64/z-separate-code/exe1
422:   Size of section headers:           0 (bytes)
422: + on_exit
422: + echo OK
422: OK
422: + exit 0
423: + grep 'Hello world'
422/425 Test #422: x86_64-z-sectionheader ................................   
Passed    0.05 sec
test 424
        Start 424: x86_64-z-stack-size

424: Test command: /usr/bin/bash "-x" "/<<PKGBUILDDIR>>/test/z-stack-size.sh"
424: Working Directory: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
424: Environment variables: 
424:  MACHINE=x86_64
424:  CPU=
424: Test timeout computed to be: 1500
423: Hello world
423: + cc -B. -o out/test/x86_64/z-separate-code/exe2 
out/test/x86_64/z-separate-code/a.o -Wl,-z,separate-code -Wl,-z,norelro
424: ++ dirname /<<PKGBUILDDIR>>/test/z-stack-size.sh
424: + . /<<PKGBUILDDIR>>/test/common.inc
424: ++ export LC_ALL=C
424: ++ LC_ALL=C
424: ++ '[' -z x86_64 ']'
424: ++ '[' -z '' ']'
424: ++ TESTDIR=out/test/x86_64
424: ++ CC=cc
424: ++ CXX=c++
424: ++ GCC=gcc
424: ++ GXX=g++
424: ++ OBJDUMP=objdump
424: ++ OBJCOPY=objcopy
424: ++ STRIP=strip
424: ++ QEMU=
424: +++ basename /<<PKGBUILDDIR>>/test/z-stack-size.sh .sh
424: ++ testname=z-stack-size
424: ++ t=out/test/x86_64/z-stack-size
424: ++ mkdir -p out/test/x86_64/z-stack-size
424: ++ case $MACHINE in
424: ++ tlsdesc_opt=-mtls-dialect=gnu2
424: +++ uname
424: ++ '[' Linux = FreeBSD ']'
424: ++ trap 'on_error $LINENO' ERR
424: ++ trap on_exit EXIT
424: ++ echo -n 'Testing z-stack-size ... '
424: Testing z-stack-size ... ++ set -o pipefail
424: ++ set -x
424: + cat
424: + cc -o out/test/x86_64/z-stack-size/a.o -c -xc -
423: + out/test/x86_64/z-separate-code/exe2
423: + grep 'Hello world'
423: Hello world
423: + cc -B. -o out/test/x86_64/z-separate-code/exe3 
out/test/x86_64/z-separate-code/a.o -Wl,-z,noseparate-code -Wl,-z,norelro
424: + cc -B. -o out/test/x86_64/z-stack-size/exe 
out/test/x86_64/z-stack-size/a.o -Wl,-z,stack-size=0x900000
423: + out/test/x86_64/z-separate-code/exe3
423: + grep 'Hello world'
423: Hello world
423: + on_exit
423: + echo OK
423: OK
423: + exit 0
423/425 Test #423: x86_64-z-separate-code ................................   
Passed    0.07 sec
test 425
        Start 425: x86_64-z-start-stop-visibility

425: Test command: /usr/bin/bash "-x" 
"/<<PKGBUILDDIR>>/test/z-start-stop-visibility.sh"
425: Working Directory: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
425: Environment variables: 
425:  MACHINE=x86_64
425:  CPU=
425: Test timeout computed to be: 1500
424: + readelf -W --segments out/test/x86_64/z-stack-size/exe
424: + grep 'GNU_STACK .* 0x900000 RW'
424:   GNU_STACK      0x000000 0x0000000000000000 0x0000000000000000 0x000000 
0x900000 RW  0x1
424: + on_exit
424: + echo OK
424: OK
424: + exit 0
424/425 Test #424: x86_64-z-stack-size ...................................   
Passed    0.04 sec
425: ++ dirname /<<PKGBUILDDIR>>/test/z-start-stop-visibility.sh
425: + . /<<PKGBUILDDIR>>/test/common.inc
425: ++ export LC_ALL=C
425: ++ LC_ALL=C
425: ++ '[' -z x86_64 ']'
425: ++ '[' -z '' ']'
425: ++ TESTDIR=out/test/x86_64
425: ++ CC=cc
425: ++ CXX=c++
425: ++ GCC=gcc
425: ++ GXX=g++
425: ++ OBJDUMP=objdump
425: ++ OBJCOPY=objcopy
425: ++ STRIP=strip
425: ++ QEMU=
425: +++ basename /<<PKGBUILDDIR>>/test/z-start-stop-visibility.sh .sh
425: ++ testname=z-start-stop-visibility
425: ++ t=out/test/x86_64/z-start-stop-visibility
425: ++ mkdir -p out/test/x86_64/z-start-stop-visibility
425: ++ case $MACHINE in
425: ++ tlsdesc_opt=-mtls-dialect=gnu2
425: +++ uname
425: ++ '[' Linux = FreeBSD ']'
425: ++ trap 'on_error $LINENO' ERR
425: ++ trap on_exit EXIT
425: ++ echo -n 'Testing z-start-stop-visibility ... '
425: Testing z-start-stop-visibility ... ++ set -o pipefail
425: ++ set -x
425: + cat
425: + cc -o out/test/x86_64/z-start-stop-visibility/a.o -c -xc -
425: + cc -B. -o out/test/x86_64/z-start-stop-visibility/exe1 
out/test/x86_64/z-start-stop-visibility/a.o
425: + readelf -W --dyn-syms out/test/x86_64/z-start-stop-visibility/exe1
425: + not grep __start_hello out/test/x86_64/z-start-stop-visibility/log1
425: + grep __start_hello out/test/x86_64/z-start-stop-visibility/log1
425: + return 0
425: + not grep __stop_hello out/test/x86_64/z-start-stop-visibility/log1
425: + grep __stop_hello out/test/x86_64/z-start-stop-visibility/log1
425: + return 0
425: + cc -B. -o out/test/x86_64/z-start-stop-visibility/exe2 
out/test/x86_64/z-start-stop-visibility/a.o -Wl,-z,start-stop-visibility=hidden
425: + readelf -W --dyn-syms out/test/x86_64/z-start-stop-visibility/exe2
425: + not grep __start_hello out/test/x86_64/z-start-stop-visibility/log2
425: + grep __start_hello out/test/x86_64/z-start-stop-visibility/log2
425: + return 0
425: + not grep __stop_hello out/test/x86_64/z-start-stop-visibility/log2
425: + grep __stop_hello out/test/x86_64/z-start-stop-visibility/log2
425: + return 0
425: + cc -B. -o out/test/x86_64/z-start-stop-visibility/exe3 
out/test/x86_64/z-start-stop-visibility/a.o 
-Wl,-z,start-stop-visibility=protected
425: + readelf -W --dyn-syms out/test/x86_64/z-start-stop-visibility/exe3
425: + grep __start_hello out/test/x86_64/z-start-stop-visibility/log3
425:      6: 0000000000003ab0     0 NOTYPE  GLOBAL DEFAULT   29 __start_hello
425: + grep __stop_hello out/test/x86_64/z-start-stop-visibility/log3
425:      9: 0000000000003abc     0 NOTYPE  GLOBAL DEFAULT   29 __stop_hello
425: + on_exit
425: + echo OK
425: OK
425: + exit 0
425/425 Test #425: x86_64-z-start-stop-visibility ........................   
Passed    0.06 sec

99% tests passed, 2 tests failed out of 425

Total Test time (real) =  23.26 sec

The following tests did not run:
          2 - x86_64-arch-x86_64-apx-gotpcrelx (Skipped)
          3 - x86_64-arch-x86_64-apx-gottpoff (Skipped)
          4 - x86_64-arch-x86_64-apx-gottpoff2 (Skipped)
          5 - x86_64-arch-x86_64-apx-tlsdesc (Skipped)
         55 - x86_64-arch-x86_64-z-rewrite-endbr3 (Skipped)

The following tests FAILED:
         53 - x86_64-arch-x86_64-z-rewrite-endbr (Failed)
         54 - x86_64-arch-x86_64-z-rewrite-endbr2 (Failed)
Errors while running CTest
make[1]: *** [Makefile:74: test] Error 8
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_test: error: cd obj-x86_64-linux-gnu && make -j2 test ARGS\+=--verbose 
ARGS\+=-j2 returned exit code 2
make: *** [debian/rules:16: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to