Bug#1067356: hipsolver: FTBFS: make[1]: *** [debian/rules:17: override_dh_auto_configure-arch] Error 2

2024-03-20 Thread Cordell Bloor

Control: reassign 1067356 libamdhip64-dev 5.7.1-1
Control: affects 1067356 hipsolver
Control: fixed 1067356 5.7.1-2

On 2024-03-20 15:00, Lucas Nussbaum wrote:

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):

make[1]: Entering directory '/<>'
dh_auto_configure -- -DCMAKE_BUILD_TYPE=Release -DROCM_SYMLINK_LIBS=OFF 
-DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF -DBUILD_CLIENTS_TESTS=ON
cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb 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 -DBUILD_CLIENTS_TESTS=ON ..
Re-run cmake no build system arguments
-- The CXX compiler identification is GNU 13.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
-- The Fortran compiler identification is GNU 13.2.0
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Check for working Fortran compiler: /usr/bin/gfortran - skipped
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/hip/hip-config.cmake:170 
(message):
   Unexpected HIP_PLATFORM:
Call Stack (most recent call first):
   CMakeLists.txt:145 (find_package)


Thanks Lucas. I uploaded a fix for this yesterday, but it was too late 
for this build.


Sincerely,
Cory Bloor


Bug#1067356: hipsolver: FTBFS: make[1]: *** [debian/rules:17: override_dh_auto_configure-arch] Error 2

2024-03-20 Thread Lucas Nussbaum
Source: hipsolver
Version: 5.5.1-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240319 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<>'
> dh_auto_configure -- -DCMAKE_BUILD_TYPE=Release -DROCM_SYMLINK_LIBS=OFF 
> -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF -DBUILD_CLIENTS_TESTS=ON
>   cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb 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 -DBUILD_CLIENTS_TESTS=ON ..
> Re-run cmake no build system arguments
> -- The CXX compiler identification is GNU 13.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
> -- The Fortran compiler identification is GNU 13.2.0
> -- Detecting Fortran compiler ABI info
> -- Detecting Fortran compiler ABI info - done
> -- Check for working Fortran compiler: /usr/bin/gfortran - skipped
> CMake Error at /usr/lib/x86_64-linux-gnu/cmake/hip/hip-config.cmake:170 
> (message):
>   Unexpected HIP_PLATFORM:
> Call Stack (most recent call first):
>   CMakeLists.txt:145 (find_package)
> 
> 
> -- Configuring incomplete, errors occurred!
>   cd obj-x86_64-linux-gnu && tail -v -n \+0 CMakeCache.txt
> ==> CMakeCache.txt <==
> # This is the CMakeCache file.
> # For build in directory: /<>/obj-x86_64-linux-gnu
> # It was generated by CMake: /usr/bin/cmake
> # You can edit this file to change values found and used by cmake.
> # If you do not want to change any of the values, simply exit the editor.
> # If you do want to change a value, simply edit, save, and exit the editor.
> # The syntax for the file is as follows:
> # KEY:TYPE=VALUE
> # KEY is the name of a variable in the cache.
> # TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
> # VALUE is the current value for the KEY.
> 
> 
> # EXTERNAL cache entries
> 
> 
> //Enables increasingly expensive runtime correctness checks
> ARMOR_LEVEL:STRING=0
> 
> //Build with address sanitizer enabled
> BUILD_ADDRESS_SANITIZER:BOOL=OFF
> 
> //No help, variable specified on the command line.
> BUILD_CLIENTS_TESTS:UNINITIALIZED=ON
> 
> //No help, variable specified on the command line.
> BUILD_FILE_REORG_BACKWARD_COMPATIBILITY:UNINITIALIZED=OFF
> 
> //Build hipSOLVER as a shared library
> BUILD_SHARED_LIBS:BOOL=ON
> 
> //Output additional build information
> BUILD_VERBOSE:BOOL=OFF
> 
> //Path to a program.
> CMAKE_ADDR2LINE:FILEPATH=/usr/bin/addr2line
> 
> //Path to a program.
> CMAKE_AR:FILEPATH=/usr/bin/ar
> 
> //Choose the type of build, options are: None Debug Release RelWithDebInfo
> // MinSizeRel ...
> CMAKE_BUILD_TYPE:STRING=Release
> 
> //Enable/Disable color output during build.
> CMAKE_COLOR_MAKEFILE:BOOL=ON
> 
> //CXX compiler
> CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++
> 
> //A wrapper around 'ar' adding the appropriate '--plugin' option
> // for the GCC compiler
> CMAKE_CXX_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar-13
> 
> //A wrapper around 'ranlib' adding the appropriate '--plugin' option
> // for the GCC compiler
> CMAKE_CXX_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib-13
> 
> //Flags used by the CXX compiler during all build types.
> CMAKE_CXX_FLAGS:STRING=-g -O2 -ffile-prefix-map=/<>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2
> 
> //Flags used by the CXX compiler during DEBUG builds.
> CMAKE_CXX_FLAGS_DEBUG:STRING=-g
> 
> //Flags used by the CXX compiler during MINSIZEREL builds.
> CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
> 
> //Flags used by the CXX compiler during RELEASE builds.
> CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
> 
> //Flags used by the CXX compiler during RELWITHDEBINFO builds.
> CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
> 
> //Path to a program.
> CMAKE_DLLTOOL:FILEPATH=CMAKE_DLLTOOL-NOTFOUND
> 
> //Flags used by the linker during all build types.
> CMAKE_EXE_LINKER_FLAGS:STRING=-Wl,-z,relro -Wl,-z,now
> 
> //Flags used by the linker during DEBUG builds.
> CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
> 
> //Flags used by the linker during MINSIZEREL builds.
> CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
> 
> //Flags used by the linker during RELEASE