I get the following problem when I try to follow the tutorial, it gets hung
up on one of the stages. When I try to run the command after Invoking
Process failed I get "SDL is a folder"
tiger@LoveMachine:~/emscripten/1.37.22$ ./emcc tests/hello_world.c
INFO:root:generating system library: libc.bc... (this will be cached in
"/home/tiger/.emscripten_cache/asmjs/libc.bc" for subsequent builds)
^CProcess PoolWorker-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in
_bootstrap
ERROR:root:Invoking Process failed: <<<
/home/emscripten/emsdk-portable/clang/e1.37.22_64bit/clang -target
asmjs-unknown-emscripten -D__EMSCRIPTEN_major__=1 -D__EMSCRIPTEN_minor__=37
-D__EMSCRIPTEN_tiny__=22 -D_LIBCPP_ABI_VERSION=2
-Werror=implicit-function-declaration -nostdinc -Xclang -nobuiltininc
-Xclang -nostdsysteminc -Xclang
-isystem/home/emscripten/emsdk-portable/emscripten/1.37.22/system/include/libcxx
-Xclang
-isystem/home/emscripten/emsdk-portable/emscripten/1.37.22/system/lib/libcxxabi/include
-Xclang
-isystem/home/emscripten/emsdk-portable/emscripten/1.37.22/system/include/compat
-Xclang
-isystem/home/emscripten/emsdk-portable/emscripten/1.37.22/system/include
-Xclang
-isystem/home/emscripten/emsdk-portable/emscripten/1.37.22/system/include/SSE
-Xclang
-isystem/home/emscripten/emsdk-portable/emscripten/1.37.22/system/include/libc
-Xclang
-isystem/home/emscripten/emsdk-portable/emscripten/1.37.22/system/lib/libc/musl/arch/emscripten
-Xclang
-isystem/home/emscripten/emsdk-portable/emscripten/1.37.22/system/local/include
-I/home/emscripten/emsdk-portable/emscripten/1.37.22/system/lib/libc/musl/src/internal
-I/home/emscripten/emsdk-portable/emscripten/1.37.22/system/lib/libc/musl/arch/js
-Werror -Wno-return-type -Wno-parentheses -Wno-ignored-attributes
-Wno-shift-count-overflow -Wno-shift-negative-value -Wno-dangling-else
-Wno-unknown-pragmas -Wno-shift-op-parentheses -Wno-string-plus-int
-Wno-logical-op-parentheses -Wno-bitwise-op-parentheses -Wno-visibility
-Wno-pointer-sign -Os -mllvm -disable-llvm-optzns
/home/emscripten/emsdk-portable/emscripten/1.37.22/system/lib/libc/musl/src/unistd/faccessat.c
-fno-inline-functions -Xclang
-isystem/home/emscripten/emsdk-portable/emscripten/1.37.22/system/include/SDL
-emit-llvm -c -o /tmp/tmpIJurDF/faccessat.c.o >>>
self.run()
File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
Traceback (most recent call last):
File "/home/emscripten/emsdk-portable/emscripten/1.37.22/emcc", line 13,
in <module>
self._target(*self._args, **self._kwargs)
File "/usr/lib/python2.7/multiprocessing/pool.py", line 113, in worker
result = (True, func(*args, **kwds))
File "/usr/lib/python2.7/multiprocessing/pool.py", line 65, in mapstar
return map(*args)
File
"/home/emscripten/emsdk-portable/emscripten/1.37.22/tools/system_libs.py",
line 13, in call_process
Traceback (most recent call last):
File "./emcc", line 13, in <module>
Process PoolWorker-2:
Traceback (most recent call last):
File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in
_bootstrap
self.run()
File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python2.7/multiprocessing/pool.py", line 113, in worker
ERROR:root:Invoking Process failed: <<<
/home/emscripten/emsdk-portable/clang/e1.37.22_64bit/clang -target
asmjs-unknown-emscripten -D__EMSCRIPTEN_major__=1 -D__EMSCRIPTEN_minor__=37
-D__EMSCRIPTEN_tiny__=22 -D_LIBCPP_ABI_VERSION=2
-Werror=implicit-function-declaration -nostdinc -Xclang -nobuiltininc
-Xclang -nostdsysteminc -Xclang
-isystem/home/emscripten/emsdk-portable/emscripten/1.37.22/system/include/libcxx
-Xclang
-isystem/home/emscripten/emsdk-portable/emscripten/1.37.22/system/lib/libcxxabi/include
-Xclang
-isystem/home/emscripten/emsdk-portable/emscripten/1.37.22/system/include/compat
-Xclang
-isystem/home/emscripten/emsdk-portable/emscripten/1.37.22/system/include
-Xclang
-isystem/home/emscripten/emsdk-portable/emscripten/1.37.22/system/include/SSE
-Xclang
-isystem/home/emscripten/emsdk-portable/emscripten/1.37.22/system/include/libc
-Xclang
-isystem/home/emscripten/emsdk-portable/emscripten/1.37.22/system/lib/libc/musl/arch/emscripten
-Xclang
-isystem/home/emscripten/emsdk-portable/emscripten/1.37.22/system/local/include
-I/home/emscripten/emsdk-portable/emscripten/1.37.22/system/lib/libc/musl/src/internal
-I/home/emscripten/emsdk-portable/emscripten/1.37.22/system/lib/libc/musl/arch/js
-Werror -Wno-return-type -Wno-parentheses -Wno-ignored-attributes
-Wno-shift-count-overflow -Wno-shift-negative-value -Wno-dangling-else
-Wno-unknown-pragmas -Wno-shift-op-parentheses -Wno-string-plus-int
-Wno-logical-op-parentheses -Wno-bitwise-op-parentheses -Wno-visibility
-Wno-pointer-sign -Os -mllvm -disable-llvm-optzns
/home/emscripten/emsdk-portable/emscripten/1.37.22/system/lib/libc/musl/src/unistd/getgid.c
-fno-inline-functions -Xclang
-isystem/home/emscripten/emsdk-portable/emscripten/1.37.22/system/include/SDL
-emit-llvm -c -o /tmp/tmpIJurDF/getgid.c.o >>>
result = (True, func(*args, **kwds))
File "/usr/lib/python2.7/multiprocessing/pool.py", line 65, in mapstar
return map(*args)
File
"/home/emscripten/emsdk-portable/emscripten/1.37.22/tools/system_libs.py",
line 13, in call_process
Traceback (most recent call last):
File "/home/emscripten/emsdk-portable/emscripten/1.37.22/emcc", line 13,
in <module>
emcc.run()
File "/home/emscripten/emsdk-portable/emscripten/1.37.22/emcc.py", line
1320, in run
emcc.run()
File "/home/emscripten/emsdk-portable/emscripten/1.37.22/emcc.py", line
1417, in run
emcc.run()
File "/home/emscripten/emsdk-portable/emscripten/1.37.22/emcc.py", line
1320, in run
proc.communicate()
proc.communicate()
File "/usr/lib/python2.7/subprocess.py", line 797, in communicate
File "/usr/lib/python2.7/subprocess.py", line 797, in communicate
self.wait()
self.wait()
File "/usr/lib/python2.7/subprocess.py", line 1392, in wait
File "/usr/lib/python2.7/subprocess.py", line 1392, in wait
pid, sts = _eintr_retry_call(os.waitpid, self.pid, 0)
File "/usr/lib/python2.7/subprocess.py", line 476, in _eintr_retry_call
pid, sts = _eintr_retry_call(os.waitpid, self.pid, 0)
File "/usr/lib/python2.7/subprocess.py", line 476, in _eintr_retry_call
return func(*args)
return func(*args)
KeyboardInterrupt
KeyboardInterrupt
extra_files_to_link += system_libs.calculate([f for _, f in
sorted(temp_files)] + extra_files_to_link, in_temp, stdout_=None,
stderr_=None, forced=forced_stdlibs)
File
"/home/emscripten/emsdk-portable/emscripten/1.37.22/tools/system_libs.py",
line 493, in calculate
compile_source_file(i, input_file)
libfile = shared.Cache.get(name, do_create, extension=suffix)
File "/home/emscripten/emsdk-portable/emscripten/1.37.22/tools/cache.py",
line 100, in get
compile_source_file(i, input_file)
File "/home/emscripten/emsdk-portable/emscripten/1.37.22/emcc.py", line
1311, in compile_source_file
File "/home/emscripten/emsdk-portable/emscripten/1.37.22/emcc.py", line
1311, in compile_source_file
temp = creator()
File
"/home/emscripten/emsdk-portable/emscripten/1.37.22/tools/system_libs.py",
line 491, in do_create
execute(args) # let compiler frontend print directly, so colors are
saved (PIPE kills that)
execute(args) # let compiler frontend print directly, so colors are
saved (PIPE kills that)
File
"/home/emscripten/emsdk-portable/emscripten/1.37.22/tools/shared.py", line
2600, in execute
File
"/home/emscripten/emsdk-portable/emscripten/1.37.22/tools/shared.py", line
2600, in execute
ret = create(name)
File
"/home/emscripten/emsdk-portable/emscripten/1.37.22/tools/system_libs.py",
line 134, in create_libc
return build_libc(libname, libc_files, args)
File
"/home/emscripten/emsdk-portable/emscripten/1.37.22/tools/system_libs.py",
line 80, in build_libc
return Popen(cmd, *args, **kw).communicate() # let compiler
frontend print directly, so colors are saved (PIPE kills that)
return Popen(cmd, *args, **kw).communicate() # let compiler frontend print
directly, so colors are saved (PIPE kills that)
File "/usr/lib/python2.7/subprocess.py", line 797, in communicate
File "/usr/lib/python2.7/subprocess.py", line 797, in communicate
self.wait()
File "/usr/lib/python2.7/subprocess.py", line 1392, in wait
self.wait()
File "/usr/lib/python2.7/subprocess.py", line 1392, in wait
pid, sts = _eintr_retry_call(os.waitpid, self.pid, 0)
File "/usr/lib/python2.7/subprocess.py", line 476, in _eintr_retry_call
pid, sts = _eintr_retry_call(os.waitpid, self.pid, 0)
File "/usr/lib/python2.7/subprocess.py", line 476, in _eintr_retry_call
return func(*args)
KeyboardInterrupt
return func(*args)
KeyboardInterrupt
run_commands(commands)
File
"/home/emscripten/emsdk-portable/emscripten/1.37.22/tools/system_libs.py",
line 28, in run_commands
pool.map_async(call_process, commands, chunksize=1).get(maxint)
File "/usr/lib/python2.7/multiprocessing/pool.py", line 561, in get
self.wait(timeout)
File "/usr/lib/python2.7/multiprocessing/pool.py", line 556, in wait
self._cond.wait(timeout)
File "/usr/lib/python2.7/threading.py", line 359, in wait
_sleep(delay)
--
You received this message because you are subscribed to the Google Groups
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.