onivim / oni2

Native, lightweight modal code editor
https://v2.onivim.io
MIT License
7.76k stars 274 forks source link

Fix Docker build #3865

Closed TheTechRobo closed 6 months ago

TheTechRobo commented 1 year ago

It previously failed for me with this:

Step 21/26 : RUN yum -y install git222
 ---> Running in 6eb1f74aa373
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
 * base: centos.westmancom.com
 * centos-sclo-rh: centos.les.net
 * centos-sclo-sclo: centos.westmancom.com
 * epel: linux-mirrors.fnal.gov
 * extras: centos.westmancom.com
 * updates: centos.westmancom.com
No package git222 available.
Error: Nothing to do

Fixes #3865

TheTechRobo commented 1 year ago

Now I'm running into

    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 542, 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
    Manually activating llvm toolset 7.0...
    -- clang version:
    clang version 7.0.1 (tags/RELEASE_701/final)
    Target: x86_64-unknown-linux-gnu
    Thread model: posix
    InstalledDir: /opt/rh/llvm-toolset-7.0/root/usr/bin
    clang-7: warning: argument unused during compilation: '-stdlib=libstdc++' [-Wunused-command-line-argument]
    -- clang++ version:
    clang version 7.0.1 (tags/RELEASE_701/final)
    Target: x86_64-unknown-linux-gnu
    Thread model: posix
    InstalledDir: /opt/rh/llvm-toolset-7.0/root/usr/bin
    clang-7: warning: argument unused during compilation: '-I /usr/include/c++/4.8.5' [-Wunused-command-line-argument]
    clang-7: warning: argument unused during compilation: '-I /usr/include/c++/4.8.5/x86_64-redhat-linux' [-Wunused-command-line-argument]
    clang-7: warning: argument unused during compilation: '-std=c++11' [-Wunused-command-line-argument]
    clang-7: warning: argument unused during compilation: '-stdlib=libstdc++' [-Wunused-command-line-argument]
    ./esy/build.sh: line 53: bin/gn: No such file or directory
    error: command failed: 'bash' './esy/build.sh' 'linux' '/esy/store/3_________________________________________________________________________/i/esy_libjpeg_turbo-e4385a3b' (exited with 255)
    esy-build-package: exiting with errors above...

  building esy-skia@github:revery-ui/esy-skia#1c81aac
esy: exiting due to errors above

Also looks like that's what the CI is failing on.

TheTechRobo commented 1 year ago

The current problem is related to https://github.com/revery-ui/esy-skia/pull/42