New version fails to emerge. Reproducible: Always Steps to Reproduce: 1. emerge -uDNa world 2. 3. Actual Results: * Package: media-libs/opencv-4.8.1:0/4.8.1 * Repository: gentoo * Maintainer: negril.nx+gentoo@gmail.com proxy-maint@gentoo.org * USE: abi_x86_64 amd64 cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_f16c cpu_flags_x86_fma3 cpu_flags_x86_popcnt cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_ssse3 eigen elibc_glibc features2d ffmpeg gstreamer java jpeg jpeg2k kernel_linux openexr opengl openmp png python python_targets_python3_11 qt5 qt6 tiff v4l vaapi webp * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox /var/db/repos/gentoo/eclass/java-utils-2.eclass: line 2241: java-config: command not found * * Can't run java-config --help Expected Results: Successful emerge. claire ~ # emerge --info '=media-libs/opencv-4.8.1::gentoo' Portage 3.0.55 (python 3.11.6-final-0, default/linux/amd64/17.1/desktop, gcc-13, glibc-2.38-r7, 6.6.0-gentoo-x86_64 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-6.6.0-gentoo-x86_64-x86_64-AMD_Ryzen_7_7735U_with_Radeon_Graphics-with-glibc2.38 KiB Mem: 13986612 total, 7985380 free KiB Swap: 16777212 total, 16747516 free Timestamp of repository gentoo: Thu, 16 Nov 2023 21:17:01 +0000 Head commit of repository gentoo: bfd0aad8d0bfb7dcff9f904d4e4ff9a4f34d806c Timestamp of repository guru: Thu, 16 Nov 2023 16:16:57 +0000 Head commit of repository guru: 2c4bdd03205abe98d6259b8f29a171101a2e878b sh bash 5.2_p21 ld GNU ld (Gentoo 2.41 p2) 2.41.0 app-misc/pax-utils: 1.3.7::gentoo app-shells/bash: 5.2_p21::gentoo dev-java/java-config: 2.3.3::gentoo dev-lang/perl: 5.38.0-r1::gentoo dev-lang/python: 3.11.6::gentoo, 3.12.0_p1::gentoo dev-lang/rust-bin: 1.73.0::gentoo dev-util/cmake: 3.27.7::gentoo dev-util/meson: 1.2.3::gentoo sys-apps/baselayout: 2.14-r1::gentoo sys-apps/openrc: 0.51::gentoo sys-apps/sandbox: 2.38::gentoo sys-devel/autoconf: 2.13-r8::gentoo, 2.71-r7::gentoo sys-devel/automake: 1.16.5-r1::gentoo sys-devel/binutils: 2.41-r2::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/clang: 15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.5::gentoo sys-devel/gcc: 13.2.1_p20231014::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/libtool: 2.4.7-r1::gentoo sys-devel/lld: 15.0.7::gentoo, 16.0.6::gentoo, 17.0.5::gentoo sys-devel/llvm: 15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.5::gentoo sys-devel/make: 4.4.1-r1::gentoo sys-kernel/linux-headers: 6.6::gentoo (virtual/os-headers) sys-libs/glibc: 2.38-r7::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo.git priority: -1000 volatile: False guru location: /var/db/repos/guru sync-type: git sync-uri: https://github.com/gentoo-mirror/guru.git masters: gentoo volatile: False ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native -mtune=native" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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 /etc/terminfo" CXXFLAGS="-O2 -pipe -march=native -mtune=native" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--keep-going=y --with-bdeps=y --backtrack=20" 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 -pipe -march=native -mtune=native" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync 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 -pipe -march=native -mtune=native" GENTOO_MIRRORS="https://gentoo.osuosl.org/ http://gentoo-mirror.flux.utah.edu/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LEX="flex" MAKEOPTS="-j8 -l10" 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 acl acpi aio alsa amd64 avif base bash-completion bluetooth branding bzip2 cairo caps cdda cdr cli corefonts crypt cups curl dav1d dbus dns dot dri drm dts dvd dvdr echo-cancel elfutils elogind encode exif extra extras fasteap ffmpeg flac flashrom fontconfig fortran gdbm gdk-pixbuf geolocation gif gnutls gpm graphviz gsettings gsl gstreamer gtk gtk3 gui harfbuzz hddtemp hdri http iconv icu ipv6 jack jadetex java jbig jpeg jpeg2k jpegxl ladspa lame lcms libcanberra libnotify libssh2 libtirpc libvisual lm-sensors lv2 lzma mad mda-lv2 mng mp3 mp4 mpeg multilib ncat ncurses ndiff network nfsv41 nftables nls nping nptl nvme ogg openexr opengl openh264 openmp opus pam pango pcre pcre32 pdf pdfimport pipewire pipewire-alsa plugin-fishlim plugin-sysinfo png policykit postproc ppds pps pulseaudio qt5 qt6 rav1e readline rustfmt sdl seccomp sensors sound sound-server spell split-usr sqlite ssl startup-notification suid svg svt-av1 taglib test-rust theora tiff tpm truetype udev udisks uefi unicode upower usb usb-monitor v4l vaapi vorbis vpx vst vulkan webkit webp wifi wmf wps wxwidgets x264 xattr xcb xcrypt xetex xft xml xpm xv xvid zenmap zeroconf zip zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache 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 sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput synaptics keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="amdgpu radeonsi fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat 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, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS claire ~ # emerge -pqv '=media-libs/opencv-4.8.1::gentoo' [ebuild r U ] media-libs/opencv-4.8.1 [4.8.0-r1] USE="eigen features2d ffmpeg gstreamer java jpeg jpeg2k openexr opengl openmp png python qt5 qt6%* tiff v4l vaapi webp -contrib -contribcvv -contribdnn -contribfreetype -contribhdf (-contribovis) -contribsfm -contribxfeatures2d -cuda -debug -dnnsamples -download -examples -gdal -gflags -glog -gphoto2 -gtk3 -ieee1394 -lapack -lto -opencl -opencvapps -tesseract -testprograms -threads -vtk -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_11 -python3_10" [ebuild rR ] media-gfx/nomacs-3.16.224-r6 USE="opencv tiff zip -plugins -raw" The following packages are causing rebuilds: (media-libs/opencv-4.8.1:0/4.8.1::gentoo, ebuild scheduled for merge) causes rebuilds for: (media-gfx/nomacs-3.16.224-r6:0/0::gentoo, ebuild scheduled for merge)
Created attachment 874910 [details] build log build log
java-config is indeed not installed: claire ~ # java-config --help -bash: java-config: command not found
could you share 'equery f java-config' too
It builds if I remove the java use flag: USE=-java emerge -a media-libs/opencv So a missing dependency.
claire ~ # equery f java-config * Searching for java-config ... * Contents of dev-java/java-config-2.3.3: /etc /etc/java-config-2 /etc/java-config-2/jdk-defaults.conf /etc/java-config-2/virtuals /usr /usr/bin /usr/bin/depend-java-query -> ../lib/python-exec/python-exec2 /usr/bin/gjl -> ../lib/python-exec/python-exec2 /usr/bin/java-config-2 -> ../lib/python-exec/python-exec2 /usr/lib /usr/lib/python-exec /usr/lib/python-exec/python3.11 /usr/lib/python-exec/python3.11/depend-java-query /usr/lib/python-exec/python3.11/gjl /usr/lib/python-exec/python3.11/java-config-2 /usr/lib/python3.11 /usr/lib/python3.11/site-packages /usr/lib/python3.11/site-packages/java_config_2 /usr/lib/python3.11/site-packages/java_config_2/EnvironmentManager.py /usr/lib/python3.11/site-packages/java_config_2/Errors.py /usr/lib/python3.11/site-packages/java_config_2/FileParser.py /usr/lib/python3.11/site-packages/java_config_2/OutputFormatter.py /usr/lib/python3.11/site-packages/java_config_2/Package.py /usr/lib/python3.11/site-packages/java_config_2/VM.py /usr/lib/python3.11/site-packages/java_config_2/VersionManager.py /usr/lib/python3.11/site-packages/java_config_2/Virtual.py /usr/lib/python3.11/site-packages/java_config_2/__init__.py /usr/lib/python3.11/site-packages/java_config_2/__pycache__ /usr/lib/python3.11/site-packages/java_config_2/__pycache__/EnvironmentManager.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/java_config_2/__pycache__/EnvironmentManager.cpython-311.opt-2.pyc /usr/lib/python3.11/site-packages/java_config_2/__pycache__/EnvironmentManager.cpython-311.pyc /usr/lib/python3.11/site-packages/java_config_2/__pycache__/Errors.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/java_config_2/__pycache__/Errors.cpython-311.opt-2.pyc /usr/lib/python3.11/site-packages/java_config_2/__pycache__/Errors.cpython-311.pyc /usr/lib/python3.11/site-packages/java_config_2/__pycache__/FileParser.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/java_config_2/__pycache__/FileParser.cpython-311.opt-2.pyc /usr/lib/python3.11/site-packages/java_config_2/__pycache__/FileParser.cpython-311.pyc /usr/lib/python3.11/site-packages/java_config_2/__pycache__/OutputFormatter.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/java_config_2/__pycache__/OutputFormatter.cpython-311.opt-2.pyc /usr/lib/python3.11/site-packages/java_config_2/__pycache__/OutputFormatter.cpython-311.pyc /usr/lib/python3.11/site-packages/java_config_2/__pycache__/Package.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/java_config_2/__pycache__/Package.cpython-311.opt-2.pyc /usr/lib/python3.11/site-packages/java_config_2/__pycache__/Package.cpython-311.pyc /usr/lib/python3.11/site-packages/java_config_2/__pycache__/VM.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/java_config_2/__pycache__/VM.cpython-311.opt-2.pyc /usr/lib/python3.11/site-packages/java_config_2/__pycache__/VM.cpython-311.pyc /usr/lib/python3.11/site-packages/java_config_2/__pycache__/VersionManager.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/java_config_2/__pycache__/VersionManager.cpython-311.opt-2.pyc /usr/lib/python3.11/site-packages/java_config_2/__pycache__/VersionManager.cpython-311.pyc /usr/lib/python3.11/site-packages/java_config_2/__pycache__/Virtual.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/java_config_2/__pycache__/Virtual.cpython-311.opt-2.pyc /usr/lib/python3.11/site-packages/java_config_2/__pycache__/Virtual.cpython-311.pyc /usr/lib/python3.11/site-packages/java_config_2/__pycache__/__init__.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/java_config_2/__pycache__/__init__.cpython-311.opt-2.pyc /usr/lib/python3.11/site-packages/java_config_2/__pycache__/__init__.cpython-311.pyc /usr/share /usr/share/doc /usr/share/doc/java-config-2.3.3 /usr/share/doc/java-config-2.3.3/AUTHORS.bz2 /usr/share/doc/java-config-2.3.3/NEWS.bz2 /usr/share/doc/java-config-2.3.3/README /usr/share/java-config-2 /usr/share/java-config-2/launcher /usr/share/java-config-2/launcher/launcher.bash /usr/share/man /usr/share/man/man1 /usr/share/man/man1/java-config-2.1.bz2 claire ~ # /usr/bin/java-config-2 --help Usage: java-config [options] Java Configuration Utility Version 2.3.3 Copyright 2004-2013 Gentoo Foundation Distributed under the terms of the GNU General Public License v2 Please contact the Gentoo Java Herd <java@gentoo.org> with problems. Options: [...]
Sorry Sam, I think I stepped on your title change?
(In reply to Gary E. Miller from comment #6) > Sorry Sam, I think I stepped on your title change? no worries gary i've done it plenty of times, cheers!
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=850aeebe5203fe5455f001bf63a35219a4306da6 commit 850aeebe5203fe5455f001bf63a35219a4306da6 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-11-17 03:35:08 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-11-17 03:35:08 +0000 profiles: mask =dev-java/java-config-2.3.3 Missing 'java-config' symlink to 'java-config-2', breaking Java eclasses at least. Bug: https://bugs.gentoo.org/917458 Signed-off-by: Sam James <sam@gentoo.org> profiles/package.mask | 5 +++++ 1 file changed, 5 insertions(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39ba239bd06a34be6ff5975204866f6b4d724fce commit 39ba239bd06a34be6ff5975204866f6b4d724fce Author: Florian Schmaus <flow@gentoo.org> AuthorDate: 2023-11-17 07:40:11 +0000 Commit: Florian Schmaus <flow@gentoo.org> CommitDate: 2023-11-17 07:42:12 +0000 dev-java/java-config: add java-config→java-config-2 compatibility symlink Closes: https://bugs.gentoo.org/917458 Signed-off-by: Florian Schmaus <flow@gentoo.org> .../{java-config-2.3.3.ebuild => java-config-2.3.3-r1.ebuild} | 3 +++ dev-java/java-config/java-config-9999.ebuild | 3 +++ profiles/package.mask | 5 ----- 3 files changed, 6 insertions(+), 5 deletions(-)