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

build failure on x86_64-unknown-linux-gnu #30

Closed
Be-ing opened this issue Feb 14, 2022 · 5 comments
Closed

build failure on x86_64-unknown-linux-gnu #30

Be-ing opened this issue Feb 14, 2022 · 5 comments
Labels
bug Something isn't working

Comments

@Be-ing
Copy link

Be-ing commented Feb 14, 2022

> cargo install image_sieve

...

error: failed to run custom build command for `image_sieve v0.5.1`

Caused by:
  process didn't exit successfully: `/tmp/cargo-installzuxyat/release/build/image_sieve-1f86cf25047e6df3/build-script-build` (exit status: 101)
  --- stdout
  slint  build

  --- stderr
  error: Unknown property alignment in GroupBox
    --> /home/be/.cargo/registry/src/github.com-1ecc6299db9ec823/image_sieve-0.5.1/ui/settings.slint:13:9
     |
  13 |         alignment: start;
     |         ^
  error: Unknown unqualified identifier 'start'
    --> /home/be/.cargo/registry/src/github.com-1ecc6299db9ec823/image_sieve-0.5.1/ui/settings.slint:13:20
     |
  13 |         alignment: start;
     |                    ^

  thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: CompileError(["/home/be/.cargo/registry/src/github.com-1ecc6299db9ec823/image_sieve-0.5.1/ui/settings.slint:13: Unknown property alignment in GroupBox", "/home/be/.cargo/registry/src/github.com-1ecc6299db9ec823/image_sieve-0.5.1/ui/settings.slint:13: Unknown unqualified identifier 'start'"])', /home/be/.cargo/registry/src/github.com-1ecc6299db9ec823/image_sieve-0.5.1/build.rs:5:50
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: failed to compile `image_sieve v0.5.1`, intermediate artifacts can be found at `/tmp/cargo-installzuxyat`
@enaut
Copy link
Contributor

enaut commented Feb 14, 2022

I can confirm this for Fedora 35

@Futsch1 Futsch1 added the bug Something isn't working label Feb 14, 2022
@Futsch1
Copy link
Owner

Futsch1 commented Feb 14, 2022

Strange one - it works both on Ubuntu and Windows. I removed the property and replaced it with a VerticalBox. I also asked in the slint-ui community about it...

@mcronce
Copy link

mcronce commented Feb 14, 2022

Same deal for me on Arch. Thanks for the quick fix :)

Futsch1 added a commit that referenced this issue Feb 14, 2022
@Futsch1 Futsch1 closed this as completed Feb 14, 2022
@enaut
Copy link
Contributor

enaut commented Feb 14, 2022

master builds fine on my fedora too! Thank you!

@Futsch1
Copy link
Owner

Futsch1 commented Feb 14, 2022

Sounds great! Note that the latest master will also cause a different look and feel for you, since you obviously had Qt installed, which is used automatically by slint. This is changed now so that a) I will realize during CI that something's wrong and b) the look and feel will be the same independent of the system.

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

4 participants