Ebuild is missing download files for need for USE flag libreoffice_extensions_scripting-javascript Reproducible: Always Steps to Reproduce: 1. Have LIBREOFFICE_EXTENSIONS="scripting-javascript" set in make.conf Portage 3.0.67 (python 3.12.9-final-0, default/linux/amd64/23.0/desktop/gnome/systemd, gcc-14, glibc-2.41, 6.13.3-gentoo-r1-x86_64 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-6.13.3-gentoo-r1-x86_64-x86_64-AMD_Ryzen_Threadripper_PRO_3955WX_16-Cores-with-glibc2.41 KiB Mem: 395853444 total, 260717320 free KiB Swap: 67108860 total, 67108860 free Timestamp of repository gentoo: Sun, 23 Feb 2025 23:18:36 +0000 Head commit of repository gentoo: c9030a5db382f0426f17bf991dbdfbb1ed91edc8 Timestamp of repository Miezhiko: Sat, 22 Feb 2025 22:18:43 +0000 Head commit of repository Miezhiko: dc906d49c660939d25520c764f27706687e113f1 Head commit of repository brave-overlay: b21f5254f38f702ff41c0d94dab78df0b554cbf9 Timestamp of repository cg: Sat, 22 Feb 2025 22:18:37 +0000 Head commit of repository cg: eaf8d4976fba3ff991750d6173400a15e6abf135 Timestamp of repository gamerlay: Mon, 17 Feb 2025 22:03:35 +0000 Head commit of repository gamerlay: 98caf14ad6985e4ea815931a68ba9cc275b4ddba Timestamp of repository gitlab: Wed, 19 Feb 2025 16:03:33 +0000 Head commit of repository gitlab: e7ec313f4ba2de0c16fb9f32a9e120c4ca368ea5 Timestamp of repository guru: Sat, 22 Feb 2025 22:48:26 +0000 Head commit of repository guru: 476d0a0e74da11f85c3bfa3274ca7ca9c9fbff82 Timestamp of repository haskell: Sat, 22 Feb 2025 13:48:33 +0000 Head commit of repository haskell: 3bee268f21a50dc3a6522a2515cb5a4fe3a99482 Timestamp of repository inode64-overlay: Sun, 23 Feb 2025 17:33:23 +0000 Head commit of repository inode64-overlay: 7b5c4cce76812e0fa172aec6066a933b4a33e3d9 Timestamp of repository librewolf: Sat, 22 Feb 2025 22:18:46 +0000 Head commit of repository librewolf: b9c33595050d87d47582ebc2aa45474737edb039 Timestamp of repository nordvpn: Sun, 16 Feb 2025 18:52:22 +0000 Head commit of repository nordvpn: f9a530b2359a2cc425ed7ca3b6e432e957822e82 Timestamp of repository pentoo: Sun, 23 Feb 2025 11:03:32 +0000 Head commit of repository pentoo: 4aa241d5d4f5907084ea24c8e3ad8d725c0478c7 Timestamp of repository pf4public: Sun, 23 Feb 2025 00:48:31 +0000 Head commit of repository pf4public: 69bc1bb6be9f2484db1ac94f26e38dbf031073a8 Timestamp of repository sage-on-gentoo: Mon, 17 Feb 2025 22:03:38 +0000 Head commit of repository sage-on-gentoo: 995b6a0e42d8a8593ab9f7a7f54e60ee23c47b73 Head commit of repository science: 2d8ba0e33a4322fb5fdda676489f03a9869c1d5c Head commit of repository torbrowser: 1214ff66c2e32c5aff2761d653cfe46e2dae7c19 Head commit of repository steam-overlay: 5b7b6d25a1094a4e96c16532cb4f1a757fb00654 sh bash 5.2_p37 ld GNU ld (Gentoo 2.42 p6) 2.42.0 app-misc/pax-utils: 1.3.8::gentoo app-shells/bash: 5.2_p37::gentoo dev-build/autoconf: 2.13-r8::gentoo, 2.71-r7::gentoo, 2.72-r1::gentoo dev-build/automake: 1.16.5-r2::gentoo, 1.17-r1::gentoo dev-build/cmake: 3.31.5::gentoo dev-build/libtool: 2.5.4::gentoo dev-build/make: 4.4.1-r100::gentoo dev-build/meson: 1.7.0::gentoo dev-java/java-config: 2.3.4::gentoo dev-lang/perl: 5.40.0-r1::gentoo dev-lang/python: 3.11.11_p2::gentoo, 3.12.9::gentoo, 3.13.2::gentoo, 3.13.2-r100::gentoo dev-lang/rust-bin: 1.77.1-r102::gentoo, 1.81.0-r103::gentoo, 1.82.0-r103::gentoo, 1.83.0-r2::gentoo, 1.84.0-r1::gentoo, 1.84.1-r2::gentoo, 1.85.0::gentoo llvm-core/clang: 16.0.6::rocm-bleeding-edge, 17.0.6::rocm-bleeding-edge, 18.1.8-r6::gentoo, 19.1.7::gentoo llvm-core/lld: 17.0.6::gentoo, 18.1.8::gentoo, 19.1.7::gentoo llvm-core/llvm: 16.0.6-r5::gentoo, 17.0.6-r3::gentoo, 18.1.8-r6::gentoo, 19.1.7::gentoo sys-apps/baselayout: 2.17::gentoo sys-apps/sandbox: 2.45::gentoo sys-apps/systemd: 257.2::gentoo sys-devel/binutils: 2.42-r2::gentoo, 2.43-r2::gentoo, 2.44::gentoo sys-devel/binutils-config: 5.5.2::gentoo sys-devel/gcc: 13.3.1_p20241220::gentoo, 14.2.1_p20241221::gentoo sys-devel/gcc-config: 2.12.1::gentoo sys-kernel/linux-headers: 6.13::gentoo (virtual/os-headers) sys-libs/glibc: 2.41::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo.git priority: -1000 volatile: False Miezhiko location: /var/db/repos/Miezhiko sync-type: git sync-uri: https://github.com/gentoo-mirror/Miezhiko.git masters: gentoo volatile: False brave-overlay location: /var/db/repos/brave-overlay sync-type: git sync-uri: https://gitlab.com/jason.oliveira/brave-overlay.git masters: gentoo volatile: False cg location: /var/db/repos/cg sync-type: git sync-uri: https://github.com/gentoo-mirror/cg.git masters: gentoo volatile: False gamerlay location: /var/db/repos/gamerlay sync-type: git sync-uri: https://github.com/gentoo-mirror/gamerlay.git masters: gentoo volatile: False gitlab location: /var/db/repos/gitlab sync-type: git sync-uri: https://github.com/gentoo-mirror/gitlab.git masters: gentoo volatile: False guru location: /var/db/repos/guru sync-type: git sync-uri: https://github.com/gentoo-mirror/guru.git masters: gentoo volatile: False haskell location: /var/db/repos/haskell sync-type: git sync-uri: https://github.com/gentoo-mirror/haskell.git masters: gentoo volatile: False inode64-overlay location: /var/db/repos/inode64-overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/inode64-overlay.git masters: gentoo volatile: False librewolf location: /var/db/repos/librewolf sync-type: git sync-uri: https://github.com/gentoo-mirror/librewolf.git masters: gentoo volatile: False nordvpn location: /var/db/repos/nordvpn sync-type: git sync-uri: https://github.com/gentoo-mirror/nordvpn.git masters: gentoo volatile: False pentoo location: /var/db/repos/pentoo sync-type: git sync-uri: https://github.com/gentoo-mirror/pentoo.git masters: gentoo volatile: False pf4public location: /var/db/repos/pf4public sync-type: git sync-uri: https://github.com/gentoo-mirror/pf4public.git masters: gentoo volatile: False sage-on-gentoo location: /var/db/repos/sage-on-gentoo sync-type: git sync-uri: https://github.com/gentoo-mirror/sage-on-gentoo.git masters: gentoo volatile: False science location: /var/db/repos/science sync-type: git sync-uri: git://git.gentoo.org/proj/sci.git masters: gentoo volatile: False torbrowser location: /var/db/repos/torbrowser sync-type: git sync-uri: https://github.com/MeisterP/torbrowser-overlay.git masters: gentoo volatile: False steam-overlay location: /var/db/repos/steam-overlay sync-type: git sync-uri: https://github.com/anyc/steam-overlay.git masters: gentoo priority: 50 volatile: False local-grotto location: /var/db/repos/local-grotto masters: gentoo priority: 1000 volatile: False Binary Repositories: gentoobinhost priority: 1 sync-uri: https://gentoo.osuosl.org/releases/amd64/binpackages/23.0/x86-64 Installed sets: @ai, @android, @bareboneswm, @browsers, @consoleapps, @db, @desktop, @devops, @dict, @electronics, @fonts, @games, @gfx, @gns3, @journaling, @opencl, @pbx, @pentest, @printer, @privacy, @programming, @radio, @streaming, @tex, @themes, @utils, @webdev, @xmpp ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/zookeeper-bin/conf /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.2/ext-active/ /etc/php/apache2-php8.3/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cgi-php8.3/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/cli-php8.3/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/fpm-php8.3/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/php/phpdbg-php8.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/var/cache/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 binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org /var/cache/distfiles/" LANG="C.UTF8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs" LEX="flex" LINGUAS="en en_US" MAKEOPTS="-j48" 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=/.git" PORTAGE_TMPDIR="/var/tmp" RUSTFLAGS="-C target-cpu=native -C link-arg=-Wl,-z,pack-relative-relocs" SHELL="/bin/bash" USE="X a52 aac aalib acl acpi aio alsa amd64 amdgpu amf amr amrenc ao apache2 appindicator archive atasmart autotype avif awt base bash-completion boot boto branding brotli browser btpclient btrfs bzip2 cairo calendar caps cdda cddb cdr cet chromium clippy colord compositor connection-sharing context contrib contribdnn crypt cups curl dav1d dbus development device-mapper dia down-root dracut dri drm drun dts dvd dvdr eap-tls eds egl elfutils encode epspdf evdev evo exif extensions extra extraengine faad fdk ffmpeg ffmpge flac flashrom fpm freerdp games gcj gd gdata gdbm gdk-pixbuf gentoo-vm gif gimp git glamor gles gles1 gles2 gltf gmp gnome gnome-keyring gnome-shell gpg gpm graph graphics gstreamer gtk gtk3 gui hardened hcitop hddtemp hdri heif hip http http3 humanities hwaccel iconv icu imagemagick introspection iproute2 iptables ipv6 jack javascript jemalloc jingle joystick jpeg jpeg2k jpegxl json kate kernel-install keyring kf6compat lcms ldac libass libdrm libkms libnotify libtesseract libtirpc libvirt lm-sensors lm_sensors login lto lxc lz4 lzma mad matroska maxminddb mediaplayer mms mmx mmxext mng mod modplug mp3 mp4 mpeg mtp multilib music mysql mysqli mysqlnd nautilus ncat ncurses network networkmanager nfs nfsv4 nfsv41 nftables nginx nls notification nping numpy nvme ocr odf offensive ofono ofx ogg omega omemo openal opencl opencv openexr opengl openh264 openmp opus ozone pam pango pcre pda pdf pdfannotextractor pdfimport pdo pgo php pipewire png policykit postgres postproc postscript ppds printsupport profiling prometheus proton pstricks publishers pulseaudio python qemu qml qt5 qt6 quic rav1e raw raycast readline redis rocm rrdcgi rubberband rust-analyzer rust-src rustfmt s3tc science sdl seccomp sendto sensord shaderc shout slib soap sockets sound speech speex spell spice sqlite srt sse sse2 sse3 sse4.1 sse4.2 ssh ssl ssse3 staging startup-notification svc svg svt-av1 syntax-check sysprof system-ffmpeg system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-llvm system-sqlite systemd sysv-utils sysvipc terminal tesseract test-rust tex4ht texi2html tfshark theora threads thunar tiff tools tor-hardening tproxy tray trayicon truetype udev udisks uefi uki ukify unicode update_drivedb upower usb usbredir user-session uuid uvm v4l vaapi vdpau vector-icons vidstab vim vim-syntax visio vkd3d vlc vnc vorbis vpx vte vulkan vulkan-overlay wayland webp widevine wireshark-plugins wxwidgets x264 x265 xattr xcb xcomposite xephyr xetex xface xft xinerama xml xmlwriter xpm xrandr xsl xslt xv xvfb xvid xvmc zip zlib zsh-completion zsh-completions zstd" ABI_X86="64" ADA_TARGET="gcc_14" AMDGPU_TARGETS="gfx1012 gfx1030" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_core authn_dbm authn_file authz_core authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation proxy proxy_balancer proxy_connect proxy_fdpass proxy_fcgi proxy_http proxy_scgi proxy_wstunnel ratelimit rewrite setenvif slotmem_shm socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias" APACHE2_MPMS="event" 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 sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" CURL_QUIC="openssl" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" GUILE_SINGLE_TARGET="2-2" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput joystick" KERNEL="linux" L10N="en en-US" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher" LLVM_SLOT="19" LLVM_TARGETS="X86 AMDGPU" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fastcgi geo gzip limit_conn limit_req map memcached proxy referer rewrite scgi split_clients ssi upstream_ip_hash userid uwsgi gunzip gzip_static metrics mp4 naxsi security realip stub_status pcre-jit" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres17" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32" SANE_BACKENDS="epson epson2 net" VIDEO_CARDS="amdgpu radeonsi lavapipe zink" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto 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, PYTHONPATH, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS
Created attachment 919793 [details] libreoffice-25.2.11 config.log
``` configure:46333: checking which rhino to use configure:46336: result: external configure:46343: error: js.jar not found. ``` ``` libreoffice_extensions_scripting-javascript? ( >=dev-java/rhino-1.7.14:1.6 ) ``` Is dev-java/rhino installed? If so, what does 'equery f dev-java/rhino' say? It looks like the upstream version uses 1.7.15 but that shouldn't prompt this error, I think.
... because we somehow lost the configure arg: ``` - use libreoffice_extensions_scripting-javascript && \ - myeconfargs+=( --with-rhino-jar=$(java-pkg_getjar rhino-1.6 rhino.jar) ) ```
commit fa7c7501a6f296ca91716e29c06db818ee926e77 Author: Andreas Sturmlechner <asturm@gentoo.org> Date: Sat Oct 5 15:47:14 2024 +0200 app-office/libreoffice: update tarballs Thanks-to: jospezial <jospezial@gmx.de> Closes: https://bugs.gentoo.org/929974 Closes: https://bugs.gentoo.org/936148 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
# equery f dev-java/rhino * Searching for rhino in dev-java ... * Contents of dev-java/rhino-1.7.14-r1: /usr /usr/bin /usr/bin/rhino-1.6 /usr/share /usr/share/doc /usr/share/doc/rhino-1.7.14-r1 /usr/share/doc/rhino-1.7.14-r1/CODE_OF_CONDUCT.md.bz2 /usr/share/doc/rhino-1.7.14-r1/NOTICE-tools.txt.bz2 /usr/share/doc/rhino-1.7.14-r1/NOTICE.txt.bz2 /usr/share/doc/rhino-1.7.14-r1/README.md.bz2 /usr/share/doc/rhino-1.7.14-r1/RELEASE-NOTES.md.bz2 /usr/share/doc/rhino-1.7.14-r1/RELEASE-STEPS.md.bz2 /usr/share/rhino-1.6 /usr/share/rhino-1.6/lib /usr/share/rhino-1.6/lib/rhino.jar /usr/share/rhino-1.6/package.env
I *think* dropping that src_configure line was a mistake. We would either want to download a copy, or we'd use the system one and pass the configure arg. We dropped downloading a copy, therefore we surely want the configure arg. And the dep wasn't dropped anyway.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=901fe14d546bb460dfdf86cb5c90bdf6020b988f commit 901fe14d546bb460dfdf86cb5c90bdf6020b988f Author: Sam James <sam@gentoo.org> AuthorDate: 2025-02-24 02:36:00 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-02-24 02:37:23 +0000 app-office/libreoffice: restore rhino configure arg I *think* dropping that src_configure line was a mistake (in fa7c7501a6f296ca91716e29c06db818ee926e77). We would either want to download a copy, or we'd use the system one and pass the configure arg. We dropped downloading a copy, therefore we surely want the configure arg. And the dep wasn't dropped anyway. Bug: https://bugs.gentoo.org/929974 Closes: https://bugs.gentoo.org/950212 Signed-off-by: Sam James <sam@gentoo.org> app-office/libreoffice/libreoffice-25.2.1.1.ebuild | 3 +++ app-office/libreoffice/libreoffice-9999.ebuild | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-)
Hopefully my reasoning is right there.