Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GR-53767] Error: Feature com.oracle.truffle.runtime.enterprise.EnableEnterpriseFeature class not found on the classpath. Ensure that the name is correct and that the class is on the classpath. #8825

Open
liudonghua123 opened this issue Apr 23, 2024 · 4 comments
Assignees

Comments

@liudonghua123
Copy link

Describe the issue

I tried to test building binary (native image) for hello.py using graalpy -v -m standalone native --module hello.py --output hello.exe. But it failed with the following errors.

I noticed the main error seems like Error: Feature com.oracle.truffle.runtime.enterprise.EnableEnterpriseFeature class not found on the classpath. Ensure that the name is correct and that the class is on the classpath..

Details
Liu.D.H  graalvm   28ms  08:36 > cat hello.py
print('hello')

Liu.D.H  graalvm   334ms  08:36 >
Liu.D.H  graalvm   1.03s  08:36 > graalpy -v -m standalone native --module hello.py --output hello.exe
Apr 18, 2024 8:36:25 AM org.graalvm.shadowed.org.jline.utils.Log logr
WARNING: Unable to create a system terminal, creating a dumb terminal (enable debug logging for more information)
[To redirect Truffle log output to a file use one of the following options:
* '--log.file=<path>' if the option is passed using a guest language launcher.
* '-Dpolyglot.log.file=<path>' if the option is passed using the host Java launcher.
* Configure logging using the polyglot embedding API.]
[python::Python3Core] FINE: Cannot use preinitialized context.
[python::PythonContext] FINE: shutting down threads
[python::PythonContext] FINE: successfully shut down all threads
[python::PythonContext] FINE: joining threads
[python::Python3Core] FINE: Initial locations:
        Language home: D:\apps\graalpy-community-24.0.1-windows-amd64
        SysPrefix:
        BaseSysPrefix:
        CoreHome:
        StdLibHome:
        CAPI:
        JNI library:
        Home candidate: D:\apps\graalpy-community-24.0.1-windows-amd64
[python::Python3Core] FINE: Updated locations:
        Language home: D:\apps\graalpy-community-24.0.1-windows-amd64
        SysPrefix: D:\apps\graalpy-community-24.0.1-windows-amd64
        BaseSysPrefix: D:\apps\graalpy-community-24.0.1-windows-amd64
        CoreHome: D:\apps\graalpy-community-24.0.1-windows-amd64\lib-graalpython
        StdLibHome: D:\apps\graalpy-community-24.0.1-windows-amd64\Lib
        Executable: D:\code\python\playground\graalvm
        CAPI: D:\apps\graalpy-community-24.0.1-windows-amd64\lib-graalpython
        JNI library: D:\apps\graalpy-community-24.0.1-windows-amd64\lib-graalpython
[python::GraalPythonModuleBuiltins] FINE: Setting default stdio encoding to utf-8:surrogateescape
[python::Python3Core] FINE: import '_frozen_importlib' # <frozen>
[python::Python3Core] FINE: import '_frozen_importlib_external' # <frozen>
import '_thread' # <class '_frozen_importlib.BuiltinImporter'>
import '_warnings' # <class '_frozen_importlib.BuiltinImporter'>
......
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 4 in POSIX emulation layer (not supported)
Warning: Using a deprecated option --rerun-class-initialization-at-runtime= from 'META-INF\native-image\org.graalvm.shadowed.icu4j\native-image.properties' in 'file:///D:/apps/graalpy-community-24.0.1-windows-amd64/downloaded_standalone_resources/org.graalvm.shadowed-icu4j-24.0.1.jar'. Currently there is no replacement for this option. Try using --initialize-at-run-time or use the non-API option -H:ClassInitialization directly.
Warning: The option '-H:-CopyLanguageResources' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions' in the future.
Warning: Please re-evaluate whether any experimental option is required, and either remove or unlock it. The build output lists all active experimental options, including where they come from and possible alternatives. If you think an experimental option should be considered as stable, please file an issue.
Warning: Invalid option --add-exports org.graalvm.nativeimage/org.graalvm.nativeimage.impl=org.graalvm.py provided by 'META-INF\native-image\org.graalvm.py\native-image.properties' in 'file:///D:/apps/graalpy-community-24.0.1-windows-amd64/downloaded_standalone_resources/org.graalvm.python-python-language-24.0.1.jar'. Specified target-module 'org.graalvm.py' is unknown.
========================================================================================================================

GraalVM Native Image: Generating 'hello.exe' (executable)...
========================================================================================================================

For detailed information and explanations on the build output, visit:
https://github.com/oracle/graal/blob/master/docs/reference-manual/native-image/BuildOutput.md
------------------------------------------------------------------------------------------------------------------------


[1/8] Initializing...                                                                                    (0.0s @ 0.18GB)

Error: Feature com.oracle.truffle.runtime.enterprise.EnableEnterpriseFeature class not found on the classpath. Ensure that the name is correct and that the class is on the classpath.
------------------------------------------------------------------------------------------------------------------------

                        2.9s (4.8% of total time) in 27 GCs | Peak RSS: 0.63GB | CPU load: 0.60
========================================================================================================================

Finished generating 'hello.exe' in 55.2s.
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "D:\apps\graalpy-community-24.0.1-windows-amd64\Lib\runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "D:\apps\graalpy-community-24.0.1-windows-amd64\Lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "D:\apps\graalpy-community-24.0.1-windows-amd64\lib-graalpython\modules\standalone\__main__.py", line 530, in <module>
    main(sys.argv[1:])
  File "D:\apps\graalpy-community-24.0.1-windows-amd64\lib-graalpython\modules\standalone\__main__.py", line 526, in main
    create_native_exec(parsed_args)
  File "D:\apps\graalpy-community-24.0.1-windows-amd64\lib-graalpython\modules\standalone\__main__.py", line 187, in create_native_exec
    build_binary(target_dir, ni, jc, modules_path, launcher_file, parsed_args)
  File "D:\apps\graalpy-community-24.0.1-windows-amd64\lib-graalpython\modules\standalone\__main__.py", line 449, in build_binary
    subprocess.check_call(cmd, cwd=target_dir)
  File "D:\apps\graalpy-community-24.0.1-windows-amd64\Lib\subprocess.py", line 369, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['D:\\apps\\graalvm-community-openjdk-21+35.1\\bin\\native-image.cmd', '-cp', 'D:\\apps\\graalpy-community-24.0.1-windows-amd64\\downloaded_standalone_resources\\org.bouncycastle-bcpkix-jdk18on-1.76.jar;D:\\apps\\graalpy-community-24.0.1-windows-amd64\\downloaded_standalone_resources\\org.bouncycastle-bcprov-jdk18on-1.76.jar;D:\\apps\\graalpy-community-24.0.1-windows-amd64\\downloaded_standalone_resources\\org.bouncycastle-bcutil-jdk18on-1.76.jar;D:\\apps\\graalpy-community-24.0.1-windows-amd64\\downloaded_standalone_resources\\org.graalvm.llvm-llvm-api-24.0.1.jar;D:\\apps\\graalpy-community-24.0.1-windows-amd64\\downloaded_standalone_resources\\org.graalvm.polyglot-polyglot-24.0.1.jar;D:\\apps\\graalpy-community-24.0.1-windows-amd64\\downloaded_standalone_resources\\org.graalvm.python-python-embedding-24.0.1.jar;D:\\apps\\graalpy-community-24.0.1-windows-amd64\\downloaded_standalone_resources\\org.graalvm.python-python-language-24.0.1.jar;D:\\apps\\graalpy-community-24.0.1-windows-amd64\\downloaded_standalone_resources\\org.graalvm.python-python-language-enterprise-24.0.1.jar;D:\\apps\\graalpy-community-24.0.1-windows-amd64\\downloaded_standalone_resources\\org.graalvm.python-python-resources-24.0.1.jar;D:\\apps\\graalpy-community-24.0.1-windows-amd64\\downloaded_standalone_resources\\org.graalvm.regex-regex-24.0.1.jar;D:\\apps\\graalpy-community-24.0.1-windows-amd64\\downloaded_standalone_resources\\org.graalvm.sdk-collections-24.0.1.jar;D:\\apps\\graalpy-community-24.0.1-windows-amd64\\downloaded_standalone_resources\\org.graalvm.sdk-jniutils-24.0.1.jar;D:\\apps\\graalpy-community-24.0.1-windows-amd64\\downloaded_standalone_resources\\org.graalvm.sdk-nativebridge-24.0.1.jar;D:\\apps\\graalpy-community-24.0.1-windows-amd64\\downloaded_standalone_resources\\org.graalvm.sdk-nativeimage-24.0.1.jar;D:\\apps\\graalpy-community-24.0.1-windows-amd64\\downloaded_standalone_resources\\org.graalvm.sdk-word-24.0.1.jar;D:\\apps\\graalpy-community-24.0.1-windows-amd64\\downloaded_standalone_resources\\org.graalvm.shadowed-icu4j-24.0.1.jar;D:\\apps\\graalpy-community-24.0.1-windows-amd64\\downloaded_standalone_resources\\org.graalvm.shadowed-json-24.0.1.jar;D:\\apps\\graalpy-community-24.0.1-windows-amd64\\downloaded_standalone_resources\\org.graalvm.shadowed-xz-24.0.1.jar;D:\\apps\\graalpy-community-24.0.1-windows-amd64\\downloaded_standalone_resources\\org.graalvm.tools-profiler-tool-24.0.1.jar;D:\\apps\\graalpy-community-24.0.1-windows-amd64\\downloaded_standalone_resources\\org.graalvm.truffle-truffle-api-24.0.1.jar;D:\\apps\\graalpy-community-24.0.1-windows-amd64\\downloaded_standalone_resources\\org.graalvm.truffle-truffle-compiler-24.0.1.jar;D:\\apps\\graalpy-community-24.0.1-windows-amd64\\downloaded_standalone_resources\\org.graalvm.truffle-truffle-enterprise-24.0.1.jar;D:\\apps\\graalpy-community-24.0.1-windows-amd64\\downloaded_standalone_resources\\org.graalvm.truffle-truffle-nfi-24.0.1.jar;D:\\apps\\graalpy-community-24.0.1-windows-amd64\\downloaded_standalone_resources\\org.graalvm.truffle-truffle-nfi-libffi-24.0.1.jar;D:\\apps\\graalpy-community-24.0.1-windows-amd64\\downloaded_standalone_resources\\org.graalvm.truffle-truffle-runtime-24.0.1.jar;D:\\apps\\graalpy-community-24.0.1-windows-amd64\\downloaded_standalone_resources', '--no-fallback', '-H:-CopyLanguageResources', '-H:+UnlockExperimentalVMOptions', '-H:ResourceConfigurationFiles=D:\\apps\\graalpy-community-24.0.1-windows-amd64\\downloaded_standalone_resources/native-image-resources.json', '-o', 'D:\\code\\python\\playground\\graalvm\\hello.exe', 'Py2BinLauncher']' returned non-zero exit status 1.
[python::PythonContext] FINE: shutting down threads
[python::PythonContext] FINE: successfully shut down all threads
[python::PythonContext] FINE: joining threads

Liu.D.H  graalvm   7m 19.825s  10:35 >

Steps to reproduce the issue
Please include both build steps as well as run steps

  1. echo print('hello') > hello.py
  2. set JAVA_HOME=D:\apps\graalvm-jdk-21.0.3+7.1
  3. set PATH=D:\apps\graalpy-community-24.0.1-windows-amd64\bin;%PATH%
  4. graalpy -v -m standalone native --module hello.py --output hello.exe

Describe GraalVM and your environment:

  • GraalVM version (latest snapshot builds can be found here), or commit id if built from source: [e.g. EE 19.3, CE 20.0, CE 20.1.0-dev-20200304_0848]
  • JDK major version: [e.g.:8] 21
  • OS: [e.g. macOS Catalina] Microsoft Windows [Version 10.0.22631.3447]
  • Architecture: [e.g.: AMD64] AMD64

More details

See also #8212 (comment).

@liudonghua123
Copy link
Author

I tried graalvm ee version (graalvm-jdk-21.0.3+7.1), then this error disappeared, but the binary size is very big and the simple hello.exe run with 16.406s.

Details
Liu.D.H  graalvm   7ms  09:24 > graalpy -v -m standalone native --module hello.py --output hello.exe
Apr 24, 2024 9:24:41 AM org.graalvm.shadowed.org.jline.utils.Log logr
WARNING: Unable to create a system terminal, creating a dumb terminal (enable debug logging for more information)
[To redirect Truffle log output to a file use one of the following options:
* '--log.file=<path>' if the option is passed using a guest language launcher.
* '-Dpolyglot.log.file=<path>' if the option is passed using the host Java launcher.
* Configure logging using the polyglot embedding API.]
[python::Python3Core] FINE: Cannot use preinitialized context.
[python::PythonContext] FINE: shutting down threads
[python::PythonContext] FINE: successfully shut down all threads
[python::PythonContext] FINE: joining threads
[python::Python3Core] FINE: Initial locations:
        Language home: D:\apps\graalpy-24.0.1-windows-amd64
        SysPrefix:
        BaseSysPrefix:
        CoreHome:
        StdLibHome:
        CAPI:
        JNI library:
        Home candidate: D:\apps\graalpy-24.0.1-windows-amd64
[python::Python3Core] FINE: Updated locations:
        Language home: D:\apps\graalpy-24.0.1-windows-amd64
        SysPrefix: D:\apps\graalpy-24.0.1-windows-amd64
        BaseSysPrefix: D:\apps\graalpy-24.0.1-windows-amd64
        CoreHome: D:\apps\graalpy-24.0.1-windows-amd64\lib-graalpython
        StdLibHome: D:\apps\graalpy-24.0.1-windows-amd64\Lib
        Executable: D:\code\python\playground\graalvm
        CAPI: D:\apps\graalpy-24.0.1-windows-amd64\lib-graalpython
        JNI library: D:\apps\graalpy-24.0.1-windows-amd64\lib-graalpython
[python::GraalPythonModuleBuiltins] FINE: Setting default stdio encoding to utf-8:surrogateescape
[python::Python3Core] FINE: import '_frozen_importlib' # <frozen>
[python::Python3Core] FINE: import '_frozen_importlib_external' # <frozen>
import '_thread' # <class '_frozen_importlib.BuiltinImporter'>
import '_warnings' # <class '_frozen_importlib.BuiltinImporter'>
[python::Python3Core] FINE: # installing zipimport hook
[python::Python3Core] FINE: import 'zipimport' # <frozen>
[python::Python3Core] FINE: # installed zipimport hook
[python::Python3Core] FINE: import 'builtins' # <frozen>
[python::Python3Core] FINE: import '__graalpython__' # <frozen>
[python::Python3Core] FINE: import '_weakref' # <frozen>
[python::Python3Core] FINE: import 'unicodedata' # <frozen>
[python::Python3Core] FINE: import '_sre' # <frozen>
[python::Python3Core] FINE: import 'function' # <frozen>
[python::Python3Core] FINE: import '_sysconfig' # <frozen>
[python::Python3Core] FINE: import 'java' # <frozen>
[python::Python3Core] FINE: import 'pip_hook' # <frozen>
[python::Python3Core] FINE: import '_struct' # <frozen>
[python::PythonLocale] FINE: Selected locale from Java default: en_US, en_US
import '_codecs' # <class '_frozen_importlib.BuiltinImporter'>
import 'codecs' # <class '_frozen_importlib.FrozenImporter'>
import 'encodings.aliases' # <class '_frozen_importlib.FrozenImporter'>
import 'encodings' # <class '_frozen_importlib.FrozenImporter'>
import '_abc' # <class '_frozen_importlib.BuiltinImporter'>
import 'types' # <class '_frozen_importlib.FrozenImporter'>
import '_weakrefset' # <class '_frozen_importlib.FrozenImporter'>
import '_py_abc' # <class '_frozen_importlib.FrozenImporter'>
import 'abc' # <class '_frozen_importlib.FrozenImporter'>
import 'stat' # <class '_frozen_importlib.FrozenImporter'>
import '_collections_abc' # <class '_frozen_importlib.FrozenImporter'>
import 'genericpath' # <class '_frozen_importlib.FrozenImporter'>
import '_winapi' # <class '_frozen_importlib.BuiltinImporter'>
import 'ntpath' # <class '_frozen_importlib.FrozenImporter'>
import 'os' # <class '_frozen_importlib.FrozenImporter'>
import '_sitebuiltins' # <class '_frozen_importlib.FrozenImporter'>
import '_io' # <class '_frozen_importlib.BuiltinImporter'>
import 'io' # <class '_frozen_importlib.FrozenImporter'>
Processing user site-packages
Processing global site-packages
Adding directory: 'D:\\apps\\graalpy-24.0.1-windows-amd64'
Adding directory: 'D:\\apps\\graalpy-24.0.1-windows-amd64\\lib\\site-packages'
import 'site' # <class '_frozen_importlib.FrozenImporter'>
Python 3.10.13 (Fri Apr 05 09:38:03 PDT 2024)
[Graal, Oracle GraalVM, Java 22.0.1] on win32
Type "help", "copyright", "credits" or "license" for more information.
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\runpy.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\__pycache__\\runpy.graalpy240-310.pyc'
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\importlib\__init__.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\importlib\\__pycache__\\__init__.graalpy240-310.pyc'
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\warnings.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\__pycache__\\warnings.graalpy240-310.pyc'
import 'warnings' # <_frozen_importlib_external.SourceFileLoader object at 0x230d0fe8>
import 'importlib' # <_frozen_importlib_external.SourceFileLoader object at 0x40c4ba9b>
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\importlib\machinery.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\importlib\\__pycache__\\machinery.graalpy240-310.pyc'
import 'importlib.machinery' # <_frozen_importlib_external.SourceFileLoader object at 0x5169615a>
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\importlib\util.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\importlib\\__pycache__\\util.graalpy240-310.pyc'
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\importlib\_abc.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\importlib\\__pycache__\\_abc.graalpy240-310.pyc'
import 'importlib._abc' # <_frozen_importlib_external.SourceFileLoader object at 0x5701c046>
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\contextlib.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\__pycache__\\contextlib.graalpy240-310.pyc'
import 'itertools' # <class '_frozen_importlib.BuiltinImporter'>
import 'keyword' # <class '_frozen_importlib.FrozenImporter'>
import '_operator' # <class '_frozen_importlib.BuiltinImporter'>
import 'operator' # <class '_frozen_importlib.FrozenImporter'>
import 'reprlib' # <class '_frozen_importlib.FrozenImporter'>
import '_collections' # <class '_frozen_importlib.BuiltinImporter'>
import 'collections' # <class '_frozen_importlib.FrozenImporter'>
import '_functools' # <class '_frozen_importlib.BuiltinImporter'>
import 'functools' # <class '_frozen_importlib.FrozenImporter'>
import 'contextlib' # <_frozen_importlib_external.SourceFileLoader object at 0x5086c05f>
import 'importlib.util' # <_frozen_importlib_external.SourceFileLoader object at 0x98dde6f>
import 'runpy' # <_frozen_importlib_external.SourceFileLoader object at 0x752fd6b3>
# possible namespace for D:\apps\graalpy-24.0.1-windows-amd64\lib-graalpython\modules\standalone
# possible namespace for D:\apps\graalpy-24.0.1-windows-amd64\lib-graalpython\modules\standalone
import 'standalone' # <_frozen_importlib_external._NamespaceLoader object at 0x35eb7f23>
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\lib-graalpython\modules\standalone\__main__.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\lib-graalpython\\modules\\standalone\\__pycache__\\__main__.graalpy240-310.pyc'
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\argparse.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\__pycache__\\argparse.graalpy240-310.pyc'
import 'enum' # <class '_frozen_importlib.FrozenImporter'>
import '_sre' # <class '_frozen_importlib.BuiltinImporter'>
import 'sre_constants' # <class '_frozen_importlib.FrozenImporter'>
import 'sre_parse' # <class '_frozen_importlib.FrozenImporter'>
import 'sre_compile' # <class '_frozen_importlib.FrozenImporter'>
import '_locale' # <class '_frozen_importlib.BuiltinImporter'>
import 'copyreg' # <class '_frozen_importlib.FrozenImporter'>
import 're' # <class '_frozen_importlib.FrozenImporter'>
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\gettext.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\__pycache__\\gettext.graalpy240-310.pyc'
import 'gettext' # <_frozen_importlib_external.SourceFileLoader object at 0xe7cd660>
import 'argparse' # <_frozen_importlib_external.SourceFileLoader object at 0x76ce2333>
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\shutil.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\__pycache__\\shutil.graalpy240-310.pyc'
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\fnmatch.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\__pycache__\\fnmatch.graalpy240-310.pyc'
import 'posixpath' # <class '_frozen_importlib.FrozenImporter'>
import 'fnmatch' # <_frozen_importlib_external.SourceFileLoader object at 0x22484444>
import 'errno' # <class '_frozen_importlib.BuiltinImporter'>
[python::NativeLibrary] FINE: Loading native library zsupport.dll from path D:\apps\graalpy-24.0.1-windows-amd64\lib-graalpython\zsupport.dll
[python::NativeLibrary] FINE: Error while opening shared library at 'D:\apps\graalpy-24.0.1-windows-amd64\lib-graalpython\zsupport.dll'.
Full NFI source: load (RTLD_LOCAL) "D:\apps\graalpy-24.0.1-windows-amd64\lib-graalpython\zsupport.dll".
java.lang.UnsatisfiedLinkError: D:\apps\graalpy-24.0.1-windows-amd64\lib-graalpython\zsupport.dll GetLastError: 126

import 'zlib' # <class '_frozen_importlib.BuiltinImporter'>
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\bz2.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\__pycache__\\bz2.graalpy240-310.pyc'
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\_compression.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\__pycache__\\_compression.graalpy240-310.pyc'
import '_compression' # <_frozen_importlib_external.SourceFileLoader object at 0x33442458>
import '_bz2' # <class '_frozen_importlib.BuiltinImporter'>
import 'bz2' # <_frozen_importlib_external.SourceFileLoader object at 0x7da900d8>
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\lzma.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\__pycache__\\lzma.graalpy240-310.pyc'
[python::NativeLibrary] FINE: Loading native library lzmasupport.dll from path D:\apps\graalpy-24.0.1-windows-amd64\lib-graalpython\lzmasupport.dll
[python::NativeLibrary] FINE: Error while opening shared library at 'D:\apps\graalpy-24.0.1-windows-amd64\lib-graalpython\lzmasupport.dll'.
Full NFI source: load (RTLD_LOCAL) "D:\apps\graalpy-24.0.1-windows-amd64\lib-graalpython\lzmasupport.dll".
java.lang.UnsatisfiedLinkError: D:\apps\graalpy-24.0.1-windows-amd64\lib-graalpython\lzmasupport.dll GetLastError: 126

import '_lzma' # <class '_frozen_importlib.BuiltinImporter'>
import 'lzma' # <_frozen_importlib_external.SourceFileLoader object at 0x5874441c>
import 'shutil' # <_frozen_importlib_external.SourceFileLoader object at 0x149417dd>
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\subprocess.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\__pycache__\\subprocess.graalpy240-310.pyc'
import 'time' # <class '_frozen_importlib.BuiltinImporter'>
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\signal.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\__pycache__\\signal.graalpy240-310.pyc'
import 'signal' # <_frozen_importlib_external.SourceFileLoader object at 0x78315f56>
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\threading.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\__pycache__\\threading.graalpy240-310.pyc'
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\traceback.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\__pycache__\\traceback.graalpy240-310.pyc'
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\linecache.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\__pycache__\\linecache.graalpy240-310.pyc'
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\tokenize.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\__pycache__\\tokenize.graalpy240-310.pyc'
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\token.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\__pycache__\\token.graalpy240-310.pyc'
import 'token' # <_frozen_importlib_external.SourceFileLoader object at 0x3e1c813f>
import 'tokenize' # <_frozen_importlib_external.SourceFileLoader object at 0x3ac86de9>
import 'linecache' # <_frozen_importlib_external.SourceFileLoader object at 0x45f55469>
import 'traceback' # <_frozen_importlib_external.SourceFileLoader object at 0x625425ac>
import 'threading' # <_frozen_importlib_external.SourceFileLoader object at 0x3ea4c5b6>
import 'fcntl' # <class '_frozen_importlib.BuiltinImporter'>
import '_posixsubprocess' # <class '_frozen_importlib.BuiltinImporter'>
import 'select' # <class '_frozen_importlib.BuiltinImporter'>
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\selectors.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\__pycache__\\selectors.graalpy240-310.pyc'
import 'collections.abc' # <class '_frozen_importlib.FrozenImporter'>
import 'math' # <class '_frozen_importlib.BuiltinImporter'>
import 'selectors' # <_frozen_importlib_external.SourceFileLoader object at 0x656e515>
import 'subprocess' # <_frozen_importlib_external.SourceFileLoader object at 0x5205cdcb>
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\tempfile.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\__pycache__\\tempfile.graalpy240-310.pyc'
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\random.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\__pycache__\\random.graalpy240-310.pyc'
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\bisect.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\__pycache__\\bisect.graalpy240-310.pyc'
import 'bisect' # <_frozen_importlib_external.SourceFileLoader object at 0x391a5454>
import '_random' # <class '_frozen_importlib.BuiltinImporter'>
import '_sha512' # <class '_frozen_importlib.BuiltinImporter'>
import 'random' # <_frozen_importlib_external.SourceFileLoader object at 0x1c611dbb>
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\weakref.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\__pycache__\\weakref.graalpy240-310.pyc'
import 'weakref' # <_frozen_importlib_external.SourceFileLoader object at 0x17ce1f6>
import 'tempfile' # <_frozen_importlib_external.SourceFileLoader object at 0x31afa2e5>
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\pathlib.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\__pycache__\\pathlib.graalpy240-310.pyc'
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\urllib\__init__.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\urllib\\__pycache__\\__init__.graalpy240-310.pyc'
import 'urllib' # <_frozen_importlib_external.SourceFileLoader object at 0x197c6ade>
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\urllib\parse.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\urllib\\__pycache__\\parse.graalpy240-310.pyc'
import 'urllib.parse' # <_frozen_importlib_external.SourceFileLoader object at 0x2d7140bf>
import 'pathlib' # <_frozen_importlib_external.SourceFileLoader object at 0x67dcf3f8>
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\platform.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\__pycache__\\platform.graalpy240-310.pyc'
import 'platform' # <_frozen_importlib_external.SourceFileLoader object at 0xb074250>
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\socket.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\__pycache__\\socket.graalpy240-310.pyc'
import '_socket' # <class '_frozen_importlib.BuiltinImporter'>
import 'socket' # <_frozen_importlib_external.SourceFileLoader object at 0x4f0cb288>
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\urllib\request.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\urllib\\__pycache__\\request.graalpy240-310.pyc'
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\base64.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\__pycache__\\base64.graalpy240-310.pyc'
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\struct.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\__pycache__\\struct.graalpy240-310.pyc'
import 'struct' # <_frozen_importlib_external.SourceFileLoader object at 0x67b11f34>
import 'binascii' # <class '_frozen_importlib.BuiltinImporter'>
import 'base64' # <_frozen_importlib_external.SourceFileLoader object at 0x7a1ed881>
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\email\__init__.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\email\\__pycache__\\__init__.graalpy240-310.pyc'
import 'email' # <_frozen_importlib_external.SourceFileLoader object at 0x3ccea3ed>
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\hashlib.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\__pycache__\\hashlib.graalpy240-310.pyc'
import '_hashlib' # <class '_frozen_importlib.BuiltinImporter'>
import '_blake2' # <class '_frozen_importlib.BuiltinImporter'>
import 'hashlib' # <_frozen_importlib_external.SourceFileLoader object at 0x77e20ece>
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\http\__init__.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\http\\__pycache__\\__init__.graalpy240-310.pyc'
import 'http' # <_frozen_importlib_external.SourceFileLoader object at 0x6241e4d9>
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\http\client.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\http\\__pycache__\\client.graalpy240-310.pyc'
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\email\parser.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\email\\__pycache__\\parser.graalpy240-310.pyc'
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\email\feedparser.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\email\\__pycache__\\feedparser.graalpy240-310.pyc'
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\email\errors.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\email\\__pycache__\\errors.graalpy240-310.pyc'
import 'email.errors' # <_frozen_importlib_external.SourceFileLoader object at 0x79d9bf27>
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\email\_policybase.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\email\\__pycache__\\_policybase.graalpy240-310.pyc'
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\email\header.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\email\\__pycache__\\header.graalpy240-310.pyc'
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\email\quoprimime.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\email\\__pycache__\\quoprimime.graalpy240-310.pyc'
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\string.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\__pycache__\\string.graalpy240-310.pyc'
import '_string' # <class '_frozen_importlib.BuiltinImporter'>
import 'string' # <_frozen_importlib_external.SourceFileLoader object at 0x69582dea>
import 'email.quoprimime' # <_frozen_importlib_external.SourceFileLoader object at 0x7c39fc43>
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\email\base64mime.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\email\\__pycache__\\base64mime.graalpy240-310.pyc'
import 'email.base64mime' # <_frozen_importlib_external.SourceFileLoader object at 0x30d3307f>
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\email\charset.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\email\\__pycache__\\charset.graalpy240-310.pyc'
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\email\encoders.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\email\\__pycache__\\encoders.graalpy240-310.pyc'
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\quopri.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\__pycache__\\quopri.graalpy240-310.pyc'
import 'quopri' # <_frozen_importlib_external.SourceFileLoader object at 0x50f46c18>
import 'email.encoders' # <_frozen_importlib_external.SourceFileLoader object at 0x5066edb4>
import 'email.charset' # <_frozen_importlib_external.SourceFileLoader object at 0x1a9e102c>
import 'email.header' # <_frozen_importlib_external.SourceFileLoader object at 0x338318e7>
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\email\utils.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\email\\__pycache__\\utils.graalpy240-310.pyc'
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\datetime.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\__pycache__\\datetime.graalpy240-310.pyc'
import 'datetime' # <_frozen_importlib_external.SourceFileLoader object at 0x1d8fe31b>
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\email\_parseaddr.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\email\\__pycache__\\_parseaddr.graalpy240-310.pyc'
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\calendar.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\__pycache__\\calendar.graalpy240-310.pyc'
import 'locale' # <class '_frozen_importlib.FrozenImporter'>
import 'calendar' # <_frozen_importlib_external.SourceFileLoader object at 0x633a7e39>
import 'email._parseaddr' # <_frozen_importlib_external.SourceFileLoader object at 0x4faaff6c>
import 'email.utils' # <_frozen_importlib_external.SourceFileLoader object at 0x4138ba02>
import 'email._policybase' # <_frozen_importlib_external.SourceFileLoader object at 0x65a7ab1a>
import 'email.feedparser' # <_frozen_importlib_external.SourceFileLoader object at 0x6f36822a>
import 'email.parser' # <_frozen_importlib_external.SourceFileLoader object at 0x59703bb6>
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\email\message.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\email\\__pycache__\\message.graalpy240-310.pyc'
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\uu.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\__pycache__\\uu.graalpy240-310.pyc'
import 'uu' # <_frozen_importlib_external.SourceFileLoader object at 0x76fa2423>
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\email\_encoded_words.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\email\\__pycache__\\_encoded_words.graalpy240-310.pyc'
import 'email._encoded_words' # <_frozen_importlib_external.SourceFileLoader object at 0x6cf2c993>
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\email\iterators.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\email\\__pycache__\\iterators.graalpy240-310.pyc'
import 'email.iterators' # <_frozen_importlib_external.SourceFileLoader object at 0x5abb176d>
import 'email.message' # <_frozen_importlib_external.SourceFileLoader object at 0x37b872d8>
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\ssl.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\__pycache__\\ssl.graalpy240-310.pyc'
import '_ssl' # <class '_frozen_importlib.BuiltinImporter'>
import 'ssl' # <_frozen_importlib_external.SourceFileLoader object at 0x11ec4ada>
import 'http.client' # <_frozen_importlib_external.SourceFileLoader object at 0x7aa36f2b>
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\urllib\error.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\urllib\\__pycache__\\error.graalpy240-310.pyc'
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\urllib\response.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\urllib\\__pycache__\\response.graalpy240-310.pyc'
import 'urllib.response' # <_frozen_importlib_external.SourceFileLoader object at 0x2b9abba6>
import 'urllib.error' # <_frozen_importlib_external.SourceFileLoader object at 0x4d84c7c>
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\nturl2path.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\__pycache__\\nturl2path.graalpy240-310.pyc'
import 'nturl2path' # <_frozen_importlib_external.SourceFileLoader object at 0x5ca9682d>
import 'urllib.request' # <_frozen_importlib_external.SourceFileLoader object at 0x647084d3>
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\tarfile.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\__pycache__\\tarfile.graalpy240-310.pyc'
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\copy.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\__pycache__\\copy.graalpy240-310.pyc'
import 'copy' # <_frozen_importlib_external.SourceFileLoader object at 0x5bc944a7>
import 'pwd' # <class '_frozen_importlib.BuiltinImporter'>
import 'tarfile' # <_frozen_importlib_external.SourceFileLoader object at 0x541cd172>
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\zipfile.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\__pycache__\\zipfile.graalpy240-310.pyc'
import 'zipfile' # <_frozen_importlib_external.SourceFileLoader object at 0x364462aa>
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
# code object from D:\apps\graalpy-24.0.1-windows-amd64\Lib\glob.py
# created 'D:\\apps\\graalpy-24.0.1-windows-amd64\\Lib\\__pycache__\\glob.graalpy240-310.pyc'
import 'glob' # <_frozen_importlib_external.SourceFileLoader object at 0x7f45d482>
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
[python::EmulatedPosixSupport] FINE: Ignored: setting inheritable 'false' for file descriptor 3 in POSIX emulation layer (not supported)
Warning: Using a deprecated option --rerun-class-initialization-at-runtime= from 'META-INF\native-image\org.graalvm.shadowed.icu4j\native-image.properties' in 'file:///D:/apps/graalpy-24.0.1-windows-amd64/downloaded_standalone_resources/org.graalvm.shadowed-icu4j-24.0.1.jar'. Currently there is no replacement for this option. Try using --initialize-at-run-time or use the non-API option -H:ClassInitialization directly.
Warning: The option '-H:-CopyLanguageResources' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions' in the future.
Warning: Please re-evaluate whether any experimental option is required, and either remove or unlock it. The build output lists all active experimental options, including where they come from and possible alternatives. If you think an experimental option should be considered as stable, please file an issue.
Warning: Invalid option --add-exports org.graalvm.nativeimage/org.graalvm.nativeimage.impl=org.graalvm.py provided by 'META-INF\native-image\org.graalvm.py\native-image.properties' in 'file:///D:/apps/graalpy-24.0.1-windows-amd64/downloaded_standalone_resources/org.graalvm.python-python-language-24.0.1.jar'. Specified target-module 'org.graalvm.py' is unknown.
========================================================================================================================

GraalVM Native Image: Generating 'hello.exe' (executable)...
========================================================================================================================

For detailed information and explanations on the build output, visit:
https://github.com/oracle/graal/blob/master/docs/reference-manual/native-image/BuildOutput.md
------------------------------------------------------------------------------------------------------------------------

[1/8] Initializing...                                                                                   (42.3s @ 0.21GB)

 Java version: 21.0.3+7-LTS, vendor version: Oracle GraalVM 21.0.3+7.1
 Graal compiler: optimization level: 2, target machine: x86-64-v3, PGO: ML-inferred
 C compiler: cl.exe (microsoft, x64, 19.38.33133)
 Garbage collector: Serial GC (max heap size: 80% of RAM)
 12 user-specific feature(s):
 - com.oracle.graal.python.BouncyCastleFeature
 - com.oracle.graal.python.JNIFeature
 - com.oracle.svm.enterprise.truffle.EnterpriseTruffleBaseFeature: Provides enterprise extensions for Truffle
 - com.oracle.svm.enterprise.truffle.EnterpriseTruffleFeature: Provides enterprise extensions for Truffle runtime compilation
 - com.oracle.svm.enterprise.truffle.PolyglotIsolateHostFeature: Provides polyglot host isolate embedding support
 - com.oracle.svm.thirdparty.gson.GsonFeature
 - com.oracle.svm.truffle.TruffleBaseFeature: Provides support for Truffle languages
 - com.oracle.svm.truffle.TruffleFeature: Provides support for Truffle runtime compilation
 - com.oracle.svm.truffle.nfi.TruffleNFIFeature
 - com.oracle.svm.truffle.nfi.windows.WindowsTruffleNFIFeature
 - com.oracle.truffle.runtime.enterprise.EnableEnterpriseFeature: Enables Truffle enterprise features if they are supported.
 - org.graalvm.home.HomeFinderFeature: Finds GraalVM paths and its version number
------------------------------------------------------------------------------------------------------------------------

 1 experimental option(s) unlocked:
 - '-H:ResourceConfigurationFiles' (origin(s): command line)
------------------------------------------------------------------------------------------------------------------------

Build resources:
 - 12.03GB of memory (75.6% of 15.92GB system memory, determined at start)
 - 8 thread(s) (100.0% of 8 available processor(s), determined at start)
[2/8] Performing analysis...  [*********]                                                              (290.2s @ 5.38GB)

   35,725 reachable types   (96.3% of   37,103 total)
   64,354 reachable fields  (63.9% of  100,638 total)
  174,627 reachable methods (73.1% of  238,925 total)
   19,333 runtime compiled methods ( 8.1% of  238,925 total)
   10,286 types,   170 fields, and 3,813 methods registered for reflection
      100 types,    58 fields, and   384 methods registered for JNI access
        5 native libraries: crypt32, ncrypt, psapi, version, winhttp
[3/8] Building universe...                                                                              (17.0s @ 6.87GB)

[4/8] Parsing methods...      [*******]                                                                 (47.8s @ 6.02GB)

[5/8] Inlining methods...     [****]                                                                     (7.7s @ 5.89GB)

[6/8] Compiling methods...    [********************]                                                   (398.3s @ 8.44GB)

[7/8] Layouting methods...    [********]                                                                (69.8s @ 8.10GB)

[8/8] Creating image...       [***********]                                                            (131.0s @ 9.00GB)

 119.05MB ( 9.41%) for code area:   127,348 compilation units
   1.12GB (90.50%) for image heap:1,485,322 objects and 3,534 resources
   1.15MB ( 0.09%) for other data
   1.24GB in total
------------------------------------------------------------------------------------------------------------------------

Top 10 origins of code area:                                Top 10 object types in image heap:
  59.47MB org.graalvm.python-python-language-24.0.1.jar     1023.68MB byte[] for embedded resources
  13.30MB java.base                                           40.28MB byte[] for code metadata
   8.55MB org.bouncycastle-bcprov-jdk18on-1.76.jar            17.50MB byte[] for graph encodings
   8.18MB svm.jar (Native Image)                              13.34MB byte[] for java.lang.String
   7.92MB org.graalvm.truffle                                  7.21MB java.lang.Class
   6.26MB jdk.internal.vm.compiler                             6.08MB java.lang.String
   2.79MB org.graalvm.regex-regex-24.0.1.jar                   3.62MB byte[] for general heap data
   2.32MB com.oracle.graal.graal_enterprise                    2.84MB c.o.truffle.api.dsl.InlineSupport$ReferenceField
   1.83MB o.g.python-python-language-enterprise-24.0.1.jar     2.74MB c.oracle.truffle.api.dsl.InlineSupport$StateField
   1.36MB org.graalvm.shadowed-icu4j-24.0.1.jar                2.05MB byte[] for reflection metadata
   6.19MB for 45 more packages                                26.23MB for 9173 more object types
                              Use '-H:+BuildReport' to create a report with more details.
------------------------------------------------------------------------------------------------------------------------

Security report:
 - Binary includes Java deserialization.
 - Use '--enable-sbom' to embed a Software Bill of Materials (SBOM) in the binary.
------------------------------------------------------------------------------------------------------------------------

Recommendations:
 PGO:  Use Profile-Guided Optimizations ('--pgo') for improved throughput.
 INIT: Adopt '--strict-image-heap' to prepare for the next GraalVM release.
 HEAP: Set max heap for improved and more predictable memory usage.
 CPU:  Enable more CPU features with '-march=native' for improved performance.
 QBM:  Use the quick build mode ('-Ob') to speed up builds during development.
------------------------------------------------------------------------------------------------------------------------

                      191.1s (18.8% of total time) in 310 GCs | Peak RSS: 10.86GB | CPU load: 3.70
------------------------------------------------------------------------------------------------------------------------

Produced artifacts:
 D:\code\python\playground\graalvm\hello.exe.exe (executable)
========================================================================================================================

Finished generating 'hello.exe' in 16m 52s.
[python::PythonContext] FINE: shutting down threads
[python::PythonContext] FINE: successfully shut down all threads
[python::PythonContext] FINE: joining threads

Liu.D.H  graalvm   21m 29.167s  09:46 > explorer .

Liu.D.H  graalvm   39ms  09:46 > hello.exe
hello
Could not delete temp directory 'C:\Users\LIUD~1.H\AppData\Local\Temp\vfsx14293012609051420665': java.nio.file.NoSuchFileException: C:\Users\LIUD~1.H\AppData\Local\Temp\vfsx14293012609051420665
Liu.D.H  graalvm   16.406s  09:49 > dir hello*
 Volume in drive D is Programs
 Volume Serial Number is CEF0-10CA

 Directory of D:\code\python\playground\graalvm

2024/04/24  09:45     1,327,263,744 hello.exe
2024/04/24  09:21                17 hello.py
               2 File(s)  1,327,263,761 bytes
               0 Dir(s)     685,408,256 bytes free

Liu.D.H  graalvm   12ms  09:49 >
Liu.D.H  graalvm   12ms  09:49 > where java
D:\apps\graalvm-jdk-21.0.3+7.1\bin\java.exe
C:\Program Files\Microsoft\jdk-11.0.16.101-hotspot\bin\java.exe
C:\Program Files\Java\jdk-17\bin\java.exe
C:\Program Files\Common Files\Oracle\Java\javapath\java.exe

Liu.D.H  graalvm   1.968s  09:52 > where graalpy
D:\apps\graalpy-24.0.1-windows-amd64\bin\graalpy.exe

Liu.D.H  graalvm   134ms  09:52 >

@ZynoZin
Copy link
Member

ZynoZin commented Apr 25, 2024

Hello @liudonghua123 we are working on this. We will get back to you as soon as we can.

@hamzaGhaissi hamzaGhaissi changed the title Error: Feature com.oracle.truffle.runtime.enterprise.EnableEnterpriseFeature class not found on the classpath. Ensure that the name is correct and that the class is on the classpath. [GR-53767] Error: Feature com.oracle.truffle.runtime.enterprise.EnableEnterpriseFeature class not found on the classpath. Ensure that the name is correct and that the class is on the classpath. Apr 30, 2024
@hamzaGhaissi
Copy link
Member

Thank you @liudonghua123 , we are tracking the issue related to the CE version, for the size it's a known issue, also we noticed the run time issue during the first run

@amorozov
Copy link

The bug is reproducible on the following software combination:

  • OS: GNU/Linux Debian 12.5 (Bookworm)
  • Graalvm: graalvm-community-openjdk-22.0.1+8.1
  • Graalpy: graalpy-community-24.0.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants