[From nobody Wed Jun 10 14:51:05 2026
Received: (at maintonly) by bugs.debian.org; 17 Feb 2025 17:03:14 +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=-117.1 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
 DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,FVGT_m_MULTI_ODD,HAS_PACKAGE,
 RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_NONE,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, 37; hammy, 150; neutral, 300; spammy,
 0. spammytokens: hammytokens:0.000-+--trixie, 0.000-+--H*F:U*doko,
 0.000-+--qalogsdebiannet, 0.000-+--qa-logs.debian.net,
 0.000-+--UD:qa-logs.debian.net
Return-path: &lt;doko@paradis.debian.org&gt;
Received: from mitropoulos.debian.org
 ([2001:648:2ffc:deb:216:61ff:fe9d:958d]:40388)
 from C=NA, ST=NA, L=Ankh Morpork, O=Debian SMTP, OU=Debian SMTP CA,
 CN=mitropoulos.debian.org, EMAIL=hostmaster@mitropoulos.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;doko@paradis.debian.org&gt;)
 id 1tk4WY-00ALji-6T
 for maintonly@bugs.debian.org; Mon, 17 Feb 2025 17:03:14 +0000
Received: from paradis.debian.org ([2607:f8f0:614:1::1274:67]:44968)
 from C=NA, ST=NA, L=Ankh Morpork, O=Debian SMTP, OU=Debian SMTP CA,
 CN=paradis.debian.org, EMAIL=hostmaster@paradis.debian.org (verified)
 by mitropoulos.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.94.2) (envelope-from &lt;doko@paradis.debian.org&gt;)
 id 1tk4WW-0013Hq-6u
 for maintonly@bugs.debian.org; Mon, 17 Feb 2025 17:03:12 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.paradis;
 h=Date:Message-Id:Content-Transfer-Encoding:Content-Type:
 MIME-Version:From:Subject:To:Reply-To:Cc:Content-ID:Content-Description:
 In-Reply-To:References; bh=BNcq7cUAJgNQMruua11fdS4xC0H1DbDE2uodUshrQik=; b=VX
 BboURUzT7PmwmNcQMABAURVb7yh0Me5Zvq36KUZr5BkxJJIXZpXsFjBTRJqBaO6DiuuSyis37/Jh7
 +Pj0MocaDFZn99WBK4X0SjAS6brz5DG6kPt7IOF+BKf3RJVdicZkB9JZpJTIQY9PWP8jGZ+CEWrF2
 +jODgH8uGZrYedb3YBN8Yq4YW2qR/g+Yb4xfMWFc8eAqfhUoze5WGWBtC4y0f48NeI6StGc95PQj3
 wRh6ap9r38hmzawhB2rFdBrU1Cr3agiP82Ldy5wbXyiJolubw7DqF+xFZEq4sP1sJduZlDp/7Neep
 DO5nflqxKJJ/CLZJgLEyzYWsb9+Rvsxw==;
Received: from doko by paradis.debian.org with local (Exim 4.94.2)
 (envelope-from &lt;doko@paradis.debian.org&gt;) id 1tk4WU-009HAz-6z
 for maintonly@bugs.debian.org; Mon, 17 Feb 2025 17:03:10 +0000
To: maintonly@bugs.debian.org
Subject: android-platform-build-kati: ftbfs with GCC-15
From: Matthias Klose &lt;doko@debian.org&gt;
MIME-Version: 1.0
Content-Type: text/plain; charset=&quot;UTF-8&quot;
Content-Transfer-Encoding: 8bit
Message-Id: &lt;E1tk4WU-009HAz-6z@paradis.debian.org&gt;
Date: Mon, 17 Feb 2025 17:03:10 +0000
Delivered-To: maintonly@bugs.debian.org

Package: src:android-platform-build-kati
Version: 10.0.0+r32+git20220314.09dfa26c4e59-7.1
Severity: important
Tags: sid forky
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-15

[This bug is NOT targeted to the upcoming trixie release]

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-15/g++-15, but succeeds to build with gcc-14/g++-14. The
severity of this report will be raised before the forky release.

The full build log can be found at:
http://qa-logs.debian.net/2025/02/16/amd64exp/android-platform-build-kati_10.0.0+r32+git20220314.09dfa26c4e59-7.1_unstable_gccexp.log.gz
The last lines of the build log are at the end of this report.

To build with GCC 15, either set CC=gcc-15 CXX=g++-15 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS.
Other Common build failures are new warnings resulting in build failures
with -Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-15/porting_to.html

[...]
crypto/internal/fips140/drbg
crypto/internal/fips140/aes/gcm
crypto/internal/fips140only
os/exec
crypto/cipher
crypto/internal/boring
github.com/golang/glog/internal/logsink
log
flag
os/user
compress/flate
text/tabwriter
encoding/gob
crypto/sha1
encoding/json
net/url
text/template/parse
compress/gzip
runtime/pprof
text/template
github.com/golang/glog
github.com/google/kati/golang/kati
github.com/google/kati/golang/cmd/kati
make[1]: Leaving directory '/build/reproducible-path/android-platform-build-kati-10.0.0+r32+git20220314.09dfa26c4e59'
   dh_auto_build
	make -j8 &quot;INSTALL=install --strip-program=true&quot;
make[1]: Entering directory '/build/reproducible-path/android-platform-build-kati-10.0.0+r32+git20220314.09dfa26c4e59'
/bin/sh: 1: git: not found
realpath: missing operand
Try 'realpath --help' for more information.
g++ -c -std=c++17 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/android-platform-build-kati-10.0.0+r32+git20220314.09dfa26c4e59=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -W -Wall -MMD -MP -O -DNOLOG -o out/affinity.o src/affinity.cc
g++ -c -std=c++17 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/android-platform-build-kati-10.0.0+r32+git20220314.09dfa26c4e59=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -W -Wall -MMD -MP -O -DNOLOG -o out/command.o src/command.cc
g++ -c -std=c++17 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/android-platform-build-kati-10.0.0+r32+git20220314.09dfa26c4e59=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -W -Wall -MMD -MP -O -DNOLOG -o out/dep.o src/dep.cc
g++ -c -std=c++17 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/android-platform-build-kati-10.0.0+r32+git20220314.09dfa26c4e59=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -W -Wall -MMD -MP -O -DNOLOG -o out/eval.o src/eval.cc
g++ -c -std=c++17 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/android-platform-build-kati-10.0.0+r32+git20220314.09dfa26c4e59=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -W -Wall -MMD -MP -O -DNOLOG -o out/exec.o src/exec.cc
g++ -c -std=c++17 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/android-platform-build-kati-10.0.0+r32+git20220314.09dfa26c4e59=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -W -Wall -MMD -MP -O -DNOLOG -o out/expr.o src/expr.cc
g++ -c -std=c++17 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/android-platform-build-kati-10.0.0+r32+git20220314.09dfa26c4e59=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -W -Wall -MMD -MP -O -DNOLOG -o out/file.o src/file.cc
g++ -c -std=c++17 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/android-platform-build-kati-10.0.0+r32+git20220314.09dfa26c4e59=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -W -Wall -MMD -MP -O -DNOLOG -o out/file_cache.o src/file_cache.cc
g++ -c -std=c++17 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/android-platform-build-kati-10.0.0+r32+git20220314.09dfa26c4e59=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -W -Wall -MMD -MP -O -DNOLOG -o out/fileutil.o src/fileutil.cc
src/exec.cc:129:3: error: ‘uint64_t’ does not name a type
  129 |   uint64_t Count() { return num_commands_; }
      |   ^~~~~~~~
src/exec.cc:39:1: note: ‘uint64_t’ is defined in header ‘&lt;cstdint&gt;’; this is probably fixable by adding ‘#include &lt;cstdint&gt;’
   38 | #include &quot;var.h&quot;
  +++ |+#include &lt;cstdint&gt;
   39 | 
src/exec.cc:136:3: error: ‘uint64_t’ does not name a type
  136 |   uint64_t num_commands_;
      |   ^~~~~~~~
src/exec.cc:136:3: note: ‘uint64_t’ is defined in header ‘&lt;cstdint&gt;’; this is probably fixable by adding ‘#include &lt;cstdint&gt;’
src/exec.cc: In constructor ‘{anonymous}::Executor::Executor(Evaluator*)’:
src/exec.cc:47:47: error: class ‘{anonymous}::Executor’ does not have any field named ‘num_commands_’
   47 |   explicit Executor(Evaluator* ev) : ce_(ev), num_commands_(0) {
      |                                               ^~~~~~~~~~~~~
src/exec.cc: In member function ‘double {anonymous}::Executor::ExecNode(const DepNode&amp;, const char*)’:
src/exec.cc:102:7: error: ‘num_commands_’ was not declared in this scope; did you mean ‘commands’?
  102 |       num_commands_ += 1;
      |       ^~~~~~~~~~~~~
      |       commands
src/exec.cc: In function ‘void Exec(const std::vector&lt;std::pair&lt;Symbol, DepNode*&gt; &gt;&amp;, Evaluator*)’:
src/exec.cc:146:16: error: ‘class {anonymous}::Executor’ has no member named ‘Count’
  146 |   if (executor.Count() == 0) {
      |                ^~~~~
g++ -c -std=c++17 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/android-platform-build-kati-10.0.0+r32+git20220314.09dfa26c4e59=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -W -Wall -MMD -MP -O -DNOLOG -o out/find.o src/find.cc
make[1]: *** [Makefile.ckati:88: out/exec.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/build/reproducible-path/android-platform-build-kati-10.0.0+r32+git20220314.09dfa26c4e59'
dh_auto_build: error: make -j8 &quot;INSTALL=install --strip-program=true&quot; returned exit code 2
make: *** [debian/rules:10: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
]