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 ... Next › Last »

Cysioland commented on 2016-08-25 16:07

Doesn't compile

gim commented on 2016-08-24 13:11

Freso, most of dependencies declared here are derived from the original PKGBUILD used to build OpenJDK8 for official Arch repository (https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/java8-openjdk). I'm not entirely sure why so I never removed any of them.

Freso commented on 2016-08-24 12:54

Why do these depend on jdk7 and ccache?

jksimek commented on 2016-08-20 12:09

eNTi, I had the same error when building the jdk8 package. Solved by adding CFLAGS='-Wno-deprecated-declarations' CXXFLAGS='-Wno-deprecated-declarations' to the configure arguments during the Edit PKGBUILD ? step.

eNTi commented on 2016-08-11 13:41

Still not building for me:

src/share/vm/precompiled/precompiled.hpp:30:
/tmp/makepkg/java8-openjdk/src/jdk8u-jdk8u102-b14/hotspot/src/os/linux/vm/os_linux.inline.hpp:127:42: error: ‘int readdir_r(DIR*, dirent*, dirent**)’ is deprecated [-Werror=deprecated-declarations]
if((status = ::readdir_r(dirp, dbuf, &p)) != 0) {
^
In file included from /tmp/makepkg/java8-openjdk/src/jdk8u-jdk8u102-b14/hotspot/src/os/linux/vm/jvm_linux.h:44:0,
from /tmp/makepkg/java8-openjdk/src/jdk8u-jdk8u102-b14/hotspot/src/share/vm/prims/jvm.h:30,
from /tmp/makepkg/java8-openjdk/src/jdk8u-jdk8u102-b14/hotspot/src/share/vm/utilities/debug.hpp:29,
from /tmp/makepkg/java8-openjdk/src/jdk8u-jdk8u102-b14/hotspot/src/share/vm/runtime/globals.hpp:28,
from /tmp/makepkg/java8-openjdk/src/jdk8u-jdk8u102-b14/hotspot/src/share/vm/memory/allocation.hpp:28,
from /tmp/makepkg/java8-openjdk/src/jdk8u-jdk8u102-b14/hotspot/src/share/vm/memory/iterator.hpp:28,
from /tmp/makepkg/java8-openjdk/src/jdk8u-jdk8u102-b14/hotspot/src/share/vm/memory/genOopClosures.hpp:28,
from /tmp/makepkg/java8-openjdk/src/jdk8u-jdk8u102-b14/hotspot/src/share/vm/oops/klass.hpp:28,
from /tmp/makepkg/java8-openjdk/src/jdk8u-jdk8u102-b14/hotspot/src/share/vm/runtime/handles.hpp:28,
from /tmp/makepkg/java8-openjdk/src/jdk8u-jdk8u102-b14/hotspot/src/share/vm/memory/universe.hpp:28,
from /tmp/makepkg/java8-openjdk/src/jdk8u-jdk8u102-b14/hotspot/src/share/vm/code/oopRecorder.hpp:28,
from /tmp/makepkg/java8-openjdk/src/jdk8u-jdk8u102-b14/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
from /tmp/makepkg/java8-openjdk/src/jdk8u-jdk8u102-b14/hotspot/src/share/vm/asm/assembler.hpp:28,
from /tmp/makepkg/java8-openjdk/src/jdk8u-jdk8u102-b14/hotspot/src/share/vm/precompiled/precompiled.hpp:29:
/usr/include/dirent.h:183:12: note: declared here
extern int readdir_r (DIR *__restrict __dirp,
^~~~~~~~~
cc1plus: all warnings being treated as errors
make[6]: *** [/tmp/makepkg/java8-openjdk/src/jdk8u-jdk8u102-b14/hotspot/make/linux/makefiles/vm.make:311: precompiled.hpp.gch] Error 1
make[5]: *** [/tmp/makepkg/java8-openjdk/src/jdk8u-jdk8u102-b14/hotspot/make/linux/makefiles/top.make:119: the_vm] Error 2
make[4]: *** [/tmp/makepkg/java8-openjdk/src/jdk8u-jdk8u102-b14/hotspot/make/linux/Makefile:297: product] Error 2
make[3]: *** [Makefile:231: generic_build2] Error 2
make[2]: *** [Makefile:177: product] Error 2
make[1]: *** [HotspotWrapper.gmk:45: /tmp/makepkg/java8-openjdk/src/jdk8u-jdk8u102-b14/build/linux-x86_64-normal-server-release/hotspot/_hotspot.timestamp] Error 2
make: *** [/tmp/makepkg/java8-openjdk/src/jdk8u-jdk8u102-b14//make/Main.gmk:109: hotspot-only] Error 2

gim commented on 2016-08-03 05:15

XavierCLL, done. Someone in the comments here has reported similar issue with "GNUstep" involved, thanks for the workaround.

XavierCLL commented on 2016-08-02 21:33

please add "unset CLASSPATH" for fix some problem with this variable (https://bugs.archlinux.org/task/44164)

gim commented on 2016-07-28 07:38

lviggiani, if you're building this in /tmp then make sure you don't run out of space. Also check your directory permissions where you're extracting the archive.

lviggiani commented on 2016-07-28 07:09

u102 does not build for me. I get tons of errors like this:

...
hotspot-jdk8u102-b14/test/testlibrary_tests/RedefineClassTest.java: Write failed
hotspot-jdk8u102-b14/test/testlibrary_tests/TestMutuallyExclusivePlatformPredicates.java: Write failed
hotspot-jdk8u102-b14/test/testlibrary_tests/whitebox/vm_flags/BooleanTest.java: Write failed
hotspot-jdk8u102-b14/test/testlibrary_tests/whitebox/vm_flags/DoubleTest.java: Write failed
hotspot-jdk8u102-b14/test/testlibrary_tests/whitebox/vm_flags/IntxTest.java: Write failed
hotspot-jdk8u102-b14/test/testlibrary_tests/whitebox/vm_flags/StringTest.java: Write failed
hotspot-jdk8u102-b14/test/testlibrary_tests/whitebox/vm_flags/Uint64Test.java: Write failed
hotspot-jdk8u102-b14/test/testlibrary_tests/whitebox/vm_flags/UintxTest.java: Write failed
hotspot-jdk8u102-b14/test/testlibrary_tests/whitebox/vm_flags/VmFlagTest.java: Write failed
bsdtar: Error exit delayed from previous errors.

tad commented on 2016-06-22 19:44

See http://mail.openjdk.java.net/pipermail/build-dev/2016-May/017167.html

-Werror converts all warnings into errors. The linked patchset fixes some code which triggers the warnings and disables -Werror for the build.