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

hermes: add recipe #24010

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

hermes: add recipe #24010

wants to merge 9 commits into from

Conversation

toge
Copy link
Contributor

@toge toge commented May 16, 2024

Specify library name and version: hermes/*


@conan-center-bot

This comment has been minimized.

Copy link
Contributor

Hooks produced the following warnings for commit 86bbb44
hermes/0.12.0@#7a1bd4a27244a625b64fbe4bf305cbe9
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './test/ApplePlatformsIntegrationTestApp/ApplePlatformsIntegrationTests.xcodeproj/xcshareddata/xcschemes/ApplePlatformsIntegrationMobileTests.xcscheme' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './test/ApplePlatformsIntegrationTestApp/ApplePlatformsIntegrationTests.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.

@AbrilRBS AbrilRBS self-assigned this May 16, 2024
Copy link
Member

@AbrilRBS AbrilRBS left a comment

Choose a reason for hiding this comment

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

Thanks! Some initial comments :)

recipes/hermes/all/conandata.yml Outdated Show resolved Hide resolved
recipes/hermes/all/conandata.yml Outdated Show resolved Hide resolved
recipes/hermes/all/conanfile.py Show resolved Hide resolved
recipes/hermes/all/conanfile.py Show resolved Hide resolved
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@toge
Copy link
Contributor Author

toge commented May 20, 2024

@RubenRBS
It seems to be same issue.
#24011 (comment)

@AbrilRBS
Copy link
Member

We have now fixed this, relaunching! :)

@conan-center-bot

This comment has been minimized.

recipes/hermes/all/conandata.yml Outdated Show resolved Hide resolved
recipes/hermes/all/conandata.yml Outdated Show resolved Hide resolved
recipes/hermes/config.yml Outdated Show resolved Hide resolved
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

Copy link
Contributor

Hooks produced the following warnings for commit d37bcd4
hermes/2024.04.29@#fd63a78c4c1be0fa639c6e618fda7062
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './test/ApplePlatformsIntegrationTestApp/ApplePlatformsIntegrationTests.xcodeproj/xcshareddata/xcschemes/ApplePlatformsIntegrationMobileTests.xcscheme' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './test/ApplePlatformsIntegrationTestApp/ApplePlatformsIntegrationTests.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/component-syntax/component-type-annotation/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/component-syntax/component-declaration/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/types/tuple/labels/variance-all-readonly/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/types/react/mixed-global-and-import/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/types/interface-annotation/extends/type-parameters/spec.js' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/types/function/params/this-and-rest-and-param/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/class/members/method/type-parameters/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/export/declare/default/identifier/interface/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/export/declare/default/identifier/type-alias/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/export/declare/default/identifier/variable/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/export/declare/default/identifier/globals/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/export/declare/default/identifier/enum/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/export/declare/default/identifier/class/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/export/declare/default/identifier/type/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/export/declare/default/identifier/member/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/export/declare/default/identifier/function/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/export/declare/default/identifier/import/typeof/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/export/declare/default/identifier/import/value/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/export/declare/default/identifier/import/type/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/export/declare/named/single/variable/let/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/export/declare/named/single/variable/var/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/export/declare/named/single/variable/const/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/export/declare/named/single/opaque-type/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/export/declare/named/single/function/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/type-parameters/constraint-and-default/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/opaque-type/declare/type-parameters/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/function/params/this-and-rest-and-param/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.

@conan-center-bot

This comment has been minimized.

Copy link
Contributor

Hooks produced the following warnings for commit 37076db
hermes/2024.04.29@#490d369d8fcefa31cb62b1a51aee943e
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './test/ApplePlatformsIntegrationTestApp/ApplePlatformsIntegrationTests.xcodeproj/xcshareddata/xcschemes/ApplePlatformsIntegrationMobileTests.xcscheme' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './test/ApplePlatformsIntegrationTestApp/ApplePlatformsIntegrationTests.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/component-syntax/component-type-annotation/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/component-syntax/component-declaration/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/types/tuple/labels/variance-all-readonly/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/types/react/mixed-global-and-import/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/types/interface-annotation/extends/type-parameters/spec.js' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/types/function/params/this-and-rest-and-param/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/class/members/method/type-parameters/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/export/declare/default/identifier/interface/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/export/declare/default/identifier/type-alias/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/export/declare/default/identifier/variable/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/export/declare/default/identifier/globals/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/export/declare/default/identifier/enum/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/export/declare/default/identifier/class/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/export/declare/default/identifier/type/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/export/declare/default/identifier/member/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/export/declare/default/identifier/function/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/export/declare/default/identifier/import/typeof/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/export/declare/default/identifier/import/value/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/export/declare/default/identifier/import/type/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/export/declare/named/single/variable/let/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/export/declare/named/single/variable/var/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/export/declare/named/single/variable/const/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/export/declare/named/single/opaque-type/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/export/declare/named/single/function/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/type-parameters/constraint-and-default/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/opaque-type/declare/type-parameters/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './tools/hermes-parser/js/flow-api-translator/__tests__/flowDefToTSDef/fixtures/function/params/this-and-rest-and-param/translate-result.shot' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@memsharded
Copy link
Member

I have been trying to make this work, but it is being a bit of a challenge:

  • First, I have tried to reduce to create only shared-library, as it seems the most recommended way by the hermes project, but mainly because the project CMakeLists.txt was ignoring the recipe inputs and building always a shared library, irrespective all the CMakeToolchain variables.
  • Then, I was having issues with the tool_requires to cpython, so I have replaced it with:
def build_requirements(self):
-        self.tool_requires("cpython/3.12.2")
+    def validate_build(self):
+        if getattr(sys, "frozen", False):
+            raise ConanInvalidConfiguration("This package cannot be built with a Conan self-contained executable, "
+                                            "needs full Python installation")

And it seems it works, both in Windows and Linux so far, so I think it is worth removing that moving piece.

  • Then, I added this attempt to configure the toolchain:
-        tc.cache_variables["BUILD_SHARED_LIBS"] = self.options.shared
-        tc.variables["HERMES_USE_STATIC_ICU"] = not self.dependencies["icu"].options.shared
-        tc.variables["HERMES_ENABLE_TEST_SUITE"] = False
+        tc.cache_variables["HERMES_USE_STATIC_ICU"] = not self.dependencies["icu"].options.shared
+        tc.cache_variables["HERMES_ENABLE_TEST_SUITE"] = False
+        tc.cache_variables["HERMES_IS_ANDROID"] = self.settings.os == "Android"
+        tc.cache_variables["HERMES_ENABLE_WIN10_ICU_FALLBACK"] = False

setting things like Android configuration.

  • I also made a fix for Windows, because it was adding dl library always, which is incorrect

Still, my Windows build is failing in the test_package step, because failing to link the facebook::jsi, which seems it can be a failure to export symbols in Windows.

I am going to push the changes, I think it might help a bit, but please let me know.

@memsharded memsharded self-assigned this Jul 29, 2024
@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Failure in build 13 (66d1f3547393be10f692c72ae3d1503c017d3291):

  • hermes/2024.04.29:
    CI failed to create some packages (All logs)

    Logs for packageID 8180028eb6d0977ff445115a2b8b0d8435143181:
    [settings]
    arch=armv8
    build_type=Release
    compiler=apple-clang
    compiler.libcxx=libc++
    compiler.version=13.0
    os=Macos
    
    [...]
    -- Installing: /Users/jenkins/workspace/prod-v1/bsr/74986/ceaeb/.conan/data/hermes/2024.04.29/_/_/package/8180028eb6d0977ff445115a2b8b0d8435143181/include/hermes/hermes.h
    -- Installing: /Users/jenkins/workspace/prod-v1/bsr/74986/ceaeb/.conan/data/hermes/2024.04.29/_/_/package/8180028eb6d0977ff445115a2b8b0d8435143181/include/hermes/hermes_tracing.h
    -- Installing: /Users/jenkins/workspace/prod-v1/bsr/74986/ceaeb/.conan/data/hermes/2024.04.29/_/_/package/8180028eb6d0977ff445115a2b8b0d8435143181/include/hermes/TimerStats.h
    -- Installing: /Users/jenkins/workspace/prod-v1/bsr/74986/ceaeb/.conan/data/hermes/2024.04.29/_/_/package/8180028eb6d0977ff445115a2b8b0d8435143181/bin/hcds
    -- Installing: /Users/jenkins/workspace/prod-v1/bsr/74986/ceaeb/.conan/data/hermes/2024.04.29/_/_/package/8180028eb6d0977ff445115a2b8b0d8435143181/bin/hermes
    -- Installing: /Users/jenkins/workspace/prod-v1/bsr/74986/ceaeb/.conan/data/hermes/2024.04.29/_/_/package/8180028eb6d0977ff445115a2b8b0d8435143181/bin/hermesc
    -- Installing: /Users/jenkins/workspace/prod-v1/bsr/74986/ceaeb/.conan/data/hermes/2024.04.29/_/_/package/8180028eb6d0977ff445115a2b8b0d8435143181/bin/hdb
    -- Installing: /Users/jenkins/workspace/prod-v1/bsr/74986/ceaeb/.conan/data/hermes/2024.04.29/_/_/package/8180028eb6d0977ff445115a2b8b0d8435143181/bin/hbcdump
    -- Installing: /Users/jenkins/workspace/prod-v1/bsr/74986/ceaeb/.conan/data/hermes/2024.04.29/_/_/package/8180028eb6d0977ff445115a2b8b0d8435143181/bin/hvm
    -- Up-to-date: /Users/jenkins/workspace/prod-v1/bsr/74986/ceaeb/.conan/data/hermes/2024.04.29/_/_/package/8180028eb6d0977ff445115a2b8b0d8435143181/include
    -- Installing: /Users/jenkins/workspace/prod-v1/bsr/74986/ceaeb/.conan/data/hermes/2024.04.29/_/_/package/8180028eb6d0977ff445115a2b8b0d8435143181/include/jsi
    -- Installing: /Users/jenkins/workspace/prod-v1/bsr/74986/ceaeb/.conan/data/hermes/2024.04.29/_/_/package/8180028eb6d0977ff445115a2b8b0d8435143181/include/jsi/jsi-inl.h
    -- Installing: /Users/jenkins/workspace/prod-v1/bsr/74986/ceaeb/.conan/data/hermes/2024.04.29/_/_/package/8180028eb6d0977ff445115a2b8b0d8435143181/include/jsi/JSIDynamic.h
    -- Installing: /Users/jenkins/workspace/prod-v1/bsr/74986/ceaeb/.conan/data/hermes/2024.04.29/_/_/package/8180028eb6d0977ff445115a2b8b0d8435143181/include/jsi/instrumentation.h
    -- Installing: /Users/jenkins/workspace/prod-v1/bsr/74986/ceaeb/.conan/data/hermes/2024.04.29/_/_/package/8180028eb6d0977ff445115a2b8b0d8435143181/include/jsi/jsi.h
    -- Installing: /Users/jenkins/workspace/prod-v1/bsr/74986/ceaeb/.conan/data/hermes/2024.04.29/_/_/package/8180028eb6d0977ff445115a2b8b0d8435143181/include/jsi/decorator.h
    -- Installing: /Users/jenkins/workspace/prod-v1/bsr/74986/ceaeb/.conan/data/hermes/2024.04.29/_/_/package/8180028eb6d0977ff445115a2b8b0d8435143181/include/jsi/threadsafe.h
    -- Installing: /Users/jenkins/workspace/prod-v1/bsr/74986/ceaeb/.conan/data/hermes/2024.04.29/_/_/package/8180028eb6d0977ff445115a2b8b0d8435143181/include/jsi/jsilib.h
    [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(): [STATIC ARTIFACTS (KB-H074)] OK
    [HOOK - conan-center.py] post_package(): [EITHER STATIC OR SHARED OF EACH LIB (KB-H076)] OK
    [HOOK - conan-center.py] post_package(): [PC-FILES (KB-H020)] OK
    [HOOK - conan-center.py] post_package(): [CMAKE-MODULES-CONFIG-FILES (KB-H016)] 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(): [SHORT_PATHS USAGE (KB-H066)] OK
    [HOOK - conan-center.py] post_package(): [MISSING SYSTEM LIBS (KB-H043)] OK
    [HOOK - conan-center.py] post_package(): [APPLE RELOCATABLE SHARED LIBS (KB-H077)] OK
    CMake Deprecation Warning at CMakeLists.txt:42 (cmake_policy):
      The OLD behavior for policy CMP0026 will be removed from a future version
      of CMake.
    
      The cmake-policies(7) manual explains that the OLD behaviors of all
      policies are deprecated and that a policy should be set to OLD only under
      specific short-term circumstances.  Projects should be ported to the NEW
      behavior and not rely on setting a policy to OLD.
    
    
    ld: warning: -no_pie ignored for arm64
    ld: warning: -no_pie ignored for arm64
    ld: warning: -no_pie ignored for arm64
    warning: /Applications/conan/xcode/13.0/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: archive library: libhermesFlowParser.a the table of contents is empty (no object file members in the library define global symbols)
    WARN: *** Conan 1 is legacy and on a deprecation path ***
    WARN: *** Please upgrade to Conan 2 ***
    [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown folder 'Library' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013-DEFAULT-PACKAGE-LAYOUT) 
    ERROR: [HOOK - conan-center.py] post_package(): 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 v2 pipeline ❌

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

The v2 pipeline failed. Please, review the errors and note this is required for pull requests to be merged. In case this recipe is still not ported to Conan 2.x, please, ping @conan-io/barbarians on the PR and we will help you.

Failure in build 15 (66d1f3547393be10f692c72ae3d1503c017d3291):

  • hermes/2024.04.29:
    CI failed to create some packages (All logs)

    Logs for packageID f057dc7ccaae3faadf7360c8b12f2ce0b2ab2e4c:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=apple-clang
    compiler.cppstd=17
    compiler.libcxx=libc++
    compiler.version=13
    os=Macos
    [options]
    */*:shared=False
    
    [...]
    -- Looking for __GLIBC__ - not found
    -- Looking for sched_getaffinity
    -- Looking for sched_getaffinity - not found
    -- Looking for CPU_COUNT
    -- Looking for CPU_COUNT - not found
    -- Looking for pthread_getname_np
    -- Looking for pthread_getname_np - found
    -- Looking for pthread_setname_np
    -- Looking for pthread_setname_np - found
    -- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB
    -- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Success
    -- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB
    -- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB - Success
    -- Performing Test LLVM_HAS_ATOMICS
    -- Performing Test LLVM_HAS_ATOMICS - Success
    -- Performing Test SUPPORTS_NO_PIE_FLAG
    -- Performing Test SUPPORTS_NO_PIE_FLAG - Success
    -- Performing Test SUPPORTS_VARIADIC_MACROS_FLAG
    -- Performing Test SUPPORTS_VARIADIC_MACROS_FLAG - Success
    -- Performing Test SUPPORTS_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS_FLAG
    -- Performing Test SUPPORTS_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS_FLAG - Success
    -- Threads enabled.
    -- Doxygen disabled.
    -- Go bindings disabled.
    -- Found ld64 - /Applications/conan/xcode/13.0/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
    -- Could NOT find Python module pygments
    -- Could NOT find Python module pygments.lexers.c_cpp
    -- Could NOT find Python module yaml
    -- CMAKE_HOST_SYSTEM_NAME = Darwin
    -- CMAKE_SYSTEM_NAME = Darwin
    -- HERMES_APPLE_TARGET_PLATFORM = 
    -- CMAKE_CROSSCOMPILING = TRUE
    CMake Error at lib/InternalBytecode/CMakeLists.txt:23 (include):
      include could not find requested file:
    
        IMPORTFILE-NOTFOUND
    
    
    -- Looking for readline
    -- Looking for readline - found
    -- Configuring incomplete, errors occurred!
    See also "/Users/jenkins/workspace/prod-v2/bsr/67867/bbbfe/p/b/herme3817bcf7393b5/b/build/Release/CMakeFiles/CMakeOutput.log".
    See also "/Users/jenkins/workspace/prod-v2/bsr/67867/bbbfe/p/b/herme3817bcf7393b5/b/build/Release/CMakeFiles/CMakeError.log".
    
    hermes/2024.04.29: ERROR: 
    Package 'f057dc7ccaae3faadf7360c8b12f2ce0b2ab2e4c' build failed
    hermes/2024.04.29: WARN: Build folder /Users/jenkins/workspace/prod-v2/bsr/67867/bbbfe/p/b/herme3817bcf7393b5/b/build/Release
    ERROR: hermes/2024.04.29: Error in build() method, line 81
    	cmake.configure()
    	ConanException: Error 1 while executing
    

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants