Re: Problems with JDK8 build on Ubuntu?

2017-11-24 Thread dalibor topic
The cpio message comes from OpenJDK's configure script. See 
http://hg.openjdk.java.net/jdk8u/jdk8u/file/a0672a294b9a/common/autoconf/basics.m4 



  BASIC_REQUIRE_PROG(CPIO, cpio)

I would doubt that all OpenJDK build dependencies are part of the 
typical docker image, so you should run apt-get build-dep openjdk-8 (or 
9, depending on which one you're trying to create a CI image for) as 
part of your docker build.


cheers,
dalibor topic

On 24.11.2017 10:42, Ted Neward wrote:

Changing it up just a touch….

I got it to build fine inside of Ubuntu 16 (and, just for kicks, Kubuntu, since 
I prefer KDE as a GUI) without flaw.

But when I try to do it in a Docker image, I get a weird configure error: 
“Could not find cpio!”

Googling around reveals that cpio (as far as apt packaging is concerned) is 
replaced by tar, which is definitely in the image. And I didn’t run into this 
problem when I was doing in a real VM (as opposed to Docker), so I’m a little 
surprised by all this.

On top of that, I just got an OpenJDK 9 image to build fine inside of Docker 
right before I started to do the same for 8.

So…. Any thoughts?

BTW, if you want to have a look at the Dockerfiles, they’re at 
https://bitbucket.org/TedNeward/docker . (I put all the images that aren’t part 
of applications or platforms into this one repo. I find it easier to keep track 
of them that way for demos and stuff.) They’re in openjdk8 and openjdk9, 
respectively.

Ted Neward
Author, Speaker, Mentor
http://www.newardassociates.com
t: @tedneward | m: (425) 647-4526

On 11/23/17, 3:36 AM, "build-dev on behalf of Ted Neward" 
 wrote:

 That is just Byzantine enough to be true. :-)
 
 I had a feeling the answer was going to be something along the lines of “Reasons—and backwards compatibility reasons” or so, and that pretty neatly fits into that category, so…. Got it. :-)
 
 Thanks! Downloading source now and trying again. (I knew it had to be something stupidly simple on my end.)
 
 Ted Neward

 Author, Speaker, Mentor
 http://www.newardassociates.com
 t: @tedneward | m: (425) 647-4526
 
 On 11/23/17, 3:31 AM, "dalibor topic"  wrote:
 
 
 
 On 23.11.2017 12:25, Ted Neward wrote:

 > OK, so it’s still at java.net; that’s good to know. :-)
 >
 > Out of curiosity, though, what’s the difference? Why maintain two?
 
 jdk8/jdk8 is the 'historic' source code 'archive' for the development of

 JDK 8. JDK 8u is what happened since in the updates.
 
 JDK Release Projects like JDK 8 have a special status in Bylaws (see

 http://openjdk.java.net/bylaws#jdk-release-projects) while 'regular'
 Projects like JDK 8 Updates do not. So updates end up being separate
 Projects with separate repos.
 
 Well ... you asked. ;)
 
 cheers,

 dalibor topic
 
 > Ted Neward

 > Author, Speaker, Mentor
 > http://www.newardassociates.com
 > t: @tedneward | m: (425) 647-4526
 >
 > On 11/23/17, 3:21 AM, "dalibor topic"  
wrote:
 >
 >  hg clone http://hg.openjdk.java.net/jdk8u/jdk8u/ and then bash
 >  get_source.sh within jdk8u directory.
 >
 >  cheers,
 >  dalibor topic
 >
 >  On 23.11.2017 12:15, Ted Neward wrote:
 >  > Save me a Google and remind me where that repo URL is? :-)
 >  >
 >  > Ted Neward
 >  > Author, Speaker, Mentor
 >  > http://www.newardassociates.com
 >  > t: @tedneward | m: (425) 647-4526
 >  >
 >  > On 11/23/17, 3:14 AM, "dalibor topic" 
 wrote:
 >  >
 >  >  Probably - jdk8/jdk8 is the GA source code from a few 
years ago.
 >  >  jdk8u/jdk8u is the latest JDK 8 updates.
 >  >
 >  >  cheers,
 >  >  dalibor topic
 >  >
 >  >  On 23.11.2017 12:12, Ted Neward wrote:
 >  >  > Errr….. What’s the difference, again?
 >  >  >
 >  >  > I cloned java.net/jdk8/jdk8, which is what I thought 
was the correct repo—is there a new URL? I haven’t done this in a while, so I jumped 
onto Google and took the first URL in a description that seemed correct. Am I trying to 
clone the wrong repo?
 >  >  >
 >  >  > Ted Neward
 >  >  > Author, Speaker, Mentor
 >  >  > http://www.newardassociates.com
 >  >  > t: @tedneward | m: (425) 647-4526
 >  >  >
 >  >  > On 11/23/17, 3:08 AM, "build-dev on behalf of dalibor topic" 

Re: Problems with JDK8 build on Ubuntu?

2017-11-24 Thread Ted Neward
Changing it up just a touch….

I got it to build fine inside of Ubuntu 16 (and, just for kicks, Kubuntu, since 
I prefer KDE as a GUI) without flaw.

But when I try to do it in a Docker image, I get a weird configure error: 
“Could not find cpio!”

Googling around reveals that cpio (as far as apt packaging is concerned) is 
replaced by tar, which is definitely in the image. And I didn’t run into this 
problem when I was doing in a real VM (as opposed to Docker), so I’m a little 
surprised by all this.

On top of that, I just got an OpenJDK 9 image to build fine inside of Docker 
right before I started to do the same for 8.

So…. Any thoughts?

BTW, if you want to have a look at the Dockerfiles, they’re at 
https://bitbucket.org/TedNeward/docker . (I put all the images that aren’t part 
of applications or platforms into this one repo. I find it easier to keep track 
of them that way for demos and stuff.) They’re in openjdk8 and openjdk9, 
respectively.

Ted Neward
Author, Speaker, Mentor
http://www.newardassociates.com
t: @tedneward | m: (425) 647-4526

On 11/23/17, 3:36 AM, "build-dev on behalf of Ted Neward" 
 wrote:

That is just Byzantine enough to be true. :-)

I had a feeling the answer was going to be something along the lines of 
“Reasons—and backwards compatibility reasons” or so, and that pretty neatly 
fits into that category, so…. Got it. :-)

Thanks! Downloading source now and trying again. (I knew it had to be 
something stupidly simple on my end.)

Ted Neward
Author, Speaker, Mentor
http://www.newardassociates.com
t: @tedneward | m: (425) 647-4526

On 11/23/17, 3:31 AM, "dalibor topic"  wrote:



On 23.11.2017 12:25, Ted Neward wrote:
> OK, so it’s still at java.net; that’s good to know. :-)
> 
> Out of curiosity, though, what’s the difference? Why maintain two?

jdk8/jdk8 is the 'historic' source code 'archive' for the development 
of 
JDK 8. JDK 8u is what happened since in the updates.

JDK Release Projects like JDK 8 have a special status in Bylaws (see 
http://openjdk.java.net/bylaws#jdk-release-projects) while 'regular' 
Projects like JDK 8 Updates do not. So updates end up being separate 
Projects with separate repos.

Well ... you asked. ;)

cheers,
dalibor topic

> Ted Neward
> Author, Speaker, Mentor
> http://www.newardassociates.com
> t: @tedneward | m: (425) 647-4526
> 
> On 11/23/17, 3:21 AM, "dalibor topic"  
wrote:
> 
>  hg clone http://hg.openjdk.java.net/jdk8u/jdk8u/ and then bash
>  get_source.sh within jdk8u directory.
>  
>  cheers,
>  dalibor topic
>  
>  On 23.11.2017 12:15, Ted Neward wrote:
>  > Save me a Google and remind me where that repo URL is? :-)
>  >
>  > Ted Neward
>  > Author, Speaker, Mentor
>  > http://www.newardassociates.com
>  > t: @tedneward | m: (425) 647-4526
>  >
>  > On 11/23/17, 3:14 AM, "dalibor topic" 
 wrote:
>  >
>  >  Probably - jdk8/jdk8 is the GA source code from a few 
years ago.
>  >  jdk8u/jdk8u is the latest JDK 8 updates.
>  >
>  >  cheers,
>  >  dalibor topic
>  >
>  >  On 23.11.2017 12:12, Ted Neward wrote:
>  >  > Errr….. What’s the difference, again?
>  >  >
>  >  > I cloned java.net/jdk8/jdk8, which is what I thought 
was the correct repo—is there a new URL? I haven’t done this in a while, so I 
jumped onto Google and took the first URL in a description that seemed correct. 
Am I trying to clone the wrong repo?
>  >  >
>  >  > Ted Neward
>  >  > Author, Speaker, Mentor
>  >  > http://www.newardassociates.com
>  >  > t: @tedneward | m: (425) 647-4526
>  >  >
>  >  > On 11/23/17, 3:08 AM, "build-dev on behalf of dalibor 
topic"  wrote:
>  >  >
>  >  >  You're not trying to build jdk8/jdk8 instead of 
jdk8u/jdk8u, right?
>  >  >
>  >  >  cheers,
>  >  >  dalibor topic
>  >  >
>  >  >  On 23.11.2017 11:50, Ted Neward wrote:
>  >  >  > Yeah, I’ve got build-dep and openjdk-8. I’ll 
have a look at the source, but this begs a question: Why hasn’t it been 
backported 

Re: Problems with JDK8 build on Ubuntu?

2017-11-23 Thread John Paul Adrian Glaubitz

On 11/23/2017 01:15 PM, Andrew Haley wrote:

On 23/11/17 12:10, John Paul Adrian Glaubitz wrote:

I have upstreamed many Debian-related fixes to OpenJDK but they are so far
only part of OpenJDK-10. I haven't done any backports to OpenJDK yet, but
I might start doing this with OpenJDK-9 in the near future.


Are these specifically Debian-related, or also things that we might
carry in RPMs too?  I've been wondering if it might be interesting to
see if we're carrying local fixes for the same problems.


I would say most of them are not Debian-specific. However, many of the
patches are just present in Debian because of the multitude of architectures
that exist in Debian.

The current list of patches used in the openjdk-9 package can be found in [1].

Adrian


[1] https://sources.debian.net/src/openjdk-9/9%7Eb181-2/debian/patches/


--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Re: Problems with JDK8 build on Ubuntu?

2017-11-23 Thread Andrew Haley
On 23/11/17 12:10, John Paul Adrian Glaubitz wrote:
> I have upstreamed many Debian-related fixes to OpenJDK but they are so far
> only part of OpenJDK-10. I haven't done any backports to OpenJDK yet, but
> I might start doing this with OpenJDK-9 in the near future.

Are these specifically Debian-related, or also things that we might
carry in RPMs too?  I've been wondering if it might be interesting to
see if we're carrying local fixes for the same problems.

-- 
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. 
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671


Re: Problems with JDK8 build on Ubuntu?

2017-11-23 Thread John Paul Adrian Glaubitz

Hi Ted!

On 11/23/2017 11:50 AM, Ted Neward wrote:

Yeah, I’ve got build-dep and openjdk-8. I’ll have a look at the source,
but this begs a question: Why hasn’t it been backported to the JDK8 repo,
if it’s a known fix?


I have upstreamed many Debian-related fixes to OpenJDK but they are so far
only part of OpenJDK-10. I haven't done any backports to OpenJDK yet, but
I might start doing this with OpenJDK-9 in the near future.

Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Re: Problems with JDK8 build on Ubuntu?

2017-11-23 Thread dalibor topic

See https://wiki.openjdk.java.net/display/Build/Supported+Build+Platforms

Other JDK 8 build platforms

Linux x86 and x86_64(green star)Ubuntu 14.04gcc 4.8.2   Works 
flawlessly
(green star)Ubuntu 13.10gcc 4.8.1   Works flawlessly


Ubuntu Server seems to be 16.04 or 17.10, so you may need to play with 
g++ flags to not error out on warnings, in case that g++ on the system 
is too ... fresh. It should build fine with gcc 6 based systems, too, 
while you may need to disable warnings as errors with gcc 7.


cheers,
dalibor topic

On 23.11.2017 12:19, Ted Neward wrote:

Oh, one other more general question: Has anybody built OpenJDK successfully 
using Ubuntu Server? (I just need a quick build VM, I don’t necessarily need 
all the GUI bells and whistles, in many/most cases.)

I know AdoptOpenJDK has a Docker image, too, but I’m not sure how to use it and 
sort of gave up fairly quickly when it wasn’t brutally obvious. (I can’t tell 
if the Docker image there includes the source or not, and/or if the source 
would need to be mounted in a separate volume, and how then it would be updated 
when new changes are made, etc.) I should probably figure all that out, but I 
was trying to go with the least-amount-of-work path to get to a slowdebug 
version of the OpenJDK that I could use for some diagnostic purposes for 
digging into the G1 GC.

Ted Neward
Author, Speaker, Mentor
http://www.newardassociates.com
t: @tedneward | m: (425) 647-4526

On 11/23/17, 3:14 AM, "dalibor topic"  wrote:

 Probably - jdk8/jdk8 is the GA source code from a few years ago.
 jdk8u/jdk8u is the latest JDK 8 updates.
 
 cheers,

 dalibor topic
 
 On 23.11.2017 12:12, Ted Neward wrote:

 > Errr….. What’s the difference, again?
 >
 > I cloned java.net/jdk8/jdk8, which is what I thought was the correct 
repo—is there a new URL? I haven’t done this in a while, so I jumped onto Google 
and took the first URL in a description that seemed correct. Am I trying to clone 
the wrong repo?
 >
 > Ted Neward
 > Author, Speaker, Mentor
 > http://www.newardassociates.com
 > t: @tedneward | m: (425) 647-4526
 >
 > On 11/23/17, 3:08 AM, "build-dev on behalf of dalibor topic" 
 wrote:
 >
 >  You're not trying to build jdk8/jdk8 instead of jdk8u/jdk8u, right?
 >
 >  cheers,
 >  dalibor topic
 >
 >  On 23.11.2017 11:50, Ted Neward wrote:
 >  > Yeah, I’ve got build-dep and openjdk-8. I’ll have a look at the 
source, but this begs a question: Why hasn’t it been backported to the JDK8 repo, if 
it’s a known fix?
 >  >
 >  > Ted Neward
 >  > Author, Speaker, Mentor
 >  > http://www.newardassociates.com
 >  > t: @tedneward | m: (425) 647-4526
 >  >
 >  > On 11/23/17, 2:32 AM, "John Paul Adrian Glaubitz" 
 wrote:
 >  >
 >  >  Hi Ted!
 >  >
 >  >  On 11/23/2017 11:23 AM, Ted Neward wrote:
 >  >  > When I run it, there’s a problem about OS version 
detection, which I found a fix
 >  >  > for, but then it appears that there’s some kind of syntax 
error in a generate makefile.
 >  >  > Before I attach a ridiculously long logfile, does anybody 
have a quick fix or know where
 >  >  > I should go to get the fix?
 >  >
 >  >  I suggest having a look at the Debian packaging source for 
the openjdk-8 package
 >  >  which is also used in Ubuntu (the maintainer is Matthias 
Klose in both cases) [1].
 >  >
 >  >  Have a look at the patches in debian/patches as well as the 
build script in debian/
 >  >  rules. This should give you the right idea on what is 
necessary to OpenJDK 8 build
 >  >  on Ubuntu.
 >  >
 >  >  Please also make sure you have the necessary build 
dependencies installed:
 >  >
 >  >  # apt build-dep openjdk-8
 >  >
 >  >  Adrian
 >  >
 >  >  > [1] 
http://bazaar.launchpad.net/~openjdk/openjdk/openjdk8/files
 >  >
 >  >  --
 >  >.''`.  John Paul Adrian Glaubitz
 >  >  : :' :  Debian Developer - glaub...@debian.org
 >  >  `. `'   Freie Universitaet Berlin - 
glaub...@physik.fu-berlin.de
 >  > `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 
F913
 >  >
 >  >
 >  >
 >
 >  --
 >   Dalibor Topic | Principal Product Manager
 >  Phone: +494089091214  | Mobile: +491737185961
 >  
 >
 >  ORACLE Deutschland B.V. & Co. KG | Kühnehöfe 5 | 22761 Hamburg
 >
 >  ORACLE 

Re: Problems with JDK8 build on Ubuntu?

2017-11-23 Thread Ted Neward
That is just Byzantine enough to be true. :-)

I had a feeling the answer was going to be something along the lines of 
“Reasons—and backwards compatibility reasons” or so, and that pretty neatly 
fits into that category, so…. Got it. :-)

Thanks! Downloading source now and trying again. (I knew it had to be something 
stupidly simple on my end.)

Ted Neward
Author, Speaker, Mentor
http://www.newardassociates.com
t: @tedneward | m: (425) 647-4526

On 11/23/17, 3:31 AM, "dalibor topic"  wrote:



On 23.11.2017 12:25, Ted Neward wrote:
> OK, so it’s still at java.net; that’s good to know. :-)
> 
> Out of curiosity, though, what’s the difference? Why maintain two?

jdk8/jdk8 is the 'historic' source code 'archive' for the development of 
JDK 8. JDK 8u is what happened since in the updates.

JDK Release Projects like JDK 8 have a special status in Bylaws (see 
http://openjdk.java.net/bylaws#jdk-release-projects) while 'regular' 
Projects like JDK 8 Updates do not. So updates end up being separate 
Projects with separate repos.

Well ... you asked. ;)

cheers,
dalibor topic

> Ted Neward
> Author, Speaker, Mentor
> http://www.newardassociates.com
> t: @tedneward | m: (425) 647-4526
> 
> On 11/23/17, 3:21 AM, "dalibor topic"  wrote:
> 
>  hg clone http://hg.openjdk.java.net/jdk8u/jdk8u/ and then bash
>  get_source.sh within jdk8u directory.
>  
>  cheers,
>  dalibor topic
>  
>  On 23.11.2017 12:15, Ted Neward wrote:
>  > Save me a Google and remind me where that repo URL is? :-)
>  >
>  > Ted Neward
>  > Author, Speaker, Mentor
>  > http://www.newardassociates.com
>  > t: @tedneward | m: (425) 647-4526
>  >
>  > On 11/23/17, 3:14 AM, "dalibor topic"  
wrote:
>  >
>  >  Probably - jdk8/jdk8 is the GA source code from a few years 
ago.
>  >  jdk8u/jdk8u is the latest JDK 8 updates.
>  >
>  >  cheers,
>  >  dalibor topic
>  >
>  >  On 23.11.2017 12:12, Ted Neward wrote:
>  >  > Errr….. What’s the difference, again?
>  >  >
>  >  > I cloned java.net/jdk8/jdk8, which is what I thought was 
the correct repo—is there a new URL? I haven’t done this in a while, so I 
jumped onto Google and took the first URL in a description that seemed correct. 
Am I trying to clone the wrong repo?
>  >  >
>  >  > Ted Neward
>  >  > Author, Speaker, Mentor
>  >  > http://www.newardassociates.com
>  >  > t: @tedneward | m: (425) 647-4526
>  >  >
>  >  > On 11/23/17, 3:08 AM, "build-dev on behalf of dalibor 
topic"  wrote:
>  >  >
>  >  >  You're not trying to build jdk8/jdk8 instead of 
jdk8u/jdk8u, right?
>  >  >
>  >  >  cheers,
>  >  >  dalibor topic
>  >  >
>  >  >  On 23.11.2017 11:50, Ted Neward wrote:
>  >  >  > Yeah, I’ve got build-dep and openjdk-8. I’ll have a 
look at the source, but this begs a question: Why hasn’t it been backported to 
the JDK8 repo, if it’s a known fix?
>  >  >  >
>  >  >  > Ted Neward
>  >  >  > Author, Speaker, Mentor
>  >  >  > http://www.newardassociates.com
>  >  >  > t: @tedneward | m: (425) 647-4526
>  >  >  >
>  >  >  > On 11/23/17, 2:32 AM, "John Paul Adrian Glaubitz" 
 wrote:
>  >  >  >
>  >  >  >  Hi Ted!
>  >  >  >
>  >  >  >  On 11/23/2017 11:23 AM, Ted Neward wrote:
>  >  >  >  > When I run it, there’s a problem about OS 
version detection, which I found a fix
>  >  >  >  > for, but then it appears that there’s some 
kind of syntax error in a generate makefile.
>  >  >  >  > Before I attach a ridiculously long logfile, 
does anybody have a quick fix or know where
>  >  >  >  > I should go to get the fix?
>  >  >  >
>  >  >  >  I suggest having a look at the Debian packaging 
source for the openjdk-8 package
>  >  >  >  which is also used in Ubuntu (the maintainer is 
Matthias Klose in both cases) [1].
>  >  >  >
>  >  >  >  Have a look at the patches in debian/patches as 
well as the build script in debian/
>  >  >  >  rules. This should give you the right idea on 
what is necessary to OpenJDK 8 build

Re: Problems with JDK8 build on Ubuntu?

2017-11-23 Thread dalibor topic



On 23.11.2017 12:25, Ted Neward wrote:

OK, so it’s still at java.net; that’s good to know. :-)

Out of curiosity, though, what’s the difference? Why maintain two?


jdk8/jdk8 is the 'historic' source code 'archive' for the development of 
JDK 8. JDK 8u is what happened since in the updates.


JDK Release Projects like JDK 8 have a special status in Bylaws (see 
http://openjdk.java.net/bylaws#jdk-release-projects) while 'regular' 
Projects like JDK 8 Updates do not. So updates end up being separate 
Projects with separate repos.


Well ... you asked. ;)

cheers,
dalibor topic


Ted Neward
Author, Speaker, Mentor
http://www.newardassociates.com
t: @tedneward | m: (425) 647-4526

On 11/23/17, 3:21 AM, "dalibor topic"  wrote:

 hg clone http://hg.openjdk.java.net/jdk8u/jdk8u/ and then bash
 get_source.sh within jdk8u directory.
 
 cheers,

 dalibor topic
 
 On 23.11.2017 12:15, Ted Neward wrote:

 > Save me a Google and remind me where that repo URL is? :-)
 >
 > Ted Neward
 > Author, Speaker, Mentor
 > http://www.newardassociates.com
 > t: @tedneward | m: (425) 647-4526
 >
 > On 11/23/17, 3:14 AM, "dalibor topic"  wrote:
 >
 >  Probably - jdk8/jdk8 is the GA source code from a few years ago.
 >  jdk8u/jdk8u is the latest JDK 8 updates.
 >
 >  cheers,
 >  dalibor topic
 >
 >  On 23.11.2017 12:12, Ted Neward wrote:
 >  > Errr….. What’s the difference, again?
 >  >
 >  > I cloned java.net/jdk8/jdk8, which is what I thought was the 
correct repo—is there a new URL? I haven’t done this in a while, so I jumped onto 
Google and took the first URL in a description that seemed correct. Am I trying to 
clone the wrong repo?
 >  >
 >  > Ted Neward
 >  > Author, Speaker, Mentor
 >  > http://www.newardassociates.com
 >  > t: @tedneward | m: (425) 647-4526
 >  >
 >  > On 11/23/17, 3:08 AM, "build-dev on behalf of dalibor topic" 
 wrote:
 >  >
 >  >  You're not trying to build jdk8/jdk8 instead of jdk8u/jdk8u, 
right?
 >  >
 >  >  cheers,
 >  >  dalibor topic
 >  >
 >  >  On 23.11.2017 11:50, Ted Neward wrote:
 >  >  > Yeah, I’ve got build-dep and openjdk-8. I’ll have a look 
at the source, but this begs a question: Why hasn’t it been backported to the JDK8 repo, 
if it’s a known fix?
 >  >  >
 >  >  > Ted Neward
 >  >  > Author, Speaker, Mentor
 >  >  > http://www.newardassociates.com
 >  >  > t: @tedneward | m: (425) 647-4526
 >  >  >
 >  >  > On 11/23/17, 2:32 AM, "John Paul Adrian Glaubitz" 
 wrote:
 >  >  >
 >  >  >  Hi Ted!
 >  >  >
 >  >  >  On 11/23/2017 11:23 AM, Ted Neward wrote:
 >  >  >  > When I run it, there’s a problem about OS version 
detection, which I found a fix
 >  >  >  > for, but then it appears that there’s some kind of 
syntax error in a generate makefile.
 >  >  >  > Before I attach a ridiculously long logfile, does 
anybody have a quick fix or know where
 >  >  >  > I should go to get the fix?
 >  >  >
 >  >  >  I suggest having a look at the Debian packaging 
source for the openjdk-8 package
 >  >  >  which is also used in Ubuntu (the maintainer is 
Matthias Klose in both cases) [1].
 >  >  >
 >  >  >  Have a look at the patches in debian/patches as well 
as the build script in debian/
 >  >  >  rules. This should give you the right idea on what is 
necessary to OpenJDK 8 build
 >  >  >  on Ubuntu.
 >  >  >
 >  >  >  Please also make sure you have the necessary build 
dependencies installed:
 >  >  >
 >  >  >  # apt build-dep openjdk-8
 >  >  >
 >  >  >  Adrian
 >  >  >
 >  >  >  > [1] 
http://bazaar.launchpad.net/~openjdk/openjdk/openjdk8/files
 >  >  >
 >  >  >  --
 >  >  >.''`.  John Paul Adrian Glaubitz
 >  >  >  : :' :  Debian Developer - glaub...@debian.org
 >  >  >  `. `'   Freie Universitaet Berlin - 
glaub...@physik.fu-berlin.de
 >  >  > `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 
3B37 F5B5 F913
 >  >  >
 >  >  >
 >  >  >
 >  >
 >  >  --
 >  >   Dalibor Topic | Principal Product 
Manager
 >  >  Phone: +494089091214  | Mobile: 

Re: Problems with JDK8 build on Ubuntu?

2017-11-23 Thread Andrew Haley
On 23/11/17 11:25, Ted Neward wrote:
> OK, so it’s still at java.net; that’s good to know. :-)
> 
> Out of curiosity, though, what’s the difference? Why maintain two?

The old one is not maintained.  However, it is the reference
implementation of JDK 8 and -- like the laws of the Medes and Persians
-- can never be changed.

-- 
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. 
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671


Re: Problems with JDK8 build on Ubuntu?

2017-11-23 Thread Ted Neward
OK, so it’s still at java.net; that’s good to know. :-)

Out of curiosity, though, what’s the difference? Why maintain two?

Ted Neward
Author, Speaker, Mentor
http://www.newardassociates.com
t: @tedneward | m: (425) 647-4526

On 11/23/17, 3:21 AM, "dalibor topic"  wrote:

hg clone http://hg.openjdk.java.net/jdk8u/jdk8u/ and then bash 
get_source.sh within jdk8u directory.

cheers,
dalibor topic

On 23.11.2017 12:15, Ted Neward wrote:
> Save me a Google and remind me where that repo URL is? :-)
> 
> Ted Neward
> Author, Speaker, Mentor
> http://www.newardassociates.com
> t: @tedneward | m: (425) 647-4526
> 
> On 11/23/17, 3:14 AM, "dalibor topic"  wrote:
> 
>  Probably - jdk8/jdk8 is the GA source code from a few years ago.
>  jdk8u/jdk8u is the latest JDK 8 updates.
>  
>  cheers,
>  dalibor topic
>  
>  On 23.11.2017 12:12, Ted Neward wrote:
>  > Errr….. What’s the difference, again?
>  >
>  > I cloned java.net/jdk8/jdk8, which is what I thought was the 
correct repo—is there a new URL? I haven’t done this in a while, so I jumped 
onto Google and took the first URL in a description that seemed correct. Am I 
trying to clone the wrong repo?
>  >
>  > Ted Neward
>  > Author, Speaker, Mentor
>  > http://www.newardassociates.com
>  > t: @tedneward | m: (425) 647-4526
>  >
>  > On 11/23/17, 3:08 AM, "build-dev on behalf of dalibor topic" 
 
wrote:
>  >
>  >  You're not trying to build jdk8/jdk8 instead of jdk8u/jdk8u, 
right?
>  >
>  >  cheers,
>  >  dalibor topic
>  >
>  >  On 23.11.2017 11:50, Ted Neward wrote:
>  >  > Yeah, I’ve got build-dep and openjdk-8. I’ll have a look at 
the source, but this begs a question: Why hasn’t it been backported to the JDK8 
repo, if it’s a known fix?
>  >  >
>  >  > Ted Neward
>  >  > Author, Speaker, Mentor
>  >  > http://www.newardassociates.com
>  >  > t: @tedneward | m: (425) 647-4526
>  >  >
>  >  > On 11/23/17, 2:32 AM, "John Paul Adrian Glaubitz" 
 wrote:
>  >  >
>  >  >  Hi Ted!
>  >  >
>  >  >  On 11/23/2017 11:23 AM, Ted Neward wrote:
>  >  >  > When I run it, there’s a problem about OS version 
detection, which I found a fix
>  >  >  > for, but then it appears that there’s some kind of 
syntax error in a generate makefile.
>  >  >  > Before I attach a ridiculously long logfile, does 
anybody have a quick fix or know where
>  >  >  > I should go to get the fix?
>  >  >
>  >  >  I suggest having a look at the Debian packaging source 
for the openjdk-8 package
>  >  >  which is also used in Ubuntu (the maintainer is 
Matthias Klose in both cases) [1].
>  >  >
>  >  >  Have a look at the patches in debian/patches as well 
as the build script in debian/
>  >  >  rules. This should give you the right idea on what is 
necessary to OpenJDK 8 build
>  >  >  on Ubuntu.
>  >  >
>  >  >  Please also make sure you have the necessary build 
dependencies installed:
>  >  >
>  >  >  # apt build-dep openjdk-8
>  >  >
>  >  >  Adrian
>  >  >
>  >  >  > [1] 
http://bazaar.launchpad.net/~openjdk/openjdk/openjdk8/files
>  >  >
>  >  >  --
>  >  >.''`.  John Paul Adrian Glaubitz
>  >  >  : :' :  Debian Developer - glaub...@debian.org
>  >  >  `. `'   Freie Universitaet Berlin - 
glaub...@physik.fu-berlin.de
>  >  > `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 
F5B5 F913
>  >  >
>  >  >
>  >  >
>  >
>  >  --
>  >   Dalibor Topic | Principal Product 
Manager
>  >  Phone: +494089091214  | Mobile: 
+491737185961
>  >  
>  >
>  >  ORACLE Deutschland B.V. & Co. KG | Kühnehöfe 5 | 22761 Hamburg
>  >
>  >  ORACLE Deutschland B.V. & Co. KG
>  >  Hauptverwaltung: Riesstr. 25, D-80992 München
>  >  Registergericht: Amtsgericht München, HRA 95603
>  >
>  >  Komplementärin: ORACLE Deutschland Verwaltung B.V.
>  >  Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
>  >  Handelsregister 

Re: Problems with JDK8 build on Ubuntu?

2017-11-23 Thread dalibor topic
hg clone http://hg.openjdk.java.net/jdk8u/jdk8u/ and then bash 
get_source.sh within jdk8u directory.


cheers,
dalibor topic

On 23.11.2017 12:15, Ted Neward wrote:

Save me a Google and remind me where that repo URL is? :-)

Ted Neward
Author, Speaker, Mentor
http://www.newardassociates.com
t: @tedneward | m: (425) 647-4526

On 11/23/17, 3:14 AM, "dalibor topic"  wrote:

 Probably - jdk8/jdk8 is the GA source code from a few years ago.
 jdk8u/jdk8u is the latest JDK 8 updates.
 
 cheers,

 dalibor topic
 
 On 23.11.2017 12:12, Ted Neward wrote:

 > Errr….. What’s the difference, again?
 >
 > I cloned java.net/jdk8/jdk8, which is what I thought was the correct 
repo—is there a new URL? I haven’t done this in a while, so I jumped onto Google 
and took the first URL in a description that seemed correct. Am I trying to clone 
the wrong repo?
 >
 > Ted Neward
 > Author, Speaker, Mentor
 > http://www.newardassociates.com
 > t: @tedneward | m: (425) 647-4526
 >
 > On 11/23/17, 3:08 AM, "build-dev on behalf of dalibor topic" 
 wrote:
 >
 >  You're not trying to build jdk8/jdk8 instead of jdk8u/jdk8u, right?
 >
 >  cheers,
 >  dalibor topic
 >
 >  On 23.11.2017 11:50, Ted Neward wrote:
 >  > Yeah, I’ve got build-dep and openjdk-8. I’ll have a look at the 
source, but this begs a question: Why hasn’t it been backported to the JDK8 repo, if 
it’s a known fix?
 >  >
 >  > Ted Neward
 >  > Author, Speaker, Mentor
 >  > http://www.newardassociates.com
 >  > t: @tedneward | m: (425) 647-4526
 >  >
 >  > On 11/23/17, 2:32 AM, "John Paul Adrian Glaubitz" 
 wrote:
 >  >
 >  >  Hi Ted!
 >  >
 >  >  On 11/23/2017 11:23 AM, Ted Neward wrote:
 >  >  > When I run it, there’s a problem about OS version 
detection, which I found a fix
 >  >  > for, but then it appears that there’s some kind of syntax 
error in a generate makefile.
 >  >  > Before I attach a ridiculously long logfile, does anybody 
have a quick fix or know where
 >  >  > I should go to get the fix?
 >  >
 >  >  I suggest having a look at the Debian packaging source for 
the openjdk-8 package
 >  >  which is also used in Ubuntu (the maintainer is Matthias 
Klose in both cases) [1].
 >  >
 >  >  Have a look at the patches in debian/patches as well as the 
build script in debian/
 >  >  rules. This should give you the right idea on what is 
necessary to OpenJDK 8 build
 >  >  on Ubuntu.
 >  >
 >  >  Please also make sure you have the necessary build 
dependencies installed:
 >  >
 >  >  # apt build-dep openjdk-8
 >  >
 >  >  Adrian
 >  >
 >  >  > [1] 
http://bazaar.launchpad.net/~openjdk/openjdk/openjdk8/files
 >  >
 >  >  --
 >  >.''`.  John Paul Adrian Glaubitz
 >  >  : :' :  Debian Developer - glaub...@debian.org
 >  >  `. `'   Freie Universitaet Berlin - 
glaub...@physik.fu-berlin.de
 >  > `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 
F913
 >  >
 >  >
 >  >
 >
 >  --
 >   Dalibor Topic | Principal Product Manager
 >  Phone: +494089091214  | Mobile: +491737185961
 >  
 >
 >  ORACLE Deutschland B.V. & Co. KG | Kühnehöfe 5 | 22761 Hamburg
 >
 >  ORACLE Deutschland B.V. & Co. KG
 >  Hauptverwaltung: Riesstr. 25, D-80992 München
 >  Registergericht: Amtsgericht München, HRA 95603
 >
 >  Komplementärin: ORACLE Deutschland Verwaltung B.V.
 >  Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
 >  Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
 >  Geschäftsführer: Alexander van der Ven, Jan Schultheiss, Val Maher
 >
 >   Oracle is committed to developing
 >  practices and products that help protect the environment
 >
 >
 >
 
 --

  Dalibor Topic | Principal Product Manager
 Phone: +494089091214  | Mobile: +491737185961
 
 
 ORACLE Deutschland B.V. & Co. KG | Kühnehöfe 5 | 22761 Hamburg
 
 ORACLE Deutschland B.V. & Co. KG

 Hauptverwaltung: Riesstr. 25, D-80992 München
 Registergericht: Amtsgericht München, HRA 95603
 
 Komplementärin: ORACLE Deutschland Verwaltung B.V.

 Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
 Handelsregister der 

Re: Problems with JDK8 build on Ubuntu?

2017-11-23 Thread Ted Neward
Oh, one other more general question: Has anybody built OpenJDK successfully 
using Ubuntu Server? (I just need a quick build VM, I don’t necessarily need 
all the GUI bells and whistles, in many/most cases.)

I know AdoptOpenJDK has a Docker image, too, but I’m not sure how to use it and 
sort of gave up fairly quickly when it wasn’t brutally obvious. (I can’t tell 
if the Docker image there includes the source or not, and/or if the source 
would need to be mounted in a separate volume, and how then it would be updated 
when new changes are made, etc.) I should probably figure all that out, but I 
was trying to go with the least-amount-of-work path to get to a slowdebug 
version of the OpenJDK that I could use for some diagnostic purposes for 
digging into the G1 GC.

Ted Neward
Author, Speaker, Mentor
http://www.newardassociates.com
t: @tedneward | m: (425) 647-4526

On 11/23/17, 3:14 AM, "dalibor topic"  wrote:

Probably - jdk8/jdk8 is the GA source code from a few years ago. 
jdk8u/jdk8u is the latest JDK 8 updates.

cheers,
dalibor topic

On 23.11.2017 12:12, Ted Neward wrote:
> Errr….. What’s the difference, again?
> 
> I cloned java.net/jdk8/jdk8, which is what I thought was the correct 
repo—is there a new URL? I haven’t done this in a while, so I jumped onto 
Google and took the first URL in a description that seemed correct. Am I trying 
to clone the wrong repo?
> 
> Ted Neward
> Author, Speaker, Mentor
> http://www.newardassociates.com
> t: @tedneward | m: (425) 647-4526
> 
> On 11/23/17, 3:08 AM, "build-dev on behalf of dalibor topic" 
 
wrote:
> 
>  You're not trying to build jdk8/jdk8 instead of jdk8u/jdk8u, right?
>  
>  cheers,
>  dalibor topic
>  
>  On 23.11.2017 11:50, Ted Neward wrote:
>  > Yeah, I’ve got build-dep and openjdk-8. I’ll have a look at the 
source, but this begs a question: Why hasn’t it been backported to the JDK8 
repo, if it’s a known fix?
>  >
>  > Ted Neward
>  > Author, Speaker, Mentor
>  > http://www.newardassociates.com
>  > t: @tedneward | m: (425) 647-4526
>  >
>  > On 11/23/17, 2:32 AM, "John Paul Adrian Glaubitz" 
 wrote:
>  >
>  >  Hi Ted!
>  >
>  >  On 11/23/2017 11:23 AM, Ted Neward wrote:
>  >  > When I run it, there’s a problem about OS version 
detection, which I found a fix
>  >  > for, but then it appears that there’s some kind of syntax 
error in a generate makefile.
>  >  > Before I attach a ridiculously long logfile, does anybody 
have a quick fix or know where
>  >  > I should go to get the fix?
>  >
>  >  I suggest having a look at the Debian packaging source for 
the openjdk-8 package
>  >  which is also used in Ubuntu (the maintainer is Matthias 
Klose in both cases) [1].
>  >
>  >  Have a look at the patches in debian/patches as well as the 
build script in debian/
>  >  rules. This should give you the right idea on what is 
necessary to OpenJDK 8 build
>  >  on Ubuntu.
>  >
>  >  Please also make sure you have the necessary build 
dependencies installed:
>  >
>  >  # apt build-dep openjdk-8
>  >
>  >  Adrian
>  >
>  >  > [1] 
http://bazaar.launchpad.net/~openjdk/openjdk/openjdk8/files
>  >
>  >  --
>  >.''`.  John Paul Adrian Glaubitz
>  >  : :' :  Debian Developer - glaub...@debian.org
>  >  `. `'   Freie Universitaet Berlin - 
glaub...@physik.fu-berlin.de
>  > `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 
F913
>  >
>  >
>  >
>  
>  --
>   Dalibor Topic | Principal Product Manager
>  Phone: +494089091214  | Mobile: +491737185961
>  
>  
>  ORACLE Deutschland B.V. & Co. KG | Kühnehöfe 5 | 22761 Hamburg
>  
>  ORACLE Deutschland B.V. & Co. KG
>  Hauptverwaltung: Riesstr. 25, D-80992 München
>  Registergericht: Amtsgericht München, HRA 95603
>  
>  Komplementärin: ORACLE Deutschland Verwaltung B.V.
>  Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
>  Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
>  Geschäftsführer: Alexander van der Ven, Jan Schultheiss, Val Maher
>  
>   Oracle is committed to developing
>  practices and products that help protect the environment
>  
> 
> 

-- 

Re: Problems with JDK8 build on Ubuntu?

2017-11-23 Thread Ted Neward
Save me a Google and remind me where that repo URL is? :-)

Ted Neward
Author, Speaker, Mentor
http://www.newardassociates.com
t: @tedneward | m: (425) 647-4526

On 11/23/17, 3:14 AM, "dalibor topic"  wrote:

Probably - jdk8/jdk8 is the GA source code from a few years ago. 
jdk8u/jdk8u is the latest JDK 8 updates.

cheers,
dalibor topic

On 23.11.2017 12:12, Ted Neward wrote:
> Errr….. What’s the difference, again?
> 
> I cloned java.net/jdk8/jdk8, which is what I thought was the correct 
repo—is there a new URL? I haven’t done this in a while, so I jumped onto 
Google and took the first URL in a description that seemed correct. Am I trying 
to clone the wrong repo?
> 
> Ted Neward
> Author, Speaker, Mentor
> http://www.newardassociates.com
> t: @tedneward | m: (425) 647-4526
> 
> On 11/23/17, 3:08 AM, "build-dev on behalf of dalibor topic" 
 
wrote:
> 
>  You're not trying to build jdk8/jdk8 instead of jdk8u/jdk8u, right?
>  
>  cheers,
>  dalibor topic
>  
>  On 23.11.2017 11:50, Ted Neward wrote:
>  > Yeah, I’ve got build-dep and openjdk-8. I’ll have a look at the 
source, but this begs a question: Why hasn’t it been backported to the JDK8 
repo, if it’s a known fix?
>  >
>  > Ted Neward
>  > Author, Speaker, Mentor
>  > http://www.newardassociates.com
>  > t: @tedneward | m: (425) 647-4526
>  >
>  > On 11/23/17, 2:32 AM, "John Paul Adrian Glaubitz" 
 wrote:
>  >
>  >  Hi Ted!
>  >
>  >  On 11/23/2017 11:23 AM, Ted Neward wrote:
>  >  > When I run it, there’s a problem about OS version 
detection, which I found a fix
>  >  > for, but then it appears that there’s some kind of syntax 
error in a generate makefile.
>  >  > Before I attach a ridiculously long logfile, does anybody 
have a quick fix or know where
>  >  > I should go to get the fix?
>  >
>  >  I suggest having a look at the Debian packaging source for 
the openjdk-8 package
>  >  which is also used in Ubuntu (the maintainer is Matthias 
Klose in both cases) [1].
>  >
>  >  Have a look at the patches in debian/patches as well as the 
build script in debian/
>  >  rules. This should give you the right idea on what is 
necessary to OpenJDK 8 build
>  >  on Ubuntu.
>  >
>  >  Please also make sure you have the necessary build 
dependencies installed:
>  >
>  >  # apt build-dep openjdk-8
>  >
>  >  Adrian
>  >
>  >  > [1] 
http://bazaar.launchpad.net/~openjdk/openjdk/openjdk8/files
>  >
>  >  --
>  >.''`.  John Paul Adrian Glaubitz
>  >  : :' :  Debian Developer - glaub...@debian.org
>  >  `. `'   Freie Universitaet Berlin - 
glaub...@physik.fu-berlin.de
>  > `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 
F913
>  >
>  >
>  >
>  
>  --
>   Dalibor Topic | Principal Product Manager
>  Phone: +494089091214  | Mobile: +491737185961
>  
>  
>  ORACLE Deutschland B.V. & Co. KG | Kühnehöfe 5 | 22761 Hamburg
>  
>  ORACLE Deutschland B.V. & Co. KG
>  Hauptverwaltung: Riesstr. 25, D-80992 München
>  Registergericht: Amtsgericht München, HRA 95603
>  
>  Komplementärin: ORACLE Deutschland Verwaltung B.V.
>  Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
>  Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
>  Geschäftsführer: Alexander van der Ven, Jan Schultheiss, Val Maher
>  
>   Oracle is committed to developing
>  practices and products that help protect the environment
>  
> 
> 

-- 
 Dalibor Topic | Principal Product Manager
Phone: +494089091214  | Mobile: +491737185961


ORACLE Deutschland B.V. & Co. KG | Kühnehöfe 5 | 22761 Hamburg

ORACLE Deutschland B.V. & Co. KG
Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Jan Schultheiss, Val Maher

 Oracle is committed to developing
practices and 

Re: Problems with JDK8 build on Ubuntu?

2017-11-23 Thread dalibor topic
Probably - jdk8/jdk8 is the GA source code from a few years ago. 
jdk8u/jdk8u is the latest JDK 8 updates.


cheers,
dalibor topic

On 23.11.2017 12:12, Ted Neward wrote:

Errr….. What’s the difference, again?

I cloned java.net/jdk8/jdk8, which is what I thought was the correct repo—is 
there a new URL? I haven’t done this in a while, so I jumped onto Google and 
took the first URL in a description that seemed correct. Am I trying to clone 
the wrong repo?

Ted Neward
Author, Speaker, Mentor
http://www.newardassociates.com
t: @tedneward | m: (425) 647-4526

On 11/23/17, 3:08 AM, "build-dev on behalf of dalibor topic" 
 wrote:

 You're not trying to build jdk8/jdk8 instead of jdk8u/jdk8u, right?
 
 cheers,

 dalibor topic
 
 On 23.11.2017 11:50, Ted Neward wrote:

 > Yeah, I’ve got build-dep and openjdk-8. I’ll have a look at the source, 
but this begs a question: Why hasn’t it been backported to the JDK8 repo, if it’s 
a known fix?
 >
 > Ted Neward
 > Author, Speaker, Mentor
 > http://www.newardassociates.com
 > t: @tedneward | m: (425) 647-4526
 >
 > On 11/23/17, 2:32 AM, "John Paul Adrian Glaubitz" 
 wrote:
 >
 >  Hi Ted!
 >
 >  On 11/23/2017 11:23 AM, Ted Neward wrote:
 >  > When I run it, there’s a problem about OS version detection, 
which I found a fix
 >  > for, but then it appears that there’s some kind of syntax error 
in a generate makefile.
 >  > Before I attach a ridiculously long logfile, does anybody have a 
quick fix or know where
 >  > I should go to get the fix?
 >
 >  I suggest having a look at the Debian packaging source for the 
openjdk-8 package
 >  which is also used in Ubuntu (the maintainer is Matthias Klose in 
both cases) [1].
 >
 >  Have a look at the patches in debian/patches as well as the build 
script in debian/
 >  rules. This should give you the right idea on what is necessary to 
OpenJDK 8 build
 >  on Ubuntu.
 >
 >  Please also make sure you have the necessary build dependencies 
installed:
 >
 >  # apt build-dep openjdk-8
 >
 >  Adrian
 >
 >  > [1] http://bazaar.launchpad.net/~openjdk/openjdk/openjdk8/files
 >
 >  --
 >.''`.  John Paul Adrian Glaubitz
 >  : :' :  Debian Developer - glaub...@debian.org
 >  `. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
 > `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
 >
 >
 >
 
 --

  Dalibor Topic | Principal Product Manager
 Phone: +494089091214  | Mobile: +491737185961
 
 
 ORACLE Deutschland B.V. & Co. KG | Kühnehöfe 5 | 22761 Hamburg
 
 ORACLE Deutschland B.V. & Co. KG

 Hauptverwaltung: Riesstr. 25, D-80992 München
 Registergericht: Amtsgericht München, HRA 95603
 
 Komplementärin: ORACLE Deutschland Verwaltung B.V.

 Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
 Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
 Geschäftsführer: Alexander van der Ven, Jan Schultheiss, Val Maher
 
  Oracle is committed to developing

 practices and products that help protect the environment
 





--
 Dalibor Topic | Principal Product Manager
Phone: +494089091214  | Mobile: +491737185961


ORACLE Deutschland B.V. & Co. KG | Kühnehöfe 5 | 22761 Hamburg

ORACLE Deutschland B.V. & Co. KG
Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Jan Schultheiss, Val Maher

 Oracle is committed to developing
practices and products that help protect the environment


Re: Problems with JDK8 build on Ubuntu?

2017-11-23 Thread Ted Neward
Errr….. What’s the difference, again?

I cloned java.net/jdk8/jdk8, which is what I thought was the correct repo—is 
there a new URL? I haven’t done this in a while, so I jumped onto Google and 
took the first URL in a description that seemed correct. Am I trying to clone 
the wrong repo?

Ted Neward
Author, Speaker, Mentor
http://www.newardassociates.com
t: @tedneward | m: (425) 647-4526

On 11/23/17, 3:08 AM, "build-dev on behalf of dalibor topic" 
 
wrote:

You're not trying to build jdk8/jdk8 instead of jdk8u/jdk8u, right?

cheers,
dalibor topic

On 23.11.2017 11:50, Ted Neward wrote:
> Yeah, I’ve got build-dep and openjdk-8. I’ll have a look at the source, 
but this begs a question: Why hasn’t it been backported to the JDK8 repo, if 
it’s a known fix?
> 
> Ted Neward
> Author, Speaker, Mentor
> http://www.newardassociates.com
> t: @tedneward | m: (425) 647-4526
> 
> On 11/23/17, 2:32 AM, "John Paul Adrian Glaubitz" 
 wrote:
> 
>  Hi Ted!
>  
>  On 11/23/2017 11:23 AM, Ted Neward wrote:
>  > When I run it, there’s a problem about OS version detection, which 
I found a fix
>  > for, but then it appears that there’s some kind of syntax error in 
a generate makefile.
>  > Before I attach a ridiculously long logfile, does anybody have a 
quick fix or know where
>  > I should go to get the fix?
>  
>  I suggest having a look at the Debian packaging source for the 
openjdk-8 package
>  which is also used in Ubuntu (the maintainer is Matthias Klose in 
both cases) [1].
>  
>  Have a look at the patches in debian/patches as well as the build 
script in debian/
>  rules. This should give you the right idea on what is necessary to 
OpenJDK 8 build
>  on Ubuntu.
>  
>  Please also make sure you have the necessary build dependencies 
installed:
>  
>  # apt build-dep openjdk-8
>  
>  Adrian
>  
>  > [1] http://bazaar.launchpad.net/~openjdk/openjdk/openjdk8/files
>  
>  --
>.''`.  John Paul Adrian Glaubitz
>  : :' :  Debian Developer - glaub...@debian.org
>  `. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
> `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
>  
> 
> 

-- 
 Dalibor Topic | Principal Product Manager
Phone: +494089091214  | Mobile: +491737185961


ORACLE Deutschland B.V. & Co. KG | Kühnehöfe 5 | 22761 Hamburg

ORACLE Deutschland B.V. & Co. KG
Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Jan Schultheiss, Val Maher

 Oracle is committed to developing
practices and products that help protect the environment





Re: Problems with JDK8 build on Ubuntu?

2017-11-23 Thread dalibor topic

You're not trying to build jdk8/jdk8 instead of jdk8u/jdk8u, right?

cheers,
dalibor topic

On 23.11.2017 11:50, Ted Neward wrote:

Yeah, I’ve got build-dep and openjdk-8. I’ll have a look at the source, but 
this begs a question: Why hasn’t it been backported to the JDK8 repo, if it’s a 
known fix?

Ted Neward
Author, Speaker, Mentor
http://www.newardassociates.com
t: @tedneward | m: (425) 647-4526

On 11/23/17, 2:32 AM, "John Paul Adrian Glaubitz" 
 wrote:

 Hi Ted!
 
 On 11/23/2017 11:23 AM, Ted Neward wrote:

 > When I run it, there’s a problem about OS version detection, which I 
found a fix
 > for, but then it appears that there’s some kind of syntax error in a 
generate makefile.
 > Before I attach a ridiculously long logfile, does anybody have a quick 
fix or know where
 > I should go to get the fix?
 
 I suggest having a look at the Debian packaging source for the openjdk-8 package

 which is also used in Ubuntu (the maintainer is Matthias Klose in both 
cases) [1].
 
 Have a look at the patches in debian/patches as well as the build script in debian/

 rules. This should give you the right idea on what is necessary to OpenJDK 
8 build
 on Ubuntu.
 
 Please also make sure you have the necessary build dependencies installed:
 
 # apt build-dep openjdk-8
 
 Adrian
 
 > [1] http://bazaar.launchpad.net/~openjdk/openjdk/openjdk8/files
 
 --

   .''`.  John Paul Adrian Glaubitz
 : :' :  Debian Developer - glaub...@debian.org
 `. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
`-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
 





--
 Dalibor Topic | Principal Product Manager
Phone: +494089091214  | Mobile: +491737185961


ORACLE Deutschland B.V. & Co. KG | Kühnehöfe 5 | 22761 Hamburg

ORACLE Deutschland B.V. & Co. KG
Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Jan Schultheiss, Val Maher

 Oracle is committed to developing
practices and products that help protect the environment


Re: Problems with JDK8 build on Ubuntu?

2017-11-23 Thread Ted Neward
Yeah, I’ve got build-dep and openjdk-8. I’ll have a look at the source, but 
this begs a question: Why hasn’t it been backported to the JDK8 repo, if it’s a 
known fix?

Ted Neward
Author, Speaker, Mentor
http://www.newardassociates.com
t: @tedneward | m: (425) 647-4526

On 11/23/17, 2:32 AM, "John Paul Adrian Glaubitz" 
 wrote:

Hi Ted!

On 11/23/2017 11:23 AM, Ted Neward wrote:
> When I run it, there’s a problem about OS version detection, which I 
found a fix
> for, but then it appears that there’s some kind of syntax error in a 
generate makefile.
> Before I attach a ridiculously long logfile, does anybody have a quick 
fix or know where
> I should go to get the fix?

I suggest having a look at the Debian packaging source for the openjdk-8 
package
which is also used in Ubuntu (the maintainer is Matthias Klose in both 
cases) [1].

Have a look at the patches in debian/patches as well as the build script in 
debian/
rules. This should give you the right idea on what is necessary to OpenJDK 
8 build
on Ubuntu.

Please also make sure you have the necessary build dependencies installed:

# apt build-dep openjdk-8

Adrian

> [1] http://bazaar.launchpad.net/~openjdk/openjdk/openjdk8/files

-- 
  .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
   `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913





Re: Problems with JDK8 build on Ubuntu?

2017-11-23 Thread John Paul Adrian Glaubitz

Hi Ted!

On 11/23/2017 11:23 AM, Ted Neward wrote:

When I run it, there’s a problem about OS version detection, which I found a fix
for, but then it appears that there’s some kind of syntax error in a generate 
makefile.
Before I attach a ridiculously long logfile, does anybody have a quick fix or 
know where
I should go to get the fix?


I suggest having a look at the Debian packaging source for the openjdk-8 package
which is also used in Ubuntu (the maintainer is Matthias Klose in both cases) 
[1].

Have a look at the patches in debian/patches as well as the build script in 
debian/
rules. This should give you the right idea on what is necessary to OpenJDK 8 
build
on Ubuntu.

Please also make sure you have the necessary build dependencies installed:

# apt build-dep openjdk-8

Adrian


[1] http://bazaar.launchpad.net/~openjdk/openjdk/openjdk8/files


--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913