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

[Request] swayosd-git #3303

Closed
rubiin opened this issue Sep 7, 2024 · 1 comment
Closed

[Request] swayosd-git #3303

rubiin opened this issue Sep 7, 2024 · 1 comment
Labels
priority:low This package affects just a few users. request:new-pkg New package requested.

Comments

@rubiin
Copy link

rubiin commented Sep 7, 2024

Package:

https://aur.archlinux.org/packages/swayosd-git

Purpose:

For usage with sway and hyprland

Benefits:

Provides OSD features for hyprland and sway

Building:

makepkg, built in Rust™️

Copyright:

GPL-3.0

Expected Interest:

Many

Already available?

No

Unique request?

Yes

Banned package?

No

More information:

No response

@rubiin rubiin added the request:new-pkg New package requested. label Sep 7, 2024
@Technetium1 Technetium1 added the priority:low This package affects just a few users. label Sep 8, 2024
@xiota
Copy link
Contributor

xiota commented Sep 8, 2024

Fails to build on v4 builder. Other rust packages with I/O error were fixed by setting CARGO_HOME in interfere, but doesn't work for this one.

Log excerpt.
==> Starting package()...
Dropping privileges to 'root' before running ninja...
ninja: Entering directory `/home/builder/build/src/build'
[0/1] Generating src/Cargo Build with a custom command
error: failed to determine package fingerprint for build script for swayosd v0.1.0 (/home/builder/build/src/swayosd)
An I/O error happened. Please make sure you can access the file.

By default, if your project contains a build script, cargo scans all files in
it to determine whether a rebuild is needed. If you don't expect to access the
file, specify `rerun-if-changed` in your build script.
See https://doc.rust-lang.org/cargo/reference/build-scripts.html#rerun-if-changed for more information.

Caused by:
  failed to determine the most recently modified file in /home/builder/build/src/swayosd

Caused by:
  failed to determine list of files in /home/builder/build/src/swayosd

Caused by:
  Could not read repository exclude

Caused by:
  Permission denied (os error 13)
FAILED: src/swayosd-server src/swayosd-client src/swayosd-libinput-backend 
/usr/bin/env CARGO_HOME=/home/builder/build/src/build/cargo-home /usr/bin/cargo build --manifest-path /home/builder/build/src/swayosd/Cargo.toml --target-dir /home/builder/build/src/build/src && cp -f src/debug/swayosd-server src/debug/swayosd-client src/debug/swayosd-libinput-backend src
ninja: build stopped: subcommand failed.
Could not rebuild /home/builder/build/src/build
==> ERROR: A failure occurred in package().

Update: Problem seems to be change in permissions between build() and package().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority:low This package affects just a few users. request:new-pkg New package requested.
Development

No branches or pull requests

3 participants