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

Bug#1120187: hipsparse: FTBFS: /<<PKGBUILDDIR>>/library/src/hcc_detail/hipsparse.cpp:2090:56: error: cannot convert 'const float*' to 'rocsparse_mat_info' {aka '_rocsparse_mat_info*'}



Package: src:hipsparse
Version: 5.7.1-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202511/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

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

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean -Scmake
   dh_auto_clean -O-Scmake
   dh_clean -O-Scmake
 debian/rules binary
dh binary -Scmake
   dh_update_autotools_config -O-Scmake
   dh_autoreconf -O-Scmake
   debian/rules override_dh_auto_configure-arch
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure -- -DCMAKE_BUILD_TYPE=Release -DROCM_SYMLINK_LIBS=OFF -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF -DWITH_TEST_MATRICIES=OFF -DBUILD_CLIENTS_TESTS=ON
	cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb PKG_CONFIG=/usr/bin/pkg-config 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 -DWITH_TEST_MATRICIES=OFF -DBUILD_CLIENTS_TESTS=ON ..
Re-run cmake no build system arguments
CMake Deprecation Warning at CMakeLists.txt:24 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of

[... snipped ...]

Original exception:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/sphinx/registry.py", line 541, in load_extension
    mod = import_module(extname)
  File "/usr/lib/python3.13/importlib/__init__.py", line 88, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1324, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'sphinxcontrib.applehelp'

Original exception:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/sphinx/registry.py", line 541, in load_extension
    mod = import_module(extname)
  File "/usr/lib/python3.13/importlib/__init__.py", line 88, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1324, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'sphinxcontrib.devhelp'

Original exception:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/sphinx/registry.py", line 541, in load_extension
    mod = import_module(extname)
  File "/usr/lib/python3.13/importlib/__init__.py", line 88, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1324, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'sphinxcontrib.htmlhelp'

Original exception:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/sphinx/registry.py", line 541, in load_extension
    mod = import_module(extname)
  File "/usr/lib/python3.13/importlib/__init__.py", line 88, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1324, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'sphinxcontrib.serializinghtml'

Original exception:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/sphinx/registry.py", line 541, in load_extension
    mod = import_module(extname)
  File "/usr/lib/python3.13/importlib/__init__.py", line 88, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1324, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'sphinxcontrib.qthelp'

making output directory... done
WARNING: html_static_path entry '_static' does not exist
Converting `source_suffix = '.rst'` to `source_suffix = {'.rst': 'restructuredtext'}`.
locale_dir /<<PKGBUILDDIR>>/docs/locales/en/LC_MESSAGES does not exist
locale_dir /<<PKGBUILDDIR>>/docs/locales/en/LC_MESSAGES does not exist
building [mo]: targets for 0 po files that are out of date
writing output... 
building [html]: targets for 15 source files that are out of date
updating environment: locale_dir /<<PKGBUILDDIR>>/docs/locales/en/LC_MESSAGES does not exist
[new config] 15 added, 0 changed, 0 removed
reading sources... [  7%] auxiliary
reading sources... [ 13%] basics
reading sources... [ 20%] conversion
reading sources... [ 27%] extra
reading sources... [ 33%] generic
reading sources... [ 40%] index
reading sources... [ 47%] install
reading sources... [ 53%] intro
reading sources... [ 60%] level1
reading sources... [ 67%] level2
reading sources... [ 73%] level3
reading sources... [ 80%] precond
reading sources... [ 87%] reorder
reading sources... [ 93%] types
reading sources... [100%] usermanual

looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
copying assets... 
copying static files... 
Writing evaluated template result to /<<PKGBUILDDIR>>/html/_static/basic.css
Writing evaluated template result to /<<PKGBUILDDIR>>/html/_static/language_data.js
Writing evaluated template result to /<<PKGBUILDDIR>>/html/_static/documentation_options.js
Writing evaluated template result to /<<PKGBUILDDIR>>/html/_static/js/versions.js
copying static files: done
copying extra files... 
copying extra files: done
copying assets: done
writing output... [  7%] auxiliary
writing output... [ 13%] basics
writing output... [ 20%] conversion
writing output... [ 27%] extra
writing output... [ 33%] generic
writing output... [ 40%] index
writing output... [ 47%] install
writing output... [ 53%] intro
writing output... [ 60%] level1
writing output... [ 67%] level2
writing output... [ 73%] level3
writing output... [ 80%] precond
writing output... [ 87%] reorder
writing output... [ 93%] types
writing output... [100%] usermanual

generating indices... genindex done
writing additional pages... search done
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded, 3 warnings.

The HTML pages are in html.
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_build -O-Scmake -Nlibhipsparse-doc
	cd obj-x86_64-linux-gnu && make -j2 INSTALL="install --strip-program=true" VERBOSE=1
make[1]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
/usr/bin/cmake -S/<<PKGBUILDDIR>> -B/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu//CMakeFiles/progress.marks
make  -f CMakeFiles/Makefile2 all
make[2]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make  -f library/CMakeFiles/hipsparse_fortran.dir/build.make library/CMakeFiles/hipsparse_fortran.dir/depend
make  -f library/CMakeFiles/hipsparse.dir/build.make library/CMakeFiles/hipsparse.dir/depend
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/library /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/library /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/library/CMakeFiles/hipsparse_fortran.dir/DependInfo.cmake "--color="
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/library /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/library /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/library/CMakeFiles/hipsparse.dir/DependInfo.cmake "--color="
Dependee "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/library/CMakeFiles/hipsparse_fortran.dir/DependInfo.cmake" is newer than depender "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/library/CMakeFiles/hipsparse_fortran.dir/depend.internal".
Dependee "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/library/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/library/CMakeFiles/hipsparse_fortran.dir/depend.internal".
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make  -f library/CMakeFiles/hipsparse.dir/build.make library/CMakeFiles/hipsparse.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
Scanning dependencies of target hipsparse_fortran
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make  -f library/CMakeFiles/hipsparse_fortran.dir/build.make library/CMakeFiles/hipsparse_fortran.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[  1%] Building CXX object library/CMakeFiles/hipsparse.dir/src/hcc_detail/hipsparse.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/library && /usr/bin/c++ -DUSE_PROF_API=1 -D__HIP_PLATFORM_AMD__=1 -Dhipsparse_EXPORTS -I/<<PKGBUILDDIR>>/library/src/include -I/<<PKGBUILDDIR>>/library/include -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/include/hipsparse -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -std=c++14 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-unused-command-line-argument -Wall -MD -MT library/CMakeFiles/hipsparse.dir/src/hcc_detail/hipsparse.cpp.o -MF CMakeFiles/hipsparse.dir/src/hcc_detail/hipsparse.cpp.o.d -o CMakeFiles/hipsparse.dir/src/hcc_detail/hipsparse.cpp.o -c /<<PKGBUILDDIR>>/library/src/hcc_detail/hipsparse.cpp
[  2%] Building Fortran object library/CMakeFiles/hipsparse_fortran.dir/src/hipsparse_enums.f90.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/library && /usr/bin/gfortran   -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -O3 -J../include/hipsparse -std=f2003 -ffree-form -cpp -c /<<PKGBUILDDIR>>/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
[  3%] Building Fortran object library/CMakeFiles/hipsparse_fortran.dir/src/hipsparse.f90.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/library && /usr/bin/gfortran   -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -O3 -J../include/hipsparse -std=f2003 -ffree-form -cpp -c /<<PKGBUILDDIR>>/library/src/hipsparse.f90 -o CMakeFiles/hipsparse_fortran.dir/src/hipsparse.f90.o
/usr/bin/cmake -E touch library/CMakeFiles/hipsparse_fortran.dir/src/hipsparse_enums.f90.o.provides.build
/usr/bin/cmake -E cmake_copy_f90_mod include/hipsparse/hipsparse.mod library/CMakeFiles/hipsparse_fortran.dir/hipsparse.mod.stamp GNU
/usr/bin/cmake -E touch library/CMakeFiles/hipsparse_fortran.dir/src/hipsparse.f90.o.provides.build
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[  3%] Built target hipsparse_fortran
/<<PKGBUILDDIR>>/library/src/hcc_detail/hipsparse.cpp: In function â??hipsparseStatus_t hipsparseSbsrmv(hipsparseHandle_t, hipsparseDirection_t, hipsparseOperation_t, int, int, int, const float*, hipsparseMatDescr_t, const float*, const int*, const int*, int, const float*, const float*, float*)â??:
/<<PKGBUILDDIR>>/library/src/hcc_detail/hipsparse.cpp:2090:56: error: cannot convert â??const float*â?? to â??rocsparse_mat_infoâ?? {aka â??_rocsparse_mat_info*â??}
 2090 |                                                        x,
      |                                                        ^
      |                                                        |
      |                                                        const float*
In file included from /usr/include/rocsparse/internal/rocsparse-level2.h:33,
                 from /usr/include/rocsparse/rocsparse-functions.h:36,
                 from /usr/include/rocsparse/rocsparse.h:32,
                 from /<<PKGBUILDDIR>>/library/src/hcc_detail/hipsparse.cpp:28:
/usr/include/rocsparse/internal/level2/rocsparse_bsrmv.h:686:61: note: initializing argument 13 of â??rocsparse_status rocsparse_sbsrmv(rocsparse_handle, rocsparse_direction, rocsparse_operation, rocsparse_int, rocsparse_int, rocsparse_int, const float*, rocsparse_mat_descr, const float*, const rocsparse_int*, const rocsparse_int*, rocsparse_int, rocsparse_mat_info, const float*, const float*, float*)â??
  686 |                                   rocsparse_mat_info        info,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/<<PKGBUILDDIR>>/library/src/hcc_detail/hipsparse.cpp: In function â??hipsparseStatus_t hipsparseDbsrmv(hipsparseHandle_t, hipsparseDirection_t, hipsparseOperation_t, int, int, int, const double*, hipsparseMatDescr_t, const double*, const int*, const int*, int, const double*, const double*, double*)â??:
/<<PKGBUILDDIR>>/library/src/hcc_detail/hipsparse.cpp:2123:56: error: cannot convert â??const double*â?? to â??rocsparse_mat_infoâ?? {aka â??_rocsparse_mat_info*â??}
 2123 |                                                        x,
      |                                                        ^
      |                                                        |
      |                                                        const double*
/usr/include/rocsparse/internal/level2/rocsparse_bsrmv.h:704:61: note: initializing argument 13 of â??rocsparse_status rocsparse_dbsrmv(rocsparse_handle, rocsparse_direction, rocsparse_operation, rocsparse_int, rocsparse_int, rocsparse_int, const double*, rocsparse_mat_descr, const double*, const rocsparse_int*, const rocsparse_int*, rocsparse_int, rocsparse_mat_info, const double*, const double*, double*)â??
  704 |                                   rocsparse_mat_info        info,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/<<PKGBUILDDIR>>/library/src/hcc_detail/hipsparse.cpp: In function â??hipsparseStatus_t hipsparseCbsrmv(hipsparseHandle_t, hipsparseDirection_t, hipsparseOperation_t, int, int, int, const hipComplex*, hipsparseMatDescr_t, const hipComplex*, const int*, const int*, int, const hipComplex*, const hipComplex*, hipComplex*)â??:
/<<PKGBUILDDIR>>/library/src/hcc_detail/hipsparse.cpp:2157:26: error: cannot convert â??const rocsparse_float_complex*â?? to â??rocsparse_mat_infoâ?? {aka â??_rocsparse_mat_info*â??}
 2157 |                          (const rocsparse_float_complex*)x,
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                          |
      |                          const rocsparse_float_complex*
/usr/include/rocsparse/internal/level2/rocsparse_bsrmv.h:722:66: note: initializing argument 13 of â??rocsparse_status rocsparse_cbsrmv(rocsparse_handle, rocsparse_direction, rocsparse_operation, rocsparse_int, rocsparse_int, rocsparse_int, const rocsparse_float_complex*, rocsparse_mat_descr, const rocsparse_float_complex*, const rocsparse_int*, const rocsparse_int*, rocsparse_int, rocsparse_mat_info, const rocsparse_float_complex*, const rocsparse_float_complex*, rocsparse_float_complex*)â??
  722 |                                   rocsparse_mat_info             info,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/<<PKGBUILDDIR>>/library/src/hcc_detail/hipsparse.cpp: In function â??hipsparseStatus_t hipsparseZbsrmv(hipsparseHandle_t, hipsparseDirection_t, hipsparseOperation_t, int, int, int, const hipDoubleComplex*, hipsparseMatDescr_t, const hipDoubleComplex*, const int*, const int*, int, const hipDoubleComplex*, const hipDoubleComplex*, hipDoubleComplex*)â??:
/<<PKGBUILDDIR>>/library/src/hcc_detail/hipsparse.cpp:2191:26: error: cannot convert â??const rocsparse_double_complex*â?? to â??rocsparse_mat_infoâ?? {aka â??_rocsparse_mat_info*â??}
 2191 |                          (const rocsparse_double_complex*)x,
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                          |
      |                          const rocsparse_double_complex*
/usr/include/rocsparse/internal/level2/rocsparse_bsrmv.h:740:67: note: initializing argument 13 of â??rocsparse_status rocsparse_zbsrmv(rocsparse_handle, rocsparse_direction, rocsparse_operation, rocsparse_int, rocsparse_int, rocsparse_int, const rocsparse_double_complex*, rocsparse_mat_descr, const rocsparse_double_complex*, const rocsparse_int*, const rocsparse_int*, rocsparse_int, rocsparse_mat_info, const rocsparse_double_complex*, const rocsparse_double_complex*, rocsparse_double_complex*)â??
  740 |                                   rocsparse_mat_info              info,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/<<PKGBUILDDIR>>/library/src/hcc_detail/hipsparse.cpp: In function â??hipsparseStatus_t hipsparseCsr2cscEx2(hipsparseHandle_t, int, int, int, const void*, const int*, const int*, void*, int*, int*, hipDataType, hipsparseAction_t, hipsparseIndexBase_t, hipsparseCsr2CscAlg_t, void*)â??:
/<<PKGBUILDDIR>>/library/src/hcc_detail/hipsparse.cpp:8627:11: warning: enumeration value â??HIP_R_8Iâ?? not handled in switch [-Wswitch]
 8627 |     switch(valType)
      |           ^
/<<PKGBUILDDIR>>/library/src/hcc_detail/hipsparse.cpp:8627:11: warning: enumeration value â??HIP_C_8Iâ?? not handled in switch [-Wswitch]
/<<PKGBUILDDIR>>/library/src/hcc_detail/hipsparse.cpp:8627:11: warning: enumeration value â??HIP_R_8Uâ?? not handled in switch [-Wswitch]
/<<PKGBUILDDIR>>/library/src/hcc_detail/hipsparse.cpp:8627:11: warning: enumeration value â??HIP_C_8Uâ?? not handled in switch [-Wswitch]
/<<PKGBUILDDIR>>/library/src/hcc_detail/hipsparse.cpp:8627:11: warning: enumeration value â??HIP_R_32Iâ?? not handled in switch [-Wswitch]
/<<PKGBUILDDIR>>/library/src/hcc_detail/hipsparse.cpp:8627:11: warning: enumeration value â??HIP_C_32Iâ?? not handled in switch [-Wswitch]
/<<PKGBUILDDIR>>/library/src/hcc_detail/hipsparse.cpp:8627:11: warning: enumeration value â??HIP_R_32Uâ?? not handled in switch [-Wswitch]
/<<PKGBUILDDIR>>/library/src/hcc_detail/hipsparse.cpp:8627:11: warning: enumeration value â??HIP_C_32Uâ?? not handled in switch [-Wswitch]
/<<PKGBUILDDIR>>/library/src/hcc_detail/hipsparse.cpp:8627:11: warning: enumeration value â??HIP_R_16BFâ?? not handled in switch [-Wswitch]
/<<PKGBUILDDIR>>/library/src/hcc_detail/hipsparse.cpp:8627:11: warning: enumeration value â??HIP_C_16BFâ?? not handled in switch [-Wswitch]
/<<PKGBUILDDIR>>/library/src/hcc_detail/hipsparse.cpp:8627:11: warning: enumeration value â??HIP_R_4Iâ?? not handled in switch [-Wswitch]
/<<PKGBUILDDIR>>/library/src/hcc_detail/hipsparse.cpp:8627:11: warning: enumeration value â??HIP_C_4Iâ?? not handled in switch [-Wswitch]
/<<PKGBUILDDIR>>/library/src/hcc_detail/hipsparse.cpp:8627:11: warning: enumeration value â??HIP_R_4Uâ?? not handled in switch [-Wswitch]
/<<PKGBUILDDIR>>/library/src/hcc_detail/hipsparse.cpp:8627:11: warning: enumeration value â??HIP_C_4Uâ?? not handled in switch [-Wswitch]
/<<PKGBUILDDIR>>/library/src/hcc_detail/hipsparse.cpp:8627:11: warning: enumeration value â??HIP_R_16Iâ?? not handled in switch [-Wswitch]
/<<PKGBUILDDIR>>/library/src/hcc_detail/hipsparse.cpp:8627:11: warning: enumeration value â??HIP_C_16Iâ?? not handled in switch [-Wswitch]
/<<PKGBUILDDIR>>/library/src/hcc_detail/hipsparse.cpp:8627:11: warning: enumeration value â??HIP_R_16Uâ?? not handled in switch [-Wswitch]
/<<PKGBUILDDIR>>/library/src/hcc_detail/hipsparse.cpp:8627:11: warning: enumeration value â??HIP_C_16Uâ?? not handled in switch [-Wswitch]
/<<PKGBUILDDIR>>/library/src/hcc_detail/hipsparse.cpp:8627:11: warning: enumeration value â??HIP_R_64Iâ?? not handled in switch [-Wswitch]
/<<PKGBUILDDIR>>/library/src/hcc_detail/hipsparse.cpp:8627:11: warning: enumeration value â??HIP_C_64Iâ?? not handled in switch [-Wswitch]
/<<PKGBUILDDIR>>/library/src/hcc_detail/hipsparse.cpp:8627:11: warning: enumeration value â??HIP_R_64Uâ?? not handled in switch [-Wswitch]
/<<PKGBUILDDIR>>/library/src/hcc_detail/hipsparse.cpp:8627:11: warning: enumeration value â??HIP_C_64Uâ?? not handled in switch [-Wswitch]
/<<PKGBUILDDIR>>/library/src/hcc_detail/hipsparse.cpp:8627:11: warning: enumeration value â??HIP_R_8F_E4M3â?? not handled in switch [-Wswitch]
/<<PKGBUILDDIR>>/library/src/hcc_detail/hipsparse.cpp:8627:11: warning: enumeration value â??HIP_R_8F_E5M2â?? not handled in switch [-Wswitch]
/<<PKGBUILDDIR>>/library/src/hcc_detail/hipsparse.cpp:8627:11: warning: enumeration value â??HIP_R_8F_E4M3_FNUZâ?? not handled in switch [-Wswitch]
/<<PKGBUILDDIR>>/library/src/hcc_detail/hipsparse.cpp:8627:11: warning: enumeration value â??HIP_R_8F_E5M2_FNUZâ?? not handled in switch [-Wswitch]
/<<PKGBUILDDIR>>/library/src/hcc_detail/hipsparse.cpp: In function â??hipsparseStatus_t hipsparseSpMV_preprocess(hipsparseHandle_t, hipsparseOperation_t, const void*, hipsparseSpMatDescr_t, hipsparseDnVecDescr_t, const void*, hipsparseDnVecDescr_t, hipDataType, hipsparseSpMVAlg_t, void*)â??:
/<<PKGBUILDDIR>>/library/src/hcc_detail/hipsparse.cpp:13572:54: error: cannot convert â??size_t*â?? {aka â??long unsigned int*â??} to â??rocsparse_spmv_stageâ?? {aka â??rocsparse_spmv_stage_â??}
13572 |                                                      &bufferSize,
      |                                                      ^~~~~~~~~~~
      |                                                      |
      |                                                      size_t* {aka long unsigned int*}
In file included from /usr/include/rocsparse/internal/rocsparse-generic.h:45,
                 from /usr/include/rocsparse/rocsparse-functions.h:34:
/usr/include/rocsparse/internal/generic/rocsparse_spmv.h:342:78: note: initializing argument 10 of â??rocsparse_status rocsparse_spmv(rocsparse_handle, rocsparse_operation, const void*, rocsparse_const_spmat_descr, rocsparse_const_dnvec_descr, const void*, rocsparse_dnvec_descr, rocsparse_datatype, rocsparse_spmv_alg, rocsparse_spmv_stage, size_t*, void*)â??
  342 |                                                  rocsparse_spmv_stage        stage,
      |                                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/<<PKGBUILDDIR>>/library/src/hcc_detail/hipsparse.cpp: In function â??hipsparseStatus_t hipsparseSpMV(hipsparseHandle_t, hipsparseOperation_t, const void*, hipsparseSpMatDescr_t, hipsparseDnVecDescr_t, const void*, hipsparseDnVecDescr_t, hipDataType, hipsparseSpMVAlg_t, void*)â??:
/<<PKGBUILDDIR>>/library/src/hcc_detail/hipsparse.cpp:13597:54: error: cannot convert â??size_t*â?? {aka â??long unsigned int*â??} to â??rocsparse_spmv_stageâ?? {aka â??rocsparse_spmv_stage_â??}
13597 |                                                      &bufferSize,
      |                                                      ^~~~~~~~~~~
      |                                                      |
      |                                                      size_t* {aka long unsigned int*}
/usr/include/rocsparse/internal/generic/rocsparse_spmv.h:342:78: note: initializing argument 10 of â??rocsparse_status rocsparse_spmv(rocsparse_handle, rocsparse_operation, const void*, rocsparse_const_spmat_descr, rocsparse_const_dnvec_descr, const void*, rocsparse_dnvec_descr, rocsparse_datatype, rocsparse_spmv_alg, rocsparse_spmv_stage, size_t*, void*)â??
  342 |                                                  rocsparse_spmv_stage        stage,
      |                                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/<<PKGBUILDDIR>>/library/src/hcc_detail/hipsparse.cpp: In function â??hipsparseStatus_t hipsparseSpMM_bufferSize(hipsparseHandle_t, hipsparseOperation_t, hipsparseOperation_t, const void*, hipsparseSpMatDescr_t, hipsparseDnMatDescr_t, const void*, hipsparseDnMatDescr_t, hipDataType, hipsparseSpMMAlg_t, size_t*)â??:
/<<PKGBUILDDIR>>/library/src/hcc_detail/hipsparse.cpp:13613:39: error: â??rocsparse_spmm_exâ?? was not declared in this scope; did you mean â??rocsparse_spmv_exâ???
13613 |     return rocSPARSEStatusToHIPStatus(rocsparse_spmm_ex((rocsparse_handle)handle,
      |                                       ^~~~~~~~~~~~~~~~~
      |                                       rocsparse_spmv_ex
/<<PKGBUILDDIR>>/library/src/hcc_detail/hipsparse.cpp: In function â??hipsparseStatus_t hipsparseSpMM_preprocess(hipsparseHandle_t, hipsparseOperation_t, hipsparseOperation_t, const void*, hipsparseSpMatDescr_t, hipsparseDnMatDescr_t, const void*, hipsparseDnMatDescr_t, hipDataType, hipsparseSpMMAlg_t, void*)â??:
/<<PKGBUILDDIR>>/library/src/hcc_detail/hipsparse.cpp:13641:39: error: â??rocsparse_spmm_exâ?? was not declared in this scope; did you mean â??rocsparse_spmv_exâ???
13641 |     return rocSPARSEStatusToHIPStatus(rocsparse_spmm_ex((rocsparse_handle)handle,
      |                                       ^~~~~~~~~~~~~~~~~
      |                                       rocsparse_spmv_ex
/<<PKGBUILDDIR>>/library/src/hcc_detail/hipsparse.cpp: In function â??hipsparseStatus_t hipsparseSpMM(hipsparseHandle_t, hipsparseOperation_t, hipsparseOperation_t, const void*, hipsparseSpMatDescr_t, hipsparseDnMatDescr_t, const void*, hipsparseDnMatDescr_t, hipDataType, hipsparseSpMMAlg_t, void*)â??:
/<<PKGBUILDDIR>>/library/src/hcc_detail/hipsparse.cpp:13669:39: error: â??rocsparse_spmm_exâ?? was not declared in this scope; did you mean â??rocsparse_spmv_exâ???
13669 |     return rocSPARSEStatusToHIPStatus(rocsparse_spmm_ex((rocsparse_handle)handle,
      |                                       ^~~~~~~~~~~~~~~~~
      |                                       rocsparse_spmv_ex
/<<PKGBUILDDIR>>/library/src/hcc_detail/hipsparse.cpp: In function â??hipsparseStatus_t hipsparseSpGEMM_compute(hipsparseHandle_t, hipsparseOperation_t, hipsparseOperation_t, const void*, hipsparseSpMatDescr_t, hipsparseSpMatDescr_t, const void*, hipsparseSpMatDescr_t, hipDataType, hipsparseSpGEMMAlg_t, hipsparseSpGEMMDescr_t, size_t*, void*)â??:
/<<PKGBUILDDIR>>/library/src/hcc_detail/hipsparse.cpp:13834:56: error: â??rocsparse_spgemm_stage_autoâ?? was not declared in this scope; did you mean â??rocsparse_spgemm_stage_nnzâ???
13834 |                                                        rocsparse_spgemm_stage_auto,
      |                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                        rocsparse_spgemm_stage_nnz
At global scope:
cc1plus: note: unrecognized command-line option â??-Wno-unused-command-line-argumentâ?? may have been intended to silence earlier diagnostics
make[3]: *** [library/CMakeFiles/hipsparse.dir/build.make:82: library/CMakeFiles/hipsparse.dir/src/hcc_detail/hipsparse.cpp.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:248: library/CMakeFiles/hipsparse.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:159: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j2 INSTALL="install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:16: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------


Reply to: