[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1031252: hipsparse: FTBFS (c++: error: -E or -x required when input is from standard input)




On 2023-02-13 17:22, Santiago Vila wrote:
[  8%] Linking CXX shared library libhipsparse.so
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/library && /usr/bin/cmake -E cmake_link_script CMakeFiles/hipsparse.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -Wl,-z,relro -shared -Wl,-soname,libhipsparse.so.0 -o libhipsparse.so.0.1 CMakeFiles/hipsparse.dir/src/hcc_detail/hipsparse.cpp.o /usr/lib/x86_64-linux-gnu/librocsparse.so.0.1 /usr/lib/x86_64-linux-gnu/libamdhip64.so.5.2.21153- -lCLANGRT_BUILTINS-NOTFOUND
c++: error: -E or -x required when input is from standard input
make[3]: *** [library/CMakeFiles/hipsparse.dir/build.make:102: library/libhipsparse.so.0.1] Error 1

This is a bug in libamdhip64-5:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1021643

It was fixed in rocm-hipamd 5.2.3-2, but no versions since rocm-hipamd 5.2.3-1 have migrated to bookworm. This problem will affect all libraries and executables that link against libamdhip64-5 using the GCC toolchain.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

I'm still learning how to use these the Debian bug reporting tools. Perhaps another maintainer could help set these properties.

Apologies for the incomplete handling, but I hope that this information is helpful.

Sincerely,
Cory Bloor


Reply to: