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

2023-02-14 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> reassign 1031252 libamdhip64-5
Bug #1031252 [src:hipsparse] hipsparse: FTBFS (c++: error: -E or -x required 
when input is from standard input)
Bug reassigned from package 'src:hipsparse' to 'libamdhip64-5'.
No longer marked as found in versions hipsparse/5.3.3+dfsg-1.
Ignoring request to alter fixed versions of bug #1031252 to the same values 
previously set
> affects 1031252 + src:hipsparse
Bug #1031252 [libamdhip64-5] hipsparse: FTBFS (c++: error: -E or -x required 
when input is from standard input)
Added indication that 1031252 affects src:hipsparse
> found 1031252 5.2.3-1~0exp1
Bug #1031252 [libamdhip64-5] hipsparse: FTBFS (c++: error: -E or -x required 
when input is from standard input)
Marked as found in versions rocm-hipamd/5.2.3-1~0exp1.
> fixed 1031252 5.2.3-2
Bug #1031252 [libamdhip64-5] hipsparse: FTBFS (c++: error: -E or -x required 
when input is from standard input)
Marked as fixed in versions rocm-hipamd/5.2.3-2.
> forcemerge 1031252 1021643
Bug #1031252 [libamdhip64-5] hipsparse: FTBFS (c++: error: -E or -x required 
when input is from standard input)
Bug #1021643 {Done: Étienne Mollier } [libamdhip64-5] 
libamdhip64-5: libamdhip64.so.5.2.21153- missing githash
Severity set to 'serious' from 'normal'
'reopen' may be inappropriate when a bug has been closed with a version;
all fixed versions will be cleared, and you may need to re-add them.
Bug reopened
No longer marked as fixed in versions rocm-hipamd/5.2.3-2.
Added indication that 1021643 affects src:hipsparse
Added tag(s) ftbfs.
Bug #1021643 [libamdhip64-5] libamdhip64-5: libamdhip64.so.5.2.21153- missing 
githash
Marked as fixed in versions rocm-hipamd/5.2.3-2.
Merged 1021643 1031252
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
1021643: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1021643
1031252: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1031252
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



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

2023-02-14 Thread Santiago Vila

reassign 1031252 libamdhip64-5
affects 1031252 + src:hipsparse
found 1031252 5.2.3-1~0exp1
fixed 1031252 5.2.3-2
forcemerge 1031252 1021643
thanks

El 14/2/23 a las 5:15, Cordell Bloor escribió:

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.


No problem. The information alone is already useful.
I believe the above commands should work (note: I'm using Bcc for 
control@b.d.o).

Thanks.



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

2023-02-13 Thread Cordell Bloor



On 2023-02-13 17:22, Santiago Vila wrote:

[  8%] Linking CXX shared library libhipsparse.so
cd /<>/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=/<>=. 
-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



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

2023-02-13 Thread Santiago Vila

Package: src:hipsparse
Version: 5.3.3+dfsg-1
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in bookworm, your package failed to build:


[...]
 debian/rules binary-arch
dh binary-arch -Scmake
   dh_update_autotools_config -a -O-Scmake
   dh_autoreconf -a -O-Scmake
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<>'
dh_auto_configure -- -DCMAKE_BUILD_TYPE=Release -DROCM_SYMLINK_LIBS=OFF 
-DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF
cd obj-x86_64-linux-gnu && cmake -DCMAKE_INSTALL_PREFIX=/usr 
-DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var 
-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF 
-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DFETCHCONTENT_FULLY_DISCONNECTED=ON 
-DCMAKE_INSTALL_RUNSTATEDIR=/run -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON "-GUnix 
Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu 
-DCMAKE_BUILD_TYPE=Release -DROCM_SYMLINK_LIBS=OFF -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF 
..
Re-run cmake no build system arguments
-- The CXX compiler identification is GNU 12.2.0
-- The Fortran compiler identification is GNU 12.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Check for working Fortran compiler: /usr/bin/gfortran - skipped
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- hip::amdhip64 is SHARED_LIBRARY
-- hip::amdhip64 is SHARED_LIBRARY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- OS: debian
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

CMAKE_EXPORT_NO_PACKAGE_REGISTRY
CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY
FETCHCONTENT_FULLY_DISCONNECTED


-- Build files have been written to: /<>/obj-x86_64-linux-gnu
make[1]: Leaving directory '/<>'
   dh_auto_build -a -O-Scmake
cd obj-x86_64-linux-gnu && make -j1 "INSTALL=install 
--strip-program=true" VERBOSE=1
make[1]: Entering directory '/<>/obj-x86_64-linux-gnu'
/usr/bin/cmake -S/<> -B/<>/obj-x86_64-linux-gnu 
--check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /<>/obj-x86_64-linux-gnu/CMakeFiles 
/<>/obj-x86_64-linux-gnu//CMakeFiles/progress.marks
make  -f CMakeFiles/Makefile2 all
make[2]: Entering directory '/<>/obj-x86_64-linux-gnu'
make  -f library/CMakeFiles/hipsparse_fortran.dir/build.make 
library/CMakeFiles/hipsparse_fortran.dir/depend
make[3]: Entering directory '/<>/obj-x86_64-linux-gnu'
cd /<>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> 
/<>/library /<>/obj-x86_64-linux-gnu /<>/obj-x86_64-linux-gnu/library 
/<>/obj-x86_64-linux-gnu/library/CMakeFiles/hipsparse_fortran.dir/DependInfo.cmake --color=
Dependee 
"/<>/obj-x86_64-linux-gnu/library/CMakeFiles/hipsparse_fortran.dir/DependInfo.cmake" is 
newer than depender 
"/<>/obj-x86_64-linux-gnu/library/CMakeFiles/hipsparse_fortran.dir/depend.internal".
Dependee "/<>/obj-x86_64-linux-gnu/library/CMakeFiles/CMakeDirectoryInformation.cmake" 
is newer than depender 
"/<>/obj-x86_64-linux-gnu/library/CMakeFiles/hipsparse_fortran.dir/depend.internal".
Scanning dependencies of target hipsparse_fortran
make[3]: Leaving directory '/<>/obj-x86_64-linux-gnu'
make  -f library/CMakeFiles/hipsparse_fortran.dir/build.make 
library/CMakeFiles/hipsparse_fortran.dir/build
make[3]: Entering directory '/<>/obj-x86_64-linux-gnu'
[  2%] Building Fortran object 
library/CMakeFiles/hipsparse_fortran.dir/src/hipsparse_enums.f90.o
cd /<>/obj-x86_64-linux-gnu/library && /usr/bin/gfortran   -g -O2 
-ffile-prefix-map=/<>=. -fstack-protector-strong -O3 -DNDEBUG -O3 -J../include/hipsparse 
-std=f2003 -ffree-form -cpp -c /<>/library/src/hipsparse_enums.f90 -o 
CMakeFiles/hipsparse_fortran.dir/src/hipsparse_enums.f90.o
/usr/bin/cmake -E cmake_copy_f90_mod include/hipsparse/hipsparse_enums.mod 
library/CMakeFiles/hipsparse_fortran.dir/hipsparse_enums.mod.stamp GNU
[  4%] Building Fortran object 
library/CMakeFiles/hipsparse_fortran.dir/src/hipsparse.f90.o
cd /<>/obj-x86_64-linux-gnu/library && /usr/bin/gfortran   -g -O2 
-ffile-prefix-map=/<>=. -fstack-protector-strong -O3 -DNDEBUG -O3 -J../include/hipsparse 
-std=f2003 -ffree-form -cpp -c /<>/library/src/hipsparse.f90 -o