Debian Bug report logs - #1097515
opencl-clang-18: ftbfs with GCC-15

version graph

Package: src:opencl-clang-18; Maintainer for src:opencl-clang-18 is Debian OpenCL team <[email protected]>;

Reported by: Matthias Klose <[email protected]>

Date: Mon, 17 Feb 2025 17:43:33 UTC

Severity: important

Tags: forky, sid

Found in version opencl-clang-18/18.1.1-1

Fix blocked by 1098879: llvm-18-dev: missing #include when compiling SmallVector.h with GCC-15

Full log


Message #5 received at [email protected] (full text, mbox, reply):

Received: (at maintonly) by bugs.debian.org; 17 Feb 2025 17:41:35 +0000
From [email protected] Mon Feb 17 17:41:35 2025
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, 52; hammy, 150; neutral, 199; spammy,
	0. spammytokens: hammytokens:0.000-+--trixie, 0.000-+--H*F:U*doko,
	0.000-+--qa-logs.debian.net, 0.000-+--UD:qa-logs.debian.net,
	0.000-+--qalogsdebiannet
Return-path: <[email protected]>
Received: from mitropoulos.debian.org ([2001:648:2ffc:deb:216:61ff:fe9d:958d]:36574)
	from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=mitropoulos.debian.org,[email protected] (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 <[email protected]>)
	id 1tk57f-00AdPF-5M
	for [email protected]; Mon, 17 Feb 2025 17:41:35 +0000
Received: from paradis.debian.org ([2607:f8f0:614:1::1274:67]:59408)
	from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=paradis.debian.org,[email protected] (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 <[email protected]>)
	id 1tk57d-0016o9-41
	for [email protected]; Mon, 17 Feb 2025 17:41:33 +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=18muguFH4T+M3Ja0uYush7aodo3ZBidGAXstfKPShnY=; b=IR
	MN4jJzKN98XuzWkv8qu9EBj+LlSm9r3fCZ5f2vJS47paKiOP0P8ED5JRqgukINnlkA07SZyLDhDeL
	cWPqiQGy3d+WIlmvpppjdq4TWecnHmbyI7g+za1/P3zmjvsQkSShQw+IP2MlebtEGbN6o/QbraD0h
	dXKJY3LLtyINjqIV2HizNamYOLjHzpjZOgM8eHIAXPUIEl7JssIRyttmqS96duRr5wtIPZeTLR+Nk
	kPRRI7+YfUknyvlk6p3a/k5zGbFNWxyK2paByPfp1nEG/+ShOHZ39toecQGfs5c4yuaXJNEjT+GEl
	n4Z4yymWbeiiUWNaZV8lkCfgPgxu13rg==;
Received: from doko by paradis.debian.org with local (Exim 4.94.2)
	(envelope-from <[email protected]>)
	id 1tk57b-009O0x-4p
	for [email protected]; Mon, 17 Feb 2025 17:41:31 +0000
To: [email protected]
Subject: opencl-clang-18: ftbfs with GCC-15
From: Matthias Klose <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Message-Id: <[email protected]>
Date: Mon, 17 Feb 2025 17:41:31 +0000
Delivered-To: [email protected]
Package: src:opencl-clang-18
Version: 18.1.1-1
Severity: important
Tags: sid forky
User: [email protected]
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/opencl-clang-18_18.1.1-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

[...]
   29 |   SmallString() = default;
      |   ^~~~~~~~~~~
/usr/lib/llvm-18/include/llvm/ADT/SmallVector.h:1215:31: error: ‘class llvm::SmallVector<char, 256>’ has no member named ‘begin’
 1215 |     this->destroy_range(this->begin(), this->end());
      |                         ~~~~~~^~~~~
/usr/lib/llvm-18/include/llvm/ADT/SmallVector.h:1215:46: error: ‘class llvm::SmallVector<char, 256>’ has no member named ‘end’
 1215 |     this->destroy_range(this->begin(), this->end());
      |                                        ~~~~~~^~~
/usr/lib/llvm-18/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVector<T, N>::~SmallVector() [with T = const char*; unsigned int N = 16]’:
/usr/lib/llvm-18/include/llvm/Option/ArgList.h:412:40:   required from here
  412 |   InputArgList() : NumInputArgStrings(0) {}
      |                                        ^
/usr/lib/llvm-18/include/llvm/ADT/SmallVector.h:1215:31: error: ‘class llvm::SmallVector<const char*, 16>’ has no member named ‘begin’
 1215 |     this->destroy_range(this->begin(), this->end());
      |                         ~~~~~~^~~~~
/usr/lib/llvm-18/include/llvm/ADT/SmallVector.h:1215:46: error: ‘class llvm::SmallVector<const char*, 16>’ has no member named ‘end’
 1215 |     this->destroy_range(this->begin(), this->end());
      |                                        ~~~~~~^~~
/usr/lib/llvm-18/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVector<T, N>::SmallVector(llvm::SmallVector<T, N>&&) [with T = const char*; unsigned int N = 16]’:
/usr/lib/llvm-18/include/llvm/Option/ArgList.h:417:34:   required from here
  417 |       : ArgList(std::move(RHS)), ArgStrings(std::move(RHS.ArgStrings)),
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/llvm-18/include/llvm/ADT/SmallVector.h:1260:14: error: ‘class llvm::SmallVector<const char*, 16>’ has no member named ‘empty’
 1260 |     if (!RHS.empty())
      |          ~~~~^~~~~
/usr/lib/llvm-18/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVector<T, N>& llvm::SmallVector<T, N>::operator=(llvm::SmallVector<T, N>&&) [with T = const char*; unsigned int N = 16]’:
/usr/lib/llvm-18/include/llvm/Option/ArgList.h:426:42:   required from here
  426 |     ArgStrings = std::move(RHS.ArgStrings);
      |                                          ^
/usr/lib/llvm-18/include/llvm/ADT/SmallVector.h:1278:13: error: ‘class llvm::SmallVector<const char*, 16>’ has no member named ‘empty’
 1278 |     if (RHS.empty()) {
      |         ~~~~^~~~~
/usr/lib/llvm-18/include/llvm/ADT/SmallVector.h:1279:33: error: ‘class llvm::SmallVector<const char*, 16>’ has no member named ‘begin’
 1279 |       this->destroy_range(this->begin(), this->end());
      |                           ~~~~~~^~~~~
/usr/lib/llvm-18/include/llvm/ADT/SmallVector.h:1279:48: error: ‘class llvm::SmallVector<const char*, 16>’ has no member named ‘end’
 1279 |       this->destroy_range(this->begin(), this->end());
      |                                          ~~~~~~^~~
/usr/lib/llvm-18/include/llvm/ADT/SmallVector.h:1280:13: error: ‘class llvm::SmallVector<const char*, 16>’ has no member named ‘Size’
 1280 |       this->Size = 0;
      |       ~~~~~~^~~~
/usr/lib/llvm-18/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVector<T, N>::~SmallVector() [with T = char; unsigned int N = 0]’:
/usr/lib/llvm-18/include/llvm/Support/raw_ostream.h:728:71:   required from here
  728 |   buffer_ostream(raw_ostream &OS) : raw_svector_ostream(Buffer), OS(OS) {}
      |                                                                       ^
/usr/lib/llvm-18/include/llvm/ADT/SmallVector.h:1215:31: error: ‘class llvm::SmallVector<char, 0>’ has no member named ‘begin’
 1215 |     this->destroy_range(this->begin(), this->end());
      |                         ~~~~~~^~~~~
/usr/lib/llvm-18/include/llvm/ADT/SmallVector.h:1215:46: error: ‘class llvm::SmallVector<char, 0>’ has no member named ‘end’
 1215 |     this->destroy_range(this->begin(), this->end());
      |                                        ~~~~~~^~~
/usr/lib/llvm-18/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVector<T, N>::~SmallVector() [with T = llvm::StringLiteral; unsigned int N = 3]’:
/usr/lib/llvm-18/include/llvm/Option/OptTable.h:330:7:   required from here
  330 | class GenericOptTable : public OptTable {
      |       ^~~~~~~~~~~~~~~
/usr/lib/llvm-18/include/llvm/ADT/SmallVector.h:1215:31: error: ‘class llvm::SmallVector<llvm::StringLiteral>’ has no member named ‘begin’
 1215 |     this->destroy_range(this->begin(), this->end());
      |                         ~~~~~~^~~~~
/usr/lib/llvm-18/include/llvm/ADT/SmallVector.h:1215:46: error: ‘class llvm::SmallVector<llvm::StringLiteral>’ has no member named ‘end’
 1215 |     this->destroy_range(this->begin(), this->end());
      |                                        ~~~~~~^~~
make[3]: *** [CMakeFiles/opencl-clang.dir/build.make:146: CMakeFiles/opencl-clang.dir/options.cpp.o] Error 1
make[3]: Leaving directory '/build/reproducible-path/opencl-clang-18-18.1.1/build'
make[2]: *** [CMakeFiles/Makefile2:305: CMakeFiles/opencl-clang.dir/all] Error 2
make[2]: Leaving directory '/build/reproducible-path/opencl-clang-18-18.1.1/build'
make[1]: *** [Makefile:139: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/opencl-clang-18-18.1.1/build'
dh_auto_build: error: cd build && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:11: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 14:17:25 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.