-- Up-to-date: /var/tmp/portage/media-libs/opencv-4.6.0-r2/image/usr/share/opencv4/lbpcascades/lbpcascade_frontalface.xml -- Up-to-date: /var/tmp/portage/media-libs/opencv-4.6.0-r2/image/usr/share/opencv4/lbpcascades/lbpcascade_frontalface_improved.xml -- Up-to-date: /var/tmp/portage/media-libs/opencv-4.6.0-r2/image/usr/share/opencv4/lbpcascades/lbpcascade_profileface.xml -- Up-to-date: /var/tmp/portage/media-libs/opencv-4.6.0-r2/image/usr/share/opencv4/lbpcascades/lbpcascade_silverware.xml rm: cannot remove 'modules/python3': No such file or directory * ERROR: media-libs/opencv-4.6.0-r2::gentoo failed (install phase): * rm failed ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_plasma-j4-20221120-222342 ------------------------------------------------------------------- GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe" GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle" gcc-config -l: [1] x86_64-pc-linux-gnu-12 * clang/llvm (if any): clang version 15.0.5 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.5 Python 3.10.8 Available Ruby profiles: [1] ruby27 (with Rubygems) [2] ruby31 (with Rubygems) * Available Rust versions: [1] rust-bin-1.65.0 * GENTOO_VM= CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm" JAVACFLAGS="" COMPILER="" The following VMs are available for generation-2: *) Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17] 2) Eclipse Temurin JDK 8.352_p08 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-17 system-vm php cli (if any): HEAD of ::gentoo commit d5234c7ac7566ab7ec279a24ccddda8f212c5226 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Mon Nov 21 17:16:55 2022 +0000 2022-11-21 17:16:55 UTC emerge -qpvO media-libs/opencv [ebuild N ] media-libs/opencv-4.6.0-r2 USE="contrib contribdnn eigen features2d gstreamer jpeg opengl openmp png python qt5 tiff -contribcvv -contribfreetype -contribhdf (-contribovis) -contribsfm -contribxfeatures2d (-cuda) -debug -dnnsamples -download -examples -ffmpeg -gdal -gflags -glog -gphoto2 -gtk3 -ieee1394 -java -jpeg2k -lapack -lto -opencl -opencvapps -openexr -tesseract -testprograms -threads -v4l -vaapi -vtk -webp -xine" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="avx avx2 f16c fma3 popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3 -avx512f" PYTHON_TARGETS="python3_10 -python3_8 -python3_9 -python3_11"
Created attachment 835619 [details] emerge-info.txt
Created attachment 835621 [details] emerge-history.txt
Created attachment 835623 [details] environment
Created attachment 835625 [details] etc.clang.tar.bz2
Created attachment 835627 [details] etc.portage.tar.bz2
Created attachment 835629 [details] logs.tar.bz2
Created attachment 835631 [details] media-libs:opencv-4.6.0-r2:20221121-180851.log.bz2
Created attachment 835633 [details] temp.tar.bz2
Yep. I've seen this on my daily driver.
I found that hashing out the rm line in the ebuild for python,allowed the install to complete
(In reply to Geoff Madden from comment #10) > I found that hashing out the rm line in the ebuild for python,allowed the > install to complete Not the right thing to do as you may have left a failed build ignore errors. I didn't follow the whole story but afaik that's a setuptools-65.6.0 issue? Aka it fails on the log stuff, and likely doesn't do the python parts properly and so the directory is never created. I didn't try but it's probably okay now with either current 65.6.3 or stable 65.5.1 Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib/python3.10/site-packages/numpy/distutils/__init__.py", line 26, in <module> from . import ccompiler File "/usr/lib/python3.10/site-packages/numpy/distutils/ccompiler.py", line 20, in <module> from numpy.distutils import log File "/usr/lib/python3.10/site-packages/numpy/distutils/log.py", line 4, in <module> from distutils.log import Log as old_Log ImportError: cannot import name 'Log' from 'distutils.log' (/usr/lib/python3.10/site-packages/setuptools/_distutils/log.py)
(In reply to Ionen Wolkens from comment #11) > > I didn't try but it's probably okay now with either current 65.6.3 or stable > 65.5.1 Well, it didn't with 65.6.0, but indeed, 65.6.3, which I just pulled in, fixed the issue!
*** This bug has been marked as a duplicate of bug 882647 ***