Summary: | app-office/libreoffice-5.4.4.2 with java USE fails on arm64 (/usr/lib64/jvm/ not found during configure phase) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | sakaki <sakaki> |
Component: | Current packages | Assignee: | Gentoo Office Team <office> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | arm64, java, jstein, sakaki |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Use "$EPREFIX/usr/lib" as fallback location for --with-jvm-path |
What profile are you using here? emerge --info please. Requesting java/arm64 brains here... *** This bug has been marked as a duplicate of bug 641826 *** Noted that this bug has been closed as a duplicate, but, in case it is useful, here is output of emerge --info, as requested in comment #1: Portage 2.3.13 (python 3.5.4-final-0, default/linux/arm64/13.0/desktop, gcc-7.2.0, glibc-2.26-r3, 4.10.17-v8-9411792647f6+ aarch64) ================================================================= System uname: Linux-4.10.17-v8-9411792647f6+-aarch64-with-gentoo-2.4.1 KiB Mem: 986544 total, 529112 free KiB Swap: 3145720 total, 3145720 free Timestamp of repository gentoo: Thu, 21 Dec 2017 00:45:01 +0000 Head commit of repository gentoo: 3a8f51b2b1c58bd157f85d9792606db9162cce1c Head commit of repository sakaki-tools: 5890d06cb31176594edb0aa3d10cc746684ab1aa Head commit of repository rpi3: 783ae3530e6b76f43c63ba8cca330d77b5f2ad06 sh bash 4.4_p12 ld GNU ld (Gentoo 2.29.1 p2) 2.29.1 distcc 3.2rc1 aarch64-unknown-linux-gnu [enabled] app-shells/bash: 4.4_p12::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.26.1-r1::gentoo dev-lang/python: 2.7.14-r1::gentoo, 3.5.4-r1::gentoo dev-util/cmake: 3.10.1::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.4.1-r2::gentoo sys-apps/openrc: 0.34.11::gentoo sys-apps/sandbox: 2.12::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.15.1-r1::gentoo sys-devel/binutils: 2.29.1-r1::gentoo sys-devel/gcc: 5.4.0-r3::gentoo, 7.2.0::gentoo sys-devel/gcc-config: 1.9.1::gentoo sys-devel/libtool: 2.4.6-r4::gentoo sys-devel/make: 4.2.1-r1::gentoo sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers) sys-libs/glibc: 2.26-r3::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-extra-opts: sakaki-tools location: /usr/local/portage/sakaki-tools sync-type: git sync-uri: https://github.com/sakaki-/sakaki-tools.git masters: gentoo priority: 50 rpi3 location: /usr/local/portage/rpi3 sync-type: git sync-uri: https://github.com/sakaki-/rpi3-overlay.git masters: gentoo priority: 100 ACCEPT_KEYWORDS="arm64 ~arm64" ACCEPT_LICENSE="@FREE CC-Sampling-Plus-1.0" CBUILD="aarch64-unknown-linux-gnu" CFLAGS="-march=armv8-a+crc -mtune=cortex-a53 -O2 -pipe" CHOST="aarch64-unknown-linux-gnu" CONFIG_PROTECT="/boot/cmdline.txt /boot/config.txt /etc /usr/lib64/libreoffice/program/sofficerc /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="-march=armv8-a+crc -mtune=cortex-a53 -O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--jobs=5 --load-average=4" FCFLAGS="-O2" FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distcc distcc-pump distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg xattr" FFLAGS="-O2" GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://trumpetti.atm.tut.fi/gentoo/" LANG="en_GB.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j8 -l4" 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" USE="X a52 aac acl acpi alsa arm64 berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvdr egl emboss encode exif fam ffmpeg firefox flac fortran gdbm gif glamor gles1 gles2 gpm gtk iconv ipv6 jpeg lcms libnotify lock mad mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support qt4 qt5 readline seccomp session spell ssl startup-notification svg tcpd thunar tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" 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="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_ARM="edsp neon thumb thumb2 v4 v5 v6 v7 v8 vfp vfp-d32 vfpv3 vfpv4" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="fbdev vc4" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS |
Created attachment 511540 [details, diff] Use "$EPREFIX/usr/lib" as fallback location for --with-jvm-path Hi, in libreoffice-5.4.2.2.ebuild, (for java USE) the src_configure function sets: --with-jvm-path="${EPREFIX}/usr/lib/" but in libreoffice-5.4.4.2.ebuild, this has changed to: --with-jvm-path="${EPREFIX}/usr/$(get_libdir)/" which, on arm64 at least, resolves to: --with-jvm-path="${EPREFIX}/usr/lib64/" Unfortunately, icedtea etc. currently installs symlinks into /usr/lib/jvm/..., and the directory /usr/lib64/jvm does not exist. This causes an emerge failure on arm64 for libreoffice-5.4.4.2 (with java USE flag set), during the configure phase. Error message: configure: error: "/usr/lib64/"jvm not found, point with_jvm_path to \/path/to/\jvm I have addressed this for users of my 64-bit Gentoo rpi3 image / binhost using the attached patch, but not sure if this is the correct approach. Thanks! sakaki