https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: media-libs/audiofile-0.3.6-r4 fails tests. Discovered on: amd64 (internal ref: tinderbox) NOTE: This machine uses a clang/LLVM toolchain. If you think that this issue is strictly related to clang/LLVM please block bug 408963. If you think that this issue is strictly related to the LLD linker, please block bug 731004. This machine uses also GLIBC-2.32. If you think that this issue is strictly related to GLIBC please block bug 736174.
Created attachment 657890 [details] build.log build log and emerge --info
Created attachment 657892 [details] 1-autoconf.out 1-autoconf.out
Created attachment 657894 [details] 1-test-suite.log 1-test-suite.log
The error is clang -m32 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-libs/audiofile-0.3.6-r4/work/audiofile-0.3.6/test -I.. -I/var/tmp/portage/media-libs/audiofile-0.3.6-r4/work/audiofile-0.3.6/libaudiofile -I/var/tmp/portage/media-libs/audiofile-0.3.6-r4/work/audiofile-0.3.6 -O2 -march=native -pipe -c -o query2.o /var/tmp/portage/media-libs/audiofile-0.3.6-r4/work/audiofile-0.3.6/test/query2.c /var/tmp/portage/media-libs/audiofile-0.3.6-r4/work/audiofile-0.3.6/test/Sign.cpp:160:39: error: non-constant-expression cannot be narrowed from type 'int32_t' (aka 'int') to 'uint32_t' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] const uint32_t expectedData[] = { 0, -kMinInt32, kMaxUInt32 }; ^~~~~~~~~~ /var/tmp/portage/media-libs/audiofile-0.3.6-r4/work/audiofile-0.3.6/test/Sign.cpp:160:39: note: insert an explicit cast to silence this issue const uint32_t expectedData[] = { 0, -kMinInt32, kMaxUInt32 }; ^~~~~~~~~~ static_cast<uint32_t>( ) Not fixed upstream, and the upstream author hasn't been seen in more than 5 years.