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

Compile ain't works #7

Open
oneofthehorses opened this issue Dec 4, 2023 · 0 comments
Open

Compile ain't works #7

oneofthehorses opened this issue Dec 4, 2023 · 0 comments

Comments

@oneofthehorses
Copy link

Hello!

I installed Emscripten compiler from synaptic.
Then i do compile.sh (with sudo. without have last line - permission denied)

Hope to find help! Thanks!

=========================

Traceback (most recent call last):
File "/usr/share/emscripten/em++.py", line 14, in
sys.exit(emcc.run(sys.argv))
^^^^^^^^^^^^^^^^^^
File "/usr/share/emscripten/emcc.py", line 1151, in run
linker_inputs = phase_compile_inputs(options, state, newargs, input_files)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/contextlib.py", line 81, in inner
return func(*args, **kwds)
^^^^^^^^^^^^^^^^^^^
File "/usr/share/emscripten/emcc.py", line 2677, in phase_compile_inputs
compile_source_file(i, input_file)
File "/usr/share/emscripten/emcc.py", line 2657, in compile_source_file
cmd = get_clang_command(input_file)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/emscripten/emcc.py", line 2598, in get_clang_command
return get_compiler(src_file) + get_cflags(state.orig_args) + compile_args + [src_file]
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/emscripten/emcc.py", line 903, in get_cflags
ports.add_cflags(cflags, settings)
File "/usr/share/emscripten/tools/ports/init.py", line 364, in add_cflags
port.get(Ports, settings, shared)
File "/usr/share/emscripten/tools/ports/sdl2.py", line 23, in get
ports.fetch_project('sdl2', 'https://github.com/libsdl-org/SDL/archive/' + TAG + '.zip', SUBDIR, sha512hash=HASH)
File "/usr/share/emscripten/tools/ports/init.py", line 247, in fetch_project
with shared.Cache.lock():
File "/usr/lib/python3.11/contextlib.py", line 137, in enter
return next(self.gen)
^^^^^^^^^^^^^^
File "/usr/share/emscripten/tools/cache.py", line 74, in lock
self.acquire_cache_lock()
File "/usr/share/emscripten/tools/cache.py", line 43, in acquire_cache_lock
raise Exception('Attempt to lock the cache but FROZEN_CACHE is set')
Exception: Attempt to lock the cache but FROZEN_CACHE is set

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

No branches or pull requests

1 participant