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

Bug#1035784: marked as done (librocrand-dev: Missing Depends on libamdhip64-dev)



Your message dated Sun, 28 May 2023 17:22:39 +0000
with message-id <E1q3K6J-001JkU-Fy@fasolo.debian.org>
and subject line Bug#1035784: fixed in rocrand 5.3.3-4
has caused the Debian Bug report #1035784,
regarding librocrand-dev: Missing Depends on libamdhip64-dev
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1035784: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1035784
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: librocrand-dev
Version: 5.3.3-1
Severity: normal
X-Debbugs-Cc: cgmb@slerp.xyz

Dear Maintainer,

The librocrand-dev package is missing a dependency on libamdhip64-dev.

# What was done?

In a fresh Bookworm container,

    apt-get -y update
    apt-get -y install build-essential cmake librocrand-dev
    cat << 'EOF' > main.c
    #include <rocrand/rocrand.h>
    int main() {
      return 0;
    }
    EOF
    cat << 'EOF' > CMakeLists.txt
    cmake_minimum_required(VERSION 3.16)
    project(example LANGUAGES C)
    find_package(rocrand REQUIRED)
    add_executable(example main.c)
    target_link_libraries(example PRIVATE roc::rocrand)
    EOF
    cmake -S. -Bbuild
    gcc -c main.c


# What was seen?

    # cmake -S. -Bbuild
    -- The C compiler identification is GNU 12.2.0
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working C compiler: /usr/bin/cc - skipped
    -- Detecting C compile features
    -- Detecting C compile features - done
    CMake Error at /usr/share/cmake-3.25/Modules/CMakeFindDependencyMacro.cmake:47 (find_package):
      By not providing "Findhip.cmake" in CMAKE_MODULE_PATH this project has
      asked CMake to find a package configuration file provided by "hip", but
      CMake did not find one.
    
      Could not find a package configuration file provided by "hip" with any of
      the following names:
    
        hipConfig.cmake
        hip-config.cmake
    
      Add the installation prefix of "hip" to CMAKE_PREFIX_PATH or set "hip_DIR"
      to a directory containing one of the above files.  If "hip" provides a
      separate development package or SDK, be sure it has been installed.
    Call Stack (most recent call first):
      /usr/lib/x86_64-linux-gnu/cmake/rocrand/rocrand-config.cmake:90 (find_dependency)
      CMakeLists.txt:3 (find_package)
    
    
    -- Configuring incomplete, errors occurred!

    # gcc -c main.c
    In file included from main.c:1:
    /usr/include/rocrand/rocrand.h:29:10: fatal error: hip/hip_runtime.h: No such file or directory
       29 | #include <hip/hip_runtime.h>
          |          ^~~~~~~~~~~~~~~~~~~
    compilation terminated.

# What was expected?

Installing librocrand-dev should be sufficient to ensure that
find_package(rocrand) is successful. Therefore, the librocrand-dev
package should depend on libamdhip64-dev.

-- System Information:
Debian Release: 12.0
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-8-amd64 (SMP w/32 CPU threads; PREEMPT)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages librocrand-dev depends on:
ii  librocrand1  5.3.3-1

librocrand-dev recommends no packages.

librocrand-dev suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: rocrand
Source-Version: 5.3.3-4
Done: Christian Kastner <ckk@debian.org>

We believe that the bug you reported is fixed in the latest version of
rocrand, 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 1035784@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christian Kastner <ckk@debian.org> (supplier of updated rocrand 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: Sun, 28 May 2023 18:25:03 +0200
Source: rocrand
Architecture: source
Version: 5.3.3-4
Distribution: unstable
Urgency: medium
Maintainer: ROCm Team <debian-ai@lists.debian.org>
Changed-By: Christian Kastner <ckk@debian.org>
Closes: 1035784 1035787
Changes:
 rocrand (5.3.3-4) unstable; urgency=medium
 .
   * Temporarily revert fixes unfit for bookworm.
     Specifically, revert all changes from after 5.3.3-1.
 .
   * Add missing dependency on libamdhip64-dev (Closes: #1035784, #1035787)
Checksums-Sha1:
 7d97554f43b12af89d66016b8b50a95b54bf9281 2551 rocrand_5.3.3-4.dsc
 6380ccffa33ae076c3e9454c73ea77e73747c5f9 6432 rocrand_5.3.3-4.debian.tar.xz
 52c5614f975c234b4b8a2e17e540bc9002093bd8 6428 rocrand_5.3.3-4_source.buildinfo
Checksums-Sha256:
 e1935e82456e5518d620c4e8994600e735d8aaad20bbed4a12f6ca3597da0795 2551 rocrand_5.3.3-4.dsc
 bb63adbde598e9af19332a30ac104931fc04c1da8eb484d521f8838289fed8d4 6432 rocrand_5.3.3-4.debian.tar.xz
 fdd1f272c65401152c3ee3e3ea59c5d95e9373cf707672fea12f87a627969702 6428 rocrand_5.3.3-4_source.buildinfo
Files:
 b0093158b9715a5208f7d5b4fa296b7f 2551 devel optional rocrand_5.3.3-4.dsc
 cc5d603929358b62b215310f51eb29cd 6432 devel optional rocrand_5.3.3-4.debian.tar.xz
 195227d013e3997a00329b0bffdc7b5a 6428 devel optional rocrand_5.3.3-4_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEQZ9+mkfDq5UZ8bCjOZU6N95Os2sFAmRzgh0ACgkQOZU6N95O
s2shmxAAkCRWktTVfKiWdRMM6mdt3s68jicLY6r7mWlpRszELb0f186dMtOD3/Du
2Gqo+DEvDs78mc5czZK6FW5hsn6SZkqJguXpjIvFoCRwJ1x6T76txjZJ1z7BzLsk
qApr+HMQ+5y563csikYTBPS+/Id8XdMe5kKiDg7htIOZkUzKKYGPsrUnUmDi+XuC
PZmIteIC+oE0frE2gb9sljxHmhlxXxhzhzleoXliLc0wFpPXqT7at4gedzy4IRfG
tjSS3ocam0cr0DI0gC9M2jAwbTCXyud1xUaiRhaEAJWNy5lKBLdznBDC7TqS9YON
nYGiqtK4VTlNQ6v/26S6RkgmwhlwE71eG4njJoch5HD8+f9DPo/oI4oMUO56hDzz
YjtythhXv7l7uec7/In1Fb1GsY2tFAaTNJG/IHHjNNUjA1xt9ss3Y/zfUaKpkZpT
5d5baX+PwCKZH7dCMx9hW0ab56TfoyZ1N7pxa2Mr2JPePrwyqxkMBcAkr9D2GVav
YOyi2GUS5MEaIzKk+DxSagLYAVD0/0rzTP84+zuPAYqErom3ejZiE+c0jkQ4eqOf
PG3DDiUS7E9QOBdxjZwCKas833srw+ai9j9/VX0hRoQe9pS9GOs8jcirflKHIOyW
BLH3953Do56B+gY/80ejOs5KTfBfdEEYOoqmpiH56scjSVlseOc=
=H0lQ
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: