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

Error when building with resolutions patch #100

Open
snooper3012 opened this issue Jan 5, 2024 · 0 comments
Open

Error when building with resolutions patch #100

snooper3012 opened this issue Jan 5, 2024 · 0 comments

Comments

@snooper3012
Copy link

I patched my package.json

{
  "name": "revery-quick-start",
  "version": "1.4.1",
  "description": "A template for getting started with Revery",
  "license": "MIT",
  "scripts": {
    "format": "bash -c \"refmt --in-place **/*.re\"",
    "run": "esy x App"
  },
  "esy": {
    "build": "dune build -p App",
    "buildDev": "refmterr dune build -p App",
    "buildsInSource": "_build"
  },
  "resolutions": {
    "esy-skia": "revery-ui/esy-skia#b8aff12"
  },
  "revery-packager": {
    "bundleName": "ExampleApp",
    "bundleId": "com.example.app",
    "displayName": "Revery Example App",
    "mainExecutable": "App",
    "windows": {
      "packages": [
        "zip"
      ],
      "iconFile": "assets/icon.ico"
    },
    "darwin": {
      "packages": [
        "tar",
        "dmg"
      ],
      "iconFile": "assets/icon.icns"
    },
    "linux": {
      "packages": [
        "tar",
        "appimage"
      ]
    }
  },
  "dependencies": {
    "revery": "revery-ui/revery#431e515a00ee46f7bc614a10c2a219aae13179e0",
    "@opam/dune": "2.6.0",
    "@revery/timber": "*",
    "esy-macdylibbundler": "*"
  },
  "devDependencies": {
    "ocaml": "~4.9.0",
    "@opam/ocaml-lsp-server": "ocaml/ocaml-lsp:ocaml-lsp-server.opam#cb8aba2238ba5b0e5a6fe0a3180f25077496f75a"
  }
}

And when trying esy build I get this:

info building esy-skia@github:revery-ui/esy-skia#b8aff12@d41d8cd9
info building [email protected]@d41d8cd9
error: build failed with exit code: 1
  build log:
    # esy-build-package: building: esy-skia@github:revery-ui/esy-skia#b8aff12
    # esy-build-package: pwd: /home/insert_user_home/.esy/3/b/esy_skia-cce2678e
    # esy-build-package: running: 'bash' './esy/build.sh' 'linux' '/home/insert_user_home/.esy/3_________________________________________________________________/i/esy_libjpeg_turbo-e4385a3b'
    fatal: repository 'https://skia.googlesource.com/external/github.com/Tencent/rapidjson.git/' not found
    buildtools                           @ 505de88083136eefd056e5ee4ca0f01fe9b33de8
    third_party/externals/angle2         @ b001528ffa00e7c15a5002124f707570e59a5697
    third_party/externals/dng_sdk        @ 96443b262250c390b0caefbf3eed8463ba35ecae
    third_party/externals/expat          @ android-6.0.1_r55
    third_party/externals/freetype       @ fa6da7bf6dcbcfa22d2464259ad1cccee3233189
    third_party/externals/googletest     @ dd43b9998e9a44a579a7aba6c1309407d1a5ed95
    third_party/externals/harfbuzz       @ 1.4.2
    third_party/externals/icu            @ ec9c1133693148470ffe2e5e53576998e3650c1d
    third_party/externals/imgui          @ 6384eee34f08cb7eab8d835043e1738e4adcdf75
    third_party/externals/jsoncpp        @ 1.0.0
    third_party/externals/libjpeg-turbo  @ 1.5.3
    third_party/externals/libpng         @ v1.6.33
    third_party/externals/libwebp        @ v0.6.1
    third_party/externals/lua            @ v5-3-4
    third_party/externals/microhttpd     @ 748945ec6f1c67b7efc934ab0808e1d32f2fb98d
    third_party/externals/piex           @ bb217acdca1cc0c16b704669dd6f91a1b509c406
    Traceback (most recent call last):
      File "tools/git-sync-deps", line 254, in <module>
        exit(main(sys.argv[1:]))
      File "tools/git-sync-deps", line 246, in main
        git_sync_deps(deps_file_path, argv, verbose)
      File "tools/git-sync-deps", line 218, in git_sync_deps
        git_checkout_to_directory(*args)
      File "tools/git-sync-deps", line 132, in git_checkout_to_directory
        [git, 'clone', '--quiet', repo, directory])
      File "/usr/lib64/python2.7/subprocess.py", line 190, in check_call
        raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command '['git', 'clone', '--quiet', 'https://skia.googlesource.com/external/github.com/Tencent/rapidjson.git', 'third_party/externals/rapidjson']' returned non-zero exit status 128
    llvm toolset-7.0 does not need to be manually activated
    ./esy/build.sh: line 53: bin/gn: No such file or directory
    error: command failed: 'bash' './esy/build.sh' 'linux' '/home/insert_user_home/.esy/3_________________________________________________________________/i/esy_libjpeg_turbo-e4385a3b' (exited with 255)
    esy-build-package: exiting with errors above...

  building esy-skia@github:revery-ui/esy-skia#b8aff12
esy: exiting due to errors above
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant