[From nobody Sun Jul 12 05:51:05 2026
Received: (at submit) by bugs.debian.org; 13 May 2025 18:56:10 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
 (2021-04-09) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-106.8 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
 DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,
 SPF_HELO_NONE,SPF_NONE,UNPARSEABLE_RELAY,USER_IN_DKIM_WELCOMELIST,
 USER_IN_DKIM_WHITELIST autolearn=ham autolearn_force=no
 version=3.4.6-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 69; hammy, 150; neutral, 174; spammy,
 0. spammytokens:
 hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
 0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
 0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: &lt;lucas@debian.org&gt;
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:39958)
 from C=NA, ST=NA, L=Ankh Morpork, O=Debian SMTP, OU=Debian SMTP CA,
 CN=stravinsky.debian.org, EMAIL=hostmaster@stravinsky.debian.org (verified)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.94.2) (envelope-from &lt;lucas@debian.org&gt;) id 1uEunS-006xG9-57
 for submit@bugs.debian.org; Tue, 13 May 2025 18:56:10 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.stravinsky;
 h=X-Debian-User:Content-Type:MIME-Version:Message-ID:
 Subject:To:From:Date:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=HfQ/I9L78vJgDYD6ioazj6RCn4AfNKHkm6Nx3g8BBM8=; b=GKfqRj5EE9F58T+lQd7y5yGw6O
 evWRLFplk///X1jVOFxjNDdrQGTJEg92DYcwrNua6VAA3JfTr5qwP9UTMHWRwInk2e2u5kyuuBOkN
 ZrJY9CHhtxbakGuW2V9VtWAUI6JrDOmfrpTtN9jYdae7THYnUcL4M+20i4uRejYUTCy+ZrIp0uo/R
 3x+Kc6yPC2PZrAawIxlrDkEaUvsbmDu3nIuxhdvNwVGitUKg5UIcBXdsltbreRMdqV7tz7O27uFqn
 7QwdLtDBmMvKDFbiIbxZne5NjX7aN0tKr1iZ57X4N1Wo30ChEk9Hm3p6/JBjS5pAz44f+41LQRI1F
 iwgNb5nQ==;
Received: from authenticated user by stravinsky.debian.org with esmtpsa
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.94.2) (envelope-from &lt;lucas@debian.org&gt;) id 1uEunQ-00ApIJ-Cz
 for submit@bugs.debian.org; Tue, 13 May 2025 18:56:08 +0000
Date: Tue, 13 May 2025 20:51:36 +0200
From: Lucas Nussbaum &lt;lucas@debian.org&gt;
To: submit@bugs.debian.org
Subject: android-platform-tools: FTBFS with make --shuffle=reverse: clang++:
 error: linker command failed with exit code 1 (use -v to see invocation)
Message-ID: &lt;aCOUuCmb787ZS8Jn@grub.nussbaum.fr&gt;
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debian-User: lucas
Delivered-To: submit@bugs.debian.org

Source: android-platform-tools
Version: 34.0.5-12
Severity: minor
Tags: trixie sid ftbfs
User: lucas@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):
&gt; make[2]: Entering directory '/build/reproducible-path/android-platform-tools-34.0.5'
&gt; debian/libnativehelper/libnativehelper.mk:37: update target 'libnativehelper/file_descriptor_jni.o' due to: target does not exist
&gt; clang -c -o libnativehelper/file_descriptor_jni.o libnativehelper/file_descriptor_jni.c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/android-platform-tools-34.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -std=gnu17 -gdwarf-4 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -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 -Ilibnativehelper/header_only_include -Ilibnativehelper/include -Ilibnativehelper/include_jni -Isystem/libbase/include -Isystem/logging/liblog/include 
&gt; debian/libnativehelper/libnativehelper.mk:37: update target 'libnativehelper/JniInvocation.o' due to: target does not exist
&gt; clang -c -o libnativehelper/JniInvocation.o libnativehelper/JniInvocation.c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/android-platform-tools-34.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -std=gnu17 -gdwarf-4 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -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 -Ilibnativehelper/header_only_include -Ilibnativehelper/include -Ilibnativehelper/include_jni -Isystem/libbase/include -Isystem/logging/liblog/include 
&gt; debian/libnativehelper/libnativehelper.mk:37: update target 'libnativehelper/JniConstants.o' due to: target does not exist
&gt; clang -c -o libnativehelper/JniConstants.o libnativehelper/JniConstants.c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/android-platform-tools-34.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -std=gnu17 -gdwarf-4 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -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 -Ilibnativehelper/header_only_include -Ilibnativehelper/include -Ilibnativehelper/include_jni -Isystem/libbase/include -Isystem/logging/liblog/include 
&gt; debian/libnativehelper/libnativehelper.mk:37: update target 'libnativehelper/JNIPlatformHelp.o' due to: target does not exist
&gt; clang -c -o libnativehelper/JNIPlatformHelp.o libnativehelper/JNIPlatformHelp.c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/android-platform-tools-34.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -std=gnu17 -gdwarf-4 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -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 -Ilibnativehelper/header_only_include -Ilibnativehelper/include -Ilibnativehelper/include_jni -Isystem/libbase/include -Isystem/logging/liblog/include 
&gt; debian/libnativehelper/libnativehelper.mk:37: update target 'libnativehelper/JNIHelp.o' due to: target does not exist
&gt; clang -c -o libnativehelper/JNIHelp.o libnativehelper/JNIHelp.c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/android-platform-tools-34.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -std=gnu17 -gdwarf-4 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -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 -Ilibnativehelper/header_only_include -Ilibnativehelper/include -Ilibnativehelper/include_jni -Isystem/libbase/include -Isystem/logging/liblog/include 
&gt; debian/libnativehelper/libnativehelper.mk:37: update target 'libnativehelper/ExpandableString.o' due to: target does not exist
&gt; clang -c -o libnativehelper/ExpandableString.o libnativehelper/ExpandableString.c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/android-platform-tools-34.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -std=gnu17 -gdwarf-4 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -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 -Ilibnativehelper/header_only_include -Ilibnativehelper/include -Ilibnativehelper/include_jni -Isystem/libbase/include -Isystem/logging/liblog/include 
&gt; debian/libnativehelper/libnativehelper.mk:37: update target 'libnativehelper/DlHelp.o' due to: target does not exist
&gt; clang -c -o libnativehelper/DlHelp.o libnativehelper/DlHelp.c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/android-platform-tools-34.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -std=gnu17 -gdwarf-4 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -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 -Ilibnativehelper/header_only_include -Ilibnativehelper/include -Ilibnativehelper/include_jni -Isystem/libbase/include -Isystem/logging/liblog/include 
&gt; debian/libnativehelper/libnativehelper.mk:33: update target 'build' due to: target does not exist
&gt; clang++ libnativehelper/DlHelp.o libnativehelper/ExpandableString.o libnativehelper/JNIHelp.o libnativehelper/JNIPlatformHelp.o libnativehelper/JniConstants.o libnativehelper/JniInvocation.o libnativehelper/file_descriptor_jni.o -o debian/out/libnativehelper/libnativehelper.so.0 -Wl,-z,relro -Wl,-z,now -fPIC -fuse-ld=lld -Wl,--build-id=sha1 -Ldebian/out/system -Wl,-rpath=/usr/lib/x86_64-linux-gnu/android -Wl,-soname,libnativehelper.so.0 -ldl -llog -lpthread -shared
&gt; ld.lld: error: unable to find library -llog
&gt; 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-tools_34.0.5-12_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
]