r8854 - in trunk/BOOK: . general/prog introduction/welcome

dj at linuxfromscratch.org dj at linuxfromscratch.org
Sat Jan 29 08:05:09 PST 2011


Author: dj
Date: 2011-01-29 09:05:03 -0700 (Sat, 29 Jan 2011)
New Revision: 8854

Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/general/prog/icedtea6.xml
   trunk/BOOK/introduction/welcome/changelog.xml
Log:
Updated to IcedTea6-1.9.4.

Modified: trunk/BOOK/general/prog/icedtea6.xml
===================================================================
--- trunk/BOOK/general/prog/icedtea6.xml	2011-01-25 20:40:02 UTC (rev 8853)
+++ trunk/BOOK/general/prog/icedtea6.xml	2011-01-29 16:05:03 UTC (rev 8854)
@@ -4,22 +4,30 @@
   <!ENTITY % general-entities SYSTEM "../../general.ent">
   %general-entities;
 
-  <!ENTITY icedtea6-download-binary       "http://anduin.linuxfromscratch.org/files/BLFS/icedtea6-&icedtea6-version;-2-i586-bin.tar.bz2">
-  <!ENTITY icedtea6-bin-md5sum            "6f5934057ce9d3bbb6242b2680886eff">
-  <!ENTITY icedtea6-bin-size              "172 MB">
-  <!ENTITY icedtea6-bin-buildsize         "422 MB">
+  <!ENTITY icedtea6-download-binary-x86  "http://anduin.linuxfromscratch.org/files/BLFS/icedtea6-&icedtea6-version;-1-i586-bin.tar.xz">
+  <!ENTITY icedtea6-bin-md5sum-x86       "af76a2b9ad92422a145335cf6c71064c">
+  <!ENTITY icedtea6-bin-size-x86         "100 MB">
+  <!ENTITY icedtea6-bin-buildsize-x86    "844 MB">
 
-  <!ENTITY icedtea6-source-md5sum        "24191e3974ea58cb2bc410590221486c">
+<!-- This is not an error, x86 is larger than x86_64 because x86 includes a
+     client VM, whereas one is not available on x86_64 -->
+
+  <!ENTITY icedtea6-download-binary-x64  "http://anduin.linuxfromscratch.org/files/BLFS/icedtea6-&icedtea6-version;-1-x86_64-bin.tar.xz">
+  <!ENTITY icedtea6-bin-md5sum-x64       "75fca6ce52def2bf3cf16bbec7230369">
+  <!ENTITY icedtea6-bin-size-x64         "77 MB">
+  <!ENTITY icedtea6-bin-buildsize-x64    "564 MB">
+
+  <!ENTITY icedtea6-source-md5sum        "d96d950b76a92e8cd327ae55ca4935e1">
   <!ENTITY openjdk-md5sum                "0b36adbf67e4f261e1b827ed4be4f447">
   <!ENTITY jaf-md5sum                    "bc95c133620bd68c161cac9891592901">
   <!ENTITY jaxp-md5sum                   "22e95fbdb9fb7d8b6b6fc0a1d76d1fbd">
   <!ENTITY jaxws-md5sum                  "91adfd41e6f001add4f92ae31216b1e3">
-  <!ENTITY ecj-md5sum                    "68fa8f34c8dbee816ccda37b9296f812">
+  <!ENTITY ecj-md5sum                    "448c6e65234fc61624e14b0964d75bd9">
   <!ENTITY rhino-md5sum                  "40d0a9abec8169e42920214b37fa8e0e">
   <!ENTITY xalan-md5sum                  "99d049717c9d37a930450e630d8a6531">
-  <!ENTITY xerces-md5sum                 "a3aece3feb68be6d319072b85ad06023">
+  <!ENTITY xerces-md5sum                 "408500aaaf1ff9f1e03e79defe90facc">
 
-  <!ENTITY icedtea6-source-size          "6.1 MB">
+  <!ENTITY icedtea6-source-size          "6.2 MB">
   <!ENTITY openjdk-size                  "43 MB">
   <!ENTITY jaf-size                      "70 KB">
   <!ENTITY jaxp-size                     "5.8 MB">
@@ -27,7 +35,7 @@
   <!ENTITY ecj-size                      "1.6 MB">
   <!ENTITY rhino-size                    "2.9 MB">
   <!ENTITY xalan-size                    "16.8 MB">
-  <!ENTITY xerces-size                   "6.6 MB">
+  <!ENTITY xerces-size                   "7.0 MB">
 
   <!ENTITY icedtea6-src-buildsize         "7 GB">
   <!ENTITY icedtea6-time                  "34 SBU (an additional 83 SBU for testsuite)">
@@ -39,10 +47,10 @@
   <!ENTITY jaf-download "http://icedtea.classpath.org/builds/icedtea6/src/drops/jdk6-jaf-&openjdk-build;.zip">
   <!ENTITY jaxp-download "http://icedtea.classpath.org/builds/icedtea6/src/drops/jdk6-jaxp-&openjdk-build;.zip">
   <!ENTITY jaxws-download "http://icedtea.classpath.org/builds/icedtea6/src/drops/jdk6-jaxws-&openjdk-build;.zip">
-  <!ENTITY ecj-download "http://ftp.osuosl.org/pub/eclipse/eclipse/downloads/drops/R-3.6-201006080911/ecj-3.6.jar">
+  <!ENTITY ecj-download "http://ftp.osuosl.org/pub/eclipse/eclipse/downloads/drops/R-3.6.1-201009090800/ecj-3.6.1.jar">
   <!ENTITY rhino-download "ftp://ftp.mozilla.org/pub/mozilla.org/js/rhino1_7R2.zip">
   <!ENTITY xalan-download "http://apache.osuosl.org/xml/xalan-j/xalan-j_2_7_1-bin.zip">
-  <!ENTITY xerces-download "http://apache.osuosl.org/xml/xerces-j/Xerces-J-bin.2.9.0.zip">
+  <!ENTITY xerces-download "http://apache.osuosl.org/xerces/j/Xerces-J-bin.2.11.0.zip">
 
 ]>
 
@@ -113,24 +121,7 @@
       here</ulink>.</para>
     </note>
 
-    <bridgehead renderas="sect3">Binary Package Information</bridgehead>
-    <itemizedlist spacing="compact">
-      <listitem>
-        <para>Binary download: <ulink url="&icedtea6-download-binary;"/></para>
-      </listitem>
-      <listitem>
-        <para>Download MD5 sum: &icedtea6-bin-md5sum;</para>
-      </listitem>
-      <listitem>
-        <para>Download size (binary): &icedtea6-bin-size;</para>
-      </listitem>
-      <listitem>
-        <para>Estimated disk space required: &icedtea6-bin-buildsize;</para>
-      </listitem>
-    </itemizedlist>
-
     <bridgehead renderas="sect3">Source Package Information</bridgehead>
-
     <itemizedlist spacing="compact">
       <listitem>
         <para>IcedTea6 Source
@@ -185,6 +176,38 @@
       </listitem>
     </itemizedlist>
 
+    <bridgehead renderas="sect3">Binary Package Information</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>Binary download (x86):
+        <ulink url="&icedtea6-download-binary-x86;"/></para>
+      </listitem>
+      <listitem>
+        <para>Download MD5 sum: &icedtea6-bin-md5sum-x86;</para>
+      </listitem>
+      <listitem>
+        <para>Download size (binary): &icedtea6-bin-size-x86;</para>
+      </listitem>
+      <listitem>
+        <para>Estimated disk space required: &icedtea6-bin-buildsize-x86;</para>
+      </listitem>
+    </itemizedlist>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>Binary download (x86_64):
+        <ulink url="&icedtea6-download-binary-x64;"/></para>
+      </listitem>
+      <listitem>
+        <para>Download MD5 sum: &icedtea6-bin-md5sum-x64;</para>
+      </listitem>
+      <listitem>
+        <para>Download size (binary): &icedtea6-bin-size-x64;</para>
+      </listitem>
+      <listitem>
+        <para>Estimated disk space required: &icedtea6-bin-buildsize-x64;</para>
+      </listitem>
+    </itemizedlist>
+
     <bridgehead renderas="sect3">Additional Downloads</bridgehead>
 
     <bridgehead renderas="sect4">Required Patches</bridgehead>
@@ -195,12 +218,16 @@
       </listitem>
       <listitem>
         <para><ulink
-        url="&patch-root;/icedtea6-&icedtea6-version;-testsuite_fixes-1.patch"/></para>
+        url="&patch-root;/icedtea6-&icedtea6-version;-generate_cacerts-1.patch"/></para>
       </listitem>
       <listitem>
         <para><ulink
-        url="&patch-root;/icedtea6-&icedtea6-version;-generate_cacerts-1.patch"/></para>
+        url="&patch-root;/icedtea6-&icedtea6-version;-xerces2_10-1.patch"/></para>
       </listitem>
+      <listitem>
+        <para><ulink
+        url="&patch-root;/icedtea6-&icedtea6-version;-fixed_paths-1.patch"/></para>
+      </listitem>
     </itemizedlist>
 
     <bridgehead renderas="sect4">Required Jar Files</bridgehead>
@@ -244,15 +271,19 @@
     </itemizedlist>
     <bridgehead renderas="sect3">IcedTea6 Dependencies</bridgehead>
 
+<!-- Remove required dependency after BLFS-6.7 -->
+    <bridgehead renderas="sect4">Required Dependencies</bridgehead>
+    <para role="required">
+    <xref linkend="xz-utils"/>
+    </para>
+
     <bridgehead renderas="sect4">Optional Runtime Dependencies (required for
     source installation)</bridgehead>
     <para role="optional">
     <xref linkend="alsa-lib"/>,
     <xref linkend="cups"/>,
     <xref linkend="gtk2"/>, and
-    <ulink url="ftp://ftp.x.org/pub/individual/lib/libXp-1.0.0.tar.bz2">
-    libXp</ulink>
-    <!-- <xref linkend="libXp"/> -->
+    <xref linkend="xorg7-lib"/>
     </para>
 
     <bridgehead renderas="sect4">Additional Requirements
@@ -275,9 +306,11 @@
     You may stop after installing the binary version or continue on installing
     the source version. You can choose to keep either or both.</para>
 
-    <para>Install the binary <application>IcedTea6</application> with the
-    following commands as the <systemitem class="username">root</systemitem>
-    user:</para>
+    <bridgehead renderas="sect3">IcedTea6 Binary Installation</bridgehead>
+    <para>Begin by extracting the appropriate binary tarball and changing to
+    the extracted dirctory. Install the binary
+    <application>IcedTea6</application> with the following commands as the
+    <systemitem class="username">root</systemitem> user:</para>
 
 <screen role="root"><userinput>cp -R j2sdk-image /opt/icedtea6-&icedtea6-version;-bin &&
 chown -R root:root /opt/icedtea6-&icedtea6-version;-bin</userinput></screen>
@@ -290,35 +323,38 @@
 export CLASSPATH=".:/usr/share/java" &&
 export PATH="${PATH}:${JAVA_HOME}/bin"</userinput></screen>
 
-    <para>The binary version is now installed.</para>
+    <para>The binary version is now installed. If you don't want to compile the
+    sources, skip ahead to the configuration section.</para>
 
-    <para>If you don't want to compile the sources, skip ahead to the
-    configuration section.</para>
-
+    <bridgehead renderas="sect3">IcedTea6 Source Installation</bridgehead>
     <note><para>The source build of IcedTea6 requires
     <xref linkend="apache-ant"/>.  You'll need to build that first to satisfy
     the reciprocal dependency, and return to this section to continue building
     IcedTea6.</para></note>
 
+    <para>Like other packages in BLFS, begin by extracting the
+    <application>IcedTea6</application> source package and changing into the
+    extracted dirctory.</para>
+
     <para><application>IcedTea6</application> requires several freely
     available jar files for the bootstrap compiler.  You may leave these
     items in place after the build is complete, as they will be needed by other
     programs, or remove them if you choose.  You can optionally choose not to
     install them at all, and provide the necessary configure options to find
-    the files.  Install the necessary tools with the following commands as the
+    the files. Install the necessary tools with the following commands as the
     <systemitem class="username">root</systemitem> user:</para>
 
 <screen role="root"><userinput>mkdir jarfiles &&
 cd jarfiles &&
 unzip ../../rhino1_7R2.zip &&
 unzip ../../xalan-j_2_7_1-bin.zip &&
-unzip ../../Xerces-J-bin.2.9.0.zip &&
+unzip ../../Xerces-J-bin.2.11.0.zip &&
 install -v -d -m755 /usr/share/java &&
 install -v -m755 rhino1_7R2/*.jar /usr/share/java &&
 install -v -m755 xalan-j_2_7_1/*.jar /usr/share/java &&
-install -v -m755 xerces-2_9_0/*.jar /usr/share/java &&
-install -v -m755 ../../ecj-3.6.jar /usr/share/java &&
-ln -s ecj-3.6.jar /usr/share/java/ecj.jar &&
+install -v -m755 xerces-2_11_0/*.jar /usr/share/java &&
+install -v -m755 ../../ecj-3.6.1.jar /usr/share/java &&
+ln -s ecj-3.6.1.jar /usr/share/java/ecj.jar &&
 ln -s xalan.jar /usr/share/java/xalan2.jar &&
 cd .. &&
 rm -r jarfiles</userinput></screen>
@@ -339,15 +375,21 @@
 
 <screen><userinput>patch -Np1 -i ../icedtea6-&icedtea6-version;-upstream_fixes-1.patch</userinput></screen>
 
-    <para>Apply a patch to fix several tests, and disable invalid tests:</para>
-    
-<screen><userinput>patch -Np1 -i ../icedtea6-&icedtea6-version;-testsuite_fixes-1.patch</userinput></screen>
-
     <para>Apply a patch to generate a valid cacerts file using the system CA
     certificates:</para>
 
 <screen><userinput>patch -Np1 -i ../icedtea6-&icedtea6-version;-generate_cacerts-1.patch</userinput></screen>
 
+    <para>Apply a patch to fix the build when using a newer version of
+    Xerces2:</para>
+
+<screen><userinput>patch -Np1 -i ../icedtea6-&icedtea6-version;-xerces2_10-1.patch</userinput></screen>
+
+    <para>Apply a patch to replace fixed paths with ones appropriate for
+    BLFS:</para>
+
+<screen><userinput>patch -Np1 -i ../icedtea6-&icedtea6-version;-fixed_paths-1.patch</userinput></screen>
+
     <para>Configure and build the package with the following commands:</para>
 
 <screen><userinput>unset JAVA_HOME &&
@@ -356,8 +398,11 @@
             --enable-cacerts &&
 make</userinput></screen>
 
-    <para>To test the results, issue: <command>make check</command>.  The
-    testsuite should complete without error.</para>
+    <para>To test the results, issue: <command>make check</command>. The
+    included version of <application>jtreg</application> is old, and the test
+    suite is very dependent on the host system as well. You should expect to
+    see 6 failures and 1 error in the langtools tests, and 20 to 23 failures
+    in jdk with up to 3 errors. The other 4700 tests should pass.</para>
 
     <para>Install the package with the following commands as the
     <systemitem class="username">root</systemitem> user:</para>

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2011-01-25 20:40:02 UTC (rev 8853)
+++ trunk/BOOK/general.ent	2011-01-29 16:05:03 UTC (rev 8854)
@@ -3,7 +3,7 @@
 $Date$
 -->
 
-<!ENTITY day          "24">                   <!-- Always 2 digits -->
+<!ENTITY day          "29">                   <!-- Always 2 digits -->
 <!ENTITY month        "01">                   <!-- Always 2 digits -->
 <!ENTITY year         "2011">
 <!ENTITY copyrightdate "2001-&year;">
@@ -304,7 +304,7 @@
 <!ENTITY gcc-version                  "4.5.1">
 <!ENTITY gcc3-version                 "3.3.6">
 <!ENTITY guile-version                "1.8.7">
-<!ENTITY icedtea6-version             "1.9">
+<!ENTITY icedtea6-version             "1.9.4">
 <!ENTITY jdk-version                  "6 Update 18">
 <!ENTITY junit-version                "4.8.1">
 <!ENTITY librep-version               "0.17">

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2011-01-25 20:40:02 UTC (rev 8853)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2011-01-29 16:05:03 UTC (rev 8854)
@@ -40,6 +40,14 @@
     </listitem>
 
 -->
+    <listitem>
+      <para>January 29th, 2011</para>
+      <itemizedlist>
+        <listitem>
+          <para>[dj] - Updated to IcedTea6-1.9.4.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
 
     <listitem>
       <para>January 24th, 2011</para>




More information about the blfs-book mailing list