Changeset 5aa8088
- Timestamp:
- 09/13/2015 06:00:43 PM (9 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- a1f5cc1
- Parents:
- 1590eb9
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/java.xml
r1590eb9 r5aa8088 7 7 <!ENTITY anduin-download "http://anduin.linuxfromscratch.org/files/BLFS/OpenJDK-&openjdk-version;"> 8 8 <!ENTITY openjdk-download-binary-x86 "&anduin-download;/OpenJDK-&openjdk-version;-i686-bin.tar.xz"> 9 <!ENTITY openjdk-bin-md5sum-x86 " 752a869d9dfb6c3a978f59f87eedafbf">9 <!ENTITY openjdk-bin-md5sum-x86 "38296c3c879afde561726fa8505016f1"> 10 10 <!ENTITY openjdk-bin-size-x86 "57 MB"> 11 11 <!ENTITY openjdk-bin-buildsize-x86 "166 MB"> 12 12 13 13 <!ENTITY openjdk-download-binary-x64 "&anduin-download;/OpenJDK-&openjdk-version;-x86_64-bin.tar.xz"> 14 <!ENTITY openjdk-bin-md5sum-x64 " 91331d899c4f42dfe5f4016e173cafab">14 <!ENTITY openjdk-bin-md5sum-x64 "82e13c0ff68e8f3ac8d1a5cd32f1f65c"> 15 15 <!ENTITY openjdk-bin-size-x64 "58 MB"> 16 16 <!ENTITY openjdk-bin-buildsize-x64 "169 MB"> -
general/prog/openjdk.xml
r1590eb9 r5aa8088 5 5 %general-entities; 6 6 7 <!ENTITY ojdk-upd " 51">8 <!ENTITY ojdk-bd "b 16">7 <!ENTITY ojdk-upd "60"> 8 <!ENTITY ojdk-bd "b27"> 9 9 <!ENTITY ojdk-tarball "jdk8u&ojdk-upd;-&ojdk-bd;.tar.bz2"> 10 10 <!ENTITY ojdk-repo "http://hg.openjdk.java.net/jdk8u/jdk8u60"> … … 13 13 <!ENTITY anduin-download "http://anduin.linuxfromscratch.org/files/BLFS/OpenJDK-&openjdk-version;"> 14 14 15 <!ENTITY ojdk-md5sum "b7ff36d84ddef546ea84e7e05c19a43f"> 16 <!ENTITY ojdk-size "388 KB"> 17 18 <!ENTITY corba-download "&anduin-download;/corba.tar.xz"> 19 <!ENTITY corba-md5sum "90bf1db1628913a590b1be044dc61569"> 20 <!ENTITY corba-size "918 KB"> 21 22 <!ENTITY hotspot-download "&anduin-download;/hotspot.tar.xz"> 23 <!ENTITY hotspot-md5sum "5702b0b10817111fd2136e9abc82f4d8"> 24 <!ENTITY hotspot-size "6.3 MB"> 25 26 <!ENTITY jaxp-download "&anduin-download;/jaxp.tar.xz"> 27 <!ENTITY jaxp-md5sum "37afb7eea36dd0443baa6de379f441b1"> 28 <!ENTITY jaxp-size "2.2 MB"> 29 30 <!ENTITY jaxws-download "&anduin-download;/jaxws.tar.xz"> 31 <!ENTITY jaxws-md5sum "180c01db60522f2e349348cca72ff90c"> 32 <!ENTITY jaxws-size "2.2 MB"> 33 34 <!ENTITY jdk-download "&anduin-download;/jdk.tar.xz"> 35 <!ENTITY jdk-md5sum "0c0b0c3a4698ca8669e78251327ec3ad"> 36 <!ENTITY jdk-size "36.4 MB"> 37 38 <!ENTITY langtools-download "&anduin-download;/langtools.tar.xz"> 39 <!ENTITY langtools-md5sum "b2f3787e284e1df1abe66d728e290abb"> 40 <!ENTITY langtools-size "2.0 MB"> 41 42 <!ENTITY nashorn-download "&anduin-download;/nashorn.tar.xz"> 43 <!ENTITY nashorn-md5sum "9c9882d6b603274be3e9c7def0edba40"> 44 <!ENTITY nashorn-size "2.1 MB"> 45 46 <!ENTITY jtreg-version "4.1-b12-356"> 47 <!ENTITY jtreg-download "&anduin-download;/jtreg&jtreg-version;.tar.xz"> 48 <!ENTITY jtreg-md5sum "1c8609e1078411a4f6efdd0c194c1716"> 49 <!ENTITY jtreg-size "7.2 MB"> 15 <!ENTITY ojdk-md5sum "bcaf6f51627e8f052eff0fdcd8578b4f"> 16 <!ENTITY ojdk-size "395 KB"> 17 18 <!ENTITY corba-md5sum "002432f496bab8c85f6baf61d65dca27"> 19 <!ENTITY hotspot-md5sum "a4ebec7c61aa154804761127a1f75eae"> 20 <!ENTITY jaxp-md5sum "9a7b2a534b4a01ebb559b60023882809"> 21 <!ENTITY jaxws-md5sum "7ff3e1154d79d208ae89c24355254b49"> 22 <!ENTITY jdk-md5sum "2f5874a62c2bc74b99118f66d82886da"> 23 <!ENTITY langtools-md5sum "57ccac8dc86d993e64ff920feb9e54ab"> 24 <!ENTITY nashorn-md5sum "a8fccf7be7451205e6048b9b2fcd5b24"> 25 <!ENTITY total-download-size "52 MB"> 26 27 <!ENTITY jtreg-version "4.1-b12-389"> 28 <!ENTITY jtreg-download "&anduin-download;/jtreg-&jtreg-version;.tar.gz"> 29 <!ENTITY jtreg-md5sum "30a99ab95186741778ae3fa2b248b83b"> 30 <!ENTITY jtreg-size "7.4 MB"> 50 31 51 32 <!ENTITY icedtea-web-download "http://icedtea.classpath.org/download/source/icedtea-web-&icedtea-web-version;.tar.gz"> 52 33 53 <!ENTITY ojdk-buildsize "3. 6 GB (additional 536MB for tests)">54 <!ENTITY ojdk-time "1 0 SBU (additional 105SBU for tests)">34 <!ENTITY ojdk-buildsize "3.7 GB (additional 371 MB for tests)"> 35 <!ENTITY ojdk-time "12 SBU (additional 100 SBU for tests)"> 55 36 ]> 56 37 … … 81 62 </para> 82 63 83 &lfs7 7_checked;&gcc5_checked;64 &lfs78_checked; 84 65 85 66 <note> … … 151 132 </para> 152 133 </listitem> 153 </itemizedlist>154 155 <para>156 The following files may be downladed from the OpenJDK mercurial157 repository using the addresses <ulink158 url="&ojdk-repo;/<component>/archive/&ojdk-tarball;"/>,159 where <component> is the name of the JVM component (corba,160 hostspot, and so on), but that involves renaming the downloaded files,161 and renaming the extracted directories.162 For convenience, the BLFS editors have made the files available in an LFS163 website.164 </para>165 166 <itemizedlist spacing="compact">167 134 <listitem> 168 <para>Corba Source 169 <simplelist> 170 <member>Download: <ulink url="&corba-download;"/></member> 171 <member>Download MD5 sum: &corba-md5sum;</member> 172 <member>Download Size: &corba-size;</member> 173 </simplelist> 174 </para> 175 </listitem> 176 <listitem> 177 <para>Hotspot Source 178 <simplelist> 179 <member>Download: <ulink url="&hotspot-download;"/></member> 180 <member>Download MD5 sum: &hotspot-md5sum;</member> 181 <member>Download Size: &hotspot-size;</member> 182 </simplelist> 183 </para> 184 </listitem> 185 <listitem> 186 <para>JAXP Source 187 <simplelist> 188 <member>Download: <ulink url="&jaxp-download;"/></member> 189 <member>Download MD5 sum: &jaxp-md5sum;</member> 190 <member>Download Size: &jaxp-size;</member> 191 </simplelist> 192 </para> 193 </listitem> 194 <listitem> 195 <para>JAXWS Source 196 <simplelist> 197 <member>Download: <ulink url="&jaxws-download;"/></member> 198 <member>Download MD5 sum: &jaxws-md5sum;</member> 199 <member>Download Size: &jaxws-size;</member> 200 </simplelist> 201 </para> 202 </listitem> 203 <listitem> 204 <para>Langtools Source 205 <simplelist> 206 <member>Download: <ulink url="&langtools-download;"/></member> 207 <member>Download MD5 sum: &langtools-md5sum;</member> 208 <member>Download Size: &langtools-size;</member> 209 </simplelist> 210 </para> 211 </listitem> 212 <listitem> 213 <para>JDK Source 214 <simplelist> 215 <member>Download: <ulink url="&jdk-download;"/></member> 216 <member>Download MD5 sum: &jdk-md5sum;</member> 217 <member>Download Size: &jdk-size;</member> 218 </simplelist> 219 </para> 220 </listitem> 221 <listitem> 222 <para>Nashorn Source 223 <simplelist> 224 <member>Download: <ulink url="&nashorn-download;"/></member> 225 <member>Download MD5 sum: &nashorn-md5sum;</member> 226 <member>Download Size: &nashorn-size;</member> 227 </simplelist> 135 <para> 136 In addition to the root package, the instructions below first 137 download seven subproject tarballs, 138 whose total size is &total-download-size;. 228 139 </para> 229 140 </listitem> … … 270 181 <bridgehead renderas="sect4">Recommended</bridgehead> 271 182 <para role="recommended"> 272 <xref linkend="cacerts"/> and 273 <xref linkend="giflib"/> 183 <xref linkend="cacerts"/>, 184 <xref linkend="giflib"/>, and 185 <xref linkend="wget"/> 274 186 </para> 275 187 … … 296 208 </para> 297 209 298 <screen><userinput>tar -xf ../corba.tar.xz && 299 tar -xf ../hotspot.tar.xz && 300 tar -xf ../jaxp.tar.xz && 301 tar -xf ../jaxws.tar.xz && 302 tar -xf ../jdk.tar.xz && 303 tar -xf ../langtools.tar.xz && 304 tar -xf ../nashorn.tar.xz</userinput></screen> 210 <screen><userinput>cat > subprojects.md5 << EOF && 211 &corba-md5sum; corba.tar.bz2 212 &hotspot-md5sum; hotspot.tar.bz2 213 &jaxp-md5sum; jaxp.tar.bz2 214 &jaxws-md5sum; jaxws.tar.bz2 215 &langtools-md5sum; langtools.tar.bz2 216 &jdk-md5sum; jdk.tar.bz2 217 &nashorn-md5sum; nashorn.tar.bz2 218 EOF 219 220 for subproject in corba hotspot jaxp jaxws langtools jdk nashorn; do 221 wget -c &ojdk-repo;/${subproject}/archive/&ojdk-tarball; \ 222 -O ${subproject}.tar.bz2 223 done && 224 225 md5sum -c subprojects.md5 && 226 227 for subproject in corba hotspot jaxp jaxws langtools jdk nashorn; do 228 mkdir -pv ${subproject} && 229 tar -xf ${subproject}.tar.bz2 --strip-components=1 -C ${subproject} 230 done</userinput></screen> 305 231 306 232 <para> … … 308 234 </para> 309 235 310 <screen><userinput>tar -xf ../jtreg &jtreg-version;.tar.xz</userinput></screen>236 <screen><userinput>tar -xf ../jtreg-&jtreg-version;.tar.gz</userinput></screen> 311 237 312 238 <!--TODO: it might be better to add instructions for the cacerts file at 313 239 this place and to use the switch "with-cacerts-file" --> 314 315 <para>316 Fix an issue with the new (since 5.1.0) giflib API:317 </para>318 319 <screen><userinput>sed -e 's/DGifCloseFile(gif/&, NULL/' \320 -e '/DGifOpen/s/c)/c, NULL)/' \321 -i jdk/src/share/native/sun/awt/splashscreen/splashscreen_gif.c</userinput></screen>322 323 <para>324 One file in hotspot needs a change, since it relies on a non-normative325 compiler behavior, which has changed with GCC version 5. Note that the change326 works also with previous versions.327 </para>328 329 <screen><userinput>sed -e 's/(hi - lo)/ hi - lo /' \330 -e 's/(lo - hi)/ lo - hi /' \331 -i hotspot/src/share/vm/opto/type.cpp</userinput></screen>332 240 333 241 <note> … … 348 256 </note> 349 257 350 <para>Configure and build the package with the following commands 351 (--with-milestone value can be modified to fit user preferences):</para> 258 <para> 259 Configure and build the package with the following commands 260 (--with-milestone value can be modified to fit user preferences): 261 </para> 352 262 353 263 <screen><userinput>unset JAVA_HOME && … … 359 269 --with-zlib=system \ 360 270 --with-giflib=system && 361 make DEBUG_BINARIES=true \ 362 DISABLE_HOTSPOT_OS_VERSION_CHECK=ok \ 363 all && 271 make DEBUG_BINARIES=true all && 364 272 find build/*/images/j2sdk-image -iname \*.diz -delete 365 273 </userinput></screen> … … 384 292 "export DISPLAY=... && somecommand &" exports only DISPLAY to "somecommand" 385 293 but not to the current environment, and 386 "echo $! .... &&" does not echo the right PID. S Oall && suppressed.-->294 "echo $! .... &&" does not echo the right PID. So all && suppressed.--> 387 295 <screen role='nodump'><userinput>if [ -n "$DISPLAY" ]; then 388 296 OLD_DISP=$DISPLAY … … 460 368 <para> 461 369 Next some cleanup has to be done. The instructions below only stop the 462 frame buffer, but it has been reported that some java VM may be left running463 after the tests, so it is necessary to check orphaned processes:370 frame buffer, but it has been reported that some java VM may be left 371 running after the tests, so it is necessary to check orphaned processes: 464 372 </para> 465 373 … … 587 495 588 496 <para> 589 <command>make DEBUG_BINARIES=true 590 DISABLE_HOTSPOT_OS_VERSION_CHECK=ok all</command>: The build fails on 591 32 bit machines if DEBUG_BINARIES is not set to true. Furthermore, OS 592 version checking in hotspot's Makefile does not account for Linux version 593 4.x. Disabling the test is harmless and allows building. 497 <command>make DEBUG_BINARIES=true all</command>: The build fails on 498 32 bit machines if DEBUG_BINARIES is not set to true. 594 499 </para> 595 500 … … 609 514 <title>Configuration Information</title> 610 515 611 <para>Normally, the JAVA environment has been configured after installing 612 the binary version, and can be used with the just built package as well. 613 Review <xref linkend="ojdk-conf"/> in case you want to modify 614 something.</para> 615 616 <para>To test if the man pages are correctly installed, issue 617 <command>source /etc/profile</command> and <command>man java</command> to 618 display the respective man page.</para> 516 <para> 517 Normally, the JAVA environment has been configured after installing 518 the binary version, and can be used with the just built package as well. 519 Review <xref linkend="ojdk-conf"/> in case you want to modify 520 something. 521 </para> 522 523 <para> 524 To test if the man pages are correctly installed, issue 525 <command>source /etc/profile</command> and <command>man java</command> 526 to display the respective man page. 527 </para> 619 528 620 529 </sect3> … … 626 535 <para> 627 536 <application>OpenJDK</application> uses its own format for the 628 CA certificates. Those certificates are located in a file named <filename>629 /opt/jdk/jre/lib/security/cacerts</filename>. That file may be generated630 from the one installed using the instructions on the <xref631 linkend="cacerts"/> page, usingthe following procedure.537 CA certificates. Those certificates are located in a file named 538 <filename>/opt/jdk/jre/lib/security/cacerts</filename>. That file 539 may be generated from the one installed using the instructions on the 540 <xref linkend="cacerts"/> page, with the following procedure. 632 541 First, generate the <command>mkcacerts</command> script 633 542 as the <systemitem class="username">root</systemitem> user: -
introduction/welcome/changelog.xml
r1590eb9 r5aa8088 48 48 <para>September 13th, 2015</para> 49 49 <itemizedlist> 50 <listitem> 51 <para>[pierre] - Update to OpenJDK-1.8.0.60. Fixes 52 <ulink url="&blfs-ticket-root;6903">#6903</ulink>.</para> 53 </listitem> 50 54 <listitem> 51 55 <para>[fernando] - Update to zsh-5.1.1. Fixes -
packages.ent
r1590eb9 r5aa8088 287 287 <!ENTITY junit-version "4.11"> 288 288 <!ENTITY hamcrest-version "1.3"> 289 <!ENTITY openjdk-version "1.8.0. 51">289 <!ENTITY openjdk-version "1.8.0.60"> 290 290 291 291 <!ENTITY python2-majorver "2.7">
Note:
See TracChangeset
for help on using the changeset viewer.