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

Bug#1108510: marked as done (FTBFS in rocprim with hipcc 6.1.2+dfsg-1~exp1)



Your message dated Mon, 30 Jun 2025 21:49:01 +0000
with message-id <E1uWMN3-005gD9-El@fasolo.debian.org>
and subject line Bug#1108510: fixed in rocprim 6.4.1-1~exp2
has caused the Debian Bug report #1108510,
regarding FTBFS in rocprim with hipcc 6.1.2+dfsg-1~exp1
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.)


-- 
1108510: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1108510
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: rocprim
Version: 6.4.1-1~exp1
Severity: serious
Tags: ftbfs
X-Debbugs-Cc: debian-amd64@lists.debian.org, cgmb@slerp.xyz
User: debian-amd64@lists.debian.org
Usertags: amd64

Dear Maintainer,

When building rocprim from source using the current ROCm stack in Debian
Experimental, the rocprim library fails to configure successfully. This
is because hipcc 6.1.2~exp1, longer Depends on libamdhip64-dev like it
did in previous versions. However, the libamdhip64-dev package is still
required for compiling HIP programs.

This is the relevent snippet from the build logs:

    -- The CXX compiler identification is unknown
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - failed
    -- Check for working CXX compiler: /usr/bin/hipcc
    -- Check for working CXX compiler: /usr/bin/hipcc - broken
    CMake Error at /usr/share/cmake-3.31/Modules/CMakeTestCXXCompiler.cmake:73 (message):
      The C++ compiler
    
        "/usr/bin/hipcc"
    
      is not able to compile a simple test program.
    
      It fails with the following output:
    
        Change Dir: '/build/reproducible-path/rocprim-6.4.1/obj-x86_64-linux-gnu/CMakeFiles/CMakeScratch/TryCompile-egfdUH'
    
        Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile cmTC_8e8d4/fast
        gmake[2]: Entering directory '/build/reproducible-path/rocprim-6.4.1/obj-x86_64-linux-gnu/CMakeFiles/CMakeScratch/TryCompile-egfdUH'
        /usr/bin/gmake  -f CMakeFiles/cmTC_8e8d4.dir/build.make CMakeFiles/cmTC_8e8d4.dir/build
        gmake[3]: Entering directory '/build/reproducible-path/rocprim-6.4.1/obj-x86_64-linux-gnu/CMakeFiles/CMakeScratch/TryCompile-egfdUH'
        Building CXX object CMakeFiles/cmTC_8e8d4.dir/testCXXCompiler.cxx.o
        /usr/bin/hipcc   -gz -DROCPRIM_USE_ARCH_CONVERSION -g -O2 -ffile-prefix-map=/build/reproducible-path/rocprim-6.4.1=. -Xarch_host -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Xarch_host -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2  -o CMakeFiles/cmTC_8e8d4.dir/testCXXCompiler.cxx.o -c /build/reproducible-path/rocprim-6.4.1/obj-x86_64-linux-gnu/CMakeFiles/CMakeScratch/TryCompile-egfdUH/testCXXCompiler.cxx
        clang-17: error: cannot find HIP runtime; provide its path via '--rocm-path', or pass '-nogpuinc' to build without HIP runtime
        clang-17: error: cannot find HIP runtime; provide its path via '--rocm-path', or pass '-nogpuinc' to build without HIP runtime
        gmake[3]: *** [CMakeFiles/cmTC_8e8d4.dir/build.make:81: CMakeFiles/cmTC_8e8d4.dir/testCXXCompiler.cxx.o] Error 1

There is clearly a missing package relationship in hipcc, as hipcc
should certainly either list libamdhip64-dev as Recommends or Depends.
Without libamdhip64-dev, the hipconfig binary is still useful, but the
most important feature of hipcc -- compiling HIP programs -- is not
functional. For this reason, I would argue that hipcc should continue to
have a Depends relationship on libamdhip64-dev.

It may be arguable whether this FTBFS is the fault of hipcc or of
rocprim, but rocprim is certainly affected by this problem. Ultimately,
the solution must be either to add libamdhip64-dev back into the Depends
list for hipcc in src:rocm-llvm and/or into the Build-Depends list for
rocprim.

I would argue that it should be both, as rocprim includes headers from
libamdhip64-dev and it should therefore be explicitly listing the
package in its Build-Depends anyway.

Sincerely,
Cory Bloor

-- System Information:
Debian Release: 13.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.32-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

--- End Message ---
--- Begin Message ---
Source: rocprim
Source-Version: 6.4.1-1~exp2
Done: Cordell Bloor <cgmb@slerp.xyz>

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

Debian distribution maintenance software
pp.
Cordell Bloor <cgmb@slerp.xyz> (supplier of updated rocprim 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: Mon, 30 Jun 2025 13:43:33 -0600
Source: rocprim
Architecture: source
Version: 6.4.1-1~exp2
Distribution: experimental
Urgency: medium
Maintainer: Debian ROCm Team <debian-ai@lists.debian.org>
Changed-By: Cordell Bloor <cgmb@slerp.xyz>
Closes: 1108510
Changes:
 rocprim (6.4.1-1~exp2) experimental; urgency=medium
 .
   * Add libamdhip64-dev to Build-Depends (Closes: #1108510)
   * Add gfx942 to build targets for librocprim-tests
Checksums-Sha1:
 de0a632b16c7f7e394917e3b943e348329b0aa40 2450 rocprim_6.4.1-1~exp2.dsc
 f0c790c315751c6c3407017ca3d84d53fffda536 8104 rocprim_6.4.1-1~exp2.debian.tar.xz
 6c561364dcf846d00e15e72fe2c3122dab42a11f 8187 rocprim_6.4.1-1~exp2_source.buildinfo
Checksums-Sha256:
 bdb83e5bb00cafbfc11aa34728aa48f90c1bb86a35148651fcc3414b8c91d0cf 2450 rocprim_6.4.1-1~exp2.dsc
 b812b24356c59ee5184695f702e97127a71e6d51f09a07c02c78e5e8625bb487 8104 rocprim_6.4.1-1~exp2.debian.tar.xz
 0f0f4b4937e1671b0cc51792975bbd9b8ddca647eebf46a896dcc60604d35ecd 8187 rocprim_6.4.1-1~exp2_source.buildinfo
Files:
 501bc7678af2b18f193a22d6dfb7a1fc 2450 devel optional rocprim_6.4.1-1~exp2.dsc
 2fca09e681abbdf81c2b8d0a6e3435e0 8104 devel optional rocprim_6.4.1-1~exp2.debian.tar.xz
 fe006f7a59342196c2649067288c81b4 8187 devel optional rocprim_6.4.1-1~exp2_source.buildinfo

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

wsG7BAEBCgBvBYJoYwJzCRD5747gwCFjD0cUAAAAAAAeACBzYWx0QG5vdGF0aW9u
cy5zZXF1b2lhLXBncC5vcmdLXmkmDLVbkCr8okkhdC1bAJh3HCgVovizTaZlL5Sn
uhYhBAzgb+OSqkj40i5EcfnvjuDAIWMPAACdxxAAjoGPjBFAsH3AGv1laWGlBV7Y
tNBlL4H7NK2AZBByRn9hBrtXXduaxSe97KVTA5pKtQBMF9JLaFbrah9DzEn2WWfv
DDr4wNgKeg920T2zDq4qEP40+2cly6dLHsfoZKWrUFMmcr5zpkf9W+Adl7qNNyko
UP/zIfF0djVo8YlmW2lGsQjA8XhjoDIqVuJV1maHo1vxYZjbEZuq7YTnG8McM/XK
ALwvjLQFZ1dJOBIzQ0chxH7OT/gvyRUI2dT/3JPXRAODk0ERXpQ4Dlh4mwenM50H
/DKZ2ukZvXrhrcb+GFeUxTNsqopsKzC2rWa4RG9/NbMN9weWUGHaQWiOg8QPLvAf
8+qcIijDpOKhqn9dLZp0kEZumfgHsCoH5NqLl2lMJNlbvhDdmDOq9Q1GiXQ32mHo
/LMuPyxV9yWdTq8yKtymfKlUtq0JJsneI7m1M5sEEHslHeFD8SjoQZqGzYcnN5uv
MilqBpDQy3qnqyMdA0/8sCrgJY1IsJ+0EbF5iYtaHHjZTUDsAO6x73ePMzOHzAFT
puaXgCWp/ni8pPR++h6BSF3Jpn8vDbbxBFFCUXOSXbrDKKOoYlit0VRby20y5Hdf
cc2O+I0DnPW/yyqhbEq31uQMx/OWqUSMJ/DdvlXl3yUENkQsmrnxxsLAUoUrGgpa
KmMdAJ4Da7V68Tls5Jw=
=isPW
-----END PGP SIGNATURE-----

Attachment: pgpHpej6AXiNa.pgp
Description: PGP signature


--- End Message ---

Reply to: