Installing minecraft-server 1.18.1 fails because it can't find a java VM? Reproducible: Always Steps to Reproduce: 1. emerge -v 'games-server/minecraft-server-1.18.1::gentoo' Actual Results: >>> Install games-server/minecraft-server-1.18.1 into /var/tmp/portage/games-server/minecraft-server-1.18.1/image ^[[01m^[[31;06m!!! ERROR: Couldn't find a VM dep^[[0m ^[[01m^[[31;06m!!! ERROR: Couldn't find a VM dep^[[0m ^[[31;01m*^[[0m ERROR: games-server/minecraft-server-1.18.1::gentoo failed (install phase): ^[[31;01m*^[[0m !!! newinitd: /var/tmp/portage/games-server/minecraft-server-1.18.1/files/minecraft-server.initd-r5 does not exist ^[[31;01m*^[[0m ^[[31;01m*^[[0m If you need support, post the output of `emerge --info '=games-server/minecraft-server-1.18.1::gentoo'`, ^[[31;01m*^[[0m the complete build log and the output of `emerge -pqv '=games-server/minecraft-server-1.18.1::gentoo'`. ^[[31;01m*^[[0m The complete build log is located at '/var/tmp/portage/games-server/minecraft-server-1.18.1/temp/build.log'. ^[[31;01m*^[[0m The ebuild environment file is located at '/var/tmp/portage/games-server/minecraft-server-1.18.1/temp/environment'. ^[[31;01m*^[[0m Working directory: '/var/tmp/portage/games-server/minecraft-server-1.18.1/work' ^[[31;01m*^[[0m S: '/var/tmp/portage/games-server/minecraft-server-1.18.1/work' !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="" JAVA_HOME="" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info =minecraft-server-1.18.1 Expected Results: Upgraded minecraft server # cat /var/tmp/portage/games-server/minecraft-server-1.18.1/temp/build.log ^[[32m * ^[[39;49;00mPackage: games-server/minecraft-server-1.18.1 ^[[32m * ^[[39;49;00mRepository: gentoo ^[[32m * ^[[39;49;00mMaintainer: conikost@gentoo.org ^[[32m * ^[[39;49;00mUpstream: Mojang https://bugs.mojang.com/projects/MC/issues ^[[32m * ^[[39;49;00mUSE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU ^[[32m * ^[[39;49;00mFEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Source unpacked in /var/tmp/portage/games-server/minecraft-server-1.18.1/work >>> Preparing source in /var/tmp/portage/games-server/minecraft-server-1.18.1/work ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-server/minecraft-server-1.18.1/work ... >>> Source configured. >>> Compiling source in /var/tmp/portage/games-server/minecraft-server-1.18.1/work ... >>> Source compiled. >>> Test phase [not enabled]: games-server/minecraft-server-1.18.1 >>> Install games-server/minecraft-server-1.18.1 into /var/tmp/portage/games-server/minecraft-server-1.18.1/image ^[[01m^[[31;06m!!! ERROR: Couldn't find a VM dep^[[0m ^[[01m^[[31;06m!!! ERROR: Couldn't find a VM dep^[[0m ^[[31;01m*^[[0m ERROR: games-server/minecraft-server-1.18.1::gentoo failed (install phase): ^[[31;01m*^[[0m !!! newinitd: /var/tmp/portage/games-server/minecraft-server-1.18.1/files/minecraft-server.initd-r5 does not exist ^[[31;01m*^[[0m ^[[31;01m*^[[0m If you need support, post the output of `emerge --info '=games-server/minecraft-server-1.18.1::gentoo'`, ^[[31;01m*^[[0m the complete build log and the output of `emerge -pqv '=games-server/minecraft-server-1.18.1::gentoo'`. ^[[31;01m*^[[0m The complete build log is located at '/var/tmp/portage/games-server/minecraft-server-1.18.1/temp/build.log'. ^[[31;01m*^[[0m The ebuild environment file is located at '/var/tmp/portage/games-server/minecraft-server-1.18.1/temp/environment'. ^[[31;01m*^[[0m Working directory: '/var/tmp/portage/games-server/minecraft-server-1.18.1/work' ^[[31;01m*^[[0m S: '/var/tmp/portage/games-server/minecraft-server-1.18.1/work' !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="" JAVA_HOME="" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info =minecraft-server-1.18.1 # emerge --info '=games-server/minecraft-server-1.18.1::gentoo' Portage 3.0.28 (python 3.10.0-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-9.3.0, glibc-2.33-r7, 5.15.11-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-5.15.11-gentoo-x86_64-Intel-R-_Core-TM-_i7-9750H_CPU_@_2.60GHz-with-glibc2.33 KiB Mem: 32691412 total, 14010120 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Fri, 21 Jan 2022 07:30:01 +0000 Head commit of repository gentoo: 3a149525654eb8fefa77a6ed0daf373809cf3b14 Head commit of repository steam-overlay: c22c8b4dbe7455d2cdebbf2000cfce167ab1afaf Head commit of repository throttled: a45c323ffc878ee744b71bcfa187c713bc052cc4 Head commit of repository BetaRays: adfd8909d9f1c12a3bda239f84eda0827d98268f sh bash 5.1_p8 ld GNU ld (Gentoo 2.37_p1 p0) 2.37 app-misc/pax-utils: 1.3.3::gentoo app-shells/bash: 5.1_p8::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.34.0-r6::gentoo dev-lang/python: 2.7.18_p13::gentoo, 3.7.12_p1::gentoo, 3.8.12_p1-r1::gentoo, 3.9.9-r1::gentoo, 3.10.0_p1-r1::gentoo dev-lang/rust: 1.56.1::gentoo dev-util/cmake: 3.21.4::gentoo dev-util/meson: 0.59.4::gentoo sys-apps/baselayout: 2.7-r3::gentoo sys-apps/openrc: 0.44.10::gentoo sys-apps/sandbox: 2.25::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.71-r1::gentoo sys-devel/automake: 1.16.4::gentoo sys-devel/binutils: 2.37_p1::gentoo sys-devel/binutils-config: 5.4::gentoo sys-devel/clang: 9.0.1::gentoo, 12.0.1::gentoo, 13.0.0::gentoo sys-devel/gcc: 9.3.0-r2::gentoo, 10.3.0-r2::gentoo, 11.2.0::gentoo sys-devel/gcc-config: 2.5-r1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/lld: 13.0.0::gentoo sys-devel/llvm: 9.0.1::gentoo, 12.0.1::gentoo, 13.0.0::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.15-r3::gentoo (virtual/os-headers) sys-libs/glibc: 2.33-r7::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: gnuradio_py3 location: /var/db/repos/gnuradio_py3 masters: gentoo local location: /var/db/repos/local masters: gentoo sakaki-tools location: /usr/local/portage/sakaki-tools masters: gentoo steam-overlay location: /usr/local/portage/steam-overlay sync-type: git sync-uri: https://github.com/anyc/steam-overlay.git masters: gentoo priority: 50 vortex location: /var/lib/layman/vortex masters: gentoo priority: 50 throttled location: /usr/local/portage/throttled sync-type: git sync-uri: https://github.com/erpalma/throttled-overlay.git masters: gentoo priority: 60 BetaRays location: /usr/local/portage/BetaRays sync-type: git sync-uri: https://framagit.org/BetaRays/gentoo-overlay.git masters: gentoo priority: 100 Installed sets: @play-it, @steam, @ti-deps ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=skylake" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /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=skylake" DISTDIR="/var/cache/distfiles" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY 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" FCFLAGS="-O2 -pipe -march=skylake" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs prote ct-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=skylake" GENTOO_MIRRORS="https://mirror.leaseweb.com/gentoo/ http://mirror.leaseweb.com/gentoo/ rsync://mirror.leaseweb.com/gentoo/ https://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente .nl/pub/os/linux/gentoo rsync://ftp.snt.utwente.nl/gentoo" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j5" 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=/.g it" PORTAGE_TMPDIR="/var/tmp" SHELL="/bin/bash" USE="X a52 aac acl acpi activities alsa amd64 bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus declarative dri dts dvd dvdr elogind encode exif flac fortran gdbm gif googledrive gpg gpm gtk gui iconv icu ipv6 jpeg kde kipi kwa llet lcms libglvnd libnotify libtirpc lzma mad man mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf plasma png policykit ppds python qml qt5 readline sdl seccomp semantic-desktop spell split-usr ssl startup -notification svg tiff touchpad truetype udev udisks unicode upower usb v4l vorbis wayland widgets wxwidgets x264 xattr xcb xml xv xvid zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2020" APACHE2_MODULES="authn_core authz_core socache_shmcb u nixd 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 exp ires 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_PLUGI NS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 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="keyboard libinput mouse synaptics wacom" KERNEL="linux" LCD_D EVICES="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 ="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9 python3_10 python3_7 python3_8" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="intel i965 nvidia" XTABLES_ADDO NS="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, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAK E, 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 # eselect java-vm list Available Java Virtual Machines: [1] openjdk-bin-8 system-vm [2] openjdk-bin-11
initd file and systemd service file requested in the ebuild are one revbump older then the version that is actually present in FILESDIR. Requested files have been removed in commit e79731e7162418a4799e78365f1cafed2370f70f
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9607b827c39b33c230e47eafdd16b9f09dbc2e30 commit 9607b827c39b33c230e47eafdd16b9f09dbc2e30 Author: Conrad Kostecki <conikost@gentoo.org> AuthorDate: 2022-01-21 20:54:02 +0000 Commit: Conrad Kostecki <conikost@gentoo.org> CommitDate: 2022-01-21 20:54:02 +0000 games-server/minecraft-server/files: restore files Closes: https://bugs.gentoo.org/831722 Signed-off-by: Conrad Kostecki <conikost@gentoo.org> .../files/{minecraft-server.initd-r6 => minecraft-server.initd-r5} | 7 +------ .../{minecraft-server.service-r1 => minecraft-server.service} | 1 - 2 files changed, 1 insertion(+), 7 deletions(-)