Package Details: openjdk13-doc 13.0.14.u5-1

Git Clone URL: https://aur.archlinux.org/java-13-openjdk.git (read-only, click to copy)
Package Base: java-13-openjdk
Description: OpenJDK Java 13 documentation
Upstream URL: https://openjdk.java.net/
Licenses: custom
Provides: openjdk13-doc
Submitter: Muflone
Maintainer: Muflone
Last Packager: Muflone
Votes: 3
Popularity: 0.000000
First Submitted: 2021-11-28 21:18 (UTC)
Last Updated: 2023-12-23 20:31 (UTC)

Latest Comments

jghodd commented on 2023-01-04 23:35 (UTC)

@muflone - thanks for the info, bud. i guess my answer is to nevermind this version. cheers.

Muflone commented on 2022-12-26 10:43 (UTC)

@jghodd I'm sorry but this package already didn't supported i686, the arch array contains only x86_64 architecture. there's nothing to fix here, apart removing some unused lines in the PKGBUILD which were used in the past for i686 builds

Muflone commented on 2022-12-24 16:06 (UTC)

I don't have any 32 bit installations anymore.

I'll remove the i686 support from the AUR package on the next update

jghodd commented on 2022-12-23 23:39 (UTC) (edited on 2022-12-23 23:40 (UTC) by jghodd)

@muflone - i give up on building this for a 32-bit platform. i've tried everything, even a clean chroot build, adding back the libdav1d.so.5 library, removing -fcf-protection from CFLAGS, adding -fPIC to CFLAGS, using gcc10. no matter what, i keep getting the same error:


/usr/bin/ld: /home/bslx/repository/tmp/java-13-openjdk/src/jdk13u-jdk-13.0.5.1+1/build/linux-x86-server-release/hotspot/variant-server/libjvm/objs/access.o: direct GOT relocation R_386_GOT32X against `_Z12report_fatalPKciS0_z' without base register can not be used when making a shared object

any chance you have pre-built packages for i686 that you could drop somewhere folks could retrieve them?

jghodd commented on 2022-12-22 19:48 (UTC) (edited on 2022-12-23 01:52 (UTC) by jghodd)

@muflone - not 64-bit, 32-bit. the i686 build fails, even though the PKGBUILD says it supports i686.

Edit: here's the error output


/usr/bin/ld: /home/bslx/repository/tmp/java-13-openjdk/src/jdk13u-jdk-13.0.5.1+1/build/linux-x86-server-release/hotspot/variant-server/libjvm/objs/access.o: direct GOT relocation R_386_GOT32X against `_Z12report_fatalPKciS0_z' without base register can not be used when making a shared object
/usr/bin/ld: failed to set dynamic section sizes: Success
collect2: error: ld returned 1 exit status
make[3]: *** [lib/CompileJvm.gmk:179: /home/bslx/repository/tmp/java-13-openjdk/src/jdk13u-jdk-13.0.5.1+1/build/linux-x86-server-release/support/modules_libs/java.base/server/libjvm.so] Error 1
make[3]: *** Waiting for unfinished jobs....
/usr/bin/ld: /home/bslx/repository/tmp/java-13-openjdk/src/jdk13u-jdk-13.0.5.1+1/build/linux-x86-server-release/hotspot/variant-server/libjvm/objs/access.o: direct GOT relocation R_386_GOT32X against `_Z12report_fatalPKciS0_z' without base register can not be used when making a shared object
/usr/bin/ld: failed to set dynamic section sizes: Success
collect2: error: ld returned 1 exit status
make[3]: *** [lib/CompileGtest.gmk:60: /home/bslx/repository/tmp/java-13-openjdk/src/jdk13u-jdk-13.0.5.1+1/build/linux-x86-server-release/hotspot/variant-server/libjvm/gtest/libjvm.so] Error 1
make[2]: *** [make/Main.gmk:268: hotspot-server-libs] Error 2

ERROR: Build failed for targets 'images legacy-jre-image docs' in configuration 'linux-x86-server-release' (exit code 2) 

=== Output from failing command(s) repeated here ===
* For target hotspot_variant-server_libjvm_gtest_objs_BUILD_GTEST_LIBJVM_link:
/usr/bin/ld: /home/bslx/repository/tmp/java-13-openjdk/src/jdk13u-jdk-13.0.5.1+1/build/linux-x86-server-release/hotspot/variant-server/libjvm/objs/access.o: direct GOT relocation R_386_GOT32X against `_Z12report_fatalPKciS0_z' without base register can not be used when making a shared object
/usr/bin/ld: failed to set dynamic section sizes: Success
collect2: error: ld returned 1 exit status
* For target hotspot_variant-server_libjvm_objs_BUILD_LIBJVM_link:
/usr/bin/ld: /home/bslx/repository/tmp/java-13-openjdk/src/jdk13u-jdk-13.0.5.1+1/build/linux-x86-server-release/hotspot/variant-server/libjvm/objs/access.o: direct GOT relocation R_386_GOT32X against `_Z12report_fatalPKciS0_z' without base register can not be used when making a shared object
/usr/bin/ld: failed to set dynamic section sizes: Success
collect2: error: ld returned 1 exit status

* All command lines available in /home/bslx/repository/tmp/java-13-openjdk/src/jdk13u-jdk-13.0.5.1+1/build/linux-x86-server-release/make-support/failure-logs.
=== End of repeated output ===

No indication of failed target found.
Hint: Try searching the build log for '] Error'.
Hint: See doc/building.html#troubleshooting for assistance.

make[1]: *** [/home/bslx/repository/tmp/java-13-openjdk/src/jdk13u-jdk-13.0.5.1+1/make/Init.gmk:312: main] Error 2
make: *** [/home/bslx/repository/tmp/java-13-openjdk/src/jdk13u-jdk-13.0.5.1+1/make/Init.gmk:186: images] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

any help getting around this would be appreciated.

Edit2: disabled -fcf-protection via makepkg.conf (and the conditional in PKGBUILD), then also downgraded the compiler/linker/etc temporarily to gcc10. still the same error message.

I am assuming that the main issue is : direct GOT relocation R_386_GOT32X against `_Z12report_fatalPKciS0_z' without base register can not be used when making a shared object

so perhaps it's an issue building against the current version of glibc.

Muflone commented on 2022-12-05 22:35 (UTC)

I've just rebuilt the package with the same PKGBUILD in a clean chroot with extra-x86_64-build, without any issue

jghodd commented on 2022-10-11 15:48 (UTC)

this package won't build. i've tried a variety of approaches, the closest being a clean chroot build which produced the same error documented by @questionable below. some input from the maintainer is kinda needed here.

questionable commented on 2022-04-20 07:38 (UTC)

Build of this package fails.

Prior to building this, I built the "jdk12-openjdk" package successfully. Then I have set Java 12 as the default java version:

$ archlinux-java status
Available Java environments:
  java-11-openjdk
  java-12-openjdk (default)
  java-18-openjdk
  java-7-jdk
  java-8-openjdk
  java-9-jdk

After that, the build of jdk13-openjdk fails. I have no clue how to solve this. Any help is very welcome.

Trailing output of yay -S jdk13-openjdk:

ERROR: Build failed for targets 'images legacy-jre-image docs' in configuration 'linux-x86_64-server-release' (exit code 2) 

=== Output from failing command(s) repeated here ===
* For target hotspot_variant-server_libjvm_gtest_objs_BUILD_GTEST_LIBJVM_link:
/usr/bin/ld: /able/temp/cache/yay/java-13-openjdk/src/jdk13u-jdk-13.0.5.1+1/build/linux-x86_64-server-release/hotspot/variant-server/libjvm/objs/zCollectedHeap.o: in function `ZMarkStackSpace::~ZMarkStackSpace()':
/able/temp/cache/yay/java-13-openjdk/src/jdk13u-jdk-13.0.5.1+1/src/hotspot/share/gc/z/zMarkStackAllocator.hpp:31: undefined reference to `ZLock::~ZLock()'
/usr/bin/ld: /able/temp/cache/yay/java-13-openjdk/src/jdk13u-jdk-13.0.5.1+1/build/linux-x86_64-server-release/hotspot/variant-server/libjvm/objs/zCollectedHeap.o: in function `ZSafeDelete<ZPage>::~ZSafeDelete()':
/able/temp/cache/yay/java-13-openjdk/src/jdk13u-jdk-13.0.5.1+1/src/hotspot/share/gc/z/zSafeDelete.hpp:32: undefined reference to `ZArray<ZPage*>::~ZArray()'
/usr/bin/ld: /able/temp/cache/yay/java-13-openjdk/src/jdk13u-jdk-13.0.5.1+1/src/hotspot/share/gc/z/zSafeDelete.hpp:32: undefined reference to `ZLock::~ZLock()'
/usr/bin/ld: /able/temp/cache/yay/java-13-openjdk/src/jdk13u-jdk-13.0.5.1+1/build/linux-x86_64-server-release/hotspot/variant-server/libjvm/objs/zCollectedHeap.o: in function `ZPageAllocator::~ZPageAllocator()':
/able/temp/cache/yay/java-13-openjdk/src/jdk13u-jdk-13.0.5.1+1/src/hotspot/share/gc/z/zPageAllocator.hpp:38: undefined reference to `ZLock::~ZLock()'
/usr/bin/ld: /able/temp/cache/yay/java-13-openjdk/src/jdk13u-jdk-13.0.5.1+1/build/linux-x86_64-server-release/hotspot/variant-server/libjvm/objs/zCollectedHeap.o: in function `ZMarkStackSpace::~ZMarkStackSpace()':
/able/temp/cache/yay/java-13-openjdk/src/jdk13u-jdk-13.0.5.1+1/src/hotspot/share/gc/z/zMarkStackAllocator.hpp:31: undefined reference to `ZLock::~ZLock()'
/usr/bin/ld: /able/temp/cache/yay/java-13-openjdk/src/jdk13u-jdk-13.0.5.1+1/build/linux-x86_64-server-release/hotspot/variant-server/libjvm/objs/zCollectedHeap.o: in function `ZSafeDelete<ZPage>::~ZSafeDelete()':
/able/temp/cache/yay/java-13-openjdk/src/jdk13u-jdk-13.0.5.1+1/src/hotspot/share/gc/z/zSafeDelete.hpp:32: undefined reference to `ZArray<ZPage*>::~ZArray()'
/usr/bin/ld: /able/temp/cache/yay/java-13-openjdk/src/jdk13u-jdk-13.0.5.1+1/src/hotspot/share/gc/z/zSafeDelete.hpp:32: undefined reference to `ZLock::~ZLock()'
/usr/bin/ld: /able/temp/cache/yay/java-13-openjdk/src/jdk13u-jdk-13.0.5.1+1/build/linux-x86_64-server-release/hotspot/variant-server/libjvm/objs/zCollectedHeap.o: in function `ZPageAllocator::~ZPageAllocator()':
/able/temp/cache/yay/java-13-openjdk/src/jdk13u-jdk-13.0.5.1+1/src/hotspot/share/gc/z/zPageAllocator.hpp:38: undefined reference to `ZLock::~ZLock()'
/usr/bin/ld: /able/temp/cache/yay/java-13-openjdk/src/jdk13u-jdk-13.0.5.1+1/build/linux-x86_64-server-release/hotspot/variant-server/libjvm/objs/zCollectedHeap.o: in function `ZSafeDelete<ZPage>::~ZSafeDelete()':
   ... (rest of output omitted)
* For target hotspot_variant-server_libjvm_objs_BUILD_LIBJVM_link:
/usr/bin/ld: /able/temp/cache/yay/java-13-openjdk/src/jdk13u-jdk-13.0.5.1+1/build/linux-x86_64-server-release/hotspot/variant-server/libjvm/objs/zCollectedHeap.o: in function `ZMarkStackSpace::~ZMarkStackSpace()':
/able/temp/cache/yay/java-13-openjdk/src/jdk13u-jdk-13.0.5.1+1/src/hotspot/share/gc/z/zMarkStackAllocator.hpp:31: undefined reference to `ZLock::~ZLock()'
/usr/bin/ld: /able/temp/cache/yay/java-13-openjdk/src/jdk13u-jdk-13.0.5.1+1/build/linux-x86_64-server-release/hotspot/variant-server/libjvm/objs/zCollectedHeap.o: in function `ZSafeDelete<ZPage>::~ZSafeDelete()':
/able/temp/cache/yay/java-13-openjdk/src/jdk13u-jdk-13.0.5.1+1/src/hotspot/share/gc/z/zSafeDelete.hpp:32: undefined reference to `ZArray<ZPage*>::~ZArray()'
/usr/bin/ld: /able/temp/cache/yay/java-13-openjdk/src/jdk13u-jdk-13.0.5.1+1/src/hotspot/share/gc/z/zSafeDelete.hpp:32: undefined reference to `ZLock::~ZLock()'
/usr/bin/ld: /able/temp/cache/yay/java-13-openjdk/src/jdk13u-jdk-13.0.5.1+1/build/linux-x86_64-server-release/hotspot/variant-server/libjvm/objs/zCollectedHeap.o: in function `ZPageAllocator::~ZPageAllocator()':
/able/temp/cache/yay/java-13-openjdk/src/jdk13u-jdk-13.0.5.1+1/src/hotspot/share/gc/z/zPageAllocator.hpp:38: undefined reference to `ZLock::~ZLock()'
/usr/bin/ld: /able/temp/cache/yay/java-13-openjdk/src/jdk13u-jdk-13.0.5.1+1/build/linux-x86_64-server-release/hotspot/variant-server/libjvm/objs/zCollectedHeap.o: in function `ZMarkStackSpace::~ZMarkStackSpace()':
/able/temp/cache/yay/java-13-openjdk/src/jdk13u-jdk-13.0.5.1+1/src/hotspot/share/gc/z/zMarkStackAllocator.hpp:31: undefined reference to `ZLock::~ZLock()'
/usr/bin/ld: /able/temp/cache/yay/java-13-openjdk/src/jdk13u-jdk-13.0.5.1+1/build/linux-x86_64-server-release/hotspot/variant-server/libjvm/objs/zCollectedHeap.o: in function `ZSafeDelete<ZPage>::~ZSafeDelete()':
/able/temp/cache/yay/java-13-openjdk/src/jdk13u-jdk-13.0.5.1+1/src/hotspot/share/gc/z/zSafeDelete.hpp:32: undefined reference to `ZArray<ZPage*>::~ZArray()'
/usr/bin/ld: /able/temp/cache/yay/java-13-openjdk/src/jdk13u-jdk-13.0.5.1+1/src/hotspot/share/gc/z/zSafeDelete.hpp:32: undefined reference to `ZLock::~ZLock()'
/usr/bin/ld: /able/temp/cache/yay/java-13-openjdk/src/jdk13u-jdk-13.0.5.1+1/build/linux-x86_64-server-release/hotspot/variant-server/libjvm/objs/zCollectedHeap.o: in function `ZPageAllocator::~ZPageAllocator()':
/able/temp/cache/yay/java-13-openjdk/src/jdk13u-jdk-13.0.5.1+1/src/hotspot/share/gc/z/zPageAllocator.hpp:38: undefined reference to `ZLock::~ZLock()'
/usr/bin/ld: /able/temp/cache/yay/java-13-openjdk/src/jdk13u-jdk-13.0.5.1+1/build/linux-x86_64-server-release/hotspot/variant-server/libjvm/objs/zCollectedHeap.o: in function `ZSafeDelete<ZPage>::~ZSafeDelete()':
   ... (rest of output omitted)

* All command lines available in /able/temp/cache/yay/java-13-openjdk/src/jdk13u-jdk-13.0.5.1+1/build/linux-x86_64-server-release/make-support/failure-logs.
=== End of repeated output ===

No indication of failed target found.
Hint: Try searching the build log for '] Error'.
Hint: See doc/building.html#troubleshooting for assistance.

make[1]: *** [/able/temp/cache/yay/java-13-openjdk/src/jdk13u-jdk-13.0.5.1+1/make/Init.gmk:312: main] Error 2
make: *** [/able/temp/cache/yay/java-13-openjdk/src/jdk13u-jdk-13.0.5.1+1/make/Init.gmk:186: images] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: java-13-openjdk (jre13-openjdk-headless jre13-openjdk jdk13-openjdk)

aetherherne commented on 2022-03-26 03:54 (UTC)

Would it be possible to change line 54 of the PKGBUILD from

export JAVA_HOME="/usr/lib/jvm/$(archlinux-java status | tail -n +2 | sort | cut -d ' ' -f 3 | sort -nr -k 2 -t '-' | grep -vE '8-|9-|10-|11-' -m 1)"

to

export JAVA_HOME="/usr/lib/jvm/$(archlinux-java status | tail -n +2 | sort | cut -d ' ' -f 3 | sort -nr -k 2 -t '-' | grep -E '12-|13-' -m 1)"

as the package fails to build for other versions of java with error as follows:

configure: Found potential Boot JDK using configure arguments
configure: Potential Boot JDK found at /usr/lib/jvm/java-17-openjdk is incorrect JDK version (openjdk version "17.0.3" 2022-04-19); ignoring
configure: (Your Boot JDK version must be one of: 12 13)
configure: error: The path given by --with-boot-jdk does not contain a valid Boot JDK
configure exiting with result code 1