On Sun, Mar 23, 2014 at 01:01:18PM +1300, m...@pc-networking-services.com wrote: > Hello, > > Well this is ridiculous. I have reached the point after a few days of > installing the systemd 7.5 version of LFS, and going through the > configuration of quite a number of other packages following BLFS 7.5 > stable to the point of having a working graphical interface, so decide now > is a good time to install java again. > > I set everything up as per the instructions, which I did when I first set > it up following the previous version of LFS. > > This time round though I can NOT even get the blasted thing to compile. I > have even reverted back to the iced tea 2.4.1 and get EXACTLY the same > message. > > Please note that in between changing the versions I have deleted the files > for the CURRENT 7.5 stable version. The only thing that I did not do was > to delete /usr/share/java before extracting the earlier binary and > supporting files. > > BOOT_JAR_CMD = /opt/icedtea-2.4.1/bootstrap/jdk1.6.0/bin/jar > BOOT_JARSIGNER_CMD = /opt/icedtea-2.4.1/bootstrap/jdk1.6.0/bin/jarsigner > JAVAC_CMD = > JAVAH_CMD = > JAVADOC_CMD = > > Build Platform Settings: > USER = root > PLATFORM = linux > ARCH = i586 > LIBARCH = i386 > ARCH_FAMILY = i586 > ARCH_DATA_MODEL = 32 > ARCHPROP = i386 > ALSA_VERSION = 1.0.27.2 > OS_VERSION = 3.13.3 [requires at least 2.6] > OS_VARIANT_NAME = Linux From Scratch > OS_VARIANT_VERSION = 7.5-systemd > MB_OF_MEMORY = 1504 > > GNU Make Settings: > MAKE = /usr/bin/make > MAKECMDGOALS = sanity > MAKEFLAGS = w > SHELL = /bin/sh > > Target Build Versions: > JDK_VERSION = 1.7.0_40External File/Binary Locations: > USRJDKINSTANCES_PATH = /opt/java > BUILD_JDK_IMPORT_PATH = /NOT-SET/re/jdk/1.7.0_40/promoted/latest/binaries > ALT_BUILD_JDK_IMPORT_PATH = > JDK_IMPORT_PATH = /opt/icedtea-2.4.1/bootstrap/jdk1.6.0 > ALT_JDK_IMPORT_PATH = /opt/icedtea-2.4.1/bootstrap/jdk1.6.0 > LANGTOOLS_DIST = > ALT_LANGTOOLS_DIST = /opt/icedtea-2.4.1/openjdk.build-boot/langtools/dist > CORBA_DIST = > ALT_CORBA_DIST = /opt/icedtea-2.4.1/openjdk.build-boot/corba/dist > JAXP_DIST = > ALT_JAXP_DIST = /opt/icedtea-2.4.1/openjdk.build-boot/jaxp/dist > JAXWS_DIST = > ALT_JAXWS_DIST = /opt/icedtea-2.4.1/openjdk.build-boot/jaxws/dist > HOTSPOT_DOCS_IMPORT_PATH = /NO_DOCS_DIR > ALT_HOTSPOT_DOCS_IMPORT_PATH = > HOTSPOT_IMPORT_PATH = /opt/icedtea-2.4.1/openjdk.build-boot/hotspot/import > ALT_HOTSPOT_IMPORT_PATH = > /opt/icedtea-2.4.1/openjdk.build-boot/hotspot/import > HOTSPOT_CLIENT_PATH = > /opt/icedtea-2.4.1/openjdk.build-boot/hotspot/import/jre/lib/i386/client > ALT_HOTSPOT_CLIENT_PATH = > HOTSPOT_SERVER_PATH = > /opt/icedtea-2.4.1/openjdk.build-boot/hotspot/import/jre/lib/i386/server > ALT_HOTSPOT_SERVER_PATH = > CACERTS_FILE = ./../src/share/lib/security/cacerts > ALT_CACERTS_FILE = > CUPS_HEADERS_PATH = /usr/include > ALT_CUPS_HEADERS_PATH = > > OpenJDK-specific settings: > FREETYPE_HEADERS_PATH = /usr/include > ALT_FREETYPE_HEADERS_PATH = > FREETYPE_LIB_PATH = /usr/lib > ALT_FREETYPE_LIB_PATH = > > Previous JDK Settings: > PREVIOUS_RELEASE_PATH = USING-PREVIOUS_RELEASE_IMAGE > ALT_PREVIOUS_RELEASE_PATH = > PREVIOUS_JDK_VERSION = 1.6.0 > ALT_PREVIOUS_JDK_VERSION = > PREVIOUS_JDK_FILE = > ALT_PREVIOUS_JDK_FILE = > PREVIOUS_JRE_FILE = > ALT_PREVIOUS_JRE_FILE = > PREVIOUS_RELEASE_IMAGE = /opt/icedtea-2.4.1/bootstrap/jdk1.6.0 > ALT_PREVIOUS_RELEASE_IMAGE = > > MILESTONE = fcs > RELEASE = 1.7.0_40-blfs > FULL_VERSION = 1.7.0_40-blfs-b31 > BUILD_NUMBER = b31 > > WARNING: This build does not include running javadoc. > > WARNING: The version of unzip being used is older than > the required version of '5.12'. > The version of unzip found was ''. > > WARNING: The version of zip being used is older than > the required version of '2.2'. > The version of zip found was ''. > > ERROR: The version of make being used is older than > the required version of '3.81'. > The version of make found was ''. > > ERROR: Your BOOTDIR environment variable does not point > to a valid JDK for bootstrapping this build. > A JDK 7 Update 40 build must be bootstrapped using > JDK 1.6.0 fcs (or later). > Apparently, your bootstrap JDK is version > Please update your ALT_BOOTDIR setting and start your build again. > > Exiting because of the above error(s). > > make/sanity-rules.gmk:71: recipe for target 'post-sanity' failed > make[1]: *** [post-sanity] Error 1 > make[1]: Leaving directory '/opt/icedtea-2.4.1/openjdk-boot' > Makefile:2465: recipe for target 'stamps/icedtea-boot.stamp' failed > make: *** [stamps/icedtea-boot.stamp] Error 2 > > I went to the icedtea wiki page at: > > http://icedtea.classpath.org/wiki/CommonIssues > > and it has the exact message about the ALT_BOOTDIR and it suggested > recompiling gcc. > > I have done this as I needed to add the other languages, so I did the > recompile of gcc stock standard per the BLFS book enabling all of the > languages, ran the test suite and tried the java build again with the same > error. > > Could someone please help me with this as I really do not know what to do > next. > > Regards, > > Christopher. >
I'm not particularly familiar with java at the moment, but I've built icedtea-2.4.2 twice - once in October/November, in a general test, once on 7.5 because I overlooked that the old version was invoked from the script :-( and I then built 2.4.5 on 7.5. I've now looked at my last 2.4.2 log, and I see the sort of information you have posted above, just over 4000 lines into the build. In your case, I am worried by the warnings about unzip and zip, and baffled by the error that 'make' seems not to have been found. And after one Error, I think all bets for subsequent messages are off, in the same way that in a compilation failure we have to look at the first error. I assume you haven't run out of disk space, or filled up /tmp ? Rebuilding gcc seems an extreme suggestion (unless someone intends using gcc's java to bootstrap icedtea), so I'm not exactly surprised that it didn't help. But just to be clear : you can still build both C and C++ packages ? For me, the pain of scripting java was in working out what to add to the builder's (for me, that is the big guy, whose username begins with 'r') PATH - and, of course, remembering to set up my own PATH when I actually had to try to use java. Is it possible that you screwed up something in that area ? I find it hard to believe that you could have _lost_ the normal PATH (which would account for the zip, unzip, make messages), because at least in 2.4.2 the first part of the build looks to be a conventional configure which would crap out if /usr/bin was no longer in the PATH. The only other things I might query are whether you correctly installed the binary openjdk, and whether you applied all the icedtea patches ? Oh, and you ought to re-download the current version, because it was a vulnerability fix. In my own script for building icedtea, I set the following before I try to build the BLFS-7.5 version: export JAVA_HOME=/opt/OpenJDK-1.7.0.51-bin export ANT_HOME=/opt/ant export CLASSPATH=/usr/share/java:/usr/share/java/junit-4.11 export PATH="$PATH:/opt/OpenJDK-1.7.0.51-bin/bin:/opt/ant/bin" I will hazard a guess that ANT_HOME has not yet come into play when your build fails, but the other parts - with whichever version of the OpenJDK bin you have installed - need to be set appropriately. ĸen -- das eine Mal als Tragödie, dieses Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page