Re: [blfs-dev] OpenJDK downloads

2012-05-19 Thread Fernando de Oliveira
On 17-05-2012 23:28, Bruce Dubbs wrote:

 
 I hope to be able to start java sometime later tomorrow.
 
-- Bruce
 
 

FWIW, I remembered another use I have for java: the yearly federal tax
income adjustment declaration (Declaração de Ajuste Anual de Imposto de
Renda) here is made using one software and sent using another one, both
in java, available in a government site:

http://www28.receita.fazenda.gov.br/publico/programas/IRPF/2012/PGDIRPF2012/Java/Linux/IRPF2012Linuxv1.0.bin

I tested and it runs fine.

The other to send, I cannot test, as I have already sent mine, this year.

-- 
[]s,
Fernando

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] OpenJDK downloads

2012-05-17 Thread DJ Lucas
On 05/16/2012 10:52 PM, Fernando de Oliveira wrote:
 On 16-05-2012 22:22, Fernando de Oliveira wrote:
 On 14-05-2012 20:26, DJ Lucas wrote:
 On 05/14/2012 10:38 AM, Fernando de Oliveira wrote:
 --- Em seg, 14/5/12, DJ Lucas escreveu:

 De: DJ Lucas
 Assunto: [blfs-dev] OpenJDK downloads
 Para: BLFS Development List
 Data: Segunda-feira, 14 de Maio de 2012, 2:16
   The makefile will download the needed files as part of the build 
 process (alternately you can use the download make target).
 I will try one of these in my next build. Think It sould be this way in the 
 book, like LibreOffice, so, in the next version, book's instructions could 
 be used just changing the version. I believe that the versions in Anduin 
 will be useless then.
 I have not built on i686 yet. Help would be appreciated
 here, but I'll get to it in a few days if nobody steps up. I've included
 a tar.xz extract of the Fedora i686 RPM to use as an initial bootstrap
 compiler. If anybody would like to create the i686 binary, please do a
 bootstrap build using the Fedora JDK, followed by a bootstrap using the
 previously created one, and then tar it up with the format of the x86_64
 file, after having run the test suite against the final. I'm currently
 looking into the few remaining test suite failures, but I suspect a
 number of them are related to running in twm (windows not automatically
 anchored in awt tests).
 I had a fatal failure in make, due to the fact that oracle jdk was installed 
 and found by configure. Moved out the /opt/jdk* (link and versioned dir), 
 and still failed. Next, linked /opt/jdk to icedtea-bin, and next failure: no 
 cpio. so, cpio is a requirement. Had noticed this requirement months ago 
 also in book's version.

 Phase1: using Fedora-bin
 Phase2: using New-bin

 I have done phase 1

 START - Building OpenJDK-1.7.0.3-i686-bin - Qua Mai 16 14:41:02 BRT 2012
 END - Building OpenJDK-1.7.0.3-i686-bin - Qua Mai 16 18:32:12 BRT 2012

 real231m10.016s
 user156m43.051s
 sys 36m36.799s

 For make -j1: 66m22.809s
 For make -k jtregcheck:  164m15.324s


 For phase2, after make, the tests are running, now.

 Please, keep on reading below.

 Files are available here:
 Bin builds:
 http://anduin.linuxfromscratch.org/files/BLFS/OpenJDK/OpenJDK-1.7.0.3-x86_64-bin.tar.xz
 or
 http://anduin.linuxfromscratch.org/files/BLFS/OpenJDK/java-1.7.0-openjdk-1.7.0.3-i686-fedora-18.tar.xz

 Source files:
 http://icedtea.classpath.org/download/source/icedtea-2.1.tar.gz
 http://anduin.linuxfromscratch.org/files/BLFS/OpenJDK/corba.tar.gz
 http://anduin.linuxfromscratch.org/files/BLFS/OpenJDK/hotspot.tar.gz
 http://anduin.linuxfromscratch.org/files/BLFS/OpenJDK/jaxp.tar.gz
 http://anduin.linuxfromscratch.org/files/BLFS/OpenJDK/jaxws.tar.gz
 http://anduin.linuxfromscratch.org/files/BLFS/OpenJDK/jdk.tar.gz
 http://anduin.linuxfromscratch.org/files/BLFS/OpenJDK/langtools.tar.gz
 http://anduin.linuxfromscratch.org/files/BLFS/OpenJDK/openjdk.tar.gz
 ftp://ftp.mozilla.org/pub/mozilla.org/js/rhino1_7R3.zip

 Patches:
 http://www.linuxfromscratch.org/patches/downloads/icedtea/icedtea-2.1-upstream_fixes-2.patch
 http://www.linuxfromscratch.org/patches/downloads/icedtea/icedtea-2.1-fixed_paths-1.patch
 http://www.linuxfromscratch.org/patches/downloads/icedtea/icedtea-2.1-add_cacerts-1.patch


 Instructions:

 Extract the binary installation, and move it to /opt/icedtea-bin
 Extract Rhino and put the js.jar and js-14.jar files into /usr/share/java

 Extract the icedtea-2.1 tarball as would normally be done.
 link the other tar.gz downloads into the source tree:

 ln -s ../openjdk.tar.gz .
 ln -s corba.tar.gz .
 ln -s jaxp.tar.gz .
 ln -s jaxws.tar.gz .
 ln -s jdk.tar.gz .
 ln -s langtools.tar.gz .
 ln -s hotspot.tar.gz .
 Of course, ln -s ../ everywhere, above, right?

 Apply the patches and prep for build:

 patch -Np1 -i ../icedtea-2.1-upstream_fixes-2.patch
 patch -Np1 -i ../icedtea-2.1-fixed_paths-1.patch
 patch -Np1 -i ../icedtea-2.1-add_cacerts-1.patch
 ./autogen.sh


 Finally, build and install the thing:

 ./configure --with-jdk-home=/opt/icedtea-bin \
   --enable-nss \
   --enable-pulse-java
 Here, failure, as I do not have pulse installed, so, another requirement, 
 and --enable-pulse-java was dropped. Having read troubles from others with 
 puse, which I do no need untill now, after finished current build, will make 
 a copy of this machine to install pulse and rebuild. This will be done after 
 I install xulrunner and build IcedTea plugin.

 make
 Here, race failure, with make -j4. Used -j1. Same behavior in phase 1 and 2.

 make -k jtregcheck
 For phase1:

 $ grep Test results 
 /home/fernando/Downloads/blfs/OpenJDK-1.7.0.3-i686-bin-with-Fedora-2012.05.16.log
 Test results: passed: 144
 Test results: passed: 3,643; failed: 452; error: 10
 Test results: passed: 1,920; failed: 1
 Test results: passed: 144
 Test results: passed: 3,643; failed: 452; error: 10
 Test results: passed: 1,920; 

Re: [blfs-dev] OpenJDK downloads

2012-05-17 Thread Fernando de Oliveira
On 17-05-2012 04:11, DJ Lucas wrote:
 On 05/16/2012 08:22 PM, Fernando de Oliveira wrote:
 On 14-05-2012 20:26, DJ Lucas wrote:
 On 05/14/2012 10:38 AM, Fernando de Oliveira wrote:
 --- Em seg, 14/5/12, DJ Lucas escreveu:

 De: DJ Lucas
 Assunto: [blfs-dev] OpenJDK downloads
 Para: BLFS Development List
 Data: Segunda-feira, 14 de Maio de 2012, 2:16
   The makefile will download the needed files as part of the build 
 process (alternately you can use the download make target).
 I will try one of these in my next build. Think It sould be this way in the 
 book, like LibreOffice, so, in the next version, book's instructions could 
 be used just changing the version. I believe that the versions in Anduin 
 will be useless then.
 I have not built on i686 yet. Help would be appreciated
 here, but I'll get to it in a few days if nobody steps up. I've included
 a tar.xz extract of the Fedora i686 RPM to use as an initial bootstrap
 compiler. If anybody would like to create the i686 binary, please do a
 bootstrap build using the Fedora JDK, followed by a bootstrap using the
 previously created one, and then tar it up with the format of the x86_64
 file, after having run the test suite against the final. I'm currently
 looking into the few remaining test suite failures, but I suspect a
 number of them are related to running in twm (windows not automatically
 anchored in awt tests).
 I had a fatal failure in make, due to the fact that oracle jdk was installed 
 and found by configure. Moved out the /opt/jdk* (link and versioned dir), 
 and still failed. Next, linked /opt/jdk to icedtea-bin, and next failure: no 
 cpio. so, cpio is a requirement. Had noticed this requirement months ago 
 also in book's version.

 Phase1: using Fedora-bin
 Phase2: using New-bin

 I have done phase 1

 START - Building OpenJDK-1.7.0.3-i686-bin - Qua Mai 16 14:41:02 BRT 2012
 END - Building OpenJDK-1.7.0.3-i686-bin - Qua Mai 16 18:32:12 BRT 2012

 real231m10.016s
 user156m43.051s
 sys 36m36.799s

 For make -j1: 66m22.809s
 For make -k jtregcheck:  164m15.324s


 For phase2, after make, the tests are running, now.

 Please, keep on reading below.

 Files are available here:
 Bin builds:
 http://anduin.linuxfromscratch.org/files/BLFS/OpenJDK/OpenJDK-1.7.0.3-x86_64-bin.tar.xz
 or
 http://anduin.linuxfromscratch.org/files/BLFS/OpenJDK/java-1.7.0-openjdk-1.7.0.3-i686-fedora-18.tar.xz

 Source files:
 http://icedtea.classpath.org/download/source/icedtea-2.1.tar.gz
 http://anduin.linuxfromscratch.org/files/BLFS/OpenJDK/corba.tar.gz
 http://anduin.linuxfromscratch.org/files/BLFS/OpenJDK/hotspot.tar.gz
 http://anduin.linuxfromscratch.org/files/BLFS/OpenJDK/jaxp.tar.gz
 http://anduin.linuxfromscratch.org/files/BLFS/OpenJDK/jaxws.tar.gz
 http://anduin.linuxfromscratch.org/files/BLFS/OpenJDK/jdk.tar.gz
 http://anduin.linuxfromscratch.org/files/BLFS/OpenJDK/langtools.tar.gz
 http://anduin.linuxfromscratch.org/files/BLFS/OpenJDK/openjdk.tar.gz
 ftp://ftp.mozilla.org/pub/mozilla.org/js/rhino1_7R3.zip

 Patches:
 http://www.linuxfromscratch.org/patches/downloads/icedtea/icedtea-2.1-upstream_fixes-2.patch
 http://www.linuxfromscratch.org/patches/downloads/icedtea/icedtea-2.1-fixed_paths-1.patch
 http://www.linuxfromscratch.org/patches/downloads/icedtea/icedtea-2.1-add_cacerts-1.patch


 Instructions:

 Extract the binary installation, and move it to /opt/icedtea-bin
 Extract Rhino and put the js.jar and js-14.jar files into /usr/share/java

 Extract the icedtea-2.1 tarball as would normally be done.
 link the other tar.gz downloads into the source tree:

 ln -s ../openjdk.tar.gz .
 ln -s corba.tar.gz .
 ln -s jaxp.tar.gz .
 ln -s jaxws.tar.gz .
 ln -s jdk.tar.gz .
 ln -s langtools.tar.gz .
 ln -s hotspot.tar.gz .
 Of course, ln -s ../ everywhere, above, right?

 Yes, my bad. Also, with regard to dependencies, I have the following:
 Need to have rhino1_7.3.zip (js.jar and js14.jar copied to /usr/share/java)
 the xalan, xerces (replaced by libxslt/libxml2), and ecj (we are no longer
 faking a gcj build to bootstrap) deps are gone.

Do you mean ecj would be required if bootstrapping?

 Add Cups, GifLib, cpio, lcms2, and libXp/xprintproto (currently in Xorg but
 will be separated with 7.7) as required deps.

Ok, then. Only missing one was cpio, but now all are here:
$ paco Cups GifLib cpio lcms2 libXp
cpio-2.11  cups-1.5.2  giflib-4.1.6  lcms2-2.3  libXp-1.0.1

 Add PulseAudio and NSS as recommended deps. Finally, GTK2 remains for
 xawt (though gtk3 is not out of the question, just not supported yet).

About PulseAudio, for uploading to Anduin, is it really necessary that I 
rebuild with it?

 Also,
 IcedTea-Web should be built with gtk3 if your browser was. Not sure if that
 affects FF, but for certain it does affect webkit. Patch is in the 
 patches repo.

In this machine, webkit and midori have been built with gtk2, so, I believe the 
patch will not be necessary (?).

Will reply your other mail and proceed to try building 

Re: [blfs-dev] OpenJDK downloads

2012-05-17 Thread Fernando de Oliveira
On 17-05-2012 11:17, Fernando de Oliveira wrote:
 On 17-05-2012 04:40, DJ Lucas wrote:
 On 05/16/2012 10:52 PM, Fernando de Oliveira wrote:
 On 16-05-2012 22:22, Fernando de Oliveira wrote:
 On 14-05-2012 20:26, DJ Lucas wrote:
 On 05/14/2012 10:38 AM, Fernando de Oliveira wrote:
 --- Em seg, 14/5/12, DJ Lucas escreveu:

 De: DJ Lucas
 Assunto: [blfs-dev] OpenJDK downloads
 Para: BLFS Development List
 Data: Segunda-feira, 14 de Maio de 2012, 2:16

[...]

 $ grep Test results 
 /home/fernando/Downloads/blfs/OpenJDK-1.7.0.3-i686-bin-2012.05.16.log
 Test results: passed: 144
 Test results: passed: 3,646; failed: 449; error: 10
 Test results: passed: 1,920; failed: 1
 Test results: passed: 144
 Test results: passed: 3,646; failed: 449; error: 10
 Test results: passed: 1,920; failed: 1
 Hmm, I have a feeling that you had a screen saver or your monitor 
 entered power save while running the tests and all of the interactive 
 tests failed as a result.
 

[...]

 
  Here are my results:

 --- jtreg console summary for hotspot ---
 Test results: passed: 144
 --- jtreg console summary for jdk ---
 FAILED: com/sun/net/httpserver/bugs/B6341616.java
 FAILED: com/sun/net/httpserver/Test2.java
 FAILED: java/awt/Choice/ChoiceMouseWheelTest/ChoiceMouseWheelTest.java
 FAILED: 
 java/awt/EventDispatchThread/HandleExceptionOnEDT/HandleExceptionOnEDT.java
 FAILED: java/awt/EventDispatchThread/LoopRobustness/LoopRobustness.html
 FAILED: 
 java/awt/Focus/CloseDialogActivateOwnerTest/CloseDialogActivateOwnerTest.java
 FAILED: java/awt/Focus/FocusOwnerFrameOnClick/FocusOwnerFrameOnClick.java
 FAILED: java/awt/Frame/ShapeNotSetSometimes/ShapeNotSetSometimes.java
 FAILED: java/awt/FullScreen/TranslucentWindow/TranslucentWindow.java
 FAILED: java/awt/GraphicsDevice/CloneConfigsTest.java
 FAILED: 
 java/awt/image/ImagingOpsNoExceptionsTest/ImagingOpsNoExceptionsTest.java
 FAILED: java/awt/print/PrinterJob/PrtException.java
 FAILED: java/awt/Robot/AcceptExtraMouseButtons/AcceptExtraMouseButtons.java
 FAILED: java/awt/Toolkit/ToolkitPropertyTest/ToolkitPropertyTest_Enable.java
 Error:  java/lang/invoke/ClassValueTest.java
 FAILED: java/lang/invoke/InvokeDynamicPrintArgs.java
 Error:  java/lang/invoke/InvokeGenericTest.java
 Error:  java/lang/invoke/JavaDocExamplesTest.java
 Error:  java/lang/invoke/MethodHandlesTest.java
 Error:  java/lang/invoke/MethodTypeTest.java
 Error:  java/lang/invoke/PermuteArgsTest.java
 Error:  java/lang/invoke/RicochetTest.java
 FAILED: java/net/Authenticator/AuthNPETest.java
 FAILED: java/net/Authenticator/B4678055.java
 FAILED: java/net/Authenticator/B4722333.java
 FAILED: java/net/Authenticator/B4759514.java
 FAILED: java/net/Authenticator/B4769350.java
 FAILED: java/net/Authenticator/B4921848.java
 Error:  java/net/Authenticator/B4933582.sh
 FAILED: java/net/Authenticator/B4962064.java
 FAILED: java/net/Authenticator/B6870935.java
 FAILED: java/net/Authenticator/BasicTest.java
 FAILED: java/net/Authenticator/BasicTest3.java
 FAILED: java/net/Authenticator/BasicTest4.java
 FAILED: java/net/Authenticator/Deadlock.java
 FAILED: java/net/URL/TestHttps.java
 FAILED: java/nio/channels/AsynchronousServerSocketChannel/Basic.java
 FAILED: java/nio/channels/AsynchronousSocketChannel/Basic.java
 FAILED: java/nio/channels/etc/NetworkChannelTests.java
 FAILED: java/nio/channels/ServerSocketChannel/NonBlockingAccept.java
 FAILED: java/nio/channels/SocketChannel/ExceptionTranslation.java
 FAILED: java/nio/file/Files/probeContentType/Basic.java
 FAILED: java/security/KeyPairGenerator/Failover.java
 FAILED: javax/imageio/plugins/shared/BitDepth.java
 FAILED: javax/management/openmbean/TabularDataOrderTest.java
 FAILED: javax/print/attribute/AttributeTest.java
 FAILED: javax/print/attribute/GetCopiesSupported.java
 FAILED: javax/print/attribute/SidesPageRangesTest.java
 FAILED: javax/print/attribute/SupportedPrintableAreas.java
 FAILED: javax/print/CheckDupFlavor.java
 FAILED: javax/script/VersionTest.java
 FAILED: javax/swing/JComponent/4337267/bug4337267.java
 FAILED: javax/swing/JComponent/6683775/bug6683775.java
 FAILED: javax/swing/JEditorPane/6917744/bug6917744.java
 FAILED: javax/swing/JFileChooser/6738668/bug6738668.java
 FAILED: javax/swing/JInternalFrame/Test6325652.java
 FAILED: javax/swing/JInternalFrame/Test6505027.java
 FAILED: javax/swing/JInternalFrame/Test6802868.java
 FAILED: javax/swing/JLabel/6596966/bug6596966.java
 FAILED: javax/swing/JLabel/7004134/bug7004134.java
 FAILED: javax/swing/JLayer/6824395/bug6824395.java
 FAILED: javax/swing/JPopupMenu/6495920/bug6495920.java
 FAILED: javax/swing/JPopupMenu/6987844/bug6987844.java
 FAILED: javax/swing/JScrollBar/6542335/bug6542335.java
 FAILED: javax/swing/JScrollPane/Test6526631.java
 FAILED: javax/swing/JSlider/6848475/bug6848475.java
 FAILED: javax/swing/JTable/6777378/bug6777378.java
 FAILED: javax/swing/JTableHeader/6884066/bug6884066.java
 FAILED: javax/swing/JTableHeader/6889007/bug6889007.java
 

Re: [blfs-dev] OpenJDK downloads

2012-05-17 Thread Bruce Dubbs
Fernando de Oliveira wrote:

 Have no clue, without xscreensaver, tests are still bad, only one failure 
 less:
 
 $ grep Test results 
 /home/fernando/Downloads/blfs/OpenJDK-1.7.0.3-2012.05.17.log
 Test results: passed: 144
 Test results: passed: 3,647; failed: 448; error: 10
 Test results: passed: 1,920; failed: 1
 Test results: passed: 144
 Test results: passed: 3,647; failed: 448; error: 10
 Test results: passed: 1,920; failed: 1
 
 So, my expectations were not fulfilled.

I'm guessing that there is a difference in installed dependencies.  I've been 
working on a fresh SVN-20120514 based build.  I want to get firefox and audio 
working and then I'll look at java.  I've already done xorg, but as you know, 
there are a lot of dependencies to go.

I hope to be able to start java sometime later tomorrow.

   -- Bruce


-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] OpenJDK downloads

2012-05-16 Thread Fernando de Oliveira
On 16-05-2012 22:22, Fernando de Oliveira wrote:
 On 14-05-2012 20:26, DJ Lucas wrote:
 On 05/14/2012 10:38 AM, Fernando de Oliveira wrote:
 --- Em seg, 14/5/12, DJ Lucas escreveu:

 De: DJ Lucas
 Assunto: [blfs-dev] OpenJDK downloads
 Para: BLFS Development List
 Data: Segunda-feira, 14 de Maio de 2012, 2:16
  The makefile will download the needed files as part of the build process 
 (alternately you can use the download make target).
 I will try one of these in my next build. Think It sould be this way in the 
 book, like LibreOffice, so, in the next version, book's instructions could be 
 used just changing the version. I believe that the versions in Anduin will be 
 useless then.
 I have not built on i686 yet. Help would be appreciated 
 here, but I'll get to it in a few days if nobody steps up. I've included 
 a tar.xz extract of the Fedora i686 RPM to use as an initial bootstrap 
 compiler. If anybody would like to create the i686 binary, please do a 
 bootstrap build using the Fedora JDK, followed by a bootstrap using the 
 previously created one, and then tar it up with the format of the x86_64 
 file, after having run the test suite against the final. I'm currently 
 looking into the few remaining test suite failures, but I suspect a 
 number of them are related to running in twm (windows not automatically 
 anchored in awt tests).
 I had a fatal failure in make, due to the fact that oracle jdk was installed 
 and found by configure. Moved out the /opt/jdk* (link and versioned dir), and 
 still failed. Next, linked /opt/jdk to icedtea-bin, and next failure: no 
 cpio. so, cpio is a requirement. Had noticed this requirement months ago also 
 in book's version.

 Phase1: using Fedora-bin
 Phase2: using New-bin

 I have done phase 1

 START - Building OpenJDK-1.7.0.3-i686-bin - Qua Mai 16 14:41:02 BRT 2012
 END - Building OpenJDK-1.7.0.3-i686-bin - Qua Mai 16 18:32:12 BRT 2012

 real231m10.016s
 user156m43.051s
 sys 36m36.799s

 For make -j1: 66m22.809s
 For make -k jtregcheck:  164m15.324s


 For phase2, after make, the tests are running, now.

 Please, keep on reading below.

 Files are available here:
 Bin builds:
 http://anduin.linuxfromscratch.org/files/BLFS/OpenJDK/OpenJDK-1.7.0.3-x86_64-bin.tar.xz
 or
 http://anduin.linuxfromscratch.org/files/BLFS/OpenJDK/java-1.7.0-openjdk-1.7.0.3-i686-fedora-18.tar.xz

 Source files:
 http://icedtea.classpath.org/download/source/icedtea-2.1.tar.gz
 http://anduin.linuxfromscratch.org/files/BLFS/OpenJDK/corba.tar.gz
 http://anduin.linuxfromscratch.org/files/BLFS/OpenJDK/hotspot.tar.gz
 http://anduin.linuxfromscratch.org/files/BLFS/OpenJDK/jaxp.tar.gz
 http://anduin.linuxfromscratch.org/files/BLFS/OpenJDK/jaxws.tar.gz
 http://anduin.linuxfromscratch.org/files/BLFS/OpenJDK/jdk.tar.gz
 http://anduin.linuxfromscratch.org/files/BLFS/OpenJDK/langtools.tar.gz
 http://anduin.linuxfromscratch.org/files/BLFS/OpenJDK/openjdk.tar.gz
 ftp://ftp.mozilla.org/pub/mozilla.org/js/rhino1_7R3.zip

 Patches:
 http://www.linuxfromscratch.org/patches/downloads/icedtea/icedtea-2.1-upstream_fixes-2.patch
 http://www.linuxfromscratch.org/patches/downloads/icedtea/icedtea-2.1-fixed_paths-1.patch
 http://www.linuxfromscratch.org/patches/downloads/icedtea/icedtea-2.1-add_cacerts-1.patch


 Instructions:

 Extract the binary installation, and move it to /opt/icedtea-bin
 Extract Rhino and put the js.jar and js-14.jar files into /usr/share/java

 Extract the icedtea-2.1 tarball as would normally be done.
 link the other tar.gz downloads into the source tree:

 ln -s ../openjdk.tar.gz .
 ln -s corba.tar.gz .
 ln -s jaxp.tar.gz .
 ln -s jaxws.tar.gz .
 ln -s jdk.tar.gz .
 ln -s langtools.tar.gz .
 ln -s hotspot.tar.gz .
 Of course, ln -s ../ everywhere, above, right?

 Apply the patches and prep for build:

 patch -Np1 -i ../icedtea-2.1-upstream_fixes-2.patch
 patch -Np1 -i ../icedtea-2.1-fixed_paths-1.patch
 patch -Np1 -i ../icedtea-2.1-add_cacerts-1.patch
 ./autogen.sh


 Finally, build and install the thing:

 ./configure --with-jdk-home=/opt/icedtea-bin \
  --enable-nss \
  --enable-pulse-java
 Here, failure, as I do not have pulse installed, so, another requirement, and 
 --enable-pulse-java was dropped. Having read troubles from others with 
 puse, which I do no need untill now, after finished current build, will make 
 a copy of this machine to install pulse and rebuild. This will be done after 
 I install xulrunner and build IcedTea plugin.

 make
 Here, race failure, with make -j4. Used -j1. Same behavior in phase 1 and 2.

 make -k jtregcheck
 For phase1:

 $ grep Test results 
 /home/fernando/Downloads/blfs/OpenJDK-1.7.0.3-i686-bin-with-Fedora-2012.05.16.log
 Test results: passed: 144
 Test results: passed: 3,643; failed: 452; error: 10
 Test results: passed: 1,920; failed: 1
 Test results: passed: 144
 Test results: passed: 3,643; failed: 452; error: 10
 Test results: passed: 1,920; failed: 1

 Seems the tests are run twice?

 For 

Re: [blfs-dev] OpenJDK downloads

2012-05-15 Thread DJ Lucas
Pierre Labastie pierre.labas...@neuf.fr wrote:

Le 15/05/2012 01:26, DJ Lucas a écrit :

 Okay, well this is gonna be ugly compared to typical book
instructions,
 but: x86_64 production bin file is in place. It no longer includes
 IcedTea-Web. I have not built on i686 yet. Help would be appreciated
 here, but I'll get to it in a few days if nobody steps up. I've
included
 a tar.xz extract of the Fedora i686 RPM to use as an initial
bootstrap
 compiler. If anybody would like to create the i686 binary, please do
a
 bootstrap build using the Fedora JDK, followed by a bootstrap using
the
 previously created one, and then tar it up with the format of the
x86_64
 file, after having run the test suite against the final. I'm
currently
 looking into the few remaining test suite failures, but I suspect a
 number of them are related to running in twm (windows not
automatically
 anchored in awt tests).

 Files are available here:
 Bin builds:

http://anduin.linuxfromscratch.org/files/BLFS/OpenJDK/OpenJDK-1.7.0.3-x86_64-bin.tar.xz
 or

http://anduin.linuxfromscratch.org/files/BLFS/OpenJDK/java-1.7.0-openjdk-1.7.0.3-i686-fedora-18.tar.xz

 [...files and installation instructions]

Thanks for the instructions. Will give it a try, but what about the 
deps? Is xulrunner really needed?

Pierre


-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

-- 
This message has been scanned for viruses and
dangerous content, and is believed to be clean.

Not any more as I don't include icedtea web...but nss should be recommended s 
well as pulse. Giflib, cups, and libXp are required.
-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

-- 
This message has been scanned for viruses and
dangerous content, and is believed to be clean.

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-dev] OpenJDK downloads

2012-05-14 Thread Bruce Dubbs
DJ Lucas wrote:
 I'm getting prepared to commit OpenJDK (IcedTea-2.1) to the book, 
 however, I wanted to ask for opinions on how to do the downloads. The 
 IcedTea tarball only contains the build environment. The makefile will 
 download the needed files as part of the build process (alternately you 
 can use the download make target). Unfortunately, the files are named 
 with git sums and renamed to something useful in the source tree. In all 
 other BLFS instructions, packages can be downloaded prior to building. 
 So options are, download 7 files with names such as 7ceda3124828.tar.gz, 
 host on anduin with the files already renamed, or just let the makefile 
 handle it with a note saying that if you want to build offline, you'll 
 need to download these files before hand?

I have no problem with hosting on Anduin.  Use whatever names are convenient.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] OpenJDK downloads

2012-05-14 Thread Fernando de Oliveira
--- Em seg, 14/5/12, DJ Lucas escreveu:

 De: DJ Lucas 
 Assunto: [blfs-dev] OpenJDK downloads
 Para: BLFS Development List 
 Data: Segunda-feira, 14 de Maio de 2012, 2:16
 I'm getting prepared to commit
 OpenJDK (IcedTea-2.1) to the book, 
 however, I wanted to ask for opinions on how to do the
 downloads. The 
 IcedTea tarball only contains the build environment. The
 makefile will 
 download the needed files as part of the build process
 (alternately you 
 can use the download make target). Unfortunately, the
 files are named 
 with git sums and renamed to something useful in the source
 tree. In all 
 other BLFS instructions, packages can be downloaded prior to
 building. 
 So options are, download 7 files with names such as
 7ceda3124828.tar.gz, 
 host on anduin with the files already renamed, or just let
 the makefile 
 handle it with a note saying that if you want to build
 offline, you'll 
 need to download these files before hand?
 
 -- DJ Lucas
 

Great, DJ!!!

I had started trying to understanding and writing scripts for this, last week, 
but hardware problems made it impossible. It seems that today will be able to 
get back to almost normal computer status.

Agree with Bruce, if I may give an opinion, although lasts a doubt if they need 
to be uploaded to Anduin (please, see below).

Again if I may give an opinion, leaving as much as possible to be easily 
upgradable in the page is better, as a user (e.g., myself) could easily upgrade 
her/his system, if for any reason the upgrade in the book is delayed.

About the decimal names you are referring to, had already reached that point, 
their downloads were successfull in my script, what is not much... then stopped 
due to the referred hardware problems.

It is a very very difficult build for someone in my level, and I am not sure if 
I would succeed.

Last, but not least, in LibreOffice, we have similar decimal named files, 
which I believe are not in Anduin.

[]s,
Fernando

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] OpenJDK downloads

2012-05-14 Thread Ken Moffat
On Mon, May 14, 2012 at 06:26:56PM -0500, DJ Lucas wrote:

 I suspect a 
 number of them are related to running in twm (windows not automatically 
 anchored in awt tests).
 
 I know we include twm for a minimal build of xorg, but I didn't
think anybody used it for a completed system.  Obviously, I'm
missing something - for me, fluxbox is an almost-usable wm, twm is
too painful.

 Normally, I use icewm-1.3 (which needs gtk+-2) - feel free to call
me a wimp, but I really don't understand how you can use twm
comfortably!

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-dev] OpenJDK downloads

2012-05-14 Thread DJ Lucas
On 05/14/2012 07:21 PM, Ken Moffat wrote:
 On Mon, May 14, 2012 at 06:26:56PM -0500, DJ Lucas wrote:

 I suspect a
 number of them are related to running in twm (windows not automatically
 anchored in awt tests).

   I know we include twm for a minimal build of xorg, but I didn't
 think anybody used it for a completed system.  Obviously, I'm
 missing something - for me, fluxbox is an almost-usable wm, twm is
 too painful.

   Normally, I use icewm-1.3 (which needs gtk+-2) - feel free to call
 me a wimp, but I really don't understand how you can use twm
 comfortably!

 ĸen

Heh, no I'd shoot myself if subjected to it for too long. Just meeting 
the most minimal requirements for a Java rebuild, and for that, a decent 
WM was not high prioritybut will be in about 10 minutes. That's 
still 190 packages in (-LFS packages included but not individual xorg 
packages)...probably just over the halfway point. Now I have heard that 
somebody is actually taking the time to modernize twm, but the only 
evidence I've seen of it is that it still builds against Xorg-7.7. Years 
ago I had seen some pretty elaborate twmrc setups, but I've never taken 
the time.

-- DJ Lucas


-- 
This message has been scanned for viruses and
dangerous content, and is believed to be clean.

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-dev] OpenJDK downloads

2012-05-14 Thread Bruce Dubbs
On 5/14/12, DJ Lucas d...@linuxfromscratch.org wrote:

 Heh, no I'd shoot myself if subjected to it for too long. Just meeting
 the most minimal requirements for a Java rebuild, and for that, a decent
 WM was not high prioritybut will be in about 10 minutes. That's
 still 190 packages in (-LFS packages included but not individual xorg
 packages)...probably just over the halfway point. Now I have heard that
 somebody is actually taking the time to modernize twm, but the only
 evidence I've seen of it is that it still builds against Xorg-7.7. Years
 ago I had seen some pretty elaborate twmrc setups, but I've never taken
 the time.

I agree that twm is not a wm that you want to spend a lot of time
with, but it's extreme simplicity makes it a good choice for testing
after building X.

  -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page