#3564 closed enhancement (fixed)
OpenJDK-1.7.0.9
Reported by: | Fernando de Oliveira | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | BOOK | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description ¶
DJ, I just finished building this package in i386. Minor changes in your instructions allow upgrade just replacing icedtea-2.2.1 by icedtea-2.3.2 and, of course, OpenJDK-1.7.0.5 by OpenJDK-1.7.0.7
1. Necessary downloads ¶
icedtea-2.3.2 http://icedtea.classpath.org/download/source/icedtea-2.3.2.tar.gz
rhino1_7R3 ftp://ftp.mozilla.org/pub/mozilla.org/js/rhino1_7R3.zip - this is the same as in previous OJDK version.
2. Patches ¶
I have used the same as in the book, just renamed to comply with the new OpenJDK version. Do not know if any further security patch is necessary.
3. Make ¶
When running make, the packages:
corba.tar.gz hotspot.tar.gz jaxp.tar.gz jaxws.tar.gz jdk.tar.gz langtools.tar.gz openjdk.tar.gz
are downloaded in the root source directory, then I copy to my sources directory, just to reuse them if other install is necessary, along the lines I have been doing with LibreOffice, even befire we introduced it in the book.
I think this modification could be done in the book, to facilitate upgrades.
4. Size ¶
I was surprised by the size:
$ du -sh /opt/OpenJDK-1.7.0.5 250M /opt/OpenJDK-1.7.0.5 $ du -sh /opt/OpenJDK-1.7.0.7 455M /opt/OpenJDK-1.7.0.7
5 Tests ¶
Have not run them.
6. Bootstrap ¶
Used previously installed version 1.7.0.5.
This is what I remember by now.
Change History (8)
comment:1 by , 13 years ago
follow-up: 4 comment:2 by , 13 years ago
Cool! Glad that the instructions still work as advertised. I'd be interested to see the test results as those have changed greatly. As to the difference in size, I follow the distro-pkg-dev list and know that the debug flags are global now (this was changed upstream in OpenJDK), but I do not know what the new switch is in IcedTea's configure script to control it (been exceptionally busy lately). After the fact, you should be able to use the normal strip commands to get the size back down to expected values.
comment:3 by , 13 years ago
Also, if somebody else jumps on this one before I get to it (it will be a bit yet), libXp and xprint-proto can go now.
comment:4 by , 13 years ago
Replying to dj@…:
DJ, thanks for the comments , and apologies for this late response. As I wrote some days ago, I was busy with LFS "7.2-svn" build, so stopped all other related activities.
Cool! Glad that the instructions still work as advertised.
Almost, but strictly, they need modifications, as I said before. One of the following would do it:
- Stating clearly that the following packages
corba.tar.gz hotspot.tar.gz jaxp.tar.gz jaxws.tar.gz jdk.tar.gz langtools.tar.gz openjdk.tar.gz
which are hosted by anduin, are no more "good", and "make" will download the correct ones.
- Removing
corba.tar.gz hotspot.tar.gz jaxp.tar.gz jaxws.tar.gz jdk.tar.gz langtools.tar.gz openjdk.tar.gz
anduin downloads and related cp -v ... commands associated with them, and, again, comment that "make" will download them.
In both cases, I believe that dependencies will change, perhaps wget or curl will be necessary. Also, some comments about storing them locally, if the user is planning to build it again, is recommendable.
A side effect is that the build process will look simpler.
I'd be interested to see the test results as those have changed greatly.
I will try (probably tomorrow) to run the tests.
As to the difference in size, I follow the distro-pkg-dev list and know that the debug flags are global now (this was changed upstream in OpenJDK), but I do not know what the new switch is in IcedTea's configure script to control it
Before I run the tests, I will try to figure this out.
(been exceptionally busy lately). After the fact, you should be able to use the normal strip commands to get the size back down to expected values.
Thank you very much indeed! I have done it:
# find /opt/OpenJDK-1.7.0.7 -type f -exec strip --strip-debug '{}' ';'
$ du -sch /opt/OpenJDK-1.7.0.*
131M /opt/OpenJDK-1.7.0.7 [stripped]
455M /opt/OpenJDK-1.7.0.7-big [original]
585M total
Comparing with 247M of /opt/OpenJDK-1.7.0.5, it is probably better to strip after it is checked to work properly, than build without debug? Or it is more economic in some senses building without the debug symbols?
comment:5 by , 13 years ago
DJ, finally what I think are good tests results grepped from the log file (actually, half of it, as it seems to be logged in duplicate).
Build time untill tests finished and directories removed: real 177m21.575s user 165m23.076s sys 12m20.034s
Just the summaries: Test results: passed: 162; failed: 1 Test results: passed: 3,992; failed: 79; error: 3 Test results: passed: 1,942; failed: 1
Verbose: FAILED: runtime/7110720/Test7110720.sh Test results: passed: 162; failed: 1 FAILED: com/sun/awt/SecurityWarning/GetSizeShouldNotReturnZero.java FAILED: com/sun/security/auth/login/ConfigFile/InconsistentError.java FAILED: com/sun/security/auth/module/KeyStoreLoginModule/OptionTest.java FAILED: java/awt/Component/NoUpdateUponShow/NoUpdateUponShow.java FAILED: java/awt/Dialog/MakeWindowAlwaysOnTop/MakeWindowAlwaysOnTop.java FAILED: java/awt/event/KeyEvent/KeyTyped/CtrlASCII.html FAILED: java/awt/event/KeyEvent/SwallowKeyEvents/SwallowKeyEvents.java FAILED: java/awt/Focus/ClearGlobalFocusOwnerTest/ClearGlobalFocusOwnerTest.java FAILED: java/awt/Focus/OwnedWindowFocusIMECrashTest/OwnedWindowFocusIMECrashTest.java FAILED: java/awt/Focus/RemoveAfterRequest/RemoveAfterRequest.java FAILED: java/awt/font/TextLayout/CombiningPerf.java FAILED: java/awt/Frame/FrameSize/TestFrameSize.java FAILED: java/awt/Frame/WindowDragTest/WindowDragTest.java FAILED: java/awt/GridBagLayout/GridBagLayoutIpadXYTest/GridBagLayoutIpadXYTest.html FAILED: java/awt/List/EmptyListEventTest/EmptyListEventTest.java FAILED: java/awt/List/ScrollOutside/ScrollOut.java FAILED: java/awt/Mixing/HWDisappear.java FAILED: java/awt/Mixing/JButtonInGlassPane.java FAILED: java/awt/Mixing/LWComboBox.java FAILED: java/awt/Mixing/MixingInHwPanel.java FAILED: java/awt/Mixing/MixingOnShrinkingHWButton.java FAILED: java/awt/Mixing/NonOpaqueInternalFrame.java FAILED: java/awt/Mouse/EnterExitEvents/DragWindowOutOfFrameTest.java FAILED: java/awt/Mouse/EnterExitEvents/DragWindowTest.java FAILED: java/awt/Mouse/EnterExitEvents/ResizingFrameTest.java FAILED: java/awt/Mouse/MouseModifiersUnitTest/MouseModifiersUnitTest_Extra.java FAILED: java/awt/Mouse/MouseModifiersUnitTest/MouseModifiersUnitTest_Standard.java FAILED: java/awt/Robot/CtorTest/CtorTest.java FAILED: java/awt/Robot/RobotExtraButton/RobotExtraButton.java FAILED: java/net/MulticastSocket/SetOutgoingIf.java FAILED: java/nio/channels/DatagramChannel/Connect.java FAILED: java/nio/channels/DatagramChannel/ConnectedSend.java FAILED: java/nio/channels/DatagramChannel/MulticastSendReceiveTests.java FAILED: java/rmi/activation/checkusage/CheckUsage.java FAILED: javax/management/remote/mandatory/connection/RMIConnectionIdTest.java FAILED: javax/print/attribute/autosense/PrintAutoSenseData.java FAILED: javax/swing/AbstractButton/6711682/bug6711682.java FAILED: javax/swing/JComboBox/4743225/bug4743225.java FAILED: javax/swing/JComponent/6989617/bug6989617.java FAILED: javax/swing/JFileChooser/4524490/bug4524490.java FAILED: javax/swing/JMenuItem/6209975/bug6209975.java FAILED: javax/swing/JPopupMenu/6694823/bug6694823.java FAILED: javax/swing/JPopupMenu/6800513/bug6800513.java FAILED: javax/swing/JSpinner/5012888/bug5012888.java FAILED: javax/swing/JTable/4220171/bug4220171.java FAILED: javax/swing/JToolBar/4247996/bug4247996.java FAILED: javax/swing/JToolTip/4846413/bug4846413.java FAILED: javax/swing/JTree/4330357/bug4330357.java FAILED: javax/swing/plaf/synth/7158712/bug7158712.java FAILED: javax/swing/text/html/CSS/4530474/bug4530474.java FAILED: javax/swing/text/html/HTMLEditorKit/5043626/bug5043626.java FAILED: javax/swing/text/html/parser/Parser/7165725/bug7165725.java FAILED: javax/swing/text/Utilities/bug7045593.java FAILED: sun/rmi/rmic/newrmic/equivalence/run.sh FAILED: sun/rmi/transport/proxy/EagerHttpFallback.java FAILED: sun/security/pkcs11/KeyAgreement/TestInterop.java FAILED: sun/security/pkcs11/MessageDigest/TestCloning.java FAILED: sun/tools/jstat/jstatClassloadOutput1.sh FAILED: sun/tools/jstat/jstatClassOutput1.sh FAILED: sun/tools/jstat/jstatCompilerOutput1.sh FAILED: sun/tools/jstat/jstatGcCapacityOutput1.sh FAILED: sun/tools/jstat/jstatGcCauseOutput1.sh FAILED: sun/tools/jstat/jstatGcNewCapacityOutput1.sh FAILED: sun/tools/jstat/jstatGcNewOutput1.sh FAILED: sun/tools/jstat/jstatGcOldCapacityOutput1.sh FAILED: sun/tools/jstat/jstatGcOldOutput1.sh FAILED: sun/tools/jstat/jstatGcOutput1.sh FAILED: sun/tools/jstat/jstatGcPermCapacityOutput1.sh FAILED: sun/tools/jstat/jstatLineCounts1.sh FAILED: sun/tools/jstat/jstatLineCounts2.sh FAILED: sun/tools/jstat/jstatLineCounts3.sh FAILED: sun/tools/jstat/jstatLineCounts4.sh FAILED: sun/tools/jstat/jstatTimeStamp1.sh FAILED: sun/tools/jstatd/jstatdDefaults.sh FAILED: sun/tools/jstatd/jstatdExternalRegistry.sh FAILED: sun/tools/jstatd/jstatdPort.sh FAILED: sun/tools/jstatd/jstatdServerName.sh FAILED: sun/tools/native2ascii/Permission.java FAILED: tools/jar/UpdateJar.java Test results: passed: 3,992; failed: 79; error: 3 FAILED: com/sun/javadoc/testNestedGenerics/TestNestedGenerics.java Test results: passed: 1,942; failed: 1
comment:6 by , 12 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Summary: | OpenJDK-1.7.0.7 → OpenJDK-1.7.0.9 |
I'll be updating the book tomorrow. The packages are on anduin now.
I'm going to give optional instructions to download the tar files from anduin or to get them with 'make download'. The make file uses wget.
comment:7 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed at revision 10761.
There have been several subtle changes to this page, so I'd appreciate any testing/feedback that anyone can give.
I forgot to write in the first line of previous comment, so I do it here:
DJ, I write these lines with much respect.
1. Announcement
"GNU/Andrew’s Blog » [SECURITY] IcedTea6 1.10.9 & 1.11.4 & IcedTea 2.3.2 Released!"
http://blog.fuseyism.com/index.php/2012/08/31/security-icedtea6-1-10-9-1-11-4-icedtea-2-3-2-released/
(Is this the official release announcement?)
2. More exact statistics