Package: src:mold
Version: 2.41.0+dfsg-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

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

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

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

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 cannot 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 && env -- DEB_PYTHON_INSTALL_LAYOUT=deb 
--unset=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_C_COMPILER=/usr/bin/x86_64-linux-gnu-gcc 
-DCMAKE_CXX_COMPILER=/usr/bin/x86_64-linux-gnu-g\+\+ 
-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.3.0
-- The CXX compiler identification is GNU 15.3.0

[... snipped ...]

433: + readelf -WS out/test/x86_64/z-rodynamic/exe2
433: + grep '\.dynamic.* A '
433:   [11] .dynamic          DYNAMIC         00000000000004e0 0004e0 0001a0 10 
  A  7   0  8
433: + on_exit
433: + echo OK
433: OK
433: + exit 0
433/438 Test #433: x86_64-z-rodynamic ....................................   
Passed    0.06 sec
test 435
        Start 435: x86_64-z-separate-code

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

436: Test command: /usr/bin/bash "-x" "/<<PKGBUILDDIR>>/test/z-stack-size.sh"
436: Working Directory: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
436: Environment variables: 
436:  MACHINE=x86_64
436:  CPU=
436: Test timeout computed to be: 1500
435: + cat
435: + cc -o out/test/x86_64/z-separate-code/a.o -c -xc -
436: ++ dirname /<<PKGBUILDDIR>>/test/z-stack-size.sh
436: + . /<<PKGBUILDDIR>>/test/common.inc
436: ++ export LC_ALL=C
436: ++ LC_ALL=C
436: ++ '[' -z x86_64 ']'
436: ++ '[' -z '' ']'
436: ++ TESTDIR=out/test/x86_64
436: ++ CC=cc
436: ++ CXX=c++
436: ++ GCC=gcc
436: ++ GXX=g++
436: ++ OBJDUMP=objdump
436: ++ OBJCOPY=objcopy
436: ++ STRIP=strip
436: ++ QEMU=
436: +++ basename /<<PKGBUILDDIR>>/test/z-stack-size.sh .sh
436: ++ testname=z-stack-size
436: ++ t=out/test/x86_64/z-stack-size
436: ++ mkdir -p out/test/x86_64/z-stack-size
436: ++ case $MACHINE in
436: ++ tlsdesc_opt=-mtls-dialect=gnu2
436: +++ uname
436: ++ '[' Linux = FreeBSD ']'
436: ++ trap 'on_error $LINENO' ERR
436: ++ trap on_exit EXIT
436: ++ echo -n 'Testing z-stack-size ... '
436: Testing z-stack-size ... ++ set -o pipefail
436: ++ set -x
436: + cat
436: + cc -o out/test/x86_64/z-stack-size/a.o -c -xc -
435: + 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
436: + 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
435: + out/test/x86_64/z-separate-code/exe1
435: + grep 'Hello world'
436: + readelf -W --segments out/test/x86_64/z-stack-size/exe
436: + grep 'GNU_STACK .* 0x900000 RW'
435: Hello world
435: + 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
436:   GNU_STACK      0x000000 0x0000000000000000 0x0000000000000000 0x000000 
0x900000 RW  0x1
436: + on_exit
436: + echo OK
436: OK
436: + exit 0
435/438 Test #436: x86_64-z-stack-size ...................................   
Passed    0.03 sec
test 437
        Start 437: x86_64-z-start-stop-visibility

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

438: Test command: /usr/bin/bash "-x" "/<<PKGBUILDDIR>>/test/zero-to-bss.sh"
438: Working Directory: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
438: Environment variables: 
438:  MACHINE=x86_64
438:  CPU=
438: Test timeout computed to be: 1500
438: ++ dirname /<<PKGBUILDDIR>>/test/zero-to-bss.sh
438: + . /<<PKGBUILDDIR>>/test/common.inc
438: ++ export LC_ALL=C
438: ++ LC_ALL=C
438: ++ '[' -z x86_64 ']'
438: ++ '[' -z '' ']'
438: ++ TESTDIR=out/test/x86_64
438: ++ CC=cc
438: ++ CXX=c++
438: ++ GCC=gcc
438: ++ GXX=g++
438: ++ OBJDUMP=objdump
438: ++ OBJCOPY=objcopy
438: ++ STRIP=strip
438: ++ QEMU=
438: +++ basename /<<PKGBUILDDIR>>/test/zero-to-bss.sh .sh
438: ++ testname=zero-to-bss
438: ++ t=out/test/x86_64/zero-to-bss
438: ++ mkdir -p out/test/x86_64/zero-to-bss
438: ++ case $MACHINE in
438: ++ tlsdesc_opt=-mtls-dialect=gnu2
437: + readelf -W --dyn-syms out/test/x86_64/z-start-stop-visibility/exe1
438: +++ uname
438: ++ '[' Linux = FreeBSD ']'
438: ++ trap 'on_error $LINENO' ERR
438: ++ trap on_exit EXIT
438: ++ echo -n 'Testing zero-to-bss ... '
438: Testing zero-to-bss ... ++ set -o pipefail
438: ++ set -x
438: ++ uname
437: + not grep __start_hello out/test/x86_64/z-start-stop-visibility/log1
437: + grep __start_hello out/test/x86_64/z-start-stop-visibility/log1
438: + '[' Linux = FreeBSD ']'
438: + cat
438: + cc -o out/test/x86_64/zero-to-bss/a.o -c -xc -
437: + return 0
437: + not grep __stop_hello out/test/x86_64/z-start-stop-visibility/log1
437: + grep __stop_hello out/test/x86_64/z-start-stop-visibility/log1
437: + return 0
437: + 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
438: + cc -B. -o out/test/x86_64/zero-to-bss/exe1 
out/test/x86_64/zero-to-bss/a.o
437: + readelf -W --dyn-syms out/test/x86_64/z-start-stop-visibility/exe2
437: + not grep __start_hello out/test/x86_64/z-start-stop-visibility/log2
437: + grep __start_hello out/test/x86_64/z-start-stop-visibility/log2
437: + return 0
437: + not grep __stop_hello out/test/x86_64/z-start-stop-visibility/log2
437: + grep __stop_hello out/test/x86_64/z-start-stop-visibility/log2
437: + return 0
437: + 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
438: + readelf -WS out/test/x86_64/zero-to-bss/exe1
437: + readelf -W --dyn-syms out/test/x86_64/z-start-stop-visibility/exe3
438: + grep -E '.zero\s+PROGBITS'
437: + grep __start_hello out/test/x86_64/z-start-stop-visibility/log3
438:   [30] .zero             PROGBITS        0000000000003a80 000a80 000100 00 
 WA  0   0 32
438: + readelf -WS out/test/x86_64/zero-to-bss/exe1
437:      6: 0000000000003a70     0 NOTYPE  GLOBAL DEFAULT   28 __start_hello
437: + grep __stop_hello out/test/x86_64/z-start-stop-visibility/log3
438: + grep -E '.const\s+PROGBITS'
437:      9: 0000000000003a7c     0 NOTYPE  GLOBAL DEFAULT   28 __stop_hello
437: + on_exit
438:   [12] .const            PROGBITS        0000000000000520 000520 000100 00 
  A  0   0 32
437: + echo OK
437: OK
437: + exit 0
438: + out/test/x86_64/zero-to-bss/exe1
437/438 Test #437: x86_64-z-start-stop-visibility ........................   
Passed    0.08 sec
438: + grep Hello
438: Hello world
438: + cc -B. -o out/test/x86_64/zero-to-bss/exe2 
out/test/x86_64/zero-to-bss/a.o -Wl,--zero-to-bss
438: + readelf -WS out/test/x86_64/zero-to-bss/exe2
438: + grep -E '.zero\s+NOBITS'
438:   [32] .zero             NOBITS          0000000000003a80 000a78 000100 00 
 WA  0   0 32
438: + readelf -WS out/test/x86_64/zero-to-bss/exe2
438: + grep -E '.const\s+PROGBITS'
438:   [12] .const            PROGBITS        0000000000000520 000520 000100 00 
  A  0   0 32
438: + out/test/x86_64/zero-to-bss/exe2
438: + grep Hello
438: Hello world
438: + on_exit
438: + echo OK
438: OK
438: + exit 0
438/438 Test #438: x86_64-zero-to-bss ....................................   
Passed    0.07 sec

99% tests passed, 1 tests failed out of 438

Total Test time (real) =  23.36 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)
         16 - x86_64-arch-x86_64-ifunc-export (Skipped)
         58 - x86_64-arch-x86_64-z-rewrite-endbr3 (Skipped)

The following tests FAILED:
        155 - x86_64-gdb-index-dwarf5 (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 failed with exit 
status 2
--------------------------------------------------------------------------------

Reply via email to