Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 933467 - media-libs/opencv 4.8.1-r2 and 4.9.0-r1 fails to build: /usr/lib/javatoolkit/bin/xml-rewrite-3.py: No such file or directory
Summary: media-libs/opencv 4.8.1-r2 and 4.9.0-r1 fails to build: /usr/lib/javatoolkit/...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Paul Zander
URL:
Whiteboard:
Keywords: REGRESSION
Depends on: 933409
Blocks:
  Show dependency tree
 
Reported: 2024-06-03 09:39 UTC by Alexander Weber
Modified: 2024-06-04 06:21 UTC (History)
4 users (show)

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


Attachments
build.log (build.log.txt,31.49 KB, text/plain)
2024-06-03 09:40 UTC, Alexander Weber
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Weber 2024-06-03 09:39:45 UTC
For latest PYTHON_TARGETS change my system need to rebuild media-libs/opencv.
But the build fails. I tried both versions in portage, both fails with the same issue.

Reproducible: Always

Actual Results:  
Rewriting attributes
/var/tmp/portage/media-libs/opencv-4.8.1-r2/temp/environment: line 3061: /usr/lib/javatoolkit/bin/xml-rewrite-3.py: No such file or directory



# emerge --info opencv
Portage 3.0.63 (python 3.12.3-final-0, default/linux/amd64/23.0/desktop, gcc-13, glibc-2.39-r6, 6.6.30-gentoo-dist x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.6.30-gentoo-dist-x86_64-Intel-R-_Core-TM-_i5-10210U_CPU_@_1.60GHz-with-glibc2.39
KiB Mem:    65658376 total,  26603984 free
KiB Swap:    8387580 total,   8387580 free
Timestamp of repository gentoo: Mon, 03 Jun 2024 06:00:00 +0000
Head commit of repository gentoo: 4d2a97821fde51f4f24a3f9b1e41fde28ca0c68d
Head commit of repository guru: 41a53b182be1adb646e9f9d08b1256722071ebbb

Timestamp of repository steam-overlay: Mon, 20 May 2024 17:23:25 +0000
Head commit of repository steam-overlay: 3aa8d3201d7bce32a1a0fffdf4afd9dbd0583048

Timestamp of repository tatsh-overlay: Mon, 03 Jun 2024 05:50:58 +0000
Head commit of repository tatsh-overlay: a4e068425092c58b7ecf3b8ac0c39184e55e31df

Timestamp of repository wayland-desktop: Fri, 24 May 2024 22:03:49 +0000
Head commit of repository wayland-desktop: 1d047fcc497bb134f51b7f5feca701b8b1ab7283

Timestamp of repository zyrenth: Mon, 20 May 2024 17:23:30 +0000
Head commit of repository zyrenth: 7b9229c256ef23ed9065aa6c7ec2bab671345d15

Head commit of repository bell07: 943b9f0c5de12f0a27c397be96960f3a0804993f

sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.42 p3) 2.42.0
distcc 3.4 x86_64-pc-linux-gnu [disabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.28.5::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.4.0-r1::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r3::gentoo
dev-lang/python:           3.11.9::gentoo, 3.12.3::gentoo
dev-lang/rust:             1.77.1::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/openrc:           0.54::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r3::gentoo, 17.0.6::gentoo
sys-devel/gcc:             13.2.1_p20240210::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             15.0.7::gentoo, 17.0.6::gentoo
sys-devel/llvm:            15.0.7-r3::gentoo, 17.0.6::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r6::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 3
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: git@git.gentoo.org:repo/proj/guru.git
    masters: gentoo
    volatile: False

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo
    volatile: False

tatsh-overlay
    location: /var/db/repos/tatsh-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/tatsh-overlay.git
    masters: gentoo
    volatile: False

wayland-desktop
    location: /var/db/repos/wayland-desktop
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/wayland-desktop.git
    masters: gentoo
    volatile: False

zyrenth
    location: /var/db/repos/zyrenth
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/zyrenth.git
    masters: gentoo
    volatile: False

crossdev
    location: /var/db/repos/crossdev
    masters: gentoo
    priority: 10
    volatile: False

bell07
    location: /var/db/repos/bell07
    sync-type: git
    sync-uri: https://github.com/bell07/gentoo-bell07_overlay
    masters: gentoo
    priority: 50
    volatile: False

Binary Repositories:

binhost
    priority: 9999
    sync-uri: https://ftp.uni-hannover.de/gentoo/releases/amd64/binpackages/23.0/x86-64-v3

Installed sets: @my-local-dependencies-set
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -fomit-frame-pointer -pipe "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/easy-rsa /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-O2 -march=native -fomit-frame-pointer -pipe "
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS=" --autounmask --autounmask-write n --autounmask-backtrack y --binpkg-respect-use=y"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -march=native -fomit-frame-pointer -pipe "
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-request-signature buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles getbinpkg ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=native -fomit-frame-pointer -pipe "
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j10"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac aacs acl acpi alsa amd64 appindicator bdplus bluetooth bluray branding bzip2 cacert cairo cdda cddb cdr cet cover crypt css cups dbus dist-kernel dri dts dvd dvdr egl elogind encode exif fat ffmpeg flac fluidsynth gamepad gdbm gdk-pixbuf gif gimp git gles2 gpm gstreamer gtk gtk3 gtk4 gui hddtemp heif hfs iconv icu ipv6 java joystick jpeg jpeg2k keyring lcms libnotify libtirpc lm-sensors logrotate lto mad midi mms mng mp3 mp4 mpeg mtp multilib ncurses networkmanager nls ntfs oauth-gtk4 ocr ogg opencv openexr opengl openmp openrc openvpn opus pam pango pcre pdf pgo pipewire png policykit postscript ppds printsupport pulseaudio qt6 readline rtmp samba scanner sdl seccomp snmp sound spell sqlite ssl startup-notification svg sysv-utils test-rust theora threads thunar tiff truetype udev udf udisks unicode upower usb v4l vaapi vorbis vpx vulkan wayland webp widevine widgets wiimote wmf wxwidgets x264 x265 xattr xcb xcomposite xfce xft xinerama xml xpmopenexr xrandr xscreensaver xv xvfb xvid xwayland zeroconf zlib" ABI_X86="32 64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en de" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="AArch64 AMDGPU" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_11 python3_12" QEMU_USER_TARGETS="aarch64" RUBY_TARGETS="ruby31 ruby32" SANE_BACKENDS="hp net" VIDEO_CARDS="intel amdgpu radeon radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
                        Package Settings
=================================================================

media-libs/opencv-4.8.1-r2::gentoo was built with the following:
USE="contrib contribdnn eigen features2d ffmpeg gstreamer gtk3 java jpeg jpeg2k openexr openmp png python tiff v4l vaapi webp (-contribcvv) -contribfreetype (-contribhdf) (-contribovis) (-contribsfm) (-contribxfeatures2d) (-cuda) (-cudnn) -debug -dnnsamples -examples -gdal (-gflags) (-glog) -gphoto2 -ieee1394 -lapack -non-free -opencl -opencvapps -opengl -qt5 -qt6 -tbb (-tesseract) -testprograms (-vtk) -xine" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="avx avx2 f16c fma3 popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3 -avx512f" PYTHON_TARGETS="python3_11 -python3_10 -python3_12" VIDEO_CARDS="intel"
Comment 1 Alexander Weber 2024-06-03 09:40:37 UTC
Created attachment 894987 [details]
build.log
Comment 3 Volkmar W. Pogatzki 2024-06-03 11:13:19 UTC
dupe of bug #933409?

expected:
/usr/lib/javatoolkit/bin/xml-rewrite-3.py

installed:
/usr/lib/python-exec/python3.12/xml-rewrite-3.py
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-06-03 11:14:23 UTC
(In reply to Volkmar W. Pogatzki from comment #3)
> dupe of bug #933409?
> 
> expected:
> /usr/lib/javatoolkit/bin/xml-rewrite-3.py
> 
> installed:
> /usr/lib/python-exec/python3.12/xml-rewrite-3.py

It's probably more of a depends-on, as this is the real effect of it.
Comment 5 Volkmar W. Pogatzki 2024-06-04 05:15:29 UTC
resolved, fixed?
Comment 6 Alexander Weber 2024-06-04 05:45:27 UTC
Confirm, after installing dev-java/javatoolkit-0.6.7-r1 I was able to rebuild opencv. The issue is solved