Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 881195 - sys-devel/llvm-roc-5.0.2: calls Python directly / uses Python not in PYTHON_COMPAT
Summary: sys-devel/llvm-roc-5.0.2: calls Python directly / uses Python not in PYTHON_C...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 762406
  Show dependency tree
 
Reported: 2022-11-13 16:30 UTC by Toralf Förster
Modified: 2022-12-14 11:00 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,20.12 KB, text/plain)
2022-11-13 16:30 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,98.15 KB, application/x-bzip)
2022-11-13 16:30 UTC, Toralf Förster
Details
environment (environment,98.39 KB, text/plain)
2022-11-13 16:30 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,33.69 KB, application/x-bzip)
2022-11-13 16:30 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,14.84 KB, application/x-bzip)
2022-11-13 16:30 UTC, Toralf Förster
Details
sys-devel:llvm-roc-5.0.2:20221112-234549.log.bz2 (sys-devel:llvm-roc-5.0.2:20221112-234549.log.bz2,88.76 KB, application/x-bzip)
2022-11-13 16:30 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-11-13 16:30:49 UTC
too long lines were shrinked:

  File "/var/tmp/portage/sys-devel/llvm-roc-5.0.2/work/llvm-project-rocm-5.0.2/compiler-rt/lib/sanitizer_common/scripts/gen_dynamic_list.py", line 20, in <module>
    import subprocess
  File "/usr/lib/python3.12/subprocess.py", line 104, in <module>
    from _posixsubprocess import fork_exec as _fork_exec
ModuleNotFoundError: No module named '_posixsubprocess'
[2690/5247] cd /var/tmp/portage/sys-devel/llvm-roc-5.0.2/work/llvm-project-rocm-5.0.2/compiler-rt/lib/ubsan && /usr/bin/python3.12 /var/tmp/portage/sys-devel/llvm-roc-5.0.2/work/llvm-project-rocm-5.0.2/compiler-rt/lib/sanitizer_common/scripts/gen_dynamic_list.py --version-list --extra ubsan.syms.ext
FAILED: projects/compiler-rt/lib/ubsan/clang_rt.ubsan_standalone-dynamic-i386.vers /var/tmp/portage/sys-devel/llvm-roc-5.0.2/work/llvm-project-rocm-5.0.2/llvm_build/projects/compiler-rt/lib/ubsan/clang_rt.ubsan_standalone-dynamic-i386.vers 

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-j4-20221108-210859

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
/usr/lib/llvm/15
15.0.4
Python 3.10.8
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.17_p8 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.352_p08 [openjdk-bin-8]
4)	Eclipse Temurin JRE 17.0.5_p8 [openjdk-jre-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm
  [4]   openjdk-jre-bin-17 

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):

  HEAD of ::gentoo
commit afdf0ab6f9af0804dd7fe5c19c7d403aa4d4c730
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Nov 12 23:31:51 2022 +0000

    2022-11-12 23:31:50 UTC

emerge -qpvO sys-devel/llvm-roc
[ebuild  N    ] sys-devel/llvm-roc-5.0.2  USE="runtime -debug"
Comment 1 Toralf Förster gentoo-dev 2022-11-13 16:30:50 UTC
Created attachment 832229 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-13 16:30:52 UTC
Created attachment 832231 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2022-11-13 16:30:53 UTC
Created attachment 832233 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-11-13 16:30:54 UTC
Created attachment 832235 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-11-13 16:30:55 UTC
Created attachment 832237 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-13 16:30:57 UTC
Created attachment 832239 [details]
sys-devel:llvm-roc-5.0.2:20221112-234549.log.bz2
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-14 10:59:43 UTC
commit 577e72e88614511b08bee8c8b064e91702a1ffd4
Author: Michał Górny <mgorny@gentoo.org>
Date:   Tue Dec 13 15:21:16 2022 +0100

    dev-lang/python: Fix installing lib-dynload in 3.12

    The Makefile rules are broken and fail to create the necessary
    directories in DESTDIR if they are already present on the live system.
    They also fail to handle install(1) errors.  Therefore, if Python 3.12
    was already installed in the system, the ebuild did not create
    lib-dynload directory in DESTDIR, then failed to install extension
    modules there and happily created a broken Python distribution.

    Just create the directory early in the ebuild to workaround the problem
    until upstream figures out how to fix the problem.

    Signed-off-by: Michał Górny <mgorny@gentoo.org>