Package: src:firebuild
Version: 0.8.3-3
User: debian...@lists.debian.org
Usertags: make-4.4
Severity: important
Tags: ftbfs

Dear Maintainer,

This package fails to build from source with Make 4.4.1, most likely because of
changes in $(shell) environment handling: environment variables exported from
Makefiles are now made available to commands invoked using $(shell), which
can cause issues with recursive definitions in particular. See
https://salsa.debian.org/debian/make/-/blob/master/debian/NEWS for a complete
list of backward-incompatible changes since Make 4.3.

Below you will find how the builds end, hopefully the most relevant
part from the build log. A full build log is available here:

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

Make 4.4.1 is currently available in experimental and will hopefully
soon be uploaded to unstable, at which time this bug will become
release-critical.

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 affects, so that this is still visible in the BTS web
page for this package.

Please reach out to the Make maintainer, Stephen Kitt <sk...@debian.org> if
you need help fixing this.

--------------------------------------------------------------------------------
Checking test dependency graph...
Checking test dependency graph end
test 1
    Start 1: bats-integration

1: Test command: /usr/bin/env "LC_ALL=C" "./integration.bats"
1: Working Directory: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test
1: Test timeout computed to be: 10000000
1: 1..35
1: ok 1 --help, --version
1: ok 2 empty-config
1: ok 3 bash -c ls
1: ok 4 bash -c grep ok
1: ok 5 regex env vars
1: ok 6 debugging with trace markers and report generation
1: ok 7 bash exec chain
1: ok 8 dash bash exec chain with allow-list
1: ok 9 simple pipe
1: ok 10 yes | head
1: not ok 11 parallel make
1: # (from function `assert_streq' in file test_helper.bash, line 18,
1: #  in test file integration.bats, line 108)
1: #   `assert_streq "$(strip_stderr stderr | grep 'Command ' | grep -E -v '(set to be not 
shortcut|matches skip_cache|Shortcut parent .* instead)')" ""' failed
1: # assert_streq: [ "ok" = "ok" ]
1: # assert_streq: [ "FIREBUILD: Command "/usr/libexec/gcc/x86_64-linux-gnu/14/lto1" can't be short-cut due 
to: Opened /tmp/GMfifo54189 for writing which file is already opened for writing by [54189] "make -s -j8 -f 
test_parallel_make.Makefile", {ExecedProcess 54232.1, running, "lto1 -quiet -dumpbase ./par[...]r-output=pie 
@/tmp/cc0blqCW", fds=[0: {FileFD ofd={FileOFD #0 type=FD_PIPE_IN r} cloexec=false}, 1: {FileFD ofd={FileOFD #267 
type=FD_PIPE_OUT w} {Pipe #4} close_on_popen=false cloexec=false}, 2: {FileFD ofd={FileOFD #268 type=FD_PIPE_OUT w} {Pipe 
#1} close_on_popen=false cloexec=false}, 3: {FileFD NULL} /* times 4 */, 7: {FileFD ofd={FileOFD #272 type=FD_FILE r 
"/tmp/cc5cBJMX.o"} cloexec=false}]}
1: # FIREBUILD: Command "/usr/bin/x86_64-linux-gnu-gcc-14" can't be short-cut due to: Opened 
/tmp/GMfifo54189 for writing which file is already opened for writing by [54189] "make -s -j8 -f 
test_parallel_make.Makefile", {ExecedProcess 54231.1, running, "gcc @/tmp/ccetCBlz", fds=[0: 
{FileFD ofd={FileOFD #0 type=FD_PIPE_IN r} cloexec=false}, 1: {FileFD ofd={FileOFD #262 type=FD_PIPE_OUT w} 
{Pipe #4} close_on_popen=false cloexec=false}, 2: {FileFD ofd={FileOFD #263 type=FD_PIPE_OUT w} {Pipe #1} 
close_on_popen=false cloexec=false}, 3: {FileFD NULL} /* times 3 */]}
1: # FIREBUILD: Command "/usr/libexec/gcc/x86_64-linux-gnu/14/lto-wrapper" can't be short-cut due 
to: Opened /tmp/GMfifo54189 for writing which file is already opened for writing by [54189] "make -s -j8 
-f test_parallel_make.Makefile", {ExecedProcess 54229.1, running, "lto-wrapper 
@/tmp/ccHE2kiD.lto_wrapper_args", fds=[0: {FileFD ofd={FileOFD #0 type=FD_PIPE_IN r} cloexec=false}, 1: 
{FileFD ofd={FileOFD #252 type=FD_PIPE_OUT w} {Pipe #4} close_on_popen=false cloexec=false}, 2: {FileFD 
ofd={FileOFD #253 type=FD_PIPE_OUT w} {Pipe #1} close_on_popen=false cloexec=false}, 3: {FileFD NULL} /* 
times 3 */]}
1: # FIREBUILD: Command "/usr/bin/x86_64-linux-gnu-ld.bfd" can't be short-cut due to: Opened /tmp/GMfifo54189 for writing which file is already opened for writing by [54189] "make -s -j8 -f test_parallel_make.Makefile", {ExecedProcess 54228.1, running, "ld -plugin /usr/libexec/gcc[...]/../x86_64-linux-gnu/crtn.o", fds=[0: {FileFD ofd={FileOFD #0 type=FD_PIPE_IN r} cloexec=false}, 1: {FileFD ofd={FileOFD #191 
type=FD_PIPE_OUT w} {Pipe #0} close_on_popen=false cloexec=false}, 2: {FileFD ofd={FileOFD #192 type=FD_PIPE_OUT w} {Pipe #1} close_on_popen=false cloexec=false}, 3: {FileFD NULL} /* times 2 */, 5: {FileFD ofd={FileOFD #193 type=FD_FILE rw "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test/parallel_make_test_main"} cloexec=true}, 6: {FileFD ofd={FileOFD #194 type=FD_FILE r 
"/usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o"} cloexec=true}, 7: {FileFD ofd={FileOFD #196 type=FD_FILE r "/usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/crti.o"} cloexec=true}, 8: {FileFD ofd={FileOFD #198 type=FD_FILE r "/usr/lib/gcc/x86_64-linux-gnu/14/crtbeginS.o"} cloexec=true}, 9: {FileFD ofd={FileOFD #202 type=FD_FILE r 
"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test/parallel_make_test.1.o"} cloexec=true}, 10: {FileFD ofd={FileOFD #204 type=FD_FILE r "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test/parallel_make_test.2.o"} cloexec=true}, 11: {FileFD ofd={FileOFD #206 type=FD_FILE r "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test/parallel_make_test.3.o"} cloexec=true}, 12: {FileFD ofd={FileOFD #208 
type=FD_FILE r "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test/parallel_make_test.4.o"} cloexec=true}, 13: {FileFD ofd={FileOFD #210 type=FD_FILE r "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test/parallel_make_test.5.o"} cloexec=true}, 14: {FileFD ofd={FileOFD #212 type=FD_FILE r "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test/parallel_make_test.6.o"} cloexec=true}, 15: {FileFD ofd={FileOFD 
#214 type=FD_FILE r "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test/parallel_make_test.7.o"} cloexec=true}, 16: {FileFD ofd={FileOFD #216 type=FD_FILE r "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test/parallel_make_test.8.o"} cloexec=true}, 17: {FileFD ofd={FileOFD #218 type=FD_FILE r "/usr/lib/gcc/x86_64-linux-gnu/14/libgcc.a"} cloexec=true}, 18: {FileFD ofd={FileOFD #223 type=FD_FILE r 
"/usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libgcc_s.so.1"} cloexec=true}, 19: {FileFD ofd={FileOFD #225 type=FD_FILE r "/usr/lib/gcc/x86_64-linux-gnu/14/libgcc.a"} cloexec=true}, 20: {FileFD ofd={FileOFD #230 type=FD_FILE r "/lib/x86_64-linux-gnu/libc.so.6"} cloexec=true}, 21: {FileFD ofd={FileOFD #232 type=FD_FILE r "/usr/lib/x86_64-linux-gnu/libc_nonshared.a"} cloexec=true}, 22: 
{FileFD ofd={FileOFD #233 type=FD_FILE r "/lib64/ld-linux-x86-64.so.2"} cloexec=true}, 23: {FileFD ofd={FileOFD #235 type=FD_FILE r "/usr/lib/gcc/x86_64-linux-gnu/14/libgcc.a"} cloexec=true}, 24: {FileFD ofd={FileOFD #240 type=FD_FILE r "/usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libgcc_s.so.1"} cloexec=true}, 25: {FileFD ofd={FileOFD #242 type=FD_FILE r 
"/usr/lib/gcc/x86_64-linux-gnu/14/libgcc.a"} cloexec=true}, 26: {FileFD ofd={FileOFD #243 type=FD_FILE r "/usr/lib/gcc/x86_64-linux-gnu/14/crtendS.o"} cloexec=true}, 27: {FileFD ofd={FileOFD #245 type=FD_FILE r "/usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/crtn.o"} cloexec=true}, 28: {FileFD ofd={FileOFD #250 type=FD_PIPE_IN r} {Pipe #4} close_on_popen=false cloexec=false}, 29: {FileFD NULL}]}
1: # FIREBUILD: Command "/usr/libexec/gcc/x86_64-linux-gnu/14/collect2" can't be short-cut due to: 
Opened /tmp/GMfifo54189 for writing which file is already opened for writing by [54189] "make -s -j8 -f 
test_parallel_make.Makefile", {ExecedProcess 54227.1, running, "collect2 -plugin 
/usr/libex[...]/../x86_64-linux-gnu/crtn.o", fds=[0: {FileFD ofd={FileOFD #0 type=FD_PIPE_IN r} 
cloexec=false}, 1: {FileFD ofd={FileOFD #187 type=FD_PIPE_OUT w} {Pipe #0} close_on_popen=false 
cloexec=false}, 2: {FileFD ofd={FileOFD #188 type=FD_PIPE_OUT w} {Pipe #1} close_on_popen=false 
cloexec=false}, 3: {FileFD NULL} /* times 3 */]}
1: # FIREBUILD: Command "/usr/bin/x86_64-linux-gnu-gcc-14" can't be short-cut due to: Opened 
/tmp/GMfifo54189 for writing which file is already opened for writing by [54189] "make -s -j8 -f 
test_parallel_make.Makefile", {ExecedProcess 54224.1, running, "gcc -flto=auto -o 
parallel_[...].7.o parallel_make_test.8.o", fds=[0: {FileFD ofd={FileOFD #0 type=FD_PIPE_IN r} 
cloexec=false}, 1: {FileFD ofd={FileOFD #141 type=FD_PIPE_OUT w} {Pipe #0} close_on_popen=false 
cloexec=false}, 2: {FileFD ofd={FileOFD #142 type=FD_PIPE_OUT w} {Pipe #1} close_on_popen=false 
cloexec=false}, 3: {FileFD NULL} /* times 3 */]}
1: # FIREBUILD: Command "/usr/bin/make" can't be short-cut due to: Could not register unsupported file usage combination, 
{ExecedProcess 54237.1, running, "make -f /tmp/cc6vdJOi.mk all", fds=[0: {FileFD ofd={FileOFD #0 type=FD_PIPE_IN r} 
cloexec=false}, 1: {FileFD ofd={FileOFD #282 type=FD_FILE w "/tmp/ccdL8tgV"} cloexec=false}, 2: {FileFD ofd={FileOFD #283 
type=FD_PIPE_OUT w} {Pipe #1} close_on_popen=false cloexec=false}, 3: {FileFD NULL} /* times 2 */, 5: {FileFD ofd={FileOFD #284 
type=FD_FILE r "/tmp/GMfifo54189"} cloexec=false}]}" = "" ]
1: ok 12 orphan processes
1: ok 13 system()
1: ok 14 exec()
1: ok 15 closedir() inside an rm -r
1: ok 16 file operations
1: ok 17 randomness handling
1: ok 18 waiting for a child
1: ok 19 pthreads interception
1: ok 20 err()
1: ok 21 error()
1: ok 22 env fixup
1: ok 23 popen() a statically linked binary and a normal one
1: ok 24 fork() + exec() a statically linked binary
1: ok 25 posix_spawn() a binary
1: ok 26 posix_spawn() a static binary
1: ok 27 clone() a statically linked binary
1: ok 28 system() a statically linked binary
1: ok 29 pipe replaying
1: ok 30 parallel sleeps
1: ok 31 max entry size
1: ok 32 gc
1: ok 33 cache-format
1: ok 34 stats
1: ok 35 clang pch
1/3 Test #1: bats-integration .................***Failed    8.05 sec
test 2
    Start 2: fbb

2: Test command: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test/fbb_test
2: Working Directory: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test
2: Test timeout computed to be: 10000000
2: fbb testing succeeded
2/3 Test #2: fbb ..............................   Passed    0.00 sec
test 3
    Start 3: test-symbols

3: Test command: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test/test_symbols 
"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu"
3: Working Directory: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test
3: Test timeout computed to be: 10000000
3: No unexpected public symbols
3: No unexpected overridden methods
3: All expected fortified methods overridden
3: All expected 64bit methods overridden
3: All expected time64 methods overridden
3: All expected underscore methods overridden
3/3 Test #3: test-symbols .....................   Passed    1.46 sec

67% tests passed, 1 tests failed out of 3

Total Test time (real) =   9.51 sec

The following tests FAILED:
          1 - bats-integration (Failed)
Errors while running CTest
Output from these tests are in: 
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test/Testing/Temporary/LastTest.log
Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely.
make[5]: *** [test/CMakeFiles/check.dir/build.make:73: test/CMakeFiles/check] 
Error 8
make[5]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[4]: *** [CMakeFiles/Makefile2:670: test/CMakeFiles/check.dir/all] Error 2
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[3]: *** [CMakeFiles/Makefile2:677: test/CMakeFiles/check.dir/rule] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [Makefile:338: check] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [debian/rules:38: override_dh_auto_test] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:19: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to