Git Product home page Git Product logo

Comments (5)

wez avatar wez commented on May 6, 2024 1

Try deleting the Cargo.lock file in your wezterm working copy too

from wezterm.

chadaustin avatar chadaustin commented on May 6, 2024

Must be Cargo wackiness. I tried that, and it got farther, but:

   Compiling freetype v0.1.0 (/home/chad/projects/wezterm/deps/freetype)
   Compiling harfbuzz v0.1.0 (/home/chad/projects/wezterm/deps/harfbuzz)
error: failed to run custom build command for `freetype v0.1.0 (/home/chad/projects/wezterm/deps/freetype)`

Caused by:
  process didn't exit successfully: `/home/chad/projects/wezterm/target/debug/build/freetype-e8ad74354ec32704/build-script-build` (exit code: 101)
--- stdout
running: "cmake" "/home/chad/projects/wezterm/target/debug/build/freetype-430fe24cb64c561c/out/zlib-src/zlib" "-DCMAKE_INSTALL_PREFIX=/home/chad/projects/wezterm/target/debug/build/freetype-430fe24cb64c561c/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_CXX_COMPILER=/usr/bin/c++" "-DCMAKE_BUILD_TYPE=Release"

--- stderr
CMake Error: The source directory "/home/chad/projects/wezterm/target/debug/build/freetype-430fe24cb64c561c/out/zlib-src/zlib" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
thread 'main' panicked at '
command did not execute successfully, got: exit code: 1

build script failed, must exit now', /home/chad/.cargo/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.41/src/lib.rs:835:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.

warning: build failed, waiting for other jobs to finish...
error: build failed
[Exit 101 in 180s]

Hrm.

Indeed, there is nothing in that directory. Blowing away target and Cargo.lock and starting over produces the same error.

Does wezterm build on a stock 18.04 install for you?

from wezterm.

wez avatar wez commented on May 6, 2024

I think you might need to run:

$ sudo ./get-deps
$ git submodule update --init

to ensure that you have the deps; the does not appear to contain CMakeLists.txt error tends to mean that the submodules aren't there

from wezterm.

chadaustin avatar chadaustin commented on May 6, 2024

That was it. Thanks Wez. Build systems. ;)

from wezterm.

github-actions avatar github-actions commented on May 6, 2024

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

from wezterm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.