It is not possible to build icedtea without icedtea-bin which can be a problem because on old Linuxes icedtea-bin might be compiled with a newer libgc (for example CentOS 6.5). Reproducible: Always Steps to Reproduce: 1.Make a fresh install of gentoo-prefix on CentOS6.x 2.Emerge icedtea-web 3. Actual Results: * Package: dev-java/icedtea-3.7.0 * Repository: gentoo * Maintainer: gnu_andrew@member.fsf.org chewi@gentoo.org,java@gentoo.org,proxy-maint@gentoo.org * USE: abi_x86_64 alsa amd64 elibc_glibc gtk jbootstrap kernel_linux pch prefix source sunec userland_GNU webstart * FEATURES: preserve-libs * Checking for at least 8500 MiB disk space at "/home/*******/gentoo/var/tmp/portage/dev-java/icedtea-3.7.0/temp" ... [ ok ] * Using: icedtea-bin-8 >>> Unpacking source... >>> Unpacking icedtea-3.7.0.tar.xz to /home/*******/gentoo/var/tmp/portage/dev-java/icedtea-3.7.0/work >>> Source unpacked in /home/*******/gentoo/var/tmp/portage/dev-java/icedtea-3.7.0/work >>> Preparing source in /home/*******/gentoo/var/tmp/portage/dev-java/icedtea-3.7.0/work/icedtea-3.7.0 ... >>> Source prepared. >>> Configuring source in /home/*******/gentoo/var/tmp/portage/dev-java/icedtea-3.7.0/work/icedtea-3.7.0 ... * econf: updating icedtea-3.7.0/config.guess with /home/*******/gentoo/usr/share/gnuconfig/config.guess * econf: updating icedtea-3.7.0/config.sub with /home/*******/gentoo/usr/share/gnuconfig/config.sub ./configure --prefix=/home/*******/gentoo/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/home/*******/gentoo/usr/share/man --infodir=/home/*******/gentoo/usr/share/info --datadir=/home/*******/gentoo/usr/share --sysconfdir=/home/*******/gentoo/etc --localstatedir=/home/*******/gentoo/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/home/*******/gentoo/usr/share/doc/icedtea-3.7.0 --htmldir=/home/*******/gentoo/usr/share/doc/icedtea-3.7.0/html --libdir=/home/*******/gentoo/usr/lib64/icedtea8/lib64 --enable-bootstrap --disable-ccache --enable-precompiled-headers --with-parallel-jobs=8 --with-openjdk-src-zip=/home/*******/gentoo/var/tmp/portage/dev-java/icedtea-3.7.0/distdir/icedtea-3.7-openjdk-644bdc77dd18.tar.xz --with-corba-src-zip=/home/*******/gentoo/var/tmp/portage/dev-java/icedtea-3.7.0/distdir/icedtea-3.7-corba-872ca6c060bb.tar.xz --with-jaxp-src-zip=/home/*******/gentoo/var/tmp/portage/dev-java/icedtea-3.7.0/distdir/icedtea-3.7-jaxp-154d73707643.tar.xz --with-jaxws-src-zip=/home/*******/gentoo/var/tmp/portage/dev-java/icedtea-3.7.0/distdir/icedtea-3.7-jaxws-3f0a3aea44b4.tar.xz --with-jdk-src-zip=/home/*******/gentoo/var/tmp/portage/dev-java/icedtea-3.7.0/distdir/icedtea-3.7-jdk-80cebaab0ba5.tar.xz --with-langtools-src-zip=/home/*******/gentoo/var/tmp/portage/dev-java/icedtea-3.7.0/distdir/icedtea-3.7-langtools-0a2dce555d35.tar.xz --with-nashorn-src-zip=/home/*******/gentoo/var/tmp/portage/dev-java/icedtea-3.7.0/distdir/icedtea-3.7-nashorn-136ab780f038.tar.xz --with-cacao-src-zip=/home/*******/gentoo/var/tmp/portage/dev-java/icedtea-3.7.0/distdir/icedtea-cacao-c182f119eaad.tar.xz --with-jamvm-src-zip=/home/*******/gentoo/var/tmp/portage/dev-java/icedtea-3.7.0/distdir/icedtea-jamvm-ec18fb9e49e62dce16c5094ef1527eed619463aa.tar.gz --with-jdk-home=/home/*******/gentoo/opt/icedtea-bin-3.7.0 --prefix=/home/*******/gentoo/usr/lib64/icedtea8 --mandir=/home/*******/gentoo/usr/lib64/icedtea8/man --docdir=/home/*******/gentoo/usr/share/doc/icedtea-3.7.0 --htmldir=/home/*******/gentoo/usr/share/doc/icedtea-3.7.0/html --with-pkgversion=Gentoo icedtea-3.7.0 --disable-downloading --disable-Werror --disable-tests --enable-system-lcms --enable-system-jpeg --enable-system-zlib --disable-systemtap-tests --enable-improved-font-rendering --disable-headless --enable-system-gif --enable-system-png --disable-docs --disable-system-kerberos --without-pax --disable-system-sctp --disable-system-pcsc --enable-sunec --with-hotspot-src-zip=/home/*******/gentoo/var/tmp/portage/dev-java/icedtea-3.7.0/distdir/icedtea-3.7-hotspot-074a569c30e4.tar.xz checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /home/*******/gentoo/usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /home/*******/gentoo/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking how to create a pax tar archive... gnutar checking whether to enable maintainer-specific portions of Makefiles... yes checking which branch and release of IcedTea is being built... branch 3.7, release 3.7.0 for OpenJDK 1.8.0 checking for x86_64-pc-linux-gnu-gcc... x86_64-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 x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking dependency style of x86_64-pc-linux-gnu-g++... none checking for gmake... /home/*******/gentoo/usr/bin/gmake checking for x86_64-pc-linux-gnu-gzip... no checking for gzip... /home/*******/gentoo/bin/gzip checking for gfind... no checking for find... /home/*******/gentoo/usr/bin/find checking for gpatch... no checking for patch... /home/*******/gentoo/usr/bin/patch checking for gtar... /home/*******/gentoo/bin/gtar checking for x86_64-pc-linux-gnu-chmod... no checking for chmod... /home/*******/gentoo/bin/chmod checking for gsha256sum... no checking for sha256sum... /home/*******/gentoo/usr/bin/sha256sum checking for x86_64-pc-linux-gnu-zip... no checking for zip... /home/*******/gentoo/usr/bin/zip checking for x86_64-pc-linux-gnu-unzip... no checking for unzip... /home/*******/gentoo/usr/bin/unzip checking for x86_64-pc-linux-gnu-cpio... no checking for cpio... /home/*******/gentoo/bin/cpio checking for x86_64-pc-linux-gnu-file... no checking for file... /home/*******/gentoo/usr/bin/file checking for x86_64-pc-linux-gnu-readlink... no checking for readlink... /home/*******/gentoo/usr/bin/readlink checking for fastjar... /usr/bin/fastjar checking for gsed... no checking for sed... /home/*******/gentoo/bin/sed checking for x86_64-pc-linux-gnu-ldd... no checking for ldd... ldd checking for x86_64-pc-linux-gnu-gawk... no checking for gawk... /home/*******/gentoo/usr/bin/gawk checking for x86_64-pc-linux-gnu-which... no checking for which... /home/*******/gentoo/usr/bin/which checking for x86_64-pc-linux-gnu-perl... no checking for perl... /home/*******/gentoo/usr/bin/perl checking for x86_64-pc-linux-gnu-lsb_release... no checking for lsb_release... /home/*******/gentoo/usr/bin/lsb_release checking for x86_64-pc-linux-gnu-linux32... no checking for linux32... /home/*******/gentoo/usr/bin/linux32 checking for x86_64-pc-linux-gnu-hg... no checking for hg... no checking for an OpenJDK source directory... /home/*******/gentoo/var/tmp/portage/dev-java/icedtea-3.7.0/work/icedtea-3.7.0/openjdk checking for x86_64-pc-linux-gnu-rmdir... no checking for rmdir... /home/*******/gentoo/bin/rmdir checking if /home/*******/gentoo/bin/rmdir supports --ignore-fail-on-non-empty... yes configure: Default HotSpot build on this architecture is default checking which HotSpot build to use... default checking if HotSpot build default works on x86_64... yes checking version of GCC... 7.3.0 (major version 7, minor version 3) checking for x86_64-pc-linux-gnu-getconf... no checking for getconf... /home/*******/gentoo/usr/bin/getconf checking the number of online processors... 16 checking if cp supports --reflink... yes checking if we can hard link rather than copy from /home/*******/gentoo/var/tmp/portage/dev-java/icedtea-3.7.0/work/icedtea-3.7.0... yes checking whether to disable the execution of the JTReg tests... yes checking whether to disable the execution of the HotSpot JTReg tests... no checking whether to disable the execution of the langtools JTReg tests... no checking whether to disable the execution of the JDK JTReg tests... no checking whether to disable the execution of the SystemTap tests... yes checking for system library directory... /usr/lib checking for x86_64-pc-linux-gnu-pkg-config... /home/*******/gentoo/usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking whether to enable the PKCS11 crypto provider using NSS... disabled by default (edit java.security to enable) checking for NSS... yes checking whether to enable the Sun elliptic curve crypto provider... yes checking for NSS_SOFTOKN... yes checking for NSS_JAVA... no checking whether to build native code with debugging information... yes checking whether to build Java bytecode with debugging information... yes checking whether to disable the use of pre-compiled headers... no checking for xvfb-run... no checking whether to build documentation... no checking for distribution package version... Gentoo icedtea-3.7.0 checking build identification... Gentoo Base System release 2.4.1, package Gentoo icedtea-3.7.0 checking how many parallel build jobs to execute... 8 checking whether to build a bootstrap version first... yes checking whether to download tarballs... no checking for a JDK home directory... /home/*******/gentoo/opt/icedtea-bin-3.7.0 checking if a java binary was specified... no checking if /home/*******/gentoo/opt/icedtea-bin-3.7.0/bin/java is a valid executable file... yes checking if a javac binary was specified... no checking if /home/*******/gentoo/opt/icedtea-bin-3.7.0/bin/javac is a valid executable file... yes checking if an ecj binary was specified... no checking if /usr/bin/ecj is a valid executable file... checking for ecj... no checking for ecj-3.1... no checking for ecj-3.2... no checking for ecj-3.3... no checking for ecj-3.4... no checking if we are using ecj as javac... no checking if a javah executable is specified... no checking if /home/*******/gentoo/opt/icedtea-bin-3.7.0/bin/javah is a valid executable file... yes checking if a jar executable is specified... no checking if /home/*******/gentoo/opt/icedtea-bin-3.7.0/bin/jar is a valid executable file... yes checking whether jar supports @<file> argument... no checking whether jar supports stdin file arguments... no checking whether jar supports -J options at the end... no checking if an rmic executable is specified... no checking if /home/*******/gentoo/opt/icedtea-bin-3.7.0/bin/rmic is a valid executable file... yes checking if a native2ascii binary was specified... no checking if /home/*******/gentoo/opt/icedtea-bin-3.7.0/bin/native2ascii is a valid executable file... yes checking if we are using CACAO as the build VM... no checking for an ecj JAR file... no checking whether to enable Java compiler warnings... no checking if javac lacks support for the diamond operator... yes configure: error: /home/*******/gentoo/opt/icedtea-bin-3.7.0/bin/javac does not support the diamond operator !!! Please attach the following file when seeking support: !!! /home/*******/gentoo/var/tmp/portage/dev-java/icedtea-3.7.0/work/icedtea-3.7.0/config.log * ERROR: dev-java/icedtea-3.7.0::gentoo failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 124: Called src_configure * environment, line 4783: Called econf '--enable-bootstrap' '--disable-ccache' '--enable-precompiled-headers' '--with-parallel-jobs=8' '--with-openjdk-src-zip=/home/*******/gentoo/var/tmp/portage/dev-java/icedtea-3.7.0/distdir/icedtea-3.7-openjdk-644bdc77dd18.tar.xz' '--with-corba-src-zip=/home/*******/gentoo/var/tmp/portage/dev-java/icedtea-3.7.0/distdir/icedtea-3.7-corba-872ca6c060bb.tar.xz' '--with-jaxp-src-zip=/home/*******/gentoo/var/tmp/portage/dev-java/icedtea-3.7.0/distdir/icedtea-3.7-jaxp-154d73707643.tar.xz' '--with-jaxws-src-zip=/home/*******/gentoo/var/tmp/portage/dev-java/icedtea-3.7.0/distdir/icedtea-3.7-jaxws-3f0a3aea44b4.tar.xz' '--with-jdk-src-zip=/home/*******/gentoo/var/tmp/portage/dev-java/icedtea-3.7.0/distdir/icedtea-3.7-jdk-80cebaab0ba5.tar.xz' '--with-langtools-src-zip=/home/*******/gentoo/var/tmp/portage/dev-java/icedtea-3.7.0/distdir/icedtea-3.7-langtools-0a2dce555d35.tar.xz' '--with-nashorn-src-zip=/home/*******/gentoo/var/tmp/portage/dev-java/icedtea-3.7.0/distdir/icedtea-3.7-nashorn-136ab780f038.tar.xz' '--with-cacao-src-zip=/home/*******/gentoo/var/tmp/portage/dev-java/icedtea-3.7.0/distdir/icedtea-cacao-c182f119eaad.tar.xz' '--with-jamvm-src-zip=/home/*******/gentoo/var/tmp/portage/dev-java/icedtea-3.7.0/distdir/icedtea-jamvm-ec18fb9e49e62dce16c5094ef1527eed619463aa.tar.gz' '--with-jdk-home=/home/*******/gentoo/opt/icedtea-bin-3.7.0' '--prefix=/home/*******/gentoo/usr/lib64/icedtea8' '--mandir=/home/*******/gentoo/usr/lib64/icedtea8/man' '--docdir=/home/*******/gentoo/usr/share/doc/icedtea-3.7.0' '--htmldir=/home/*******/gentoo/usr/share/doc/icedtea-3.7.0/html' '--with-pkgversion=Gentoo icedtea-3.7.0' '--disable-downloading' '--disable-Werror' '--disable-tests' '--enable-system-lcms' '--enable-system-jpeg' '--enable-system-zlib' '--disable-systemtap-tests' '--enable-improved-font-rendering' '--disable-headless' '--enable-system-gif' '--enable-system-png' '--disable-docs' '--disable-system-kerberos' '--without-pax' '--disable-system-sctp' '--disable-system-pcsc' '--enable-sunec' '--with-hotspot-src-zip=/home/*******/gentoo/var/tmp/portage/dev-java/icedtea-3.7.0/distdir/icedtea-3.7-hotspot-074a569c30e4.tar.xz' * phase-helpers.sh, line 718: Called __helpers_die 'econf failed' * isolated-functions.sh, line 121: Called die * The specific snippet of code: * die "$@" * * If you need support, post the output of `emerge --info '=dev-java/icedtea-3.7.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-java/icedtea-3.7.0::gentoo'`. !!! When you file a bug report, please include the following information: GENTOO_VM=icedtea-bin-8 CLASSPATH="" JAVA_HOME="" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info =icedtea-3.7.0 * The complete build log is located at '/home/*******/gentoo/var/tmp/portage/dev-java/icedtea-3.7.0/temp/build.log'. * The ebuild environment file is located at '/home/*******/gentoo/var/tmp/portage/dev-java/icedtea-3.7.0/temp/environment'. * Working directory: '/home/*******/gentoo/var/tmp/portage/dev-java/icedtea-3.7.0/work/icedtea-3.7.0' * S: '/home/*******/gentoo/var/tmp/portage/dev-java/icedtea-3.7.0/work/icedtea-3.7.0'
(In reply to sabxine from comment #0) > 2.Emerge icedtea-web You never get to that point so it's immaterial whether your target package was dev-java/icedtea or dev-java/icedtea-web: > * Package: dev-java/icedtea-3.7.0 ^^ That's not a problem with icedtea-web. > configure: error: /home/*******/gentoo/opt/icedtea-bin-3.7.0/bin/javac does > not support the diamond operator > > !!! Please attach the following file when seeking support: > !!! > /home/*******/gentoo/var/tmp/portage/dev-java/icedtea-3.7.0/work/icedtea-3.7. > 0/config.log Where is it? > * If you need support, post the output of `emerge --info > '=dev-java/icedtea-3.7.0::gentoo'`, > * the complete build log and the output of `emerge -pqv > '=dev-java/icedtea-3.7.0::gentoo'`. Where are these?
You can take the gcj route while it's still available (unmask gcc 5) and you'll have to build Java 7 from java-overlay before you can get to Java 8. I don't know what else you expect us to do? I already build icedtea-bin against the oldest unmasked glibc version that we have, which admittedly isn't all that old, but I'm not going out of my way to support prefix. As much as I hate to suggest it, oracle-jdk-bin will probably work. I gather you can even build icedtea with it if you apply a bit of force but I've never tried it myself.
Just remembered there's also Gentoo Prefix RAP, which will give you a new libc, but I can't find much information on it now. Ask the prefix guys about it.
Thanks to the too long comment node all the note I wrote evaporated!! :'( here it goes again. (If it doesn't sound as nice as the first time just keep in mind that there is a frustration of rewriting the whole thing I did) Hello to the hardworking guys and gals at Gentoo community! I am extremely thankful that you guys go out of your way to have such a support for a free platform. Thank you all! Honestly I didn't think you guys are gonna get back to me so soon, otherwise I would have been more careful in writing the details, or if anybody would read this for that matter. But I am happy that you did and I am sorry I wasn't clear in the beginning. I have attached all the things I was supposed to now. But the story as far as my noob knowledge goes is that: Emerging icedtea needs a vm and icedtea uses icedtea bin for that icedtea-bin does not run (although it emerges) with javac giving me: `/home/*******/gentoo/opt/icedtea-bin-3.7.0/bin/javac: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /home/*******/gentoo/opt/icedtea-bin-3.7.0/bin/../lib/amd64/jli/libjli.so)` Anyway as @James Le Cuirot also pointed out I build icedtea from source myself with some force and flag settings and all that. Thanks again for this great prefix that gives poeple like me the previlege of installing packages without root access so easily. Let me know if I can be of more help....
Created attachment 531258 [details] Result of emerge -pqv '=dev-java/icedtea-3.7.0::gentoo'
Created attachment 531260 [details] Results of emerge --info '=dev-java/icedtea-3.7.0::gentoo'
Created attachment 531262 [details] Results of /home/*********/gentoo/var/tmp/portage/dev-java/icedtea-3.7.0/work/icedtea-3.7.0/config.log