Summary: | emerge @world update tries to unmask dev-java/openjdk-17 | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Joakim Tjernlund <joakim.tjernlund> |
Component: | Core - Dependencies | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Joakim Tjernlund
2022-07-01 09:08:03 UTC
What happens if you do --autounmask=n? It'll likely give us better output. According to https://wiki.gentoo.org/wiki/Java_Developer_Guide#Using_java-ant-2.eclass the ebuild should have >=virtual/jre-1.8:* in RDEPEND >=virtual/jdk-1.8:* in DEPEND, not in BDEPEND. (In reply to Volkmar W. Pogatzki from comment #2) > According to > https://wiki.gentoo.org/wiki/Java_Developer_Guide#Using_java-ant-2.eclass > the ebuild should have > [...] Sorry, wanted to say According to https://wiki.gentoo.org/wiki/Java_Developer_Guide#Using_java-pkg-opt-2.eclass (In reply to Volkmar W. Pogatzki from comment #3) > (In reply to Volkmar W. Pogatzki from comment #2) > > According to > > https://wiki.gentoo.org/wiki/Java_Developer_Guide#Using_java-ant-2.eclass > > the ebuild should have > > [...] > Sorry, wanted to say > According to > https://wiki.gentoo.org/wiki/Java_Developer_Guide#Using_java-pkg-opt-2.eclass What ebuild is not following the rules ? (In reply to Sam James from comment #1) > What happens if you do --autounmask=n? It'll likely give us better output. emerge -aNDuv world --backtrack=50 --autounmask=n * --autounmask-continue has been disabled by --autounmask=n and then no more (In reply to Joakim Tjernlund from comment #5) There should be more output from emerge after that. Try again. media-libs/libjpeg-turbo has the following dependency: java? ( >=virtual/jdk-1.8:*[-headless-awt] ) Do you have the "headless-awt" USE flag enabled for any of the following packages? virtual/jdk dev-java/icedtea dev-java/icedtea-bin dev-java/openjdk dev-java/openjdk-bin (In reply to Mike Gilbert from comment #7) > media-libs/libjpeg-turbo has the following dependency: > > java? ( >=virtual/jdk-1.8:*[-headless-awt] ) > > Do you have the "headless-awt" USE flag enabled for any of the following > packages? > > virtual/jdk > dev-java/icedtea > dev-java/icedtea-bin > dev-java/openjdk > dev-java/openjdk-bin No headless-awt USE enabled for these (In reply to Mike Gilbert from comment #6) > (In reply to Joakim Tjernlund from comment #5) > > There should be more output from emerge after that. Try again. EMERGE_DEFAULT_OPTS="" emerge -aNDuv world --backtrack=50 --autounmask=n This action requires superuser access... Would you like to add --pretend to options? [Yes/No] yes These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] sys-devel/gettext-0.21-r3::gentoo [0.21-r2::gentoo] USE="acl cxx emacs java ncurses nls openmp -cvs -doc -git -static-libs -verify-sig" ABI_X86="32 (64) (-x32)" 0 KiB Total: 1 package (1 upgrade), Size of downloads: 0 KiB WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict: dev-python/docutils:0 (dev-python/docutils-0.18.1-r1:0/0::gentoo, ebuild scheduled for merge) USE="" ABI_X86="(64)" PYTHON_TARGETS="python3_8 (-pypy3) -python3_10 (-python3_11) -python3_9" conflicts with <dev-python/docutils-0.18[python_targets_python3_8(-)] required by (dev-python/sphinx-4.5.0-r1-1:0/0::gentoo, installed) USE="-doc -latex -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 (-pypy3) -python3_10 (-python3_11) -python3_9" ^ ^^^^ <dev-python/docutils-0.18[python_targets_python3_8(-)] required by (dev-python/sphinx_rtd_theme-1.0.0-1:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 (-pypy3) -python3_10 -python3_9" ^ ^^^^ mate-base/mate-desktop:0 (mate-base/mate-desktop-1.26.0-r1:0/0::gentoo, ebuild scheduled for merge) USE="X introspection startup-notification -debug" ABI_X86="(64)" conflicts with =mate-base/mate-desktop-1.24* required by (mate-base/mate-1.24:0/0::gentoo, installed) USE="base bluetooth extras notification themes -help" ABI_X86="(64)" ^ ^^^^^ mate-base/mate-session-manager:0 (mate-base/mate-session-manager-1.26.0:0/0::gentoo, ebuild scheduled for merge) USE="elogind gles2 ipv6 nls xtrans -debug -gnome-keyring -systemd" ABI_X86="(64)" conflicts with =mate-base/mate-session-manager-1.24* required by (mate-base/mate-1.24:0/0::gentoo, installed) USE="base bluetooth extras notification themes -help" ABI_X86="(64)" ^ ^^^^^ mate-base/caja:0 (mate-base/caja-1.26.0:0/0::gentoo, ebuild scheduled for merge) USE="introspection mate nls -xmp" ABI_X86="(64)" conflicts with =mate-base/caja-1.24* required by (mate-base/mate-1.24:0/0::gentoo, installed) USE="base bluetooth extras notification themes -help" ABI_X86="(64)" ^ ^^^^^ x11-themes/mate-icon-theme:0 (x11-themes/mate-icon-theme-1.26.0:0/0::gentoo, ebuild scheduled for merge) USE="" ABI_X86="(64)" conflicts with =x11-themes/mate-icon-theme-1.24* required by (mate-base/mate-1.24:0/0::gentoo, installed) USE="base bluetooth extras notification themes -help" ABI_X86="(64)" FYI, I do have openjdk:8 and :11 installed: eix -I openjdk [I] dev-java/openjdk Available versions: (8) 8.332_p09{xpak} (11) 11.0.15_p10{xpak} (17) [M]17.0.3_p7 {alsa big-endian cups debug doc examples +gentoo-vm headless-awt javafx +jbootstrap selinux source system-bootstrap systemtap} Installed versions: 8.332_p09(8){xpak}(01:03:00 12/05/22)(alsa cups javafx jbootstrap -debug -doc -examples -headless-awt -selinux -source) 11.0.15_p10(11){xpak}(12:07:01 11/06/22)(alsa cups javafx jbootstrap system-bootstrap -big-endian -debug -doc -examples -headless-awt -selinux -source -systemtap) Homepage: https://openjdk.java.net Description: Open source implementation of the Java programming language Seems really odd to me it gets that confused with autounmask. It still happens now? (The gettext change which got committed might mask the problem). The naughty ebuild is oprofile fwiw. Comment 3 seems to be referring to dev-util/oprofile. If you unmerge dev-util/oprofile, does that fix the problem? I unmerged oprofile but that didn't help: emerge -aNDuv world [ebuild NS #] dev-java/openjdk-17.0.3_p7:17::gentoo [8.332_p09:8::gentoo, 11.0.15_p10:11::gentoo] USE="alsa cups gentoo-vm%* jbootstrap (system-bootstrap) (-big-endian) -debug -doc -examples -headless-awt (-javafx*) (-selinux) -source -systemtap" 0 KiB [ebuild rR ] dev-util/astyle-3.1-r2:0/3.1::gentoo USE="java -examples -static-libs" 0 KiB [nomerge ] x11-misc/sddm-0.18.1-r6::gentoo USE="elogind pam -systemd -test" [nomerge ] dev-qt/qtgui-5.15.5:5/5.15.5::gentoo USE="X accessibility dbus egl gif jpeg libinput png udev vnc vulkan -debug -eglfs -evdev -gles2-only -ibus -linuxfb -test -tslib -tuio -wayland" [nomerge ] dev-qt/qtnetwork-5.15.5:5/5.15::gentoo USE="gssapi networkmanager ssl -connman -debug -libproxy -sctp -test" [nomerge ] net-misc/networkmanager-1.38.2::gentoo USE="bluetooth concheck dhclient elogind gtk-doc introspection modemmanager nss policykit ppp resolvconf tools vala wext wifi -audit -connection-sharing -debug -dhcpcd -gnutls -iptables -iwd -libedit -lto -nftables -ofono -ovs -psl (-selinux) -syslog -systemd -teamd -test" ABI_X86="(64) -32 (-x32)" [nomerge ] net-dialup/ppp-2.4.9-r8:0/2.4.9::gentoo USE="eap-tls gtk ipv6 pam -activefilter -atm -dhcp -radius -systemd" [nomerge ] x11-libs/gtk+-2.24.33:2::gentoo USE="cups introspection xinerama (-aqua) -examples -test -vim-syntax" ABI_X86="(64) -32 (-x32)" [nomerge ] x11-themes/adwaita-icon-theme-42.0_p2::gentoo USE="branding" [nomerge ] gnome-base/librsvg-2.54.3:2::gentoo USE="introspection vala -gtk-doc" ABI_X86="(64) -32 (-x32)" [nomerge ] x11-libs/pango-1.50.7::gentoo USE="X introspection -debug -sysprof -test" ABI_X86="(64) -32 (-x32)" [nomerge ] media-libs/harfbuzz-4.2.1:0/4.0.0::gentoo USE="cairo glib graphite icu introspection truetype -debug -doc -experimental -test" ABI_X86="(64) -32 (-x32)" [nomerge ] media-gfx/graphite2-1.3.14_p20210810-r1::gentoo USE="-perl -test" ABI_X86="(64) -32 (-x32)" [nomerge ] dev-util/cmake-3.22.4::gentoo USE="emacs ncurses qt5 -doc -test" [nomerge ] dev-qt/qtwidgets-5.15.5:5/5.15::gentoo USE="X dbus gtk png -debug -gles2-only -test" [nomerge ] x11-libs/gtk+-3.24.34:3::gentoo USE="X cups introspection xinerama (-aqua) -broadway -colord -examples -gtk-doc -sysprof -test -vim-syntax -wayland" ABI_X86="(64) -32 (-x32)" [nomerge ] x11-libs/gdk-pixbuf-2.42.8:2::gentoo USE="introspection jpeg tiff -gtk-doc" ABI_X86="(64) -32 (-x32)" [nomerge ] media-libs/tiff-4.4.0::gentoo USE="cxx jpeg zlib -jbig -lzma -static-libs -test -verify-sig -webp -zstd" ABI_X86="(64) -32 (-x32)" [nomerge ] media-libs/libjpeg-turbo-2.1.3:0/0.2::gentoo USE="java static-libs" ABI_X86="(64) -32 (-x32)" [ebuild NS #] virtual/jre-17:17::gentoo [1.8.0-r3:1.8::gentoo, 11-r2:11::gentoo] 0 KiB [ebuild NS #] virtual/jdk-17:17::gentoo [1.8.0-r6:1.8::gentoo, 11-r2:11::gentoo] USE="-headless-awt" 0 KiB Uninstalled astyle as well but didn't help: emerge -aNDuv world [ebuild NS #] dev-java/openjdk-17.0.3_p7:17::gentoo [8.332_p09:8::gentoo, 11.0.15_p10:11::gentoo] USE="alsa cups gentoo-vm%* jbootstrap (system-bootstrap) (-big-endian) -debug -doc -examples -headless-awt (-javafx*) (-selinux) -source -systemtap" 0 KiB [nomerge ] x11-misc/sddm-0.18.1-r6::gentoo USE="elogind pam -systemd -test" [nomerge ] dev-qt/qtgui-5.15.5:5/5.15.5::gentoo USE="X accessibility dbus egl gif jpeg libinput png udev vnc vulkan -debug -eglfs -evdev -gles2-only -ibus -linuxfb -test -tslib -tuio -wayland" [nomerge ] dev-qt/qtnetwork-5.15.5:5/5.15::gentoo USE="gssapi networkmanager ssl -connman -debug -libproxy -sctp -test" [nomerge ] net-misc/networkmanager-1.38.2::gentoo USE="bluetooth concheck dhclient elogind gtk-doc introspection modemmanager nss policykit ppp resolvconf tools vala wext wifi -audit -connection-sharing -debug -dhcpcd -gnutls -iptables -iwd -libedit -lto -nftables -ofono -ovs -psl (-selinux) -syslog -systemd -teamd -test" ABI_X86="(64) -32 (-x32)" [nomerge ] net-dialup/ppp-2.4.9-r8:0/2.4.9::gentoo USE="eap-tls gtk ipv6 pam -activefilter -atm -dhcp -radius -systemd" [nomerge ] x11-libs/gtk+-2.24.33:2::gentoo USE="cups introspection xinerama (-aqua) -examples -test -vim-syntax" ABI_X86="(64) -32 (-x32)" [nomerge ] x11-themes/adwaita-icon-theme-42.0_p2::gentoo USE="branding" [nomerge ] gnome-base/librsvg-2.54.3:2::gentoo USE="introspection vala -gtk-doc" ABI_X86="(64) -32 (-x32)" [nomerge ] x11-libs/pango-1.50.7::gentoo USE="X introspection -debug -sysprof -test" ABI_X86="(64) -32 (-x32)" [nomerge ] media-libs/harfbuzz-4.2.1:0/4.0.0::gentoo USE="cairo glib graphite icu introspection truetype -debug -doc -experimental -test" ABI_X86="(64) -32 (-x32)" [nomerge ] media-gfx/graphite2-1.3.14_p20210810-r1::gentoo USE="-perl -test" ABI_X86="(64) -32 (-x32)" [nomerge ] dev-util/cmake-3.22.4::gentoo USE="emacs ncurses qt5 -doc -test" [nomerge ] dev-qt/qtwidgets-5.15.5:5/5.15::gentoo USE="X dbus gtk png -debug -gles2-only -test" [nomerge ] x11-libs/gtk+-3.24.34:3::gentoo USE="X cups introspection xinerama (-aqua) -broadway -colord -examples -gtk-doc -sysprof -test -vim-syntax -wayland" ABI_X86="(64) -32 (-x32)" [nomerge ] x11-libs/gdk-pixbuf-2.42.8:2::gentoo USE="introspection jpeg tiff -gtk-doc" ABI_X86="(64) -32 (-x32)" [nomerge ] media-libs/tiff-4.4.0::gentoo USE="cxx jpeg zlib -jbig -lzma -static-libs -test -verify-sig -webp -zstd" ABI_X86="(64) -32 (-x32)" [nomerge ] media-libs/libjpeg-turbo-2.1.3:0/0.2::gentoo USE="java static-libs" ABI_X86="(64) -32 (-x32)" [ebuild NS #] virtual/jre-17:17::gentoo [1.8.0-r3:1.8::gentoo, 11-r2:11::gentoo] 0 KiB [ebuild NS #] virtual/jdk-17:17::gentoo [1.8.0-r6:1.8::gentoo, 11-r2:11::gentoo] USE="-headless-awt" 0 KiB That list makes a bit more sense at least as it's not trying to do rebuilds. tested some more odd things but no progress. Is there nothing I can do to find out what is casing this? Got a clue, using --autounmask-keep-masks works(will not pull in jdk-17 then) portageq envvar EMERGE_DEFAULT_OPTS --verbose-conflicts --autounmask-write --autounmask --autounmask-continue --rebuilt-binaries --with-bdeps=y --quiet --jobs=3 --keep-going --usepkg --usepkg-exclude 'sys-firmware/hpuefi-mod app-emulation/virtualbox-modules app-emulation/virtualbox-guest-additions' I found an unmask of virtual/jre and virtual/jdk lying around, removing those fixed the problem. User error ... |