-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Java: /etc/java-config-2/current-system-vm/bin/java (found version "11.0.14") CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find JNI (missing: JAVA_AWT_LIBRARY) Call Stack (most recent call first): ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_plasma-j4-20220422-215112 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-9.3.1 [2] x86_64-pc-linux-gnu-11.3.0 * clang/llvm (if any): /usr/lib/llvm/14 14.0.1 Python 3.9.12 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) [3] ruby31 (with Rubygems) * Available Rust versions: [1] rust-1.60.0 * The following VMs are available for generation-2: 1) OpenJDK 11.0.14_p9 [openjdk-11] 2) OpenJDK 8.322_p06 [openjdk-8] *) Eclipse Temurin JDK 11.0.14_p9 [openjdk-bin-11] 4) Eclipse Temurin JDK 8.322_p06 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-8 [2] openjdk-11 [3] openjdk-bin-8 [4] openjdk-bin-11 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: HEAD of ::gentoo commit 43f43f9c7d73008d44e2602407c655bc992845b6 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Mon Apr 25 09:18:12 2022 +0000 2022-04-25 09:18:12 UTC emerge -qpvO media-libs/libpano13 [ebuild U ] media-libs/libpano13-2.9.21 [2.9.20-r1] USE="java suitesparse%* (-static-libs%)"
Created attachment 774431 [details] emerge-info.txt
Created attachment 774434 [details] CMakeOutput.log
Created attachment 774437 [details] emerge-history.txt
Created attachment 774440 [details] environment
Created attachment 774443 [details] etc.portage.tar.bz2
Created attachment 774446 [details] logs.tar.bz2
Created attachment 774449 [details] media-libs:libpano13-2.9.21:20220425-101938.log
Created attachment 774452 [details] temp.tar.bz2
I'm seeing the same thing: -- Found Java: /usr/sbin/java (found version "1.8.0.252") CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find JNI (missing: JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 AWT JVM) Call Stack (most recent call first): /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake/Modules/FindJNI.cmake:562 (find_package_handle_standard_args) CMakeLists.txt:99 (find_package) $ emerge --info Portage 3.0.41 (python 3.10.9-final-0, default/linux/amd64/17.1/desktop/plasma/systemd/merged-usr, gcc-11, glibc-2.36-r5, 5.15.80-gentoo x86_64) ================================================================= System uname: Linux-5.15.80-gentoo-x86_64-Intel-R-_Core-TM-_i7-4770K_CPU_@_3.50GHz-with-glibc2.36 KiB Mem: 16324364 total, 7327576 free KiB Swap: 16777212 total, 15862720 free Timestamp of repository gentoo: Tue, 20 Dec 2022 14:00:01 +0000 Head commit of repository gentoo: f2aa88aebe0fccb4875448d2da1410980cf436a4 sh bash 5.1_p16-r2 ld GNU ld (Gentoo 2.38 p4) 2.38 app-misc/pax-utils: 1.3.5::gentoo app-shells/bash: 5.1_p16-r2::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.36.0-r1::gentoo dev-lang/python: 3.10.9::gentoo, 3.11.1::gentoo dev-lang/rust: 1.65.0::gentoo dev-util/cmake: 3.24.3::gentoo dev-util/meson: 0.63.3::gentoo sys-apps/baselayout: 2.9::gentoo sys-apps/sandbox: 2.29::gentoo sys-apps/systemd: 251.8::gentoo sys-devel/autoconf: 2.13-r7::gentoo, 2.71-r5::gentoo sys-devel/automake: 1.16.5::gentoo sys-devel/binutils: 2.38-r2::gentoo sys-devel/binutils-config: 5.4.1::gentoo sys-devel/clang: 14.0.6-r1::gentoo, 15.0.6::gentoo sys-devel/gcc: 11.3.1_p20221209::gentoo sys-devel/gcc-config: 2.8::gentoo sys-devel/libtool: 2.4.7::gentoo sys-devel/lld: 15.0.6::gentoo sys-devel/llvm: 14.0.6-r2::gentoo, 15.0.6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.15-r3::gentoo (virtual/os-headers) sys-libs/glibc: 2.36-r5::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://192.168.86.172/gentoo-portage priority: -1000 sync-rsync-verify-metamanifest: yes sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: local location: /usr/local/portage-local masters: gentoo crossdev location: /usr/local/portage-crossdev masters: gentoo priority: 10 plex-overlay location: /var/lib/layman/plex-overlay masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core-avx2 -O2 -pipe" 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/bash_completion.d /etc/ca-certificates.conf /etc/dconf /etc/default /etc/dev.d /etc/env.d /etc/fonts /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/htdig /etc/init.d /etc/modules.d /etc/pam.d /etc/pango /etc/profile.d /etc/revdep-rebuild /etc/sandbox.d /etc/ssl /etc/ssmtp /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev /etc/vim /etc/wget" CXXFLAGS="-march=core-avx2 -O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--noconfmem --quiet-unmerge-warn --quiet-build=y --with-bdeps=y" 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 XDG_STATE_HOME" FCFLAGS="-march=core-avx2 -O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-march=core-avx2 -O2 -pipe" GENTOO_MIRRORS="http://mirror.leaseweb.com/gentoo/ http://gentoo.osuosl.org/ http://www.gtlib.gatech.edu/pub/gentoo" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en en_US" MAKEOPTS="-j9" PKGDIR="/usr/portage/packages" 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/zsh" USE="X a52 aac aacs acl acpi activities alsa amd64 bdplus bluetooth bluray branding bzip2 cairo caps cdda cdparanoia cdr cli corefonts crypt cscope css cups curl dbus declarative dri dts dvd dvdr encode exif fam ffmpeg fftw flac fortran gdbm gif gmp gphoto2 gpm gstreamer gui iconv icu imagemagick inotify ipod ipv6 java jpeg jpeg2k kde kpathsea kwallet lcms libglvnd libnotify libtirpc lzma lzo mad mmap mng mp3 mp4 mpeg multilib musicbrainz mysql nas ncurses network nfs4v nls nptl nsplugin offensive ogg opengl openmp pam pango pcre pdf plasma png policykit ppds qml qt3support qt5 quicktime readline sdl seccomp semantic-desktop slang speex spell ssl startup-notification svg systemd test-rust threads tiff truetype udev udisks unicode upower usb vcd vdpau vim-syntax vorbis wavpack widgets wmf wxwidgets x264 xattr xcb xine xml xpm xscreensaver xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2021" ALSA_CARDS="hda-intel" 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 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev libinput" KERNEL="linux" L10N="en en_US" 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="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" QEMU_SOFTMMU_TARGETS="x86_64 arm aarch64" QEMU_USER_TARGETS="x86_64 arm aarch64" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="nvidia nv" 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, LEX, LFLAGS, LIBTOOL, 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 $ emerge -ap libpano13 These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] media-libs/libpano13-2.9.21-r1 [2.9.20-r3] USE="-suitesparse%"
Created attachment 844807 [details] build.log
Created attachment 870156 [details] Fixed ebuild (libpano13-2.9.21-r3.ebuild) I've attached libpano13-2.9.21-r3.ebuild which fixes this problem. 073eba236ca815bac2a869b948a5d9facab38192 libpano13-2.9.21-r3.ebuild Signed-off by Alexander Wessel <flexx@chello.at>
Thanks for the report and suggestion, the following change should resolve the java issues: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41a681ca2da5c10fbcc752e0c361268613958d44