--- Begin Message ---
Package: src:rocm-hipamd
Version: 5.2.3-8
Severity: normal
Tags: sid trixie
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-13
[This bug is 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-13/g++-13, but succeeds to build with gcc-12/g++-12. The
severity of this report will be raised before the trixie release.
The full build log can be found at:
http://qa-logs.debian.net/2023/05/22/logs/rocm-hipamd_5.2.3-8_unstable_gccexp.log
The last lines of the build log are at the end of this report.
To build with GCC 13, either set CC=gcc-13 CXX=g++-13 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
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-13/porting_to.html
[...]
[ 20%] Built target hiprtc-builtins
[ 20%] Building CXX object src/CMakeFiles/rocclr.dir/__/clr/device/device.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -I/<<PKGBUILDDIR>>/clr/cmake/.. -I/<<PKGBUILDDIR>>/clr/cmake/../compiler/lib -I/<<PKGBUILDDIR>>/clr/cmake/../compiler/lib/include -I/<<PKGBUILDDIR>>/clr/cmake/../compiler/lib/backends/common -I/<<PKGBUILDDIR>>/clr/cmake/../device -I/<<PKGBUILDDIR>>/clr/cmake/../elf -I/<<PKGBUILDDIR>>/clr/cmake/../include -I/<<PKGBUILDDIR>>/opencl/khronos/headers/opencl2.2/CL -I/<<PKGBUILDDIR>>/opencl/khronos/headers/opencl2.2/CL/.. -I/<<PKGBUILDDIR>>/opencl/khronos/headers/opencl2.2/CL/../.. -I/<<PKGBUILDDIR>>/opencl/khro
nos/headers/opencl2.2/CL/../../.. -I/<<PKGBUILDDIR>>/opencl/khronos/headers/opencl2.2/CL/../../../.. -I/<<PKGBUILDDIR>>/opencl/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Werror -O3 -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/rocclr.dir/__/clr/device/device.cpp.o -MF CMakeFiles/rocclr.dir/__/clr/device/device.cpp.o.d -o CMakeFiles/rocclr.dir/__/clr/device/device.cpp.o -c /<<PKGBUILDDIR>>/clr/device/device.cpp
/<<PKGBUILDDIR>>/clr/device/devhcprintf.cpp:49:14: error: ‘uint64_t’ does not name a type
49 | static const uint64_t* consumeInteger(FILE* stream, int* outCount, const std::string& spec,
| ^~~~~~~~
/<<PKGBUILDDIR>>/clr/device/devhcprintf.cpp:29:1: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
28 | #include <string>
+++ |+#include <cstdint>
29 |
/<<PKGBUILDDIR>>/clr/device/devhcprintf.cpp:56:14: error: ‘uint64_t’ does not name a type
56 | static const uint64_t* consumeFloatingPoint(FILE* stream, int* outCount, const std::string& spec,
| ^~~~~~~~
/<<PKGBUILDDIR>>/clr/device/devhcprintf.cpp:56:14: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/<<PKGBUILDDIR>>/clr/device/devhcprintf.cpp:65:14: error: ‘uint64_t’ does not name a type
65 | static const uint64_t* consumeCstring(FILE* stream, int* outCount, const std::string& spec,
| ^~~~~~~~
/<<PKGBUILDDIR>>/clr/device/devhcprintf.cpp:65:14: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/<<PKGBUILDDIR>>/clr/device/devhcprintf.cpp:75:14: error: ‘uint64_t’ does not name a type
75 | static const uint64_t* consumePointer(FILE* stream, int* outCount, const std::string& spec,
| ^~~~~~~~
/<<PKGBUILDDIR>>/clr/device/devhcprintf.cpp:75:14: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/<<PKGBUILDDIR>>/clr/device/devhcprintf.cpp:83:14: error: ‘uint64_t’ does not name a type
83 | static const uint64_t* consumeArgument(FILE* stream, int* outCount, const std::string& spec,
| ^~~~~~~~
/<<PKGBUILDDIR>>/clr/device/devhcprintf.cpp:83:14: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/<<PKGBUILDDIR>>/clr/device/devhcprintf.cpp:115:14: error: ‘uint64_t’ does not name a type
115 | static const uint64_t* processSpec(FILE* stream, int* outCount, const std::string& spec,
| ^~~~~~~~
/<<PKGBUILDDIR>>/clr/device/devhcprintf.cpp:115:14: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/<<PKGBUILDDIR>>/clr/device/devhcprintf.cpp:165:39: error: ‘uint64_t’ does not name a type
165 | static int format(FILE* stream, const uint64_t* begin, const uint64_t* end) {
| ^~~~~~~~
/<<PKGBUILDDIR>>/clr/device/devhcprintf.cpp:165:39: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/<<PKGBUILDDIR>>/clr/device/devhcprintf.cpp:165:62: error: ‘uint64_t’ does not name a type
165 | static int format(FILE* stream, const uint64_t* begin, const uint64_t* end) {
| ^~~~~~~~
/<<PKGBUILDDIR>>/clr/device/devhcprintf.cpp:165:62: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/<<PKGBUILDDIR>>/clr/device/devhcprintf.cpp: In function ‘int format(FILE*, const int*, const int*)’:
/<<PKGBUILDDIR>>/clr/device/devhcprintf.cpp:220:11: error: ‘processSpec’ was not declared in this scope
220 | ptr = processSpec(stream, &outCount, spec, ptr, end);
| ^~~~~~~~~~~
/<<PKGBUILDDIR>>/clr/device/devhcprintf.cpp: At global scope:
/<<PKGBUILDDIR>>/clr/device/devhcprintf.cpp:227:6: error: variable or field ‘handlePrintf’ declared void
227 | void handlePrintf(uint64_t* output, const uint64_t* input, uint64_t len) {
| ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/clr/device/devhcprintf.cpp:227:19: error: ‘uint64_t’ was not declared in this scope
227 | void handlePrintf(uint64_t* output, const uint64_t* input, uint64_t len) {
| ^~~~~~~~
/<<PKGBUILDDIR>>/clr/device/devhcprintf.cpp:227:19: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/<<PKGBUILDDIR>>/clr/device/devhcprintf.cpp:227:29: error: ‘output’ was not declared in this scope
227 | void handlePrintf(uint64_t* output, const uint64_t* input, uint64_t len) {
| ^~~~~~
/<<PKGBUILDDIR>>/clr/device/devhcprintf.cpp:227:37: error: expected primary-expression before ‘const’
227 | void handlePrintf(uint64_t* output, const uint64_t* input, uint64_t len) {
| ^~~~~
/<<PKGBUILDDIR>>/clr/device/devhcprintf.cpp:227:60: error: ‘uint64_t’ was not declared in this scope
227 | void handlePrintf(uint64_t* output, const uint64_t* input, uint64_t len) {
| ^~~~~~~~
/<<PKGBUILDDIR>>/clr/device/devhcprintf.cpp:227:60: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
make[3]: *** [src/CMakeFiles/rocclr.dir/build.make:163: src/CMakeFiles/rocclr.dir/__/clr/device/devhcprintf.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:10374: src/CMakeFiles/rocclr.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:169: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:26: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--- End Message ---
--- Begin Message ---
Source: rocm-hipamd
Source-Version: 5.2.3-10
Done: Cordell Bloor <cgmb@slerp.xyz>
We believe that the bug you reported is fixed in the latest version of
rocm-hipamd, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1037845@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Cordell Bloor <cgmb@slerp.xyz> (supplier of updated rocm-hipamd package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 27 Jun 2023 14:23:58 -0600
Source: rocm-hipamd
Architecture: source
Version: 5.2.3-10
Distribution: unstable
Urgency: medium
Maintainer: Debian ROCm Team <debian-ai@lists.debian.org>
Changed-By: Cordell Bloor <cgmb@slerp.xyz>
Closes: 1037845
Changes:
rocm-hipamd (5.2.3-10) unstable; urgency=medium
.
[ Christian Kastner ]
* Add 0027-device-Add-missing-include.patch to fix FTBFS
with GCC-13 (Closes: #1037845)
.
[ Cordell Bloor ]
* Fix ppc64el multilib directory lookup in hipcc.
* Fix HSA check in CMake with d/p/0002-fix-cmake-library-notfound-check.patch
* Add d/p/0028-reduce-clangrt-error-to-warning.patch to fix CMake
configuration pn ppc64el.
* Add d/p/0029-restrict-hiprtc-cmake-search-to-clang-15.patch to fix FTBFS
when clang-14 is available on the system.
* Revert patches for improved ISA compatibility because they are still
experimental. They are not yet ready for unstable.
Checksums-Sha1:
4b155f550f3b075af54e468e9361fd67fe1e4ca2 3556 rocm-hipamd_5.2.3-10.dsc
ee7bc9c3dc665138c9cc219db69728c1c7db3773 23004 rocm-hipamd_5.2.3-10.debian.tar.xz
034e93b8ab4ffb8a5384ad12af56e6b9f11ec6ab 5906 rocm-hipamd_5.2.3-10_source.buildinfo
Checksums-Sha256:
332fbc3a1aab27a2dd83bbf55c029b087211315e34ccf0a824fff445d48cbecf 3556 rocm-hipamd_5.2.3-10.dsc
83c90f648cb2aa364c35ec4e66efff1e82c1a08a006e7d08ac027cc886ed642c 23004 rocm-hipamd_5.2.3-10.debian.tar.xz
66777e9966068d12e767f6cf3d0f1671e683ce4a2e52324ae6cf5eb02b359bfb 5906 rocm-hipamd_5.2.3-10_source.buildinfo
Files:
93a583eb2928728ba595266e40025797 3556 devel optional rocm-hipamd_5.2.3-10.dsc
159119dde1844a0d3d19dbb424679678 23004 devel optional rocm-hipamd_5.2.3-10.debian.tar.xz
02fb8ac2dafbd2c7a70fcf2039a08475 5906 devel optional rocm-hipamd_5.2.3-10_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEQZ9+mkfDq5UZ8bCjOZU6N95Os2sFAmScYRIACgkQOZU6N95O
s2vtCw/9FdgRCzjHFYyxPqqcKCPRdGqTM59iAB9yclijsx9eSMPNqH4oem5GBIP3
4fWGamYLz/QqWwOMdQf1edHb/65kmZ2Rt1ZGWt+YTMTn4mvVra62y4GYmHP2dOIp
yTUAWT4ZSQrI/Ln0b+JEurYm+inr4P36P9vXAXCgCW16v/elxUVwXdo3sTjeGn9H
tX9gKvWh9XiYRXEtN2mt6M4TtlWrSTrIyo+i7x9Q0duS1Cb2y/73mTqi0pn6n2Ku
EuBDoqjDkYxWBa7foWY+N5X45OiYr/vBIdmyTSATJyC3XRhBPjE3AO2sgRPcHoyT
4P7MKY+bY8VCj/i58ZyEux6DrAgy8sVnPt8FqWQ3sJ97O3Ht7MQ1HSKURx1HViFs
Wr7bz1Co/sel1Q1QcZh6Aoq+c4F/prDjEIKDUenRzMKe5R4aNEMl913RBPCmcCkz
/hFqWCZH4L0BiUlxhKZ+L34/dw4YQ8BIvpeSQHbQSyy1lSn2SPtv1eDAv585ixUy
4dvBhfAMwiP2hFwYwW5gboUikrpn50D6ACU1yKHBhtYF4UHu7Gn2T7VRfGmqP3s0
Pd7LgkcF8WDVkLHBZpmkwaxAubBkHAVZvLqYDU4BGLmj1/HdzMr1jpfhBY1OM4MM
Zl3TzufzGaEIlUc/pt2YYqAK879RQp1XxZ4mB7iQLb/7pOzKaU8=
=e95x
-----END PGP SIGNATURE-----
--- End Message ---