Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 892075 - media-libs/libpano13-2.9.21-r1 configure fails: Could NOT find JNI (missing: JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 AWT JVM)
Summary: media-libs/libpano13-2.9.21-r1 configure fails: Could NOT find JNI (missing: ...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Markus Meier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-26 11:19 UTC by Cyp
Modified: 2023-01-31 12:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cyp 2023-01-26 11:19:19 UTC
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Java: /usr/bin/java (found version "17.0.6") 
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:600 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindJNI.cmake:562 (find_package_handle_standard_args)
  CMakeLists.txt:99 (find_package)


-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/media-libs/libpano13-2.9.21-r1/work/libpano13-2.9.21_build/CMakeFiles/CMakeOutput.log".
 * ERROR: media-libs/libpano13-2.9.21-r1::gentoo failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_configure
 *   environment, line 2175:  Called cmake_src_configure
 *   environment, line 1097:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";


# eselect java-vm list
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm


Reproducible: Always

Steps to Reproduce:
Either of:
1. emerge -avuDN --keep-going --with-bdeps=y @world
2. emerge -av --keep-going @preserved-rebuild
Actual Results:  
Configure fails, and --keep-going somehow can't find anything else to do

Expected Results:  
Configure succeeds, and --keep-going should have at least found something else to do, since I don't think most of the system depends on media-libs/libpano13.

# emerge --info '=media-libs/libpano13-2.9.21-r1::gentoo'
Portage 3.0.43 (python 3.10.9-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-12, glibc-2.36-r5, 6.1.2-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.1.2-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-glibc2.36
KiB Mem:    32838740 total,   2355532 free
KiB Swap:   33554428 total,  22501892 free
Timestamp of repository gentoo: Mon, 23 Jan 2023 23:30:01 +0000
Head commit of repository gentoo: 708460e50bca1d251a826bf74c00a3021ea76f10
Timestamp of repository ROKO__: Mon, 23 Jan 2023 14:31:59 +0000
Head commit of repository ROKO__: daae67f167bfbc255d2e34201254d7137568fbcf

Timestamp of repository torbrowser: Fri, 20 Jan 2023 23:16:58 +0000
Head commit of repository torbrowser: ce587aef2089333073e351d1f52702e284f79d07

Head commit of repository sage-on-gentoo: 06de7e3d1c9721ccfc5674410ba67e7947207d3c

sh bash 5.1_p16-r2
ld GNU ld (Gentoo 2.38 p4) 2.38
ccache version 4.7.4 [disabled]
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.9.16::gentoo, 3.10.9::gentoo, 3.11.1::gentoo
dev-lang/rust:             1.65.0::gentoo
dev-util/ccache:           4.7.4::gentoo
dev-util/cmake:            3.25.2::gentoo
dev-util/meson:            0.64.1::gentoo
sys-apps/baselayout:       2.9::gentoo
sys-apps/openrc:           0.45.2-r2::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.71-r5::gentoo
sys-devel/automake:        1.15.1-r2::gentoo, 1.16.5::gentoo
sys-devel/binutils:        2.38-r2::gentoo, 2.39-r4::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           14.0.6-r1::gentoo, 15.0.6::gentoo
sys-devel/gcc:             6.5.0-r3::gentoo, 7.5.0-r1::gentoo, 8.4.0-r2::gentoo, 9.3.0-r2::gentoo, 10.4.1_p20230119-r1::gentoo, 11.3.1_p20221209::gentoo, 12.2.1_p20230121-r1::gentoo
sys-devel/gcc-config:      2.8::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/lld:             14.0.6-r1::gentoo, 15.0.6::gentoo
sys-devel/llvm:            13.0.1::gentoo, 14.0.6-r2::gentoo, 15.0.6-r1::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://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: True
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24

My_local_repo
    location: /usr/local/portage
    masters: gentoo
    priority: 0
    volatile: True

ROKO__
    location: /var/db/repos/ROKO__
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/ROKO__.git
    masters: gentoo
    volatile: True

torbrowser
    location: /var/db/repos/torbrowser
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/torbrowser.git
    masters: gentoo
    volatile: True

sage-on-gentoo
    location: /var/lib/layman/sage-on-gentoo
    sync-type: git
    sync-uri: git+ssh://git@github.com/cschwan/sage-on-gentoo.git
    masters: gentoo
    priority: 50
    volatile: True

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA android"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -g"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/X11/xkb /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/php/apache2-php7.4/ext-active/ /etc/php/apache2-php8.1/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/fpm-php7.4/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/phpdbg-php7.4/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -g"
DISTDIR="/usr/portage/distfiles"
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"
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 splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS=" http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.leaseweb.com/gentoo/ "
LANG="en_US.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1"
LEX="flex"
LINGUAS="en da it pt pt_BR"
MAKEOPTS="-j8"
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/bash"
USE="3dnow 3dnowext X a52 aac aalib acl acpi activities alisp alsa amd64 apache2 apng ares bash-completion bazaar bdf bluetooth branding bzip2 cairo cdda cdr cli crypt css cups curl cvs d dav1d dbus dec_av2 declarative dhcp djvu dk doc dri dts dvd dvdr dvipdfm ebook editor elogind emoticons-manager encode epub eselect-ldso exif expat extensions extra ffmpeg firefox3 flac fluidsynth fontconfig foomaticdb fortran g3dvl gcj gd gdbm geoip gif git gles gles1 gles2 glitz gmp go gpm graphite graphviz gtk gui iconv icu imlib ipv6 irda ithreads jadetex java jpeg jpeg2k kde kerberos kompare kpathsea kwallet lcms libcaca libglvnd libnotify libtirpc live llvm logitech-mouse lto lzma mad mercurial midi mikmod mjpeg mmxext mng mobi mod mozilla mp2 mp3 mp4 mpeg msn mudflap multilib multitarget mysql ncurses net45 network nls nodrm nptl nsplugin objc objc++ objc-gc offensive ogg ogre ois opengl openmp otr pam pango pcre pdf plasma plotutils png policykit povray ppds qml qt5 qthelp rav1e readline rle rtmp samba scanner sdl se_swedb seccomp semantic-desktop server sift sip sndfile solver sound speex spell split-usr sql ssl ssse3 startup-notification subversion svg test-rust tga theora threads tiff timidity tk tokenizer truetype udev udisks unicode upower usb v4l v4l2 vcd video videos vnc vorbis vpx wav wayland webkit widgets wma wxwidgets x264 x265 xattr xcb xcomposite xft xine xml xscreensaver xv xvid xvmc zip zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="*" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext 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="evdev libinput" KERNEL="linux" L10N="da en it pt pt-BR" 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_9 python3_10" RUBY_TARGETS="ruby27 ruby30" USERLAND="GNU" VIDEO_CARDS="v4l vesa vga intel radeon r600" 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, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, 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
Comment 1 Cyp 2023-01-31 12:06:07 UTC
As a workaround, tried reemerging the old version, which succeeded:

# emerge -av1 =libpano13-2.9.20-r3
checking for JAVA installation at /opt/openjdk-bin-17.0.6_p10... 
checking if JAVA package is complete... yes

Now it at least seems possible to continue emerging world, skipping libpano13, without it complaining about tiff.

# emerge -avuND --with-bdeps=y --keep-going @world --exclude=libpano13

So something java-configure-related must have changed between libpano13-2.9.20-r3 and libpano13-2.9.21-r1.