Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - java8-openjdk

Package Base Details: java8-openjdk

Git Clone URL: https://aur-dev.archlinux.org/java8-openjdk.git (read-only)
Keywords: fonts infinality java jdk jre
Submitter: chrbayer
Maintainer: None
Last Packager: gim
Votes: 25
Popularity: 2.553311
First Submitted: 2014-09-15 20:06
Last Updated: 2017-02-02 09:11

Pinned Comments

gim commented on 2016-02-22 14:07

Prebuilt packages by me are available at https://www.dropbox.com/sh/33ia4nzd2cdigvy/AADzw5132rjMLi5GhMKxgrOma?dl=0

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 Next › Last »

gim commented on 2016-02-12 15:44

marcvangend, are you getting these error messages even when you're installing all 3 packages with one 'pacman' command?

Version numbers are specified as a precaution to avoid potential JRE/JDK breakage if a user for some reason has updated only one package and left other 2 outdated for example. This is a derivation from the official 'java8-openjdk' PKGBUILD and just wasn't changed since the very start.

https://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/java8-openjdk#n187

marcvangend commented on 2016-02-12 15:27

I keep getting dependency errors when trying to update. I suspect that the root of the problem is the way dependencies are defined in the PKGBUILD, including the package version and release number (=${pkgver}-${pkgrel}). This leads to error messages like this:

error: failed to prepare transaction (could not satisfy dependencies)
:: jre8-openjdk-infinality: installing jre8-openjdk-headless-infinality (8.u74-1) breaks dependency 'jre8-openjdk-headless-infinality=8.u72-1'

I don't really see why the version number must be specified here. All three sub packages are part of the same package base, so couldn't you simply assume that they always have the same version without making it explicit?

gim commented on 2016-01-29 12:39

marcvangend, you could just install all 3 of them with one command 'pacman -U pkg1 pkg2 pkg3', otherwise the order is important of course. It's not the PKGBUILD issue, pacman searches for dependencies only in official repositories.

marcvangend commented on 2016-01-29 08:55

I finally got it installed again. I ended up uninstalling all openjdk-infinality packages first, and then reinstalling them one by one (3 separate commands!) in the following order:

1. jre8-openjdk-headless-infinality
2. jre8-openjdk-infinality
3. jdk8-openjdk-infinality

This order turned out to be important: When I tried to simply install jre8-openjdk-infinality at first, it exited with the following error:

resolving dependencies...
warning: cannot resolve "jre8-openjdk-headless-infinality=8.u72-1", a dependency of "jre8-openjdk-infinality"
:: The following package cannot be upgraded due to unresolvable dependencies:
jre8-openjdk-infinality

:: Do you want to skip the above package for this upgrade? [y/N]
error: failed to prepare transaction (could not satisfy dependencies)
:: jre8-openjdk-infinality: requires jre8-openjdk-headless-infinality=8.u72-1

Seems to me that the build itself works fine, but there's something wrong with the declaration / resolving of the dependencies. I hope this helps making the package better - thanks!

gim commented on 2016-01-25 11:31

marcvangend, remove the file "jdk-jdk8u72-b15.tar.gz" and launch makepkg again. Hash sum check passes to me.

marcvangend commented on 2016-01-25 11:18

I'm seeing yet another build failure. Snippet:

==> Validating source files with sha256sums...
jdk8u-jdk8u72-b15.tar.gz ... Passed
corba-jdk8u72-b15.tar.gz ... Passed
hotspot-jdk8u72-b15.tar.gz ... Passed
jdk-jdk8u72-b15.tar.gz ... FAILED
jaxws-jdk8u72-b15.tar.gz ... Passed
jaxp-jdk8u72-b15.tar.gz ... Passed
langtools-jdk8u72-b15.tar.gz ... Passed
nashorn-jdk8u72-b15.tar.gz ... Passed
004_add-fontconfig.patch ... Passed
005_enable-infinality.patch ... Passed
==> ERROR: One or more files did not pass the validity check!

==> ERROR: the build failed

Thanks for looking into this.

chrbayer commented on 2016-01-23 17:47

Very strange, the 8u66 build now fails, too, same error...

Trying to build corba, there seem to be a memory problem, I try once again with fewer threads... This does not help, tried with installed 8u66 and 7u95 java environments, this makes no difference...

## Starting corba
Compiling 6 files for BUILD_LOGUTIL
Creating corba/btjars/logutil.jar
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Cannot create GC thread. Out of system resources.
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Cannot create GC thread. Out of system resources.
# An error report file with more information is saved as:
# /home/chrbayer/adapt/java8-openjdk/src/corba-jdk8u66-b17/make/hs_err_pid12898.log
# An error report file with more information is saved as:
# /home/chrbayer/adapt/java8-openjdk/src/corba-jdk8u66-b17/make/hs_err_pid12931.log
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Cannot create GC thread. Out of system resources.
# An error report file with more information is saved as:
# /home/chrbayer/adapt/java8-openjdk/src/corba-jdk8u66-b17/make/hs_err_pid12920.log
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Cannot create GC thread. Out of system resources.
# An error report file with more information is saved as:
# /home/chrbayer/adapt/java8-openjdk/src/corba-jdk8u66-b17/make/hs_err_pid13084.log
Error occurred during initialization of VM
Cannot create VM thread. Out of system resources.
Error occurred during initialization of VM
Cannot create VM thread. Out of system resources.
Error occurred during initialization of VM
Cannot create VM thread. Out of system resources.
Error occurred during initialization of VM
Cannot create VM thread. Out of system resources.
Error occurred during initialization of VM
Cannot create VM thread. Out of system resources.
Error occurred during initialization of VM
Cannot create VM thread. Out of system resources.
Error occurred during initialization of VM
Cannot create VM thread. Out of system resources.
Error occurred during initialization of VM
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:714)
at java.lang.ref.Reference.<clinit>(Reference.java:162)

Error occurred during initialization of VM
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:714)
at java.lang.ref.Finalizer.<clinit>(Finalizer.java:226)

Error occurred during initialization of VM
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:714)
at java.lang.ref.Reference.<clinit>(Reference.java:162)

Error occurred during initialization of VM
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:714)
at java.lang.ref.Reference.<clinit>(Reference.java:162)

gim commented on 2016-01-23 16:16

Any updates on your success with 8u66 build?

chrbayer commented on 2016-01-23 13:25

Since 8u72 I have problems building the package and get this error:

## Starting jdk
make[2]: *** No rule to make target '/home/chrbayer/adapt/java8-openjdk/src/jdk8u-jdk8u72-b15/build/linux-x86_64-normal-server-release/corba/dist/lib/classes.jar', needed by '/home/chrbayer/adapt/java8-openjdk/src/jdk8u-jdk8u72-b15/build/linux-x86_64-normal-server-release/jdk/classes/_the.CORBA.classes.imported'. Stop.
BuildJdk.gmk:51: recipe for target 'import-only' failed
make[1]: *** [import-only] Error 2
/home/chrbayer/adapt/java8-openjdk/src/jdk8u-jdk8u72-b15//make/Main.gmk:115: recipe for target 'jdk-only' failed
make: *** [jdk-only] Error 2
==> ERROR: A failure occurred in build().
Aborting...

I will try to build 8u66 with current system to make sure it is not my buildsystem...

chrbayer commented on 2016-01-22 21:32

New version available