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

make fails to build files #1

Open
Sualannaigh opened this issue Nov 21, 2024 · 1 comment
Open

make fails to build files #1

Sualannaigh opened this issue Nov 21, 2024 · 1 comment

Comments

@Sualannaigh
Copy link
Contributor

Running make produces the following output:


CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh '/home/jacob/keyboard-yid/build-aux/missing' autoconf

*** macOS build! ***

  KBDGEN   mac
2024-11-21T12:05:22.947834Z  INFO kbdgen: kbdgen 3.0.0-beta.5
2024-11-21T12:05:22.948338Z  INFO kbdgen::bundle: Canonical Bundle Path: "/home/jacob/keyboard-yid/yid.kbdgen"
2024-11-21T12:05:22.961262Z  WARN kbdgen::bundle: Saw target with name win but did not parse
2024-11-21T12:05:22.961801Z  WARN kbdgen::bundle: Saw target with name mac but did not parse
thread 'main' panicked at src/bundle/resources/mod.rs:32:77:
called `Result::unwrap()` on an `Err` value: InvalidLanguage
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
make: *** [Makefile:610: mac] Error 101

MacOS in particular does not seem to be the issue as it also fails to compile when running make win for instance.

snomos added a commit that referenced this issue Nov 22, 2024
…n to panick

Partial fix for #1, but there are other panic points. Looking further.
@snomos
Copy link
Member

snomos commented Nov 22, 2024

The previous error disappeared after the file rename in the commit above, and the win build now continues to real errors.

The mac build still panics with this message:

CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh '/Users/smo036/langtech/gut/giellalt/keyboard-yid/build-aux/missing' autoconf

*** macOS build! ***

  KBDGEN   mac
2024-11-22T17:11:46.715166Z  INFO kbdgen: kbdgen 3.0.0-beta.4
2024-11-22T17:11:46.715537Z  INFO kbdgen::bundle: Canonical Bundle Path: "/Users/smo036/langtech/gut/giellalt/keyboard-yid/yid.kbdgen"
2024-11-22T17:11:46.725332Z  WARN kbdgen::bundle: Saw target with name win but did not parse
2024-11-22T17:11:46.725348Z  WARN kbdgen::bundle: Saw target with name mac but did not parse
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', src/build/macos/macos_bundle.rs:50:59
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
make: *** [mac] Error 101

But I am unable to identify what is causing the panic, or where the None value could be. Any clue, @dylanhand or @bbqsrc ?

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

2 participants