lovasoa / setup-emscripten

emscripten github action
Apache License 2.0
5 stars 1 forks source link

Error: spawn /opt/hostedtoolcache/emscripten/1.39.18/x64/emsdk_env.sh EACCES #1

Open justjake opened 4 years ago

justjake commented 4 years ago

My first few builds with setup-emscripten were successful, but now the action is failing. Here's a failing run: https://github.com/justjake/quickjs-emscripten/runs/862052669?check_suite_focus=true#step:3:82

Full log:

2020-07-12T03:43:16.2059050Z ##[group]Run lovasoa/setup-emscripten@v1
2020-07-12T03:43:16.2059250Z with:
2020-07-12T03:43:16.2059472Z   emscripten-version: 1.39.18
2020-07-12T03:43:16.2059659Z ##[endgroup]
2020-07-12T03:43:16.8683427Z Installing emscripten (1.39.18)...
2020-07-12T03:43:16.8690728Z emscripten 1.39.18 not found in the tool cache
2020-07-12T03:43:16.8693333Z [command]/usr/bin/unzip /home/runner/work/_temp/9192e1d5-5a0b-4b3f-a498-73b6bf22c8c6
2020-07-12T03:43:16.8693930Z Archive:  /home/runner/work/_temp/9192e1d5-5a0b-4b3f-a498-73b6bf22c8c6
2020-07-12T03:43:16.8694239Z c494899c17d481a019fb6aaa5b8191231f19768e
2020-07-12T03:43:16.9447301Z    creating: emsdk-master/
2020-07-12T03:43:16.9448051Z    creating: emsdk-master/.circleci/
2020-07-12T03:43:16.9448674Z   inflating: emsdk-master/.circleci/config.yml  
2020-07-12T03:43:16.9449270Z   inflating: emsdk-master/.flake8    
2020-07-12T03:43:16.9449846Z   inflating: emsdk-master/.gitignore  
2020-07-12T03:43:16.9452909Z   inflating: emsdk-master/LICENSE    
2020-07-12T03:43:16.9453549Z   inflating: emsdk-master/README.md  
2020-07-12T03:43:16.9454112Z    creating: emsdk-master/docker/
2020-07-12T03:43:16.9474305Z   inflating: emsdk-master/docker/Dockerfile  
2020-07-12T03:43:16.9475271Z   inflating: emsdk-master/docker/Makefile  
2020-07-12T03:43:16.9475696Z   inflating: emsdk-master/docker/README.md  
2020-07-12T03:43:16.9476135Z   inflating: emsdk-master/docker/test_dockerimage.sh  
2020-07-12T03:43:16.9476538Z  extracting: emsdk-master/emcmdprompt.bat  
2020-07-12T03:43:16.9476975Z   inflating: emsdk-master/emscripten-releases-tags.txt  
2020-07-12T03:43:16.9477379Z   inflating: emsdk-master/emsdk      
2020-07-12T03:43:16.9477776Z   inflating: emsdk-master/emsdk.bat  
2020-07-12T03:43:16.9478179Z   inflating: emsdk-master/emsdk.ps1  
2020-07-12T03:43:16.9492101Z   inflating: emsdk-master/emsdk.py   
2020-07-12T03:43:16.9492530Z  extracting: emsdk-master/emsdk_env.bat  
2020-07-12T03:43:16.9492942Z   inflating: emsdk-master/emsdk_env.csh  
2020-07-12T03:43:16.9493374Z   inflating: emsdk-master/emsdk_env.fish  
2020-07-12T03:43:16.9493789Z   inflating: emsdk-master/emsdk_env.ps1  
2020-07-12T03:43:16.9494188Z   inflating: emsdk-master/emsdk_env.sh  
2020-07-12T03:43:16.9494609Z   inflating: emsdk-master/emsdk_manifest.json  
2020-07-12T03:43:16.9495480Z   inflating: emsdk-master/legacy-binaryen-tags.txt  
2020-07-12T03:43:16.9495927Z   inflating: emsdk-master/legacy-emscripten-tags.txt  
2020-07-12T03:43:16.9496354Z  extracting: emsdk-master/llvm-tags-32bit.txt  
2020-07-12T03:43:16.9496774Z   inflating: emsdk-master/llvm-tags-64bit.txt  
2020-07-12T03:43:16.9497167Z    creating: emsdk-master/scripts/
2020-07-12T03:43:16.9497577Z   inflating: emsdk-master/scripts/test.bat  
2020-07-12T03:43:16.9497991Z   inflating: emsdk-master/scripts/test.py  
2020-07-12T03:43:16.9498385Z   inflating: emsdk-master/scripts/test.sh  
2020-07-12T03:43:16.9498814Z   inflating: emsdk-master/scripts/update_node.py  
2020-07-12T03:43:16.9499254Z   inflating: emsdk-master/scripts/update_python.py  
2020-07-12T03:43:16.9506912Z [command]/home/runner/work/_temp/61743ad6-f4f6-48d5-8354-6ca60529c000/emsdk-master/emsdk install 1.39.18
2020-07-12T03:43:17.1725228Z Installing SDK 'sdk-releases-upstream-1914a1543f08cd8e41f44c2bb05f7a90d1920275-64bit'..
2020-07-12T03:43:17.1727107Z Installing tool 'node-12.18.1-64bit'..
2020-07-12T03:43:17.1729758Z Downloading: /home/runner/work/_temp/61743ad6-f4f6-48d5-8354-6ca60529c000/emsdk-master/zips/node-v12.18.1-linux-x64.tar.xz from https://storage.googleapis.com/webassembly/emscripten-releases-builds/deps/node-v12.18.1-linux-x64.tar.xz, 14695604 Bytes
2020-07-12T03:43:17.3099225Z  [----------------------------------------------------------------------------]
2020-07-12T03:43:18.9197394Z Unpacking '/home/runner/work/_temp/61743ad6-f4f6-48d5-8354-6ca60529c000/emsdk-master/zips/node-v12.18.1-linux-x64.tar.xz' to '/home/runner/work/_temp/61743ad6-f4f6-48d5-8354-6ca60529c000/emsdk-master/node/12.18.1_64bit'
2020-07-12T03:43:18.9207092Z Done installing tool 'node-12.18.1-64bit'.
2020-07-12T03:43:18.9209329Z Installing tool 'releases-upstream-1914a1543f08cd8e41f44c2bb05f7a90d1920275-64bit'..
2020-07-12T03:43:18.9211659Z Downloading: /home/runner/work/_temp/61743ad6-f4f6-48d5-8354-6ca60529c000/emsdk-master/zips/1914a1543f08cd8e41f44c2bb05f7a90d1920275-wasm-binaries.tbz2 from https://storage.googleapis.com/webassembly/emscripten-releases-builds/linux/1914a1543f08cd8e41f44c2bb05f7a90d1920275/wasm-binaries.tbz2, 121734269 Bytes
2020-07-12T03:43:20.5768871Z  [----------------------------------------------------------------------------]
2020-07-12T03:43:44.1486494Z Unpacking '/home/runner/work/_temp/61743ad6-f4f6-48d5-8354-6ca60529c000/emsdk-master/zips/1914a1543f08cd8e41f44c2bb05f7a90d1920275-wasm-binaries.tbz2' to '/home/runner/work/_temp/61743ad6-f4f6-48d5-8354-6ca60529c000/emsdk-master/upstream'
2020-07-12T03:43:44.1496668Z Done installing tool 'releases-upstream-1914a1543f08cd8e41f44c2bb05f7a90d1920275-64bit'.
2020-07-12T03:43:44.1512585Z Running post-install step: npm ci ...
2020-07-12T03:43:44.1513895Z Done running: npm ci
2020-07-12T03:43:44.1515120Z Done installing SDK 'sdk-releases-upstream-1914a1543f08cd8e41f44c2bb05f7a90d1920275-64bit'.
2020-07-12T03:43:50.3451996Z [command]/opt/hostedtoolcache/emscripten/1.39.18/x64/emsdk activate 1.39.18
2020-07-12T03:43:51.7647890Z Writing .emscripten configuration file to Emscripten SDK directory /opt/hostedtoolcache/emscripten/1.39.18/x64
2020-07-12T03:43:51.7649897Z The Emscripten configuration file /opt/hostedtoolcache/emscripten/1.39.18/x64/.emscripten has been rewritten with the following contents:
2020-07-12T03:43:51.7706671Z 
2020-07-12T03:43:51.7709921Z import os
2020-07-12T03:43:51.7711234Z emsdk_path = os.path.dirname(os.environ.get('EM_CONFIG')).replace('\\', '/')
2020-07-12T03:43:51.7711807Z NODE_JS = emsdk_path + '/node/12.18.1_64bit/bin/node'
2020-07-12T03:43:51.7712548Z LLVM_ROOT = emsdk_path + '/upstream/bin'
2020-07-12T03:43:51.7713020Z BINARYEN_ROOT = emsdk_path + '/upstream'
2020-07-12T03:43:51.7713636Z EMSCRIPTEN_ROOT = emsdk_path + '/upstream/emscripten'
2020-07-12T03:43:51.7714072Z TEMP_DIR = emsdk_path + '/tmp'
2020-07-12T03:43:51.7714327Z COMPILER_ENGINE = NODE_JS
2020-07-12T03:43:51.7714533Z JS_ENGINES = [NODE_JS]
2020-07-12T03:43:51.7714651Z 
2020-07-12T03:43:51.7715112Z To conveniently access the selected set of tools from the command line, consider adding the following directories to PATH.
2020-07-12T03:43:51.7716159Z Or call 'source ../../../../../opt/hostedtoolcache/emscripten/1.39.18/x64/emsdk_env.sh' to do this for you. (Add these in your bashrc or other startup scripts to have these permanently available)
2020-07-12T03:43:51.7716332Z 
2020-07-12T03:43:51.7716740Z    /opt/hostedtoolcache/emscripten/1.39.18/x64:/opt/hostedtoolcache/emscripten/1.39.18/x64/node/12.18.1_64bit/bin:/opt/hostedtoolcache/emscripten/1.39.18/x64/upstream/emscripten
2020-07-12T03:43:51.7716886Z 
2020-07-12T03:43:51.7717136Z Set the following tools as active:
2020-07-12T03:43:51.7717514Z    node-12.18.1-64bit
2020-07-12T03:43:51.7718011Z    releases-upstream-1914a1543f08cd8e41f44c2bb05f7a90d1920275-64bit
2020-07-12T03:43:51.7718122Z 
2020-07-12T03:43:51.7798757Z [command]/opt/hostedtoolcache/emscripten/1.39.18/x64/emsdk_env.sh
2020-07-12T03:43:51.7840684Z ##[error]Error: There was an error when attempting to execute the process '/opt/hostedtoolcache/emscripten/1.39.18/x64/emsdk_env.sh'. This may indicate the process failed to start. Error: spawn /opt/hostedtoolcache/emscripten/1.39.18/x64/emsdk_env.sh EACCES
lovasoa commented 4 years ago

Hello, and thank you for reporting this. I forgot about this project. I am going to mark it as deprecated in favor of https://github.com/mymindstorm/setup-emsdk