[Android-tools-devel] Bug#1105279: android-platform-art: FTBFS with make --shuffle=reverse: clang++: error: linker command failed with exit code 1 (use -v to see invocation)

Lucas Nussbaum lucas at debian.org
Tue May 13 19:51:21 BST 2025


Source: android-platform-art
Version: 14.0.0+r15-4
Severity: minor
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-shuffle

Hi,

GNU Make now has a --shuffle option that simulates non-deterministic ordering
of target prerequisites. See
https://trofi.github.io/posts/238-new-make-shuffle-mode.html and also previous
work in Debian by Santiago Vila:
https://people.debian.org/~sanvila/make-shuffle/

This package fails to build with make --shuffle=reverse.
This is likely to be caused by a missing dependency in
debian/rules or an upstream Makefile.

More information about this mass bug filing is available at
https://wiki.debian.org/qa.debian.org/FTBFS/Shuffle

Relevant part (hopefully):
> make[2]: Entering directory '/build/reproducible-path/android-platform-art-14.0.0+r15'
> debian/libnativebridge.mk:23: update target 'libnativebridge/native_bridge.o' due to: target does not exist
> clang++ -c -o libnativebridge/native_bridge.o libnativebridge/native_bridge.cc -g -O2 -ffile-prefix-map=/build/reproducible-path/android-platform-art-14.0.0+r15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -std=gnu++2a -gdwarf-4 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -I/usr/include/android -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant  -I/usr/include/android/nativehelper -Ilibnativebridge/include 
> debian/libnativebridge.mk:19: update target 'debian/out/libnativebridge.so.0' due to: target does not exist
> clang++ -o debian/out/libnativebridge.so.0 libnativebridge/native_bridge.o -Wl,-z,relro -Wl,-z,now -fPIC -fuse-ld=lld -Wl,--build-id=sha1 -L/usr/lib/x86_64-linux-gnu/android -Ldebian/out -Wl,-rpath=/usr/lib/x86_64-linux-gnu/android -ldl -llog -shared
> ld.lld: error: cannot open output file debian/out/libnativebridge.so.0: No such file or directory
> clang++: error: linker command failed with exit code 1 (use -v to see invocation)


The full build log is available from:
http://qa-logs.debian.net/2025/05/05/shuffle/reverse/android-platform-art_14.0.0+r15-4_unstable_reverse.log

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects



More information about the Android-tools-devel mailing list