Since a few weeks always when I try to compile the current mythtv it crashes with the mentioned error. Reproducible: Always emerge -pqv '=media-tv/mythtv-33.1-r3::gentoo' [ebuild R ] media-tv/mythtv-33.1-r3 USE="X alsa autostart cdda cdr dvb dvd exif java lame opengl perl pulseaudio raw systemd v4l vaapi vdpau wrapper x264 xml xmltv xvid -asi -cec -ceton -debug -fftw -hdhomerun -ieee1394 -jack -lcd -libass -lirc -nvdec -oss -python -vbox -vpx -x265 -zeroconf" INPUT_DEVICES="-joystick" # javac -version javac 21.0.6
Created attachment 923594 [details] emerge.info.txt
Created attachment 923600 [details] proposed changes for solving bug 953249 I cannot reproduce that error but just noticed the ebuild is missing virtual/jdk and virtual/jre. It also sets fixed values "1.8" for javac's -source and -target options. Would the attached changes solve your problem?
Sorry, I am not so familiar with applying a patch. Could you please explain what I have to do for that?
Please include the package category in the bug summary.
The patch successfully applied now: # patch -p 1 < mythtv.patch patching file media-tv/mythtv/files/mythtv-33.1-build.xml.patch patching file media-tv/mythtv/mythtv-33.1-r3.ebuild >>> Emerging (1 of 1) media-tv/mythtv-33.1-r3::gentoo * mythtv-33.1.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking mythtv-33.1.tar.gz to /var/tmp/portage/media-tv/mythtv-33.1-r3/work >>> Source unpacked in /var/tmp/portage/media-tv/mythtv-33.1-r3/work >>> Preparing source in /var/tmp/portage/media-tv/mythtv-33.1-r3/work/mythtv-33.1/mythtv ... * Applying mythtv-33.1-build.xml.patch ... [ ok ] * Applying mythtv-33.1-libva.patch ... [ ok ] * Applying mythtv-33.1-ffmpeg-binutils-2.41.patch ... [ ok ] * Applying mythtv-33.1-linux-headers-6.5.patch ... [ ok ] * Applying mythtv-33.1-python3.12.patch ... After updating the manifest I have got the same error again.
I still cannot reproduce. Need more info: Your /etc/portage/make.conf should have[1]: ECLASS_DEBUG_OUTPUT=on Then, the build log should display lines starting with: debug: Using: openjdk... debug: java.pkg_setup-vm: debug: java-pkg_javac-args: debug: want source: debug: want target: * Using: openjdk... Please post that block of information. [1]https://wiki.gentoo.org/wiki/Java_Developer_Guide#Variables FYI: https://github.com/gentoo/gentoo/pull/40420#pullrequestreview-2745081201
Created attachment 924105 [details] build-log with eclass debug information Added the requested information
Created attachment 924106 [details] build-log with eclass debug information Now the eclass debug information with the patched ebuild. The first one was without the provided patch. sorry
(In reply to Frank Noack from comment #8) > Created attachment 924106 [details] > build-log with eclass debug information > > Now the eclass debug information with the patched ebuild. The first one was > without the provided patch. sorry I don't see any "debug: Using: openjdk". Are you sure you used the ebuild updated with the second part of attachment.cgi?id=923600? And prepended USE=java to your command? If so, please also add JAVA_PKG_DEBUG=true to /etc/portage/make.conf and let's have another log.
Created attachment 924241 [details] patched ebuild I think the patch was properly attached.
Created attachment 924397 [details] builg.log with JAVA_PKG_DEBUG=true
Created attachment 924398 [details] config.ep from latest build test
(In reply to Frank Noack from comment #11) > Created attachment 924397 [details] > builg.log with JAVA_PKG_DEBUG=true Still no "debug: Using: openjdk". No idea what your system is missing. Cannot reproduce you problem, cannot help, sorry.