Bug#1023766: android-platform-build-kati: autopkgtest regression on armel: undefined reference to `std::__atomic_futex_unsigned_base

2023-01-24 Thread Adrian Bunk
On Wed, Nov 09, 2022 at 09:58:22PM +0100, Paul Gevers wrote:
> Source: android-platform-build-kati
> Version: 10.0.0+r32+git20220314.09dfa26c4e59-3
> Severity: serious
> User: debian...@lists.debian.org
> Usertags: regression
> 
> Dear maintainer(s),
> 
> With a recent upload of android-platform-build-kati the autopkgtest of
> android-platform-build-kati fails in testing when that autopkgtest is run
> with the binary packages of android-platform-build-kati from unstable. It
> passes when run with only packages from testing. In tabular form:
> 
>passfail
> android-platform-build-kati
>from testing
>10.0.0+r32+git20220314.09dfa26c4e59-3
> all others from testingfrom testing
> 
> I copied some of the output at the bottom of this report.
> 
> Currently this regression is blocking the migration to testing [1]. Can you
> please investigate the situation and fix it?
>...
> g++ -c -std=c++17 -g -W -Wall -MMD -MP -O -DNOLOG -march=native -o
> out/affinity.o src/affinity.cc
>...

I was wondering why this works for me on the porterbox, but the 
autopkgtest fails on armel (and on ppc64el and riscv64).

The relevant difference is likely the hardware, and the fact that 
-march=native is editied out during the build[1] but not patched
out, so still used during the autopkgtest.

cu
Adrian

[1] 
https://sources.debian.org/src/android-platform-build-kati/10.0.0%2Br32%2Bgit20220314.09dfa26c4e59-3/debian/rules/#L15



Bug#1023766: android-platform-build-kati: autopkgtest regression on armel: undefined reference to `std::__atomic_futex_unsigned_base

2022-11-09 Thread Paul Gevers

Source: android-platform-build-kati
Version: 10.0.0+r32+git20220314.09dfa26c4e59-3
Severity: serious
User: debian...@lists.debian.org
Usertags: regression

Dear maintainer(s),

With a recent upload of android-platform-build-kati the autopkgtest of 
android-platform-build-kati fails in testing when that autopkgtest is 
run with the binary packages of android-platform-build-kati from 
unstable. It passes when run with only packages from testing. In tabular 
form:


   passfail
android-platform-build-kati
   from testing
   10.0.0+r32+git20220314.09dfa26c4e59-3
all others from testingfrom testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration to testing [1]. Can 
you please investigate the situation and fix it?


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=android-platform-build-kati

https://ci.debian.net/data/autopkgtest/testing/armel/a/android-platform-build-kati/28061250/log.gz

/bin/sh: 1: git: not found
realpath: missing operand
Try 'realpath --help' for more information.
rm -rf out/ckati
rm -rf out/*.o
rm -rf out/*.d
rm -rf out/version.cc
rm -rf ./find_test ./ninja_test ./string_piece_test ./strutil_test 
./strutil_bench

rm -rf ./ckati
rm -rf out
/bin/sh: 1: git: not found
realpath: missing operand
Try 'realpath --help' for more information.
g++ -c -std=c++17 -g -W -Wall -MMD -MP -O -DNOLOG -march=native -o 
out/affinity.o src/affinity.cc
g++ -c -std=c++17 -g -W -Wall -MMD -MP -O -DNOLOG -march=native -o 
out/command.o src/command.cc
g++ -c -std=c++17 -g -W -Wall -MMD -MP -O -DNOLOG -march=native -o 
out/dep.o src/dep.cc
g++ -c -std=c++17 -g -W -Wall -MMD -MP -O -DNOLOG -march=native -o 
out/eval.o src/eval.cc
g++ -c -std=c++17 -g -W -Wall -MMD -MP -O -DNOLOG -march=native -o 
out/exec.o src/exec.cc
g++ -c -std=c++17 -g -W -Wall -MMD -MP -O -DNOLOG -march=native -o 
out/expr.o src/expr.cc
g++ -c -std=c++17 -g -W -Wall -MMD -MP -O -DNOLOG -march=native -o 
out/file.o src/file.cc
g++ -c -std=c++17 -g -W -Wall -MMD -MP -O -DNOLOG -march=native -o 
out/file_cache.o src/file_cache.cc
g++ -c -std=c++17 -g -W -Wall -MMD -MP -O -DNOLOG -march=native -o 
out/fileutil.o src/fileutil.cc
g++ -c -std=c++17 -g -W -Wall -MMD -MP -O -DNOLOG -march=native -o 
out/find.o src/find.cc
g++ -c -std=c++17 -g -W -Wall -MMD -MP -O -DNOLOG -march=native -o 
out/flags.o src/flags.cc
g++ -c -std=c++17 -g -W -Wall -MMD -MP -O -DNOLOG -march=native -o 
out/func.o src/func.cc
g++ -c -std=c++17 -g -W -Wall -MMD -MP -O -DNOLOG -march=native -o 
out/io.o src/io.cc
g++ -c -std=c++17 -g -W -Wall -MMD -MP -O -DNOLOG -march=native -o 
out/log.o src/log.cc
g++ -c -std=c++17 -g -W -Wall -MMD -MP -O -DNOLOG -march=native -o 
out/main.o src/main.cc
g++ -c -std=c++17 -g -W -Wall -MMD -MP -O -DNOLOG -march=native -o 
out/ninja.o src/ninja.cc
g++ -c -std=c++17 -g -W -Wall -MMD -MP -O -DNOLOG -march=native -o 
out/parser.o src/parser.cc
g++ -c -std=c++17 -g -W -Wall -MMD -MP -O -DNOLOG -march=native -o 
out/regen.o src/regen.cc
g++ -c -std=c++17 -g -W -Wall -MMD -MP -O -DNOLOG -march=native -o 
out/rule.o src/rule.cc
g++ -c -std=c++17 -g -W -Wall -MMD -MP -O -DNOLOG -march=native -o 
out/stats.o src/stats.cc
g++ -c -std=c++17 -g -W -Wall -MMD -MP -O -DNOLOG -march=native -o 
out/stmt.o src/stmt.cc
g++ -c -std=c++17 -g -W -Wall -MMD -MP -O -DNOLOG -march=native -o 
out/string_piece.o src/string_piece.cc
g++ -c -std=c++17 -g -W -Wall -MMD -MP -O -DNOLOG -march=native -o 
out/stringprintf.o src/stringprintf.cc
g++ -c -std=c++17 -g -W -Wall -MMD -MP -O -DNOLOG -march=native -o 
out/strutil.o src/strutil.cc
g++ -c -std=c++17 -g -W -Wall -MMD -MP -O -DNOLOG -march=native -o 
out/symtab.o src/symtab.cc
g++ -c -std=c++17 -g -W -Wall -MMD -MP -O -DNOLOG -march=native -o 
out/timeutil.o src/timeutil.cc
g++ -c -std=c++17 -g -W -Wall -MMD -MP -O -DNOLOG -march=native -o 
out/var.o src/var.cc

echo '// +build ignore' > out/version.cc
echo >> out/version.cc
echo 'const char* kGitVersion = "unknown";' >> out/version.cc
g++ -c -std=c++17 -g -W -Wall -MMD -MP -O -DNOLOG -march=native -o 
out/version.o out/version.cc
g++ -std=c++17 -g -W -Wall -MMD -MP -O -DNOLOG -march=native -o ckati 
out/affinity.o out/command.o out/dep.o out/eval.o out/exec.o out/expr.o 
out/file.o out/file_cache.o out/fileutil.o out/find.o out/flags.o 
out/func.o out/io.o out/log.o out/main.o out/ninja.o out/parser.o 
out/regen.o out/rule.o out/stats.o out/stmt.o out/string_piece.o 
out/stringprintf.o out/strutil.o out/symtab.o out/timeutil.o out/var.o 
out/version.o -lrt -lpthread

*** [ckati] Error 1
/usr/bin/ld: out/regen.o: in function 
`std::__atomic_futex_unsigned<2147483648u>::_M_store_notify_all(unsigned 
int, std::memory_order)':
/usr/include/c++/12/bits/atomic_fut