Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 843263 - dev-util/hip-5.0.2 - ModuleNotFoundError: No module named CppHeaderParser
Summary: dev-util/hip-5.0.2 - ModuleNotFoundError: No module named CppHeaderParser
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-08 07:49 UTC by Toralf Förster
Modified: 2022-07-08 17:40 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,18.93 KB, text/plain)
2022-05-08 07:49 UTC, Toralf Förster
Details
dev-util:hip-5.0.2:20220508-061914.log (dev-util:hip-5.0.2:20220508-061914.log,115.50 KB, text/plain)
2022-05-08 07:49 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,68.73 KB, application/x-bzip)
2022-05-08 07:49 UTC, Toralf Förster
Details
environment (environment,95.98 KB, text/plain)
2022-05-08 07:49 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,24.82 KB, application/x-bzip)
2022-05-08 07:49 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.87 KB, application/x-bzip)
2022-05-08 07:49 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,27.61 KB, application/x-bzip)
2022-05-08 07:49 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-05-08 07:49:16 UTC
too long lines were shrinked:

cd /var/tmp/portage/dev-util/hip-5.0.2/work/hipamd-rocm-5.0.2_build/src && /usr/bin/python /var/tmp/portage/dev-util/hip-5.0.2/work/hipamd-rocm-5.0.2/src/hip_prof_gen.py -v -t --priv /var/tmp/portage/dev-util/hip-5.0.2/work/HIP-rocm-5.0.2/include/hip/hip_runtime_api.h /var/tmp/portage/dev-util/hip-5
Traceback (most recent call last):
  File "/var/tmp/portage/dev-util/hip-5.0.2/work/hipamd-rocm-5.0.2/src/hip_prof_gen.py", line 24, in <module>
    import CppHeaderParser
ModuleNotFoundError: No module named 'CppHeaderParser'
[51/84] /usr/bin/x86_64-pc-linux-gnu-g++ -DATI_ARCH_X86 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOP
[52/84] /usr/bin/x86_64-pc-linux-gnu-g++ -DATI_ARCH_X86 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOP

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4-20220504-040004

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-12.1.0 *
clang/llvm (if any):
/usr/lib/llvm/14
14.0.3
Python 3.9.12
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.60.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.14_p9 [openjdk-bin-11]
*)	Eclipse Temurin JDK 8.322_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-11 

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit 2681bc7d7195afa8557029413cf7e6873ab9c25c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun May 8 04:34:30 2022 +0000

    2022-05-08 04:34:29 UTC

emerge -qpvO dev-util/hip
[ebuild  N    ] dev-util/hip-5.0.2  USE="profile -debug"
Comment 1 Toralf Förster gentoo-dev 2022-05-08 07:49:17 UTC
Created attachment 777422 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-05-08 07:49:19 UTC
Created attachment 777425 [details]
dev-util:hip-5.0.2:20220508-061914.log
Comment 3 Toralf Förster gentoo-dev 2022-05-08 07:49:20 UTC
Created attachment 777428 [details]
emerge-history.txt.bz2
Comment 4 Toralf Förster gentoo-dev 2022-05-08 07:49:21 UTC
Created attachment 777431 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-05-08 07:49:22 UTC
Created attachment 777434 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-05-08 07:49:23 UTC
Created attachment 777437 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-05-08 07:49:24 UTC
Created attachment 777440 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-07-08 17:40:36 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7dac65ea4155fa1f5a21bdd46dd9793d21911e0e

commit 7dac65ea4155fa1f5a21bdd46dd9793d21911e0e
Author:     Yiyang Wu <xgreenlandforwyy@gmail.com>
AuthorDate: 2022-06-27 13:12:30 +0000
Commit:     Benda Xu <heroxbd@gentoo.org>
CommitDate: 2022-07-08 17:40:06 +0000

    dev-util/hip: add missing BDEPEND for USE=profile
    
    Also fix ld warnings by patch out unecessary ldflag added by hipcc.pl
    
    Closes: https://github.com/gentoo/gentoo/pull/26090
    Closes: https://bugs.gentoo.org/843263
    Reference: https://github.com/justxi/rocm/issues/8#issuecomment-1166193820
    Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com>
    Signed-off-by: Benda Xu <heroxbd@gentoo.org>

 dev-util/hip/files/hip-5.0.2-correct-ldflag.patch | 18 ++++++++++++++++++
 dev-util/hip/hip-5.0.2-r2.ebuild                  | 17 ++++++++++++++++-
 2 files changed, 34 insertions(+), 1 deletion(-)