Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
libidn fails to compile
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Krog
Guru
Guru


Joined: 26 Jun 2007
Posts: 339
Location: Roma, Italy

PostPosted: Sat Jan 08, 2022 2:46 pm    Post subject: libidn fails to compile Reply with quote

On my system libidn is already installed but portage wants to build it again and it fails with this error:

checking for javac... no
configure: error: no acceptable Java compiler found in $PATH


some info:

Code:
KROGPC-SKYLAKE ~ # eselect java-vm list
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

KROGPC-SKYLAKE ~ #


KROGPC-SKYLAKE /mnt/home/krog # emerge --info '=net-dns/libidn-1.38-r1::gentoo'
Portage 3.0.28 (python 3.9.9-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-11.2.0, glibc-2.33-r7, 5.15.11-gentoo-krog x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.15.11-gentoo-krog-x86_64-Intel-R-_Core-TM-_i5-6600K_CPU_@_3.50GHz-with-glibc2.33
KiB Mem:    32818368 total,  26425800 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sat, 08 Jan 2022 11:00:01 +0000
Head commit of repository gentoo: 396948ab3765eb983f61f28bb35335d9bf413754
sh bash 5.1_p8
ld GNU ld (Gentoo 2.37_p1 p0) 2.37
app-misc/pax-utils:        1.3.3::gentoo
app-shells/bash:           5.1_p8::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.0-r6::gentoo
dev-lang/python:           2.7.18_p13::gentoo, 3.9.9::gentoo, 3.10.0_p1::gentoo
dev-lang/rust:             1.56.1::gentoo
dev-util/cmake:            3.21.4::gentoo
dev-util/meson:            0.59.4::gentoo
sys-apps/baselayout:       2.7-r3::gentoo
sys-apps/openrc:           0.44.10::gentoo
sys-apps/sandbox:          2.25::gentoo
sys-devel/autoconf:        2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:        1.13.4-r2::gentoo, 1.16.4::gentoo
sys-devel/binutils:        2.37_p1::gentoo
sys-devel/binutils-config: 5.4::gentoo
sys-devel/clang:           13.0.0::gentoo
sys-devel/gcc:             11.2.0::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.6-r6::gentoo
sys-devel/lld:             13.0.0::gentoo
sys-devel/llvm:            13.0.0::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.33-r7::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts:
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes

locale
    location: /usr/local/portage
    masters: gentoo

gentoo-zh
    location: /var/lib/layman/gentoo-zh
    masters: gentoo
    priority: 50

plex-overlay
    location: /var/lib/layman/plex-overlay
    masters: gentoo
    priority: 50

usenet-overlay
    location: /var/lib/layman/usenet-overlay
    masters: gentoo
    priority: 50

ABI="amd64"
ABI_X86="64 32"
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
ACCEPT_PROPERTIES="*"
ACCEPT_RESTRICT="*"
ADA_TARGET="gnat_2020"
ANT_HOME="/usr/share/ant"
APACHE2_MODULES="unixd actions alias auth_basic authn_alias authn_anon authn_core authz_core socache_shmcb authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache 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 asis auth_digest authn_dbd cern_meta charset_lite dbd dumpio ident imagemap log_forensic proxy proxy_ajp proxy_connect proxy_ftp proxy_http substitute version"
ARCH="amd64"
AUTOCLEAN="yes"
BINPKG_COMPRESS="bzip2"
BOOTSTRAP_USE="unicode internal-glib pkg-config split-usr xml python_targets_python3_9 multilib"
BROOT=""
CALLIGRA_FEATURES="active braindump flow karbon kexi krita stage tables words"
CAMERAS="ptp2"
CBUILD="x86_64-pc-linux-gnu"
CCACHE_SIZE="1G"
CFLAGS="-march=broadwell -O2 -pipe"
CFLAGS_amd64="-m64"
CFLAGS_x32="-mx32"
CFLAGS_x86="-m32"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x32="x86_64-pc-linux-gnux32"
CHOST_x86="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
COLLISION_IGNORE="/lib/modules/*"
COLORFGBG="15;0"
COLORTERM="truecolor"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.8/conf"
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.0/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cli-php8.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"
CXXFLAGS="-march=broadwell -O2 -pipe"
DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-ZY0HjcuYIB,guid=4983defb2080584df9638a7461d99dad"
DEFAULT_ABI="amd64"
DESKTOP_SESSION="/usr/share/xsessions/plasma"
DISPLAY=":0"
DISTDIR="/usr/portage/distfiles"
EDITOR="/bin/nano"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--verbose --keep-going --jobs=3"
EMERGE_WARNING_DELAY="10"
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"
EPREFIX=""
EROOT="/"
ESYSROOT="/"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs candy config-protect-if-modified distlocks ebuild-locks fail-clean 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"
FETCHCOMMAND="wget -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
FETCHCOMMAND_RSYNC="rsync -LtvP "${URI}" "${DISTDIR}/${FILE}""
FETCHCOMMAND_SFTP="bash -c "x=\${2#sftp://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ; eval \"declare -a ssh_opts=(\${3})\" ; exec sftp \${port:+-P \${port}} \"\${ssh_opts[@]}\" \"\${host}:/\${x#*/}\" \"\$1\"" sftp "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}""
FETCHCOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ; exec rsync --rsh=\"ssh \${port:+-p\${port}} \${3}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}""
FFLAGS="-O2 -pipe"
GCC_SPECS=""
GENTOO_MIRRORS="ftp://gentoo.imj.fr/pub/gentoo/ rsync://rsync.mirrorservice.org/distfiles.gentoo.org/ http://www.mirrorservice.org/sites/distfiles.gentoo.org/"
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="pc"
GSETTINGS_BACKEND="dconf"
GTK2_RC_FILES="/etc/gtk-2.0/gtkrc:/home/krog/.gtkrc-2.0:/home/krog/.config/gtkrc-2.0"
GTK_MODULES="canberra-gtk-module:appmenu-gtk-module"
GTK_RC_FILES="/etc/gtk/gtkrc:/home/krog/.gtkrc:/home/krog/.config/gtkrc"
HOME="/root"
INFOPATH="/usr/share/gcc-data/x86_64-pc-linux-gnu/11.2.0/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.37_p1/info:/usr/share/info"
INPUT_DEVICES="keyboard mouse evdev"
IUSE_IMPLICIT="abi_x86_64 prefix prefix-guest prefix-stack"
JAVAC="/home/krog/.gentoo/java-config-2/current-user-vm/bin/javac"
JAVA_HOME="/home/krog/.gentoo/java-config-2/current-user-vm"
JDK_HOME="/home/krog/.gentoo/java-config-2/current-user-vm"
KDE_APPLICATIONS_AS_SCOPE="1"
KDE_FULL_SESSION="true"
KDE_SESSION_UID="1000"
KDE_SESSION_VERSION="5"
KERNEL="linux"
KONSOLE_DBUS_SERVICE=":1.62"
KONSOLE_DBUS_SESSION="/Sessions/2"
KONSOLE_DBUS_WINDOW="/Windows/1"
KONSOLE_VERSION="210803"
KWIN_NVIDIA_HACK="1"
L10N="it en en_US"
LANG="it_IT.UTF-8"
LANGUAGE="it:en_US"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LC_MESSAGES="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LDFLAGS_amd64="-m elf_x86_64"
LDFLAGS_x32="-m elf32_x86_64"
LDFLAGS_x86="-m elf_i386"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe %s"
LIBDIR_amd64="lib64"
LIBDIR_x32="libx32"
LIBDIR_x86="lib"
LIBREOFFICE_EXTENSIONS="java nlpsolver presenter-console presenter-minimizer scripting-beanshell wiki-publisher"
LIGHTDM_GREETER="lightdm-kde-greeter"
LINGUAS="it en en_US"
LOGNAME="root"
LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.cfg=00;32:*.conf=00;32:*.diff=00;32:*.doc=00;32:*.ini=00;32:*.log=00;32:*.patch=00;32:*.pdf=00;32:*.ps=00;32:*.tex=00;32:*.txt=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:"
LUA_SINGLE_TARGET="lua5-1"
LUA_TARGETS="lua5-1"
LV2_PATH="/usr/lib64/lv2"
MAIL="/var/mail/krog"
MAKEOPTS="-j5 -l5"
MANPAGER="manpager"
MANPATH="/home/krog/.gentoo/java-config-2/current-user-vm/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/11.2.0/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.37_p1/man:/etc/java-config-2/current-system-vm/man/:/usr/lib64/php8.0/man/:/usr/local/share/man:/usr/share/man:/usr/lib/rust/man:/usr/lib/llvm/13/share/man"
MOTD_SHOWN="pam"
MOZ_GMP_PATH="/usr/lib64/nsbrowser/plugins/gmp-gmpopenh264/system-installed"
MULTILIB_ABIS="amd64 x86"
MULTILIB_STRICT_DENY="64-bit.*shared object"
MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib"
MULTILIB_STRICT_EXEMPT="(perl5|gcc|binutils|eclipse-3|debug|portage|udev|systemd|clang|python-exec|llvm)"
OFFICE_IMPLEMENTATION="libreoffice"
OPENCL_PROFILE="nvidia"
OPENGL_PROFILE="xorg-x11"
PAGER="/usr/bin/less"
PAM_KWALLET5_LOGIN="/run/user/1000/kwallet5.socket"
PATH="/home/krog/.local/bin:/home/krog/script:/usr/libexec/cw:/sbin:/bin:/usr/sbin:/usr/bin"
PHP_TARGETS="php7-3 php7-4"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="alpha amd64 amd64-linux arm arm-linux arm64 arm64-linux arm64-macos hppa ia64 m68k mips ppc ppc-macos ppc64 ppc64-linux riscv s390 sparc sparc-solaris sparc64-solaris x64-cygwin x64-macos x64-solaris x64-winnt x86 x86-linux x86-solaris x86-winnt"
PORTAGE_BIN_PATH="/usr/lib/portage/python3.9"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="warn error info log qa"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_GPG_SIGNING_COMMAND="gpg --sign --digest-algo SHA256 --clearsign --yes --default-key "${PORTAGE_GPG_KEY}" --homedir "${PORTAGE_GPG_DIR}" "${FILE}""
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_INTERNAL_CALLER="1"
PORTAGE_LOGDIR_CLEAN="find "${PORTAGE_LOGDIR}" -type f ! -name "summary.log*" -mtime +7 -delete"
PORTAGE_NICENESS="15"
PORTAGE_OVERRIDE_EPREFIX=""
PORTAGE_PYM_PATH="/usr/lib/python3.9/site-packages"
PORTAGE_PYTHONPATH="/usr/lib/python3.9/site-packages"
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_RSYNC_RETRIES="-1"
PORTAGE_SYNC_STALE="30"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_TMPFS="/dev/shm"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTAGE_XATTR_EXCLUDE="btrfs.* security.evm security.ima        security.selinux system.nfs4_acl user.apache_handler    user.Beagle.* user.dublincore.* user.mime_encoding user.xdg.*"
POSTGRES_TARGETS="postgres12 postgres13"
PROFILEHOME=""
PROFILE_ONLY_VARIABLES="ARCH ELIBC IUSE_IMPLICIT KERNEL USERLAND USE_EXPAND_IMPLICIT USE_EXPAND_UNPREFIXED USE_EXPAND_VALUES_ARCH USE_EXPAND_VALUES_ELIBC USE_EXPAND_VALUES_KERNEL USE_EXPAND_VALUES_USERLAND"
PWD="/mnt/home/krog"
PYTHONDONTWRITEBYTECODE="1"
PYTHON_SINGLE_TARGET="python3_9"
PYTHON_TARGETS="python3_9"
QT_AUTO_SCREEN_SCALE_FACTOR="0"
QT_GRAPHICSSYSTEM="raster"
QT_NO_GLIB="1"
QT_USE_NATIVE_WINDOWS="1"
RESUMECOMMAND="wget -c -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
RESUMECOMMAND_RSYNC="rsync -LtvP "${URI}" "${DISTDIR}/${FILE}""
RESUMECOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ; exec rsync --rsh=\"ssh \${port:+-p\${port}} \${3}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}""
ROOT="/"
ROOTPATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/13/bin"
RPMDIR="/var/cache/rpm"
RUBY_TARGETS=""
SESSION_MANAGER="local/KROGPC-SKYLAKE:@/tmp/.ICE-unix/3267,unix/KROGPC-SKYLAKE:/tmp/.ICE-unix/3267"
SHELL="/bin/bash"
SHELL_SESSION_ID="f07e39580adf49e8a91a7900a5c4c1f9"
SHLVL="2"
SSH_ASKPASS="/usr/bin/ksshaskpass"
SYMLINK_LIB="no"
SYSROOT="/"
TERM="xterm-256color"
TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE="1"
UBUNTU_MENUPROXY="1"
UNINSTALL_IGNORE="/lib/modules/* /var/run /var/lock"
USE="3dnow X a52 aac accessibility acl acpi activities akonadi alsa amd64 amr amrnb amrwb apache2 apm appindicator attica audiofile avahi bash-completion bidi bittorrent bluetooth branding bzip2 cairo canberra cdaudio cdda cddb cdr cjk cli crypt cuda cups cupsd dbus declarative desktopglobe dga directfb divx dri dts dvd dvdr dvdread ebook elogind emboss emovix encode exif exiv2 expoblending faac faad facebook farstream fasttrack fbcon fbsplash ffmpeg firefox3 flac fontconfig fortran frei0r fribidi gd gdbm geoip geolocation gif gimp gimpprint git glib gmedia gnokii gnutella google googledrive gpm gtk gtk2 gtk3 gtkstyle gudev gui hddtemp hpcups hwaccel iconv icotools icq icu id3tag imagemagick imlib inotify introspection iostats irc jabber java java6 jpeg jpeg2k kde kdrive kerberos kipi kontact kwallet lame lcms ldap libass libglvnd libnotify libtirpc linguas_en linguas_it lm-sensors lm_sensors logitech-mouse logrotate lzma mad messenger midi mjpeg mmx mmxext mng mozilla mp3 mp4 mpeg mplayer msn multilib mysql ncurses networkmanager nls nokia nptl nsplugin nvenc nvidia ogg okular openal opencv opengl openmp optimized-qmake opus pam pango pch pcre pdf pdfimport pertty plasma png policykit postscript ppds prison pulseaudio python qml qrcode qscintilla qt qt-copy qt3support qt5 qtmultimedia quicktime radio raster readline real realmedia realtime redland rss ruby samba sasl sdl seccomp sip skype sms sndfile sound spell split-usr sqlite srt ssl startup-notification subversion svg taglib telepathy theora threads threadsafe thumbnail tiff timidity transcode transparency truetype tty-helpers udev udisks unicode upnp upower usb userlocales v4l v4l2 vaapi vc vcd vdpau vlc vorbis webinterface webkit webp webserver widgets win64 windeco winetools wmf wmp wxwidgets x264 xattr xcb xcomposite xml xmms xmp xpm xscreensaver xv xvid xvmc zeroconf zip zlib" ABI_X86="64 32" ADA_TARGET="gnat_2020" APACHE2_MODULES="unixd actions alias auth_basic authn_alias authn_anon authn_core authz_core socache_shmcb authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache 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 asis auth_digest authn_dbd cern_meta charset_lite dbd dumpio ident imagemap log_forensic proxy proxy_ajp proxy_connect proxy_ftp proxy_http substitute version" CALLIGRA_FEATURES="active braindump flow karbon kexi krita stage tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" L10N="it en en_US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="java nlpsolver presenter-console presenter-minimizer scripting-beanshell wiki-publisher" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" USERLAND="GNU" VIDEO_CARDS="nvidia v4l vesa intel i915" 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"
USER="root"
USERLAND="GNU"
USE_EXPAND="ABI_MIPS ABI_PPC ABI_S390 ABI_X86 ADA_TARGET ALSA_CARDS APACHE2_MODULES APACHE2_MPMS CALLIGRA_FEATURES CAMERAS COLLECTD_PLUGINS CPU_FLAGS_ARM CPU_FLAGS_PPC CPU_FLAGS_X86 CURL_SSL ELIBC FFTOOLS GPSD_PROTOCOLS GRUB_PLATFORMS INPUT_DEVICES KERNEL L10N LCD_DEVICES LIBREOFFICE_EXTENSIONS LLVM_TARGETS LUA_SINGLE_TARGET LUA_TARGETS MONKEYD_PLUGINS NGINX_MODULES_HTTP NGINX_MODULES_MAIL NGINX_MODULES_STREAM OFED_DRIVERS OFFICE_IMPLEMENTATION OPENMPI_FABRICS OPENMPI_OFED_FEATURES OPENMPI_RM PHP_TARGETS POSTGRES_TARGETS PYTHON_SINGLE_TARGET PYTHON_TARGETS QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS ROS_MESSAGES RUBY_TARGETS SANE_BACKENDS USERLAND UWSGI_PLUGINS VIDEO_CARDS VOICEMAIL_STORAGE XTABLES_ADDONS"
USE_EXPAND_HIDDEN="ABI_MIPS ABI_PPC ABI_S390 CPU_FLAGS_ARM CPU_FLAGS_PPC ELIBC KERNEL USERLAND"
USE_EXPAND_IMPLICIT="ARCH ELIBC KERNEL USERLAND"
USE_EXPAND_UNPREFIXED="ARCH"
USE_EXPAND_VALUES_ARCH="alpha amd64 amd64-linux arm arm64 arm64-macos hppa ia64 m68k mips ppc ppc64 ppc64-linux ppc-macos riscv s390 sparc sparc64-solaris sparc-solaris x64-cygwin x64-macos x64-solaris x64-winnt x86 x86-linux x86-solaris x86-winnt"
USE_EXPAND_VALUES_ELIBC="bionic Cygwin Darwin glibc mingw musl SunOS Winnt"
USE_EXPAND_VALUES_KERNEL="Darwin linux SunOS Winnt"
USE_EXPAND_VALUES_USERLAND="BSD GNU"
USE_ORDER="env:pkg:conf:defaults:pkginternal:features:repo:env.d"
VBOX_APP_HOME="/usr/lib64/virtualbox"
VIDEO_CARDS="nvidia v4l vesa intel i915"
WANT_MP="true"
WINDOWID="88080391"
XAUTHORITY="/root/.xauthfoZ8b1"
XCURSOR_SIZE="24"
XCURSOR_THEME="breeze_cursors"
XDG_CONFIG_DIRS="/home/krog/.config/kdedefaults:/etc/xdg"
XDG_CURRENT_DESKTOP="KDE"
XDG_DATA_DIRS="/usr/local/share:/usr/share"
XDG_RUNTIME_DIR="/run/user/1000"
XDG_SEAT="seat0"
XDG_SEAT_PATH="/org/freedesktop/DisplayManager/Seat0"
XDG_SESSION_CLASS="user"
XDG_SESSION_DESKTOP="KDE"
XDG_SESSION_ID="4"
XDG_SESSION_PATH="/org/freedesktop/DisplayManager/Session1"
XDG_SESSION_TYPE="x11"
XDG_VTNR="7"
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"
gl_cv_type_time_t_bits_macro="no"

=================================================================
                        Package Settings
=================================================================

net-dns/libidn-1.38-r1::gentoo was built with the following:
USE="java nls -doc -emacs -mono -verify-sig" ABI_X86="32 (64) (-x32)"

KROGPC-SKYLAKE /mnt/home/krog #
KROGPC-SKYLAKE /mnt/home/krog #
KROGPC-SKYLAKE /mnt/home/krog #
KROGPC-SKYLAKE /mnt/home/krog # emerge -pqv '=net-dns/libidn-1.38-r1::gentoo'
[ebuild   R   ] net-dns/libidn-1.38-r1  USE="java nls -doc -emacs -mono -verify-sig" ABI_X86="32 (64) (-x32)"
KROGPC-SKYLAKE /mnt/home/krog #
KROGPC-SKYLAKE /mnt/home/krog #
KROGPC-SKYLAKE /mnt/home/krog #

KROGPC-SKYLAKE /mnt/home/krog # echo $PATH
/home/krog/.local/bin:/home/krog/script:/usr/libexec/cw:/sbin:/bin:/usr/sbin:/usr/bin
KROGPC-SKYLAKE /mnt/home/krog # echo $JAVA_HOME
/home/krog/.gentoo/java-config-2/current-user-vm
KROGPC-SKYLAKE /mnt/home/krog # ls -l /home/krog/.gentoo/java-config-2/current-user-vm
lrwxrwxrwx 1 krog krog 27  8 gen 12.20 /home/krog/.gentoo/java-config-2/current-user-vm -> /usr/lib/jvm//icedtea-bin-8
KROGPC-SKYLAKE /mnt/home/krog # ls -l /usr/lib/jvm//icedtea-bin-8
lrwxrwxrwx 1 root root 23  8 gen 12.18 /usr/lib/jvm//icedtea-bin-8 -> /opt/icedtea-bin-3.16.0
KROGPC-SKYLAKE /mnt/home/krog # ls -l /usr/lib/jvm//icedtea-bin-8/bin/javac
-rwxr-xr-x 1 root root 14336 10 mag  2020 /usr/lib/jvm//icedtea-bin-8/bin/javac
KROGPC-SKYLAKE /mnt/home/krog #

Any hint?

Back to top
View user's profile Send private message
Etal
Veteran
Veteran


Joined: 15 Jul 2005
Posts: 1932

PostPosted: Sat Jan 08, 2022 4:09 pm    Post subject: Reply with quote

Why does root have your regular user's directories in PATH? You shouldn't to that, that's probably messing things up.

Code:
# echo $JAVA_HOME
/etc/java-config-2/current-system-vm
# ls -l `which javac`
lrwxrwxrwx 1 root root 44 Oct 18 11:24 /usr/bin/javac -> /usr/libexec/eselect-java/run-java-tool.bash
Back to top
View user's profile Send private message
Krog
Guru
Guru


Joined: 26 Jun 2007
Posts: 339
Location: Roma, Italy

PostPosted: Sat Jan 08, 2022 4:10 pm    Post subject: Reply with quote

Etal wrote:
Why does root have your regular user's directories in PATH? You shouldn't to that, that's probably messing things up.

Code:
# echo $JAVA_HOME
/etc/java-config-2/current-system-vm
# ls -l `which javac`
lrwxrwxrwx 1 root root 44 Oct 18 11:24 /usr/bin/javac -> /usr/libexec/eselect-java/run-java-tool.bash

Code:

KROGPC-SKYLAKE ~ # eselect java-vm list
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

KROGPC-SKYLAKE ~ #


anything else to do?
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31288
Location: here

PostPosted: Sat Jan 08, 2022 5:42 pm    Post subject: Reply with quote

Try to set the javavm again eselect java-vm set system icedtea-bin-8
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22754

PostPosted: Sat Jan 08, 2022 5:52 pm    Post subject: Reply with quote

Etal wrote:
Why does root have your regular user's directories in PATH? You shouldn't to that, that's probably messing things up.
This is usually caused by improper use of /bin/su. Forgetting to use /bin/su - can cause this.

Krog: do you even want Java support on this package? If not, disabling it would let you avoid fixing the problem.
Back to top
View user's profile Send private message
Krog
Guru
Guru


Joined: 26 Jun 2007
Posts: 339
Location: Roma, Italy

PostPosted: Sat Jan 08, 2022 5:54 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Try to set the javavm again eselect java-vm set system icedtea-bin-8


done many times :-(


Hu wrote:
Etal wrote:
Why does root have your regular user's directories in PATH? You shouldn't to that, that's probably messing things up.
This is usually caused by improper use of /bin/su. Forgetting to use /bin/su - can cause this.

Krog: do you even want Java support on this package? If not, disabling it would let you avoid fixing the problem.


honestly I have no idea!
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31288
Location: here

PostPosted: Sat Jan 08, 2022 6:00 pm    Post subject: Reply with quote

Krog wrote:
fedeliallalinea wrote:
Try to set the javavm again eselect java-vm set system icedtea-bin-8


done many times :-(

Based on what Hu said you probably solve it by also setting javavm for the user (eselect java-vm set user icedtea-bin-8).
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Krog
Guru
Guru


Joined: 26 Jun 2007
Posts: 339
Location: Roma, Italy

PostPosted: Sat Jan 08, 2022 6:01 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Krog wrote:
fedeliallalinea wrote:
Try to set the javavm again eselect java-vm set system icedtea-bin-8


done many times :-(

Based on what Hu said you probably solve it by also setting javavm for the user (eselect java-vm set user icedtea-bin-8).


as root:

KROGPC-SKYLAKE ~ # eselect java-vm set user icedtea-bin-8
!!! Error: Sorry, you cannot set a user VM as root. Set the system VM instead
exiting
KROGPC-SKYLAKE ~ #


as user, done too... it is the only vm in my system
Back to top
View user's profile Send private message
Etal
Veteran
Veteran


Joined: 15 Jul 2005
Posts: 1932

PostPosted: Sat Jan 08, 2022 9:42 pm    Post subject: Reply with quote

Can you try it using "su -" instead of just "su" as Hu suggested? This will ensure that you're running with root's environment rather than your user's.

If it still fails, can you run "javac -version" as root?

The other option is to unset the "java" USE flag. If you don't know if you need it, you most likely don't.
Back to top
View user's profile Send private message
Krog
Guru
Guru


Joined: 26 Jun 2007
Posts: 339
Location: Roma, Italy

PostPosted: Sat Jan 08, 2022 10:53 pm    Post subject: Reply with quote

Etal wrote:
Can you try it using "su -" instead of just "su" as Hu suggested? This will ensure that you're running with root's environment rather than your user's.

If it still fails, can you run "javac -version" as root?

The other option is to unset the "java" USE flag. If you don't know if you need it, you most likely don't.


Code:

krog@KROGPC-SKYLAKE /mnt/home/krog $ su -
Password:
KROGPC-SKYLAKE ~ # emerge --oneshot libidn

These are the packages that would be merged, in order:

Calculating dependencies                    ... done!           
[ebuild   R    ] net-dns/libidn-1.38-r1:0/12::gentoo  USE="java nls -doc -emacs -mono -verify-sig" ABI_X86="32 (64) (-x32)" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

>>> Verifying ebuild manifests
>>> Emerging (1 of 1) net-dns/libidn-1.38-r1::gentoo
>>> Failed to emerge net-dns/libidn-1.38-r1
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 1.15, 0.81, 0.67

 * Error messages for package net-dns/libidn-1.38-r1:

 * ERROR: net-dns/libidn-1.38-r1::gentoo failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *               ebuild.sh, line  127:  Called src_configure
 *             environment, line 3472:  Called multilib-minimal_src_configure
 *             environment, line 2865:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *             environment, line 3132:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *             environment, line 2795:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *             environment, line 2793:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *             environment, line  420:  Called multilib-minimal_abi_src_configure
 *             environment, line 2859:  Called multilib_src_configure
 *             environment, line 3354:  Called econf '--enable-java' '--disable-csharp' '--enable-nls' '--disable-static' '--disable-valgrind-tests' '--with-lispdir=/usr/share/emacs/site-lisp/libidn' '--with-packager-bug-reports=https://bugs.gentoo.org' '--with-packager-version=rr1' '--with-packager=Gentoo Linux'
 *        phase-helpers.sh, line  711:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *              die "$@"
 *
 * If you need support, post the output of `emerge --info '=net-dns/libidn-1.38-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-dns/libidn-1.38-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-dns/libidn-1.38-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-dns/libidn-1.38-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/net-dns/libidn-1.38-r1/work/libidn-1.38-abi_x86_64.amd64'
 * S: '/var/tmp/portage/net-dns/libidn-1.38-r1/work/libidn-1.38'
 *
 * The following package has failed to build, install, or execute postinst:
 *
 *  (net-dns/libidn-1.38-r1:0/12::gentoo, ebuild scheduled for merge)
 *
KROGPC-SKYLAKE ~ # javac -version
-su: javac: command not found
KROGPC-SKYLAKE ~ #
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31288
Location: here

PostPosted: Sun Jan 09, 2022 7:41 am    Post subject: Reply with quote

For some reason in your system is missing link
Code:
# ls -l /usr/bin/javac
lrwxrwxrwx 1 root root 44 Nov 16 18:25 /usr/bin/javac -> /usr/libexec/eselect-java/run-java-tool.bash

This is provided by app-eselect/eselect-java package, so try to rebuild it
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
sabayonino
Veteran
Veteran


Joined: 03 Jan 2012
Posts: 1040

PostPosted: Sun Jan 09, 2022 8:20 am    Post subject: Reply with quote

Krog wrote:
fedeliallalinea wrote:
Krog wrote:
fedeliallalinea wrote:
Try to set the javavm again eselect java-vm set system icedtea-bin-8


done many times :-(

Based on what Hu said you probably solve it by also setting javavm for the user (eselect java-vm set user icedtea-bin-8).


as root:

KROGPC-SKYLAKE ~ # eselect java-vm set user icedtea-bin-8
!!! Error: Sorry, you cannot set a user VM as root. Set the system VM instead
exiting
KROGPC-SKYLAKE ~ #


as user, done too... it is the only vm in my system


Hi Krog

you can not run "eselect java-vm set user" as root

use

Code:
# eselect java-vm set system <VM>
instead

or as your user set Java-VM
Code:
$ eselect java-vm set user <VM>


------
List USER java-vm available
Code:
$ eselect java-vm list
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm


Set USER java-vm
Code:

$ eselect java-vm set user 1


Show Java-VM for SYSTEM
Code:
# eselect java-vm show system
Current system-vm
  icedtea-bin-8


Show/Set SYSTEM Java-VM
Code:

eselect java-vm show system
Current system-vm
  icedtea-bin-8

_________________
LRS 64/32 on G.Drive
Back to top
View user's profile Send private message
Krog
Guru
Guru


Joined: 26 Jun 2007
Posts: 339
Location: Roma, Italy

PostPosted: Sun Jan 09, 2022 4:45 pm    Post subject: Reply with quote

fedeliallalinea wrote:
For some reason in your system is missing link
Code:
# ls -l /usr/bin/javac
lrwxrwxrwx 1 root root 44 Nov 16 18:25 /usr/bin/javac -> /usr/libexec/eselect-java/run-java-tool.bash

This is provided by app-eselect/eselect-java package, so try to rebuild it


this solved the problem! thank you!!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum