Problems with JDK8 build on Ubuntu?

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Thu Nov 23 10:32:42 UTC 2017


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 - glaubitz at debian.org
`. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
   `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



More information about the build-dev mailing list