When compiling icedtea-web, I get: * ERROR: dev-java/icedtea-web-1.1.3-r7 failed (configure phase): * Unexpected install location of IcedTea7 Reproducible: Always
Created attachment 291799 [details] emerge --info
Created attachment 291801 [details] Build log
What version(s) of dev-java/icedtea are installed?
6.1.10.4 and 7.2.0-r1 I have noticed one more strange thing: eselect java-vm list says: Available Java Virtual Machines: grep: /usr/share/java-config-2/vm/icedtea7: No such file or directory [1] icedtea6 system-vm user-vm [2] icedtea7 [3] icedtea-7 [4] oracle-jdk-bin-1.7
Please do a "rm /usr/lib/jvm/icedtea7" and both problems should go away. I am not sure how this could happen. Are you using portage, paludis or what.
(In reply to comment #5) > Please do a "rm /usr/lib/jvm/icedtea7" and both problems should go away. > I am not sure how this could happen. Are you using portage, paludis or what. Thank you, that helped. I am using the latest portage from ~amd64.
although I did not have the eselect error I did have the failed emerge of icedtea-web as reported.. same error. my eselect is: eselect java-vm list Available Java Virtual Machines: [1] icedtea-7 [2] icedtea6-bin system-vm If I do a rm /usr/lib/jvm/icedtea7 I get: rm /usr/lib/jvm/icedtea7 rm: cannot remove `/usr/lib/jvm/icedtea7': No such file or directory here's more: # rm /usr/lib/jvm/icedtea rm: cannot remove `/usr/lib/jvm/icedtea': No such file or directory jamd ~ # ls -la /usr/lib/jvm/ total 156 drwxr-xr-x 2 root root 4096 Nov 4 23:35 . drwxr-xr-x 173 root root 151552 Nov 5 23:30 .. lrwxrwxrwx 1 root root 19 Nov 4 23:35 icedtea-7 -> /usr/lib64/icedtea7 lrwxrwxrwx 1 root root 24 Oct 22 23:46 icedtea6-bin -> /opt/icedtea6-bin-1.10.4 jamd ~ # rm /usr/lib/jvm/icedtea-7/ rm: cannot remove `/usr/lib/jvm/icedtea-7/': Is a directory jamd ~ # rm -r /usr/lib/jvm/icedtea-7/ rm: cannot remove `/usr/lib/jvm/icedtea-7': Too many levels of symbolic links
(In reply to comment #7) > although I did not have the eselect error I did have the failed emerge of > icedtea-web as reported.. same error. > > my eselect is: > > eselect java-vm list > Available Java Virtual Machines: > [1] icedtea-7 > [2] icedtea6-bin system-vm > > > If I do a rm /usr/lib/jvm/icedtea7 I get: > rm /usr/lib/jvm/icedtea7 > rm: cannot remove `/usr/lib/jvm/icedtea7': No such file or directory > > here's more: > # rm /usr/lib/jvm/icedtea > rm: cannot remove `/usr/lib/jvm/icedtea': No such file or directory > jamd ~ # ls -la /usr/lib/jvm/ > total 156 > drwxr-xr-x 2 root root 4096 Nov 4 23:35 . > drwxr-xr-x 173 root root 151552 Nov 5 23:30 .. > lrwxrwxrwx 1 root root 19 Nov 4 23:35 icedtea-7 -> /usr/lib64/icedtea7 > lrwxrwxrwx 1 root root 24 Oct 22 23:46 icedtea6-bin -> > /opt/icedtea6-bin-1.10.4 > jamd ~ # rm /usr/lib/jvm/icedtea-7/ > rm: cannot remove `/usr/lib/jvm/icedtea-7/': Is a directory > jamd ~ # rm -r /usr/lib/jvm/icedtea-7/ > rm: cannot remove `/usr/lib/jvm/icedtea-7': Too many levels of symbolic links first two lines after "here's more:" were a mistake..
Something like this happens here: configure: error: "A JDK home directory could not be found." and config fails.
(In reply to comment #9) > Something like this happens here: > > configure: error: "A JDK home directory could not be found." > > and config fails. Please attach a full build log and emerge --info output. Also randomly trying to rm stuff is not a good idea. It seems you didn't succeed on removing anything, luckily.
That's how it goes build log: Calculating dependencies ....... done! >>> Verifying ebuild manifests >>> Emerging (1 of 1) dev-java/icedtea-web-1.1.3-r7 * icedtea-web-1.1.3.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * Forced vm icedtea-7 * Using: icedtea-7 >>> Unpacking source... >>> Unpacking icedtea-web-1.1.3.tar.gz to /var/tmp/portage/dev-java/icedtea-web-1.1.3-r7/work >>> Source unpacked in /var/tmp/portage/dev-java/icedtea-web-1.1.3-r7/work >>> Preparing source in /var/tmp/portage/dev-java/icedtea-web-1.1.3-r7/work/icedtea-web-1.1.3 ... * Applying 0002-Respect-LDFLAGS.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/dev-java/icedtea-web-1.1.3-r7/work/icedtea-web-1.1.3' ... * Running aclocal ... [ ok ] * Running autoconf ... [ ok ] * Running automake --add-missing --copy ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-java/icedtea-web-1.1.3-r7/work/icedtea-web-1.1.3 ... * Installing IcedTea-Web in /opt/icedtea7-web-bin * Installing IcedTea-Web for Icedtea7 in * econf: updating icedtea-web-1.1.3/config.guess with /usr/share/gnuconfig/config.guess * econf: updating icedtea-web-1.1.3/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --prefix=/opt/icedtea7-web-bin --mandir=/man --infodir=/opt/icedtea7-web-bin/share/info --datadir=/opt/icedtea7-web-bin/share --with-jdk-home= --disable-docs --enable-plugin checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking how to create a pax tar archive... gnutar checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of i686-pc-linux-gnu-gcc... none checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether i686-pc-linux-gnu-g++ accepts -g... yes checking dependency style of i686-pc-linux-gnu-g++... none checking if cp supports --reflink... yes checking if we can hard link rather than copy from /var/tmp/portage/dev-java/icedtea-web-1.1.3-r7/work/icedtea-web-1.1.3... yes checking whether to build documentation... no checking whether to compile ecj natively... no checking for i686-pc-linux-gnu-zip... no checking for zip... /usr/bin/zip checking for a JDK home directory... configure: error: "A JDK home directory could not be found." !!! Please attach the following file when seeking support: !!! /var/tmp/portage/dev-java/icedtea-web-1.1.3-r7/work/icedtea-web-1.1.3/config.log * ERROR: dev-java/icedtea-web-1.1.3-r7 failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 56: Called src_configure * environment, line 4898: Called econf '--prefix=/opt/icedtea7-web-bin' '--mandir=/man' '--infodir=/opt/icedtea7-web-bin/share/info' '--datadir=/opt/icedtea7-web-bin/share' '--with-jdk-home=' '--disable-docs' '--enable-plugin' * ebuild.sh, line 561: Called die * The specific snippet of code: * die "econf failed" * * If you need support, post the output of 'emerge --info =dev-java/icedtea-web-1.1.3-r7', * the complete build log and the output of 'emerge -pqv =dev-java/icedtea-web-1.1.3-r7'. !!! When you file a bug report, please include the following information: GENTOO_VM=icedtea-7 CLASSPATH="" JAVA_HOME="" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info * The complete build log is located at '/var/tmp/portage/dev-java/icedtea-web-1.1.3-r7/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-java/icedtea-web-1.1.3-r7/temp/environment'. * S: '/var/tmp/portage/dev-java/icedtea-web-1.1.3-r7/work/icedtea-web-1.1.3' >>> Failed to emerge dev-java/icedtea-web-1.1.3-r7, Log file: >>> '/var/tmp/portage/dev-java/icedtea-web-1.1.3-r7/temp/build.log' and emerge --info: Portage 2.1.10.11 (default/linux/x86/10.0/desktop, gcc-4.5.3, glibc-2.12.2-r0, 3.0.6-gentoo i686) ================================================================= System uname: Linux-3.0.6-gentoo-i686-AMD_Sempron-TM-_2600+-with-gentoo-2.0.3 Timestamp of tree: Tue, 08 Nov 2011 08:50:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.2-r3, 3.1.4-r3 dev-util/ccache: 2.4-r9 dev-util/cmake: 2.8.4-r1 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.0.3 sys-apps/openrc: 0.8.3-r1 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.5.3-r1 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 2.6.39 (virtual/os-headers) sys-libs/glibc: 2.12.2 Repositories: gentoo sunrise steev x-local ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA dlj-1.1 skype-eula AdobeFlash-10 AdobeFlash-10.1 googleearth google-talkplugin google-chrome Oracle-BCLA-JavaSE" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=native -fomit-frame-pointer -fno-ident -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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="-O2 -march=native -fomit-frame-pointer -fno-ident -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ ftp://mirrors.linuxant.fr/distfiles.gentoo.org/ http://mirrors.sohu.com/gentoo/" LANG="pl_PL.UTF-8" LC_ALL="pl_PL.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="pl" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/steev /usr/portage/local/local" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="16bit 3dnow 3dnowext X a52 aac acpi amr amrnb amrwb amuled arj artworkextra asf asm atm avahi berkdb bidi boost branding browserplugin bzip2 cairo ccache cdda cddb cdparanoia cdr cjk cleartype cli consolekit cracklib crypt css cups curl cxx daemon dbus dhcp djvu dri dts dvd dvdnav dvdr emboss enca encode exif extraicons extramodules fam fat ffmpeg firefox firefox3 flac fontconfig fortran fuse gadu gdbm gdu geoip gif gkrellm glibc-omitfp glitz gmail gpm gtk gtkstyle gzip hddtemp iconv idn imap iproute2 jpeg lame lcdfilter lha libkms libnotify live lm_sensors logitech-mouse logrotate lxde lzma mad matroska mmap mmkeys mms mmx mmxext mng modules mp3 mp4 mpeg mplayer mudflap musepack ncurses network nfs nls nonfsv4 nptl nptlonly nsplugin nvidia ogg opengl openmp optimized-qmake pam pango pch pcre pdf png policykit pop ppds pppd pulseaudio python3 qt3support qt4 rar readline remote rtsp scrobbler sdl session sound srt sse ssl startup-notification stream subtitles svg sysfs t1lib tcpd theora thunar tiff trayicon truetype udev unicode usb userlocales vcd vorbis vorbis-psy vpx wavpack webdav webkit win32codecs wma wmp wxwindows x264 x86 xattr xcb xcomposite xml xorg xosd xrandr xulrunner xv xvid yahoo zip zlib" ALSA_CARDS="via82xx usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 stage tables krita karbon braindump" CAMERAS="canon ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INITNG_PLUGINS="also bash_launcher chdir chroot conflict cpout critical ctrlaltdel daemon_clean debug_commands envparser find fmon fstat history idleprobe initctl interactive iparser last limit lockfile logfile netdev netprobe ngc4 ngcs nge pause provide reload renice rlparser simple_launcher stcmd stdout suid syncron syslog sysreq unneeded usplash" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" 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: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
So it seems you enabled USE=build, which should not be used by end users: # euse -i build global use flags (searching: build) ************************************************************ [- ] build - !!internal use only!! DO NOT SET THIS FLAG YOURSELF!, used for creating build images and the first half of bootstrapping [make stage1]
New icedtea ebuilds all actively remove stale symlinks. As such this shouldn't be possible anymore.