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

Mac build broken in github actions #49

Open
g3mino opened this issue Oct 6, 2024 · 3 comments
Open

Mac build broken in github actions #49

g3mino opened this issue Oct 6, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@g3mino
Copy link

g3mino commented Oct 6, 2024

Hi,
Love this app - for me it's simply the best client I can run on an Intel Mac!

Not sure if there's an easier way to run this latest release on an Intel Mac, but:

  • can't run it in a VM after installing DEB package on Debian Bookworm - missing deprectated libssl.so.1.1 librabry
    "prompta: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory"
  • no mac package available
  • don't like appimage, but will try nevertheless until other options are available?
  • perhaps it would be easier to release it as a docker image also?
Copy link
Owner

Thanks for the heads up and for the kind words. The github actions mac build is broken. This happened, as far as I know, due to some change github made in their app runners.

Just in case you weren't aware prompta also runs in the browser: https://chat.prompta.dev/.

Regarding the Docker image, you're referring to running the UI via web server, similar to the app linked to above? There is already a Dockerfile for running the sync server, but i'm guessing that's not what you're talking about.

@iansinnott iansinnott changed the title Mac image and/or newer openssl lib dependency Mac build broken in github actions Oct 7, 2024
@iansinnott iansinnott added the bug Something isn't working label Oct 7, 2024 — with Linear
Copy link
Owner

Looking at the error logs its something in the rust build, which is surprising because Prompta doesn't do anything with the Rust side of Tauri. Maybe its time to migrate to Tauri 2.0.

Error in question: https://github.com/iansinnott/prompta/actions/runs/11182023000/job/31087339186#step:10:864

error[E0282]: type annotations needed for `Box<_>`
  --> /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.30/src/format_description/parse/mod.rs:83:9
   |
83 |     let items = format_items
   |         ^^^^^
...
86 |     Ok(items.into())
   |              ---- type must be known at this point
   |
   = note: this is an inference error on crate `time` caused by an API change in Rust 1.80.0; update `time` to version `>=0.3.35` by calling `cargo update`

Looks like upgrading tauri may resolve the error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants
@iansinnott @g3mino and others