Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 884817 - dev-lang/ispc-1.18.0: calls Python directly / uses Python not in PYTHON_COMPAT
Summary: dev-lang/ispc-1.18.0: calls Python directly / uses Python not in PYTHON_COMPAT
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 762406
  Show dependency tree
 
Reported: 2022-12-08 09:06 UTC by Toralf Förster
Modified: 2023-12-31 09:57 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,20.92 KB, text/plain)
2022-12-08 09:06 UTC, Toralf Förster
Details
dev-lang:ispc-1.18.0:20221207-231334.log (dev-lang:ispc-1.18.0:20221207-231334.log,10.54 KB, text/plain)
2022-12-08 09:06 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,95.27 KB, application/x-bzip)
2022-12-08 09:06 UTC, Toralf Förster
Details
environment (environment,132.06 KB, text/plain)
2022-12-08 09:06 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,705 bytes, application/x-bzip)
2022-12-08 09:06 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,58.10 KB, application/x-bzip)
2022-12-08 09:06 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,6.15 KB, application/x-bzip)
2022-12-08 09:06 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,32.54 KB, application/x-bzip)
2022-12-08 09:06 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-12-08 09:06:41 UTC
  target = re.sub("\.c$", "", target)
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/ispc-1.18.0/work/ispc-1.18.0/bitcode2cpp.py", line 5, 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'
[4/134] cd /var/tmp/portage/dev-lang/ispc-1.18.0/work/ispc-1.18.0 && /usr/bin/m4 -DLLVM_VERSION=LLVM_14_0 builtins/dispatch-macos.ll | "/usr/bin/python3.12" bitcode2cpp.py builtins/dispatch-macos.ll --type=dispatch --os=macos --llvm_as /usr/lib/llvm/14/bin/llvm-as > /var/tmp/portage/dev-lang/ispc-1.18.0/work/ispc-1.18.0_build/./builtins-dispatch-macos.cpp
FAILED: builtins-dispatch-macos.cpp /var/tmp/portage/dev-lang/ispc-1.18.0/work/ispc-1.18.0_build/builtins-dispatch-macos.cpp 

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-j4-20221203-111136

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-11
 [2] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.6
Python 3.10.9
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 ebb2857b5e958e557bd104cd1f79db58eb08ec37
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Dec 7 22:16:50 2022 +0000

    2022-12-07 22:16:49 UTC

emerge -qpvO dev-lang/ispc
[ebuild  N    ] dev-lang/ispc-1.18.0  USE="examples -test"
Comment 1 Toralf Förster gentoo-dev 2022-12-08 09:06:42 UTC
Created attachment 840921 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-12-08 09:06:43 UTC
Created attachment 840923 [details]
dev-lang:ispc-1.18.0:20221207-231334.log
Comment 3 Toralf Förster gentoo-dev 2022-12-08 09:06:45 UTC
Created attachment 840925 [details]
emerge-history.txt.bz2
Comment 4 Toralf Förster gentoo-dev 2022-12-08 09:06:46 UTC
Created attachment 840927 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-12-08 09:06:47 UTC
Created attachment 840929 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-12-08 09:06:48 UTC
Created attachment 840931 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-12-08 09:06:48 UTC
Created attachment 840933 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-12-08 09:06:49 UTC
Created attachment 840935 [details]
temp.tar.bz2
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-14 10:59:37 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>
Comment 10 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-12-31 09:57:04 UTC
FWICS 1.22.0 uses python from ${T}.