Package Base Details: java8-openjdk

Git Clone URL: https://aur.archlinux.org/java8-openjdk.git (read-only)
Keywords: fonts infinality java jdk jre
Submitter: chrbayer
Maintainer: ljmf00
Last Packager: Magotchi
Votes: 33
Popularity: 0.000117
First Submitted: 2014-09-15 20:06
Last Updated: 2018-05-01 15:23

Latest Comments

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

gim commented on 2016-09-10 08:46

colajam, try out the workaround suggested by jksimek. If it works for you too then I'll add it to the PKGBUILD.
Just add these lines inside "build()" function block:

export CFLAGS="$CFLAGS -Wno-deprecated-declarations"
export CXXFLAGS="$CXXFLAGS -Wno-deprecated-declarations"

colajam commented on 2016-09-09 19:57

I have same issue with @eNTi. How should I edit the PKGBUILD?

gim commented on 2016-08-26 06:27

Cysioland, it does for me. Please provide error output log.

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.

Anonymous comment 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)