Package Base Details: java8-openjfx

Git Clone URL: https://aur.archlinux.org/java8-openjfx.git (read-only, click to copy)
Keywords: java8-openjfx openjfx
Submitter: freswa
Maintainer: Rogach
Last Packager: Rogach
Votes: 11
Popularity: 0.72
First Submitted: 2022-03-09 18:41 (UTC)
Last Updated: 2024-04-24 04:47 (UTC)

Latest Comments

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

cedric-air commented on 2023-07-21 05:48 (UTC)

I get a big error:

[cedric@cedric-work-laptop git-werkmap]$ python2.7 -c 'import hashlib; print(hashlib.sha1)'
ERROR:root:code for hash md5 was not found.
Traceback (most recent call last):
  File "/usr/lib/python2.7/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type md5
ERROR:root:code for hash sha1 was not found.
Traceback (most recent call last):
  File "/usr/lib/python2.7/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha1
ERROR:root:code for hash sha224 was not found.
Traceback (most recent call last):
  File "/usr/lib/python2.7/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha224
ERROR:root:code for hash sha256 was not found.
Traceback (most recent call last):
  File "/usr/lib/python2.7/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha256
ERROR:root:code for hash sha384 was not found.
Traceback (most recent call last):
  File "/usr/lib/python2.7/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha384
ERROR:root:code for hash sha512 was not found.
Traceback (most recent call last):
  File "/usr/lib/python2.7/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha512
Traceback (most recent call last):
  File "<string>", line 1, in <module>
AttributeError: 'module' object has no attribute 'sha1'

Rogach commented on 2023-07-21 05:20 (UTC)

@cedric-air Something looks to be horribly broken in your Python 2 or openssl packages. What will you get if you run

python2.7 -c 'import hashlib; print(hashlib.sha1)'

I get <built-in function new>.

cedric-air commented on 2023-07-21 05:10 (UTC)

Build failed for me:

$ uname -a
Linux cedric-work-laptop 6.4.4-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 19 Jul 2023 19:19:38 +0000 x86_64 GNU/Linux
[ 67%] Generating ../../DerivedSources/JavaScriptCore/Bytecodes.h, ../../DerivedSources/JavaScriptCore/InitBytecodes.asm, ../../DerivedSources/JavaScriptCore/BytecodeStructs.h
ERROR:root:code for hash md5 was not found.
Traceback (most recent call last):
  File "/usr/lib/python2.7/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type md5
ERROR:root:code for hash sha1 was not found.
Traceback (most recent call last):
  File "/usr/lib/python2.7/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha1
ERROR:root:code for hash sha224 was not found.
Traceback (most recent call last):
  File "/usr/lib/python2.7/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha224
ERROR:root:code for hash sha256 was not found.
Traceback (most recent call last):
  File "/usr/lib/python2.7/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha256
ERROR:root:code for hash sha384 was not found.
Traceback (most recent call last):
  File "/usr/lib/python2.7/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha384
ERROR:root:code for hash sha512 was not found.
Traceback (most recent call last):
  File "/usr/lib/python2.7/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha512
Traceback (most recent call last):
  File "/home/cedric/Downloads/java8-openjfx/src/rt-8u202-ga/modules/web/src/main/native/Source/JavaScriptCore/generate-bytecode-files", line 154, in <module>
    sha1Hash = hashFile(bytecodeFile)
  File "/home/cedric/Downloads/java8-openjfx/src/rt-8u202-ga/modules/web/src/main/native/Source/JavaScriptCore/generate-bytecode-files", line 98, in hashFile
    sha1 = hashlib.sha1()
AttributeError: 'module' object has no attribute 'sha1'
make[2]: *** [Source/JavaScriptCore/CMakeFiles/LLIntOffsetsExtractor.dir/build.make:101: DerivedSources/JavaScriptCore/Bytecodes.h] Error 1
make[1]: *** [CMakeFiles/Makefile2:408: Source/JavaScriptCore/CMakeFiles/LLIntOffsetsExtractor.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 67%] Linking C static library ../../../lib/libSqliteJava.a
[ 67%] Built target SqliteJava
make: *** [Makefile:111: all] Error 2

> Task :web:compileNativeLinux FAILED

FAILURE: Build failed with an exception.

* Where:
Build file '/home/cedric/Downloads/java8-openjfx/src/rt-8u202-ga/build.gradle' line: 2583

* What went wrong:
Execution failed for task ':web:compileNativeLinux'.
> Process 'command 'perl'' finished with non-zero exit value 2

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1m 53s
39 actionable tasks: 39 executed
==> ERROR: A failure occurred in build().
    Aborting...

Rogach commented on 2023-06-02 14:34 (UTC)

@Keops Please try the suggestion given earlier on this page - will it help?

Keops commented on 2023-06-02 14:29 (UTC) (edited on 2023-06-02 14:33 (UTC) by Keops)

Can't install due to errors:

==> Iniciando build()... Starting a Gradle Daemon (subsequent builds will be faster)

FAILURE: Build failed with an exception.

  • What went wrong: Could not create service of type ScriptPluginFactory using BuildScopeServices.createScriptPluginFactory().

    Could not create service of type PluginResolutionStrategyInternal using BuildScopeServices.createPluginResolutionStrategy().

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 1s ==> ERROR: Se produjo un fallo en build(). Cancelando...

Rogach commented on 2023-04-27 00:28 (UTC)

@K4LCIFER That seems to be related to gradle itself. Do you have JDK 8 set as your default JDK? (check with archlinux-java get)

Also can you try stopping gradle daemon before the build? (gradle --stop)

K4LCIFER commented on 2023-04-27 00:21 (UTC)

Can't install due to errors:

==> Starting build()...

FAILURE: Build failed with an exception.

* What went wrong:
Could not create service of type ScriptPluginFactory using BuildScopeServices.createScriptPluginFactory().
> Could not create service of type PluginResolutionStrategyInternal using BuildScopeServices.createPluginResolutionStrategy().

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 0s
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: java8-openjfx-exit status 4

Rogach commented on 2023-03-31 12:55 (UTC)

@Orion88 Do you have base-devel installed? If not you need to install it - it installes many utilities necessary for building.

@binarynoise No need to add as a build dependency - all PKGBUILDs implicitly expect base-devel to be installed (there's a paragraph in the guidelines somewhere).

binarynoise commented on 2023-03-31 12:07 (UTC)

@Orion88 Just install the patch package with pacman.

That should probably be added as build dependency

Orion88 commented on 2023-03-31 11:48 (UTC)

I have been trying to install java8-openjfx 8.u202-9 for a few weeks now. But building Python-2.7.18.tar.xz always aborts with the following message:

/var/tmp/pamac-build-user/python2/PKGBUILD: line 40: patch: command not found.

Line 40 says: patch -p0 -i ../mtime-workaround.patch

Need help as I am not that experienced