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

[emsdk] First approach (to be iterated) #4860

Closed
wants to merge 15 commits into from

Conversation

jgsogo
Copy link
Contributor

@jgsogo jgsogo commented Mar 12, 2021

Specify library name and version: emsdk

  • I've read the guidelines for contributing.
  • I've followed the PEP8 style guides for Python code in the recipes.
  • I've used the latest Conan client version.
  • I've tried at least one configuration locally with the
    conan-center hook activated.

@conan-center-bot
Copy link
Collaborator

config.yml syntax error in build 1:

Only one library can be changed in the same PR: [emsdk/all, qt/5.x]

@conan-center-bot
Copy link
Collaborator

Failure in build 2 (35a50de3da2f255f6dfc01e6ae3f9bcad27e1266):

  • emsdk/1.39.8@:
    CI failed to create some packages (All logs)

    Logs for packageID 4db1be536558d833e52e862fd84d64d75c2b3656:
    [settings]
    arch=x86_64
    arch_build=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++
    compiler.version=4.9
    os=Linux
    os_build=Linux
    
    emsdk/1.39.8: Package '4db1be536558d833e52e862fd84d64d75c2b3656' built
    emsdk/1.39.8: Build folder /home/conan/w/BuildSingleReference/.conan/data/emsdk/1.39.8/_/_/build/4db1be536558d833e52e862fd84d64d75c2b3656
    emsdk/1.39.8: Generated conaninfo.txt
    emsdk/1.39.8: Generated conanbuildinfo.txt
    emsdk/1.39.8: Generating the package
    emsdk/1.39.8: Package folder /home/conan/w/BuildSingleReference/.conan/data/emsdk/1.39.8/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656
    emsdk/1.39.8: Calling package()
    [HOOK - conan-center.py] post_package(): [PACKAGE LICENSE (KB-H012)] OK
    [HOOK - conan-center.py] post_package(): [DEFAULT PACKAGE LAYOUT (KB-H013)] If you are trying to package a tool put all the contents under the 'bin' folder
    [HOOK - conan-center.py] post_package(): [MATCHING CONFIGURATION (KB-H014)] OK
    [HOOK - conan-center.py] post_package(): [SHARED ARTIFACTS (KB-H015)] OK
    [HOOK - conan-center.py] post_package(): [PDB FILES NOT ALLOWED (KB-H017)] OK
    [HOOK - conan-center.py] post_package(): [LIBTOOL FILES PRESENCE (KB-H018)] OK
    [HOOK - conan-center.py] post_package(): [MS RUNTIME FILES (KB-H021)] OK
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file 'README.md' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file 'llvm-tags-32bit.txt' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown folder 'node' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown folder '.emscripten_cache' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file 'test.py' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file 'cmake-wrapper' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file 'LICENSE' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file 'emsdk_env.bat' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown folder '.circleci' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown folder 'upstream' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file 'emsdk_env.csh' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file 'legacy-binaryen-tags.txt' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file 'legacy-emscripten-tags.txt' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file '.gitignore' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file 'emscripten-releases-tags.txt' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file 'emsdk_manifest.json' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown folder 'docker' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file '.emscripten' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file 'emsdk_env.fish' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file 'cmake-wrapper.cmd' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file 'emsdk_env.sh' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file 'emsdk.ps1' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file 'emsdk.py' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file 'emsdk' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file '.flake8' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file 'emcmdprompt.bat' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file 'llvm-tags-64bit.txt' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file 'test.bat' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file 'emsdk.bat' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file 'test.sh' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file 'emsdk_env.ps1' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [PC-FILES (KB-H020)] The conan-center repository doesn't allow the packages to contain `pc` files. The packages have to be located using generators and the declared `cpp_info` information (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H020) 
    [HOOK - conan-center.py] post_package(): ERROR: [PC-FILES (KB-H020)] Found files: ./upstream/emscripten/system/lib/pkgconfig/egl.pc; ./upstream/emscripten/system/lib/pkgconfig/glesv2.pc; ./upstream/emscripten/system/lib/pkgconfig/sdl.pc; ./upstream/emscripten/tests/zlib/zlib.pc (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H020) 
    [HOOK - conan-center.py] post_package(): ERROR: [CMAKE-MODULES-CONFIG-FILES (KB-H016)] The conan-center repository doesn't allow the packages to contain CMake find modules or config files. The packages have to be located using generators and the declared `cpp_info` information (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H016) 
    [HOOK - conan-center.py] post_package(): ERROR: [CMAKE-MODULES-CONFIG-FILES (KB-H016)] Found files: ./upstream/emscripten/cmake/Modules/FindOpenAL.cmake; ./upstream/emscripten/cmake/Modules/FindOpenGL.cmake; ./upstream/emscripten/tests/box2d/Box2D/Box2DConfig.cmake; ./upstream/emscripten/tests/freealut/admin/CMakeModules/FindCompilerAttribute.cmake; ./upstream/emscripten/tests/freealut/admin/CMakeModules/FindCompilerFlagsSet.cmake; ./upstream/emscripten/tests/freealut/admin/CMakeModules/FindCompilerVisibility.cmake; ./upstream/emscripten/tests/freealut/admin/CMakeModules/FindConfigHelper.cmake; ./upstream/emscripten/tests/freealut/admin/CMakeModules/FindSleepFunction.cmake; ./upstream/emscripten/tests/openjpeg/CTestConfig.cmake; ./upstream/emscripten/tests/poppler/cmake/modules/FindCairo.cmake; ./upstream/emscripten/tests/poppler/cmake/modules/FindFontconfig.cmake; ./upstream/emscripten/tests/poppler/cmake/modules/FindGDK.cmake; ./upstream/emscripten/tests/poppler/cmake/modules/FindGLIB.cmake; ./upstream/emscripten/tests/poppler/cmake/modules/FindGObjectIntrospection.cmake; ./upstream/emscripten/tests/poppler/cmake/modules/FindGTK.cmake; ./upstream/emscripten/tests/poppler/cmake/modules/FindIconv.cmake; ./upstream/emscripten/tests/poppler/cmake/modules/FindLCMS.cmake; ./upstream/emscripten/tests/poppler/cmake/modules/FindLIBOPENJPEG.cmake; ./upstream/emscripten/tests/poppler/cmake/modules/FindQt3.cmake; ./upstream/emscripten/tests/poppler/cmake/modules/FindQt4.cmake (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H016) 
    ERROR: [HOOK - conan-center.py] post_package(): Some checks failed running the hook, check the output
    
  • emsdk/2.0.12@:
    CI failed to create some packages (All logs)

    Logs for packageID 4db1be536558d833e52e862fd84d64d75c2b3656:
    [settings]
    arch=x86_64
    arch_build=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++
    compiler.version=4.9
    os=Linux
    os_build=Linux
    
               emscripten-1.38.30       
               emscripten-1.38.31       
    
    The following tools can be compiled from source:
               llvm-git-master-32bit    
               llvm-git-master-64bit    
               clang-tag-e1.38.30-32bit 
               clang-tag-e1.38.31-32bit 
               fastcomp-clang-tag-e1.38.30-64bit
               fastcomp-clang-tag-e1.38.31-64bit
               fastcomp-clang-master-32bit
               fastcomp-clang-master-64bit
               emscripten-tag-1.38.30-32bit
               emscripten-tag-1.38.31-32bit
               emscripten-tag-1.38.30-64bit
               emscripten-tag-1.38.31-64bit
               binaryen-tag-1.38.30-32bit
               binaryen-tag-1.38.31-32bit
               binaryen-tag-1.38.30-64bit
               binaryen-tag-1.38.31-64bit
               emscripten-master-32bit  
               emscripten-master-64bit  
               binaryen-master-32bit    
               binaryen-master-64bit    
    
    Items marked with * are activated for the current user.
    
    To access the historical archived versions, type 'emsdk list --old'
    
    Run "./emsdk update" to pull in the latest list.
    emsdk/2.0.12: 
    ----Running------
    > ./emsdk install node-12.18.1-64bit
    -----------------
    Installing tool 'node-12.18.1-64bit'..
    Downloading: /home/conan/w/BuildSingleReference/.conan/data/emsdk/2.0.12/_/_/build/4db1be536558d833e52e862fd84d64d75c2b3656/source_subfolder/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
     [----------------------------------------------------------------------------]
    Unpacking '/home/conan/w/BuildSingleReference/.conan/data/emsdk/2.0.12/_/_/build/4db1be536558d833e52e862fd84d64d75c2b3656/source_subfolder/zips/node-v12.18.1-linux-x64.tar.xz' to '/home/conan/w/BuildSingleReference/.conan/data/emsdk/2.0.12/_/_/build/4db1be536558d833e52e862fd84d64d75c2b3656/source_subfolder/node/12.18.1_64bit'
    Done installing tool 'node-12.18.1-64bit'.
    
    emsdk/2.0.12: Suceed to install node-12.18.1-64bit in retry 1/3
    emsdk/2.0.12: 
    emsdk/2.0.12: WARN: Build folder is dirty, removing it: /home/conan/w/BuildSingleReference/.conan/data/emsdk/2.0.12/_/_/build/4db1be536558d833e52e862fd84d64d75c2b3656
    emsdk/2.0.12: ERROR: Package '4db1be536558d833e52e862fd84d64d75c2b3656' build failed
    emsdk/2.0.12: WARN: Build folder /home/conan/w/BuildSingleReference/.conan/data/emsdk/2.0.12/_/_/build/4db1be536558d833e52e862fd84d64d75c2b3656
    ERROR: emsdk/2.0.12: Error in build() method, line 71
    	self._install_tool('python-' + self._python_version, 'python')
    while calling '_install_tool', line 51
    	self.run('{} install {}'.format(self._emsdk_exec, tool_name), output=mybuf)
    	ConanException: Error 1 while executing ./emsdk install python-3.7.4-2-64bit
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.

Comment on lines +2 to +4
"1.39.8":
sha256: 37b8807cad1aa0a976bbbdee5d3c5efc03e59175efdc555721793824f8c591f4
url: https://github.com/emscripten-core/emsdk/archive/1.39.8.tar.gz
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a newer 1.X https://github.com/emscripten-core/emsdk/releases/tag/1.40.1 I think this can be removed

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure how stable these releases are when trying to compile other libraries. 1.39.8 was the version that worked for me to compile Qt (2.0 didn't). I think I haven't tried with 1.40. It is the same with the Python and Node requirements, I was expecting any of them to work, but it didn't. In the end, it is an SDK 🤷

I will add 1.40.1, but I want to stabilize the compilation first, then test some packages and then I'll remove 1.39.8.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahh that's a good reason to keep it!

@conan-center-bot
Copy link
Collaborator

Failure in build 3 (a170d29bf9850f819dd0584fd48de19889cf3e4d):

  • emsdk/2.0.12@:
    Error running command conan export "recipes/emsdk/all/conanfile.py" emsdk/2.0.12@:

    [HOOK - conan-center.py] pre_export(): [DEPRECATED GLOBAL CPPSTD (KB-H001)] OK
    [HOOK - conan-center.py] pre_export(): [REFERENCE LOWERCASE (KB-H002)] OK
    [HOOK - conan-center.py] pre_export(): [RECIPE METADATA (KB-H003)] OK
    [HOOK - conan-center.py] pre_export(): [HEADER_ONLY, NO COPY SOURCE (KB-H005)] OK
    [HOOK - conan-center.py] pre_export(): [FPIC OPTION (KB-H006)] OK
    [HOOK - conan-center.py] pre_export(): [VERSION RANGES (KB-H008)] OK
    [HOOK - conan-center.py] pre_export(): [RECIPE FOLDER SIZE (KB-H009)] Total recipe size: 6.380859375 KB
    [HOOK - conan-center.py] pre_export(): [RECIPE FOLDER SIZE (KB-H009)] OK
    [HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] exports: None
    [HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] exports: ['cmake-wrapper.cmd', 'cmake-wrapper']
    [HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] OK
    [HOOK - conan-center.py] pre_export(): [TEST PACKAGE FOLDER (KB-H024)] OK
    [HOOK - conan-center.py] pre_export(): [META LINES (KB-H025)] OK
    [HOOK - conan-center.py] pre_export(): [CONAN CENTER INDEX URL (KB-H027)] OK
    [HOOK - conan-center.py] pre_export(): [CMAKE MINIMUM VERSION (KB-H028)] OK
    [HOOK - conan-center.py] pre_export(): [TEST PACKAGE - RUN ENVIRONMENT (KB-H029)] OK
    [HOOK - conan-center.py] pre_export(): [SYSTEM REQUIREMENTS (KB-H032)] OK
    [HOOK - conan-center.py] pre_export(): [CONANDATA.YML FORMAT (KB-H030)] OK
    [HOOK - conan-center.py] pre_export(): [TEST PACKAGE - NO IMPORTS() (KB-H034)] OK
    [HOOK - conan-center.py] pre_export(): [NO AUTHOR (KB-H037)] OK
    [HOOK - conan-center.py] pre_export(): [NO TARGET NAME (KB-H040)] OK
    [HOOK - conan-center.py] pre_export(): [NO FINAL ENDLINE (KB-H041)] OK
    [HOOK - conan-center.py] pre_export(): [NO REQUIRES.ADD() (KB-H044)] OK
    [HOOK - conan-center.py] pre_export(): [DELETE OPTIONS (KB-H045)] OK
    [HOOK - conan-center.py] pre_export(): [NO ASCII CHARACTERS (KB-H047)] OK
    [HOOK - conan-center.py] pre_export(): [CMAKE VERBOSE MAKEFILE (KB-H046)] OK
    [HOOK - conan-center.py] pre_export(): [CMAKE VERSION REQUIRED (KB-H048)] OK
    [HOOK - conan-center.py] pre_export(): [CMAKE WINDOWS EXPORT ALL SYMBOLS (KB-H049)] OK
    [HOOK - conan-center.py] pre_export(): [DEFAULT OPTIONS AS DICTIONARY (KB-H051)] OK
    [HOOK - conan-center.py] pre_export(): [PRIVATE IMPORTS (KB-H053)] OK
    [HOOK - conan-center.py] pre_export(): [SINGLE REQUIRES (KB-H055)] OK
    [HOOK - conan-center.py] pre_export(): ERROR: [CONFIG.YML HAS NEW VERSION (KB-H052)] The version "1.40.1" exists in "conandata.yml" but not in "../config.yml", so it will not be built. Please update "../config.yml" to include newly added version "1.40.1". (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H052) 
    ERROR: [HOOK - conan-center.py] pre_export(): Some checks failed running the hook, check the output
    
  • emsdk/1.39.8@:
    Error running command conan export "recipes/emsdk/all/conanfile.py" emsdk/1.39.8@:

    [HOOK - conan-center.py] pre_export(): [DEPRECATED GLOBAL CPPSTD (KB-H001)] OK
    [HOOK - conan-center.py] pre_export(): [REFERENCE LOWERCASE (KB-H002)] OK
    [HOOK - conan-center.py] pre_export(): [RECIPE METADATA (KB-H003)] OK
    [HOOK - conan-center.py] pre_export(): [HEADER_ONLY, NO COPY SOURCE (KB-H005)] OK
    [HOOK - conan-center.py] pre_export(): [FPIC OPTION (KB-H006)] OK
    [HOOK - conan-center.py] pre_export(): [VERSION RANGES (KB-H008)] OK
    [HOOK - conan-center.py] pre_export(): [RECIPE FOLDER SIZE (KB-H009)] Total recipe size: 6.380859375 KB
    [HOOK - conan-center.py] pre_export(): [RECIPE FOLDER SIZE (KB-H009)] OK
    [HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] exports: None
    [HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] exports: ['cmake-wrapper.cmd', 'cmake-wrapper']
    [HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] OK
    [HOOK - conan-center.py] pre_export(): [TEST PACKAGE FOLDER (KB-H024)] OK
    [HOOK - conan-center.py] pre_export(): [META LINES (KB-H025)] OK
    [HOOK - conan-center.py] pre_export(): [CONAN CENTER INDEX URL (KB-H027)] OK
    [HOOK - conan-center.py] pre_export(): [CMAKE MINIMUM VERSION (KB-H028)] OK
    [HOOK - conan-center.py] pre_export(): [TEST PACKAGE - RUN ENVIRONMENT (KB-H029)] OK
    [HOOK - conan-center.py] pre_export(): [SYSTEM REQUIREMENTS (KB-H032)] OK
    [HOOK - conan-center.py] pre_export(): [CONANDATA.YML FORMAT (KB-H030)] OK
    [HOOK - conan-center.py] pre_export(): [TEST PACKAGE - NO IMPORTS() (KB-H034)] OK
    [HOOK - conan-center.py] pre_export(): [NO AUTHOR (KB-H037)] OK
    [HOOK - conan-center.py] pre_export(): [NO TARGET NAME (KB-H040)] OK
    [HOOK - conan-center.py] pre_export(): [NO FINAL ENDLINE (KB-H041)] OK
    [HOOK - conan-center.py] pre_export(): [NO REQUIRES.ADD() (KB-H044)] OK
    [HOOK - conan-center.py] pre_export(): [DELETE OPTIONS (KB-H045)] OK
    [HOOK - conan-center.py] pre_export(): [NO ASCII CHARACTERS (KB-H047)] OK
    [HOOK - conan-center.py] pre_export(): [CMAKE VERBOSE MAKEFILE (KB-H046)] OK
    [HOOK - conan-center.py] pre_export(): [CMAKE VERSION REQUIRED (KB-H048)] OK
    [HOOK - conan-center.py] pre_export(): [CMAKE WINDOWS EXPORT ALL SYMBOLS (KB-H049)] OK
    [HOOK - conan-center.py] pre_export(): [DEFAULT OPTIONS AS DICTIONARY (KB-H051)] OK
    [HOOK - conan-center.py] pre_export(): [PRIVATE IMPORTS (KB-H053)] OK
    [HOOK - conan-center.py] pre_export(): [SINGLE REQUIRES (KB-H055)] OK
    [HOOK - conan-center.py] pre_export(): ERROR: [CONFIG.YML HAS NEW VERSION (KB-H052)] The version "1.40.1" exists in "conandata.yml" but not in "../config.yml", so it will not be built. Please update "../config.yml" to include newly added version "1.40.1". (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H052) 
    ERROR: [HOOK - conan-center.py] pre_export(): Some checks failed running the hook, check the output
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.

@conan-center-bot
Copy link
Collaborator

Failure in build 4 (cadc85fcc9f5409d1178b521ea4980c9f4496216):

  • emsdk/1.39.8@:
    An unexpected error happened and has been reported

  • emsdk/1.40.1@:
    CI failed to create some packages (All logs)

    Logs for packageID 4db1be536558d833e52e862fd84d64d75c2b3656:
    [settings]
    arch=x86_64
    arch_build=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++
    compiler.version=4.9
    os=Linux
    os_build=Linux
    
    - Configure emsdk in your bash profile by running:
        echo 'source "/home/conan/w/BuildSingleReference/.conan/data/emsdk/1.40.1/_/_/build/4db1be536558d833e52e862fd84d64d75c2b3656/source_subfolder/emsdk_env.sh"' >> $HOME/.bash_profile
    emsdk/1.40.1: Package '4db1be536558d833e52e862fd84d64d75c2b3656' built
    emsdk/1.40.1: Build folder /home/conan/w/BuildSingleReference/.conan/data/emsdk/1.40.1/_/_/build/4db1be536558d833e52e862fd84d64d75c2b3656
    emsdk/1.40.1: Generated conaninfo.txt
    emsdk/1.40.1: Generated conanbuildinfo.txt
    emsdk/1.40.1: Generating the package
    emsdk/1.40.1: Package folder /home/conan/w/BuildSingleReference/.conan/data/emsdk/1.40.1/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656
    emsdk/1.40.1: Calling package()
    [HOOK - conan-center.py] post_package(): [PACKAGE LICENSE (KB-H012)] OK
    [HOOK - conan-center.py] post_package(): [DEFAULT PACKAGE LAYOUT (KB-H013)] If you are trying to package a tool put all the contents under the 'bin' folder
    [HOOK - conan-center.py] post_package(): [MATCHING CONFIGURATION (KB-H014)] OK
    [HOOK - conan-center.py] post_package(): [SHARED ARTIFACTS (KB-H015)] OK
    [HOOK - conan-center.py] post_package(): [PDB FILES NOT ALLOWED (KB-H017)] OK
    [HOOK - conan-center.py] post_package(): [LIBTOOL FILES PRESENCE (KB-H018)] OK
    [HOOK - conan-center.py] post_package(): [MS RUNTIME FILES (KB-H021)] OK
    embedded mode is now the only mode available
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file 'README.md' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file 'llvm-tags-32bit.txt' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown folder 'node' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file 'cmake-wrapper' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file 'LICENSE' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file 'emsdk_env.bat' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown folder '.circleci' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown folder 'upstream' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file 'emsdk_env.csh' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file 'legacy-binaryen-tags.txt' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file 'legacy-emscripten-tags.txt' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file '.gitignore' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file 'emscripten-releases-tags.txt' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown folder 'scripts' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file 'emsdk_manifest.json' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown folder 'docker' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file '.emscripten' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file 'emsdk_env.fish' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file 'cmake-wrapper.cmd' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file 'emsdk_env.sh' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file 'emsdk.ps1' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file 'emsdk.py' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file 'emsdk' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file '.flake8' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file 'emcmdprompt.bat' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file 'llvm-tags-64bit.txt' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file 'emsdk.bat' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown file 'emsdk_env.ps1' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013) 
    [HOOK - conan-center.py] post_package(): ERROR: [PC-FILES (KB-H020)] The conan-center repository doesn't allow the packages to contain `pc` files. The packages have to be located using generators and the declared `cpp_info` information (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H020) 
    [HOOK - conan-center.py] post_package(): ERROR: [PC-FILES (KB-H020)] Found files: ./upstream/emscripten/system/lib/pkgconfig/egl.pc; ./upstream/emscripten/system/lib/pkgconfig/glesv2.pc; ./upstream/emscripten/system/lib/pkgconfig/sdl.pc (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H020) 
    [HOOK - conan-center.py] post_package(): ERROR: [CMAKE-MODULES-CONFIG-FILES (KB-H016)] The conan-center repository doesn't allow the packages to contain CMake find modules or config files. The packages have to be located using generators and the declared `cpp_info` information (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H016) 
    [HOOK - conan-center.py] post_package(): ERROR: [CMAKE-MODULES-CONFIG-FILES (KB-H016)] Found files: ./upstream/emscripten/cmake/Modules/FindOpenAL.cmake; ./upstream/emscripten/cmake/Modules/FindOpenGL.cmake (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H016) 
    ERROR: [HOOK - conan-center.py] post_package(): Some checks failed running the hook, check the output
    
  • emsdk/2.0.12@:
    CI failed to create some packages (All logs)

    Logs for packageID 4db1be536558d833e52e862fd84d64d75c2b3656:
    [settings]
    arch=x86_64
    arch_build=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++
    compiler.version=4.9
    os=Linux
    os_build=Linux
    
               emscripten-1.38.30       
               emscripten-1.38.31       
    
    The following tools can be compiled from source:
               llvm-git-master-32bit    
               llvm-git-master-64bit    
               clang-tag-e1.38.30-32bit 
               clang-tag-e1.38.31-32bit 
               fastcomp-clang-tag-e1.38.30-64bit
               fastcomp-clang-tag-e1.38.31-64bit
               fastcomp-clang-master-32bit
               fastcomp-clang-master-64bit
               emscripten-tag-1.38.30-32bit
               emscripten-tag-1.38.31-32bit
               emscripten-tag-1.38.30-64bit
               emscripten-tag-1.38.31-64bit
               binaryen-tag-1.38.30-32bit
               binaryen-tag-1.38.31-32bit
               binaryen-tag-1.38.30-64bit
               binaryen-tag-1.38.31-64bit
               emscripten-master-32bit  
               emscripten-master-64bit  
               binaryen-master-32bit    
               binaryen-master-64bit    
    
    Items marked with * are activated for the current user.
    
    To access the historical archived versions, type 'emsdk list --old'
    
    Run "./emsdk update" to pull in the latest list.
    emsdk/2.0.12: 
    ----Running------
    > ./emsdk install node-12.18.1-64bit
    -----------------
    Installing tool 'node-12.18.1-64bit'..
    Downloading: /home/conan/w/BuildSingleReference/.conan/data/emsdk/2.0.12/_/_/build/4db1be536558d833e52e862fd84d64d75c2b3656/source_subfolder/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
     [----------------------------------------------------------------------------]
    Unpacking '/home/conan/w/BuildSingleReference/.conan/data/emsdk/2.0.12/_/_/build/4db1be536558d833e52e862fd84d64d75c2b3656/source_subfolder/zips/node-v12.18.1-linux-x64.tar.xz' to '/home/conan/w/BuildSingleReference/.conan/data/emsdk/2.0.12/_/_/build/4db1be536558d833e52e862fd84d64d75c2b3656/source_subfolder/node/12.18.1_64bit'
    Done installing tool 'node-12.18.1-64bit'.
    
    emsdk/2.0.12: Suceed to install node-12.18.1-64bit in retry 1/3
    emsdk/2.0.12: 
    emsdk/2.0.12: WARN: Build folder is dirty, removing it: /home/conan/w/BuildSingleReference/.conan/data/emsdk/2.0.12/_/_/build/4db1be536558d833e52e862fd84d64d75c2b3656
    emsdk/2.0.12: ERROR: Package '4db1be536558d833e52e862fd84d64d75c2b3656' build failed
    emsdk/2.0.12: WARN: Build folder /home/conan/w/BuildSingleReference/.conan/data/emsdk/2.0.12/_/_/build/4db1be536558d833e52e862fd84d64d75c2b3656
    ERROR: emsdk/2.0.12: Error in build() method, line 71
    	self._install_tool('python-' + self._python_version, 'python')
    while calling '_install_tool', line 51
    	self.run('{} install {}'.format(self._emsdk_exec, tool_name), output=mybuf)
    	ConanException: Error 1 while executing ./emsdk install python-3.7.4-2-64bit
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.

@stale
Copy link

stale bot commented Apr 14, 2021

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale
Copy link

stale bot commented May 15, 2021

This pull request has been automatically closed because it has not had recent activity. Thank you for your contributions.

@stale stale bot closed this May 15, 2021
@jgsogo jgsogo deleted the add/emsdk-cci branch July 12, 2021 15:28
@werto87 werto87 mentioned this pull request Jul 14, 2021
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants