trzecieu / emscripten-docker

Docker image with Emscripten to compile ASM.js and WebAssembly
MIT License
97 stars 29 forks source link

1.38.38 fails to build #45

Closed dos1 closed 5 years ago

dos1 commented 5 years ago
trzeci/emscripten-slim:sdk-tag-1.38.38-64bit-64bit)[][%]() 
The command '/bin/bash -c cd ${EMSDK}     &&  echo "## Clean-up Emscripten Installation"     &&  shopt -s globstar             &&  _file=`echo ./emscripten/*/site/build/text/docs/tools_reference/emcc.txt`     &&  _content=`cat ${_file}`     &&  rm -fr             ./emscripten/*/docs             ./emscripten/*/media             ./emscripten/*/site     &&  mkdir -p `dirname ${_file}`     &&  echo ${_content} >> ${_file}             &&  _file=`echo clang/*/src/emscripten-version.txt`     &&  _content=`cat ${_file}`     &&  rm -fr clang/*/src     &&  mkdir -p `dirname ${_file}`     &&  echo ${_content} >> ${_file}         &&  rm -fr binaryen/*/src     &&  rm -fr binaryen/**/test     &&  rm -fr binaryen/**/*.cmake     &&  rm -fr binaryen/**/Makefile         &&  rm -fr clang/*/*/docs     &&  rm -fr clang/*/*/tools     &&  rm -fr clang/*/*/projects     &&  rm -fr clang/*/*/cmake     &&  rm -fr clang/**/*.cmake     &&  rm -fr clang/**/Makefile             &&  find . -name "*.pyc" -exec rm {} \;     &&  find . -name "CMakeFiles" -type d -prune -exec rm -fr {} \;     &&  find . -name "CMakeCache.txt" -exec rm {} \;             &&  find . -name "*.o" -exec rm {} \;     &&  find . -name "*.a" -exec rm {} \;     &&  find . -name "*.inc*" -exec rm {} \;     &&  find . -name "*.gen.tmp" -exec rm {} \;             &&  find clang -type d -depth -empty -exec rmdir "{}" \;     &&  find binaryen -type d -depth -empty -exec rmdir "{}" \;             &&  rm -fr **/*_32bit     &&  rm -rf **/.git     &&  rm -rf **/tests     &&  rm -fr zips/*             &&  rm -fr /opt/cmake /usr/local/bin/cmake /cmake*             &&  sleep 2 &&  echo "## Done"' returned a non-zero code: 1
[INFO] Compiled [trzeci/emscripten-slim:sdk-tag-1.38.38-64bit] in: 0:00:01.159364                
trzeci/emscripten-slim:sdk-tag-1.38.38-64bit - FAIL                                              
At least one compilation set has failed to compile                                               
trzecieu commented 5 years ago

Hi, just to state I'm aware about issue. Due vacation I will handle this in ~2w. Cheers!

trzecieu commented 5 years ago

Hi @dos1, Unfortunately it took more than 2w, but eventually I fixed all related problems, sorry that it took so long, it was a nice puzzle to solve. At the moment I've started to rebuild all images 1.38.34 upwards. Will take a couple of hours until they land in registry, At the moment you can check 1.38.40 as I was using it as a test case.

➜ docker run --rm -it trzeci/emscripten:sdk-tag-1.38.40-64bit emcc --version
Unable to find image 'trzeci/emscripten:sdk-tag-1.38.40-64bit' locally
sdk-tag-1.38.40-64bit: Pulling from trzeci/emscripten
9fc222b64b0a: ...
Digest: sha256:839c186ec629fcec7ebb5ad50b9a503415707d98cbdaa5afaf4d7e15555f1e7b
Status: Downloaded newer image for trzeci/emscripten:sdk-tag-1.38.40-64bit
emcc (Emscripten gcc/clang-like replacement) 1.38.40 ((unknown revision))
Copyright (C) 2014 the Emscripten authors (see AUTHORS.txt)
This is free and open source software under the MIT license.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Will keep this issue open for a couple of days to make sure everything works for you. Cheers,

trzecieu commented 5 years ago

Should be done, please re-open in case of any problems, Cheers!