Thank you, Dtec and Alon. I got the same error and the suggested method of 
"chmod a+x" has help removed the error messages for clang and node.

However, I still got this warning and an remaining OSError: [Errno 13] 
Permission denied

WARNING  root: could not check fastcomp: [Errno 13] Permission denied


I've changed the permission for all the paths listed the error message and 
from the ~/.emscripten file. But still I cannot remove the error. 

Did you change the permission for other files besides the clang and node 
directories?

Thanks!

The full error message is as follows:

./Engine/Build/BatchFiles/Mac/Build.sh UE4Game HTML5 Development
Setting up Mono
Building UBT...
     0 Error(s)
Building UE4Game...
2015-09-26 00:55:37.985 defaults[11539:51719] 
The domain/default pair of (com.apple.dt.Xcode, 
IDEBuildOperationMaxNumberOfConcurrentCompileTasks) does not exist
Running command : Engine/Binaries/DotNET/UnrealBuildTool.exe UE4Game HTML5 
Development 
Creating makefile for UE4Game (project files are newer)
Setting Emscripten SDK 
Performing 6 actions (4 in parallel)
[1/6] python UE4-Paper2D.bc
[4/6] python UE4-ArchVisCharacter.bc
[3/6] python UE4-CableComponent.bc
[2/6] python UE4-LightPropagationVolumeRuntime.bc
WARNING  root: could not check fastcomp: [Errno 13] Permission denied
INFO     root: (Emscripten: Running sanity checks)
WARNING  root: could not check fastcomp: [Errno 13] Permission denied
INFO     root: (Emscripten: Running sanity checks)
WARNING  root: could not check fastcomp: [Errno 13] Permission denied
INFO     root: (Emscripten: Running sanity checks)
WARNING  root: could not check fastcomp: [Errno 13] Permission denied
INFO     root: (Emscripten: Running sanity checks)
Traceback (most recent call last):
  File 
"/Users/liya/Developer/unreal/UnrealEngine-release/Engine/Source/ThirdParty/HTML5/emsdk/emscripten/1.30.0/emcc",
 
line 1204, in <module>
    shared.Building.link(linker_inputs, specified_target)
  File 
"/Users/liya/Developer/unreal/UnrealEngine-release/Engine/Source/ThirdParty/HTML5/emsdk/emscripten/1.30.0/tools/shared.py",
 
line 1424, in link
    output = Popen(link_cmd, stdout=PIPE).communicate()[0]
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py",
 
line 710, in __init__
Traceback (most recent call last):
  File 
"/Users/liya/Developer/unreal/UnrealEngine-release/Engine/Source/ThirdParty/HTML5/emsdk/emscripten/1.30.0/emcc",
 
line 1204, in <module>
    errread, errwrite)
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py",
 
line 1335, in _execute_child
    shared.Building.link(linker_inputs, specified_target)
  File 
"/Users/liya/Developer/unreal/UnrealEngine-release/Engine/Source/ThirdParty/HTML5/emsdk/emscripten/1.30.0/tools/shared.py",
 
line 1424, in link
    raise child_exception
OSError: [Errno 13] Permission denied
    output = Popen(link_cmd, stdout=PIPE).communicate()[0]
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py",
 
line 710, in __init__
    errread, errwrite)
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py",
 
line 1335, in _execute_child
    raise child_exception
OSError: [Errno 13] Permission denied
Traceback (most recent call last):
  File 
"/Users/liya/Developer/unreal/UnrealEngine-release/Engine/Source/ThirdParty/HTML5/emsdk/emscripten/1.30.0/emcc",
 
line 1204, in <module>
    shared.Building.link(linker_inputs, specified_target)
  File 
"/Users/liya/Developer/unreal/UnrealEngine-release/Engine/Source/ThirdParty/HTML5/emsdk/emscripten/1.30.0/tools/shared.py",
 
line 1424, in link
    output = Popen(link_cmd, stdout=PIPE).communicate()[0]
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py",
 
line 710, in __init__
    errread, errwrite)
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py",
 
line 1335, in _execute_child
    raise child_exception
OSError: [Errno 13] Permission denied
Traceback (most recent call last):
  File 
"/Users/liya/Developer/unreal/UnrealEngine-release/Engine/Source/ThirdParty/HTML5/emsdk/emscripten/1.30.0/emcc",
 
line 1204, in <module>
    shared.Building.link(linker_inputs, specified_target)
  File 
"/Users/liya/Developer/unreal/UnrealEngine-release/Engine/Source/ThirdParty/HTML5/emsdk/emscripten/1.30.0/tools/shared.py",
 
line 1424, in link
    output = Popen(link_cmd, stdout=PIPE).communicate()[0]
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py",
 
line 710, in __init__
    errread, errwrite)
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py",
 
line 1335, in _execute_child
    raise child_exception
OSError: [Errno 13] Permission denied
[5/6] python UE4-HTML5Networking.bc
WARNING  root: could not check fastcomp: [Errno 13] Permission denied
INFO     root: (Emscripten: Running sanity checks)
Traceback (most recent call last):
  File 
"/Users/liya/Developer/unreal/UnrealEngine-release/Engine/Source/ThirdParty/HTML5/emsdk/emscripten/1.30.0/emcc",
 
line 1204, in <module>
    shared.Building.link(linker_inputs, specified_target)
  File 
"/Users/liya/Developer/unreal/UnrealEngine-release/Engine/Source/ThirdParty/HTML5/emsdk/emscripten/1.30.0/tools/shared.py",
 
line 1424, in link
    output = Popen(link_cmd, stdout=PIPE).communicate()[0]
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py",
 
line 710, in __init__
    errread, errwrite)
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py",
 
line 1335, in _execute_child
    raise child_exception
OSError: [Errno 13] Permission denied
-------- End Detailed Actions Stats 
-----------------------------------------------------------
ERROR: UBT ERROR: Failed to produce item: 
/Users/liya/Developer/unreal/UnrealEngine-release/Engine/Plugins/2D/Paper2D/Binaries/HTML5/UE4-Paper2D.bc
Total build time: 11.94 seconds

On Wednesday, September 2, 2015 at 11:41:48 PM UTC+2, Dtec wrote:
>
> Allright, I was able to fix it. If anyone else would encounter this 
> problem, use the chmod a+x command (on OS X) followed by the file you 
> want to add 'execution' rights to.
> Thanks for your help Alon!
>
>

-- 
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.

Reply via email to