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" 
<build-dev-boun...@openjdk.java.net on behalf of t...@tedneward.com> 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" <dalibor.to...@oracle.com> 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" <dalibor.to...@oracle.com> 
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" 
<dalibor.to...@oracle.com> 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" <build-dev-boun...@openjdk.java.net on behalf of 
dalibor.to...@oracle.com> 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" <glaub...@physik.fu-berlin.de> 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
        >      >      >      >
        >      >      >      >
        >      >      >      >
        >      >      >
        >      >      >      --
        >      >      >      <http://www.oracle.com> Dalibor Topic | Principal 
Product Manager
        >      >      >      Phone: +494089091214 <tel:+494089091214> | Mobile: 
+491737185961
        >      >      >      <tel:+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
        >      >      >
        >      >      >      <http://www.oracle.com/commitment> Oracle is 
committed to developing
        >      >      >      practices and products that help protect the 
environment
        >      >      >
        >      >      >
        >      >      >
        >      >
        >      >      --
        >      >      <http://www.oracle.com> Dalibor Topic | Principal Product 
Manager
        >      >      Phone: +494089091214 <tel:+494089091214> | Mobile: 
+491737185961
        >      >      <tel:+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
        >      >
        >      >      <http://www.oracle.com/commitment> Oracle is committed to 
developing
        >      >      practices and products that help protect the environment
        >      >
        >      >
        >      >
        >      
        >      --
        >      <http://www.oracle.com> Dalibor Topic | Principal Product Manager
        >      Phone: +494089091214 <tel:+494089091214> | Mobile: +491737185961
        >      <tel:+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
        >      
        >      <http://www.oracle.com/commitment> Oracle is committed to 
developing
        >      practices and products that help protect the environment
        >      
        > 
        > 
        
        -- 
        <http://www.oracle.com> Dalibor Topic | Principal Product Manager
        Phone: +494089091214 <tel:+494089091214> | Mobile: +491737185961
        <tel:+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
        
        <http://www.oracle.com/commitment> Oracle is committed to developing
        practices and products that help protect the environment
        
    
    
    


Reply via email to