Re: [blfs-book] [BLFS Trac] #9929: OpenJDK-1.8.0.152

2017-11-01 Thread BLFS Trac via blfs-book
#9929: OpenJDK-1.8.0.152
-+--
 Reporter:  pierre.labastie  |   Owner:  pierre.labastie
 Type:  enhancement  |  Status:  assigned
 Priority:  normal   |   Milestone:  8.2
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:   |
-+--

Comment (by renodr):

 Let me know if you need some Java code to test with. I still have some of
 the stuff from my time in College.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #9929: OpenJDK-1.8.0.152

2017-11-01 Thread BLFS Trac via blfs-book
#9929: OpenJDK-1.8.0.152
-+--
 Reporter:  pierre.labastie  |   Owner:  pierre.labastie
 Type:  enhancement  |  Status:  assigned
 Priority:  normal   |   Milestone:  8.2
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:   |
-+--

Comment (by pierre.labastie):

 Java 9 introduces big changes, see
 [https://docs.oracle.com/javase/9/whatsnew/toc.htm]. Roughly, there is no
 more a jre directory, but a jmods directory with modules, which can be
 customized to downsize the jdk to a jre or even smaller.

 Also the ''cacerts'' file is now in ''$JAVA_HOME/lib/security'' (no jre
 dir in the path), and can be accessed with the option ''-cacerts'' in the
 '''keytool''' command (instead of ''-keystore ''). Furthermore the
 ''-import'' option to '''keytool''' is obsolete and should be replaced
 with ''-importcert''. This has some implications to the '''make-ca'''
 command.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #9929: OpenJDK-1.8.0.152

2017-11-01 Thread BLFS Trac via blfs-book
#9929: OpenJDK-1.8.0.152
-+--
 Reporter:  pierre.labastie  |   Owner:  pierre.labastie
 Type:  enhancement  |  Status:  assigned
 Priority:  normal   |   Milestone:  8.2
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:   |
-+--

Comment (by pierre.labastie):

 After a "poll" (only two answers) to the list, I think nobody is against
 moving to JAVA 9. Preliminary testing shows that system libraries are
 easier to use and testing is much easier. Furthermore, there is an OSS
 version of the binary JVM at
 http://download.java.net/java/GA/jdk9/9.0.1/binaries/openjdk-9.0.1_linux-
 x64_bin.tar.gz, which may eliminates the need to store it on anduin (note
 that we may still have to provide a 32 bit JVM on anduin)

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #9929: OpenJDK-1.8.0.152

2017-10-26 Thread Bruce Dubbs via blfs-book

BLFS Trac wrote:

#9929: OpenJDK-1.8.0.152
-+--
  Reporter:  pierre.labastie  |   Owner:  pierre.labastie
  Type:  enhancement  |  Status:  assigned
  Priority:  normal   |   Milestone:  8.2
Component:  BOOK | Version:  SVN
  Severity:  normal   |  Resolution:
  Keywords:   |
-+--

Comment (by pierre.labastie):

  Replying to [comment:5 Krejzi]:
  > Also, as a side note. I was looking at getting the proper version using
  BLFS currency scripts. The problem with openjdk detection is that it
  detects packages available on LFS servers, not the actual upstream ones.
  >
  > However, the links in the jdk page [1] are integrated somehow
  differently from other packages, and because of that they do not appear in
  wget-list. If you could make the download part look more like other
  packages, the currency could be used to fetch every new version. Would
  that be a problem?

  The layout can certainly be changed (it would be nice to have those in
  wget-list), but the currency problem lies elsewhere: there are new "8uxxx-
  byy" tags every week or so, but those are not releases. The only way to
  know which xxx/yy combination is a true release is to monitor the
  http://www.oracle.com/technetwork/java/javase/overview/index.html site.
  Also their issue tracking system is hard to use: identical issues do not
  have the same number if they are applied to different xxx (for example
  8u151 and 8u152) or different version (8 or 9).


The script can be changes to use 
http://www.oracle.com/technetwork/java/javase/overview/index.html and look 
for the line(s) with the word 'latest'.  Then take the largest 
digit-dot-digit-dot-digit on any lines.


Unfortunately, they seem to be using a windows text format so the line in 
question right now is about 18000 characters long.  The first match of 
digit-dot-digit-dot-digit is the correct one.


We have to use that technique on several sites now.  For example 
sourceforge.  However sourceforge is a bit more sane.


This works for now with version 9:

grep latest /tmp/index.html|sed -r 's/^.*(9\.[0-9\.]+) .*$/\1/'

It will fail when they go to version 10.

  -- Bruce

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

Re: [blfs-book] [BLFS Trac] #9929: OpenJDK-1.8.0.152

2017-10-26 Thread BLFS Trac via blfs-book
#9929: OpenJDK-1.8.0.152
-+--
 Reporter:  pierre.labastie  |   Owner:  pierre.labastie
 Type:  enhancement  |  Status:  assigned
 Priority:  normal   |   Milestone:  8.2
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:   |
-+--

Comment (by Krejzi):

 Yes, I was intending to use
 http://www.oracle.com/technetwork/java/javase/downloads/index.html
 anyways. We don't need to match bXX number (as it can't be done from that
 page), but we can match 8uXXX ones just fine.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #9929: OpenJDK-1.8.0.152

2017-10-26 Thread BLFS Trac via blfs-book
#9929: OpenJDK-1.8.0.152
-+--
 Reporter:  pierre.labastie  |   Owner:  pierre.labastie
 Type:  enhancement  |  Status:  assigned
 Priority:  normal   |   Milestone:  8.2
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:   |
-+--

Comment (by pierre.labastie):

 Replying to [comment:5 Krejzi]:
 > Also, as a side note. I was looking at getting the proper version using
 BLFS currency scripts. The problem with openjdk detection is that it
 detects packages available on LFS servers, not the actual upstream ones.
 >
 > However, the links in the jdk page [1] are integrated somehow
 differently from other packages, and because of that they do not appear in
 wget-list. If you could make the download part look more like other
 packages, the currency could be used to fetch every new version. Would
 that be a problem?

 The layout can certainly be changed (it would be nice to have those in
 wget-list), but the currency problem lies elsewhere: there are new "8uxxx-
 byy" tags every week or so, but those are not releases. The only way to
 know which xxx/yy combination is a true release is to monitor the
 http://www.oracle.com/technetwork/java/javase/overview/index.html site.
 Also their issue tracking system is hard to use: identical issues do not
 have the same number if they are applied to different xxx (for example
 8u151 and 8u152) or different version (8 or 9).

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #9929: OpenJDK-1.8.0.152

2017-10-26 Thread BLFS Trac via blfs-book
#9929: OpenJDK-1.8.0.152
-+--
 Reporter:  pierre.labastie  |   Owner:  pierre.labastie
 Type:  enhancement  |  Status:  assigned
 Priority:  normal   |   Milestone:  8.2
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:   |
-+--

Comment (by pierre.labastie):

 Replying to [comment:4 Krejzi]:
 > OpenJDK 9 has also been recently released. I don't know if it's worth
 upgrading at this time.

 I guess this is something which should be discussed on the list: as Bruce
 said, the book itself has only fop which depends on java, so it should be
 checked that fop can be built with java 9. But I know several users use
 java for programming, and they have certainly an opinion.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #9929: OpenJDK-1.8.0.152

2017-10-26 Thread BLFS Trac via blfs-book
#9929: OpenJDK-1.8.0.152
-+--
 Reporter:  pierre.labastie  |   Owner:  pierre.labastie
 Type:  enhancement  |  Status:  assigned
 Priority:  normal   |   Milestone:  8.2
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:   |
-+--

Comment (by Krejzi):

 Also, as a side note. I was looking at getting the proper version using
 BLFS currency scripts. The problem with openjdk detection is that it
 detects packages available on LFS servers, not the actual upstream ones.

 However, the links in the jdk page [1] are integrated somehow differently
 from other packages, and because of that they do not appear in wget-list.
 If you could make the download part look more like other packages, the
 currency could be used to fetch every new version. Would that be a
 problem? There are other packages split into several sources (take a look
 at LLVM, for example), and they all use same instruction format.


 [1] http://www.linuxfromscratch.org/blfs/view/svn/general/openjdk.html

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #9929: OpenJDK-1.8.0.152

2017-10-26 Thread BLFS Trac via blfs-book
#9929: OpenJDK-1.8.0.152
-+--
 Reporter:  pierre.labastie  |   Owner:  pierre.labastie
 Type:  enhancement  |  Status:  assigned
 Priority:  normal   |   Milestone:  8.2
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:   |
-+--

Comment (by Krejzi):

 OpenJDK 9 has also been recently released. I don't know if it's worth
 upgrading at this time.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #9929: OpenJDK-1.8.0.152

2017-10-24 Thread DJ Lucas via blfs-book
On October 24, 2017 11:13:52 AM CDT, BLFS Trac via blfs-book 
 wrote:
>#9929: OpenJDK-1.8.0.152
>-+--
> Reporter:  pierre.labastie  |   Owner:  pierre.labastie
> Type:  enhancement  |  Status:  assigned
> Priority:  normal   |   Milestone:  8.2
>Component:  BOOK | Version:  SVN
> Severity:  normal   |  Resolution:
> Keywords:   |
>-+--
>
>Comment (by bdubbs@…):
>
> Replying to [comment:2 pierre.labastie]:
> > Should we still provide a 32 bit VM?
>
> If it doesn't take a lot of time, yes.  However I think it would be
> relatively time consuming for very little value.  If we don't, a note
> saying that a 32-bit version is not available would be appropriate.
>
> As a side note, I just finished rebuilding the system on my laptop.  I
>find no use for java on that system at all.  I do build the 64-bit
>version
>on my development system for the book, but do not remember using it for
> anything I need other than fop (to render the pdf version of LFS).
>
>--
>Ticket URL:
>
>BLFS Trac 
>Beyond Linux From Scratch
>-- 
>http://lists.linuxfromscratch.org/listinfo/blfs-book
>FAQ: http://www.linuxfromscratch.org/blfs/faq.html
>Unsubscribe: See the above information page

We could keep the existing 141 32bit binary package around to use for 
bootstrapping the latest and just link to it from the wiki page. I think it's 
time we make it official that we don't directly support 32bit builds, and start 
ripping out the various case statements, just move those handful of 
instructions to the wiki so that they aren't lost, but note that they aren't 
tested frequently.

--DJ

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

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

Re: [blfs-book] [BLFS Trac] #9929: OpenJDK-1.8.0.152

2017-10-24 Thread BLFS Trac via blfs-book
#9929: OpenJDK-1.8.0.152
-+--
 Reporter:  pierre.labastie  |   Owner:  pierre.labastie
 Type:  enhancement  |  Status:  assigned
 Priority:  normal   |   Milestone:  8.2
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:   |
-+--

Comment (by bdubbs@…):

 Replying to [comment:2 pierre.labastie]:
 > Should we still provide a 32 bit VM?

 If it doesn't take a lot of time, yes.  However I think it would be
 relatively time consuming for very little value.  If we don't, a note
 saying that a 32-bit version is not available would be appropriate.

 As a side note, I just finished rebuilding the system on my laptop.  I
 find no use for java on that system at all.  I do build the 64-bit version
 on my development system for the book, but do not remember using it for
 anything I need other than fop (to render the pdf version of LFS).

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #9929: OpenJDK-1.8.0.152

2017-10-24 Thread BLFS Trac via blfs-book
#9929: OpenJDK-1.8.0.152
-+--
 Reporter:  pierre.labastie  |   Owner:  pierre.labastie
 Type:  enhancement  |  Status:  assigned
 Priority:  normal   |   Milestone:  8.2
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:   |
-+--

Comment (by pierre.labastie):

 Should we still provide a 32 bit VM?

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #9929: OpenJDK-1.8.0.152

2017-10-24 Thread BLFS Trac via blfs-book
#9929: OpenJDK-1.8.0.152
-+--
 Reporter:  pierre.labastie  |   Owner:  pierre.labastie
 Type:  enhancement  |  Status:  assigned
 Priority:  normal   |   Milestone:  8.2
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:   |
-+--
Changes (by pierre.labastie):

 * owner:  blfs-book@… => pierre.labastie
 * status:  new => assigned


--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page