Skip to content
This repository has been archived by the owner on Apr 9, 2019. It is now read-only.

Java8 #130

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Java8 #130

wants to merge 3 commits into from

Conversation

ladios
Copy link
Contributor

@ladios ladios commented Mar 31, 2014

This replaces #125

Since upstream v7.45-2, it requires binary files for both architectures
again. This patch updates the condition on detecting whether we need
both files or just one for the version we are building against.
Upstream v7.45-2 introduced a preparing script to download and inflate
archives. If the version we are building against contains that script,
then run it to inflate archives in order to build packages.
@ladios ladios mentioned this pull request Mar 31, 2014
@NathanielMichael
Copy link

Received an error when attempting to install Java 8 on Ubuntu 12.04 LTS with this pull request:

./oab-java.sh: line 601: dch: command not found

Installing devscripts via apt fixed that error, however I received another afterward:

dpkg-buildpackage: source package oracle-java8 dpkg-buildpackage: source version 8.0-1~precise1 dpkg-buildpackage: source changed by root <root@ubuntu> dpkg-source --before-build src dpkg-buildpackage: host architecture amd64 dpkg-checkbuilddeps: Unmet build dependencies: debhelper (>= 9) dpkg-buildpackage: warning: Build dependencies/conflicts unsatisfied; aborting. dpkg-buildpackage: warning: (Use -d flag to override.) 51536's retcode: 3

I then installed debhelper via apt and got another one:

./oab-java.sh: line 684: rngd: command not found

Installed rng-tools and got everything to work.

TL;DR - You need to install devscripts debhelper rng-tools via apt to get this to build (for Java8, maybe others as well, I didn't test it).

A lot of dependencies to get this to build... can they be avoided?

@ladios
Copy link
Contributor Author

ladios commented Apr 1, 2014

Right, I forgot. #124 is needed. That one re-enables build deps installation.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants