You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ uname -a
Linux arch 6.6.67-1-lts #1 SMP PREEMPT_DYNAMIC Thu, 19 Dec 2024 20:39:01 +0000 x86_64 GNU/Linux
swhkd version ( swhkd -V )
$ swhkd -V
-bash: swhkd: command not found
^ - couldn't install/build
Describe the bug:
Errors out during build step when installing from AUR (swhkd-git).
Expected behavior:
Successful build.
Actual behavior:
Errors out with:
error: the lock file /home/alex/Packages/swhkd-git/src/swhkd/Cargo.lock needs to be updated but --locked was passed to prevent this
If you want to try to generate the lock file without accessing the network, remove the --locked flag and use --offline instead.
To Reproduce:
Run: makepkg --syncdeps --rmdeps --clean
Additional information:
Log:
$ makepkg --syncdeps --rmdeps --clean
==> Making package: swhkd-git 1.2.1.r70.g3db287e-1 (Sun 05 Jan 2025 11:50:30 PM PST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
[sudo] password for alex:
:: There are 2 providers available for cargo:
:: Repository extra
1) rust 2) rustup
Enter a number (default=1):
resolving dependencies...
looking for conflicting packages...
Package (3) New Version Net Change
extra/llvm-libs 18.1.8-5 129.02 MiB
extra/rust 1:1.83.0-2 275.07 MiB
extra/scdoc 1.11.3-1 0.03 MiB
Total Installed Size: 404.12 MiB
:: Proceed with installation? [Y/n]
(3/3) checking keys in keyring [#############################################] 100%
(3/3) checking package integrity [#############################################] 100%
(3/3) loading package files [#############################################] 100%
(3/3) checking for file conflicts [#############################################] 100%
(3/3) checking available disk space [#############################################] 100%
:: Running pre-transaction hooks...
(1/1) Triggering yabsnap pre-installation snapshots...
:: Processing package changes...
(1/3) installing llvm-libs [#############################################] 100%
(2/3) installing rust [#############################################] 100%
Optional dependencies for rust
gdb: rust-gdb script
lldb: rust-lldb script
(3/3) installing scdoc [#############################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Retrieving sources...
-> Updating swhkd git repo...
-> Updating swhkd-vim git repo...
fatal: unable to access 'https://github.com/waycrate/swhkd-vim.git/': Failed to connect to github.com port 443 after 132903 ms: Could not connect to server
==> WARNING: Failure while updating swhkd-vim git repo
==> Validating source files with b2sums...
swhkd ... Skipped
swhkd-vim ... Skipped
==> Extracting sources...
-> Creating working copy of swhkd git repo...
Reset branch 'makepkg'
-> Creating working copy of swhkd-vim git repo...
Reset branch 'makepkg'
==> Starting prepare()...
warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
Updating crates.io index
Updating git repository `https://github.com/waycrate/sweet.git`
error: the lock file /home/alex/Packages/swhkd-git/src/swhkd/Cargo.lock needs to be updated but --locked was passed to prevent this
If you want to try to generate the lock file without accessing the network, remove the --locked flag and use --offline instead.
==> ERROR: A failure occurred in prepare().
Aborting...
==> Removing installed dependencies...
The text was updated successfully, but these errors were encountered:
Version Information:
uname -a
)swhkd -V
)^ - couldn't install/build
Describe the bug:
Errors out during build step when installing from AUR (swhkd-git).
Expected behavior:
Successful build.
Actual behavior:
Errors out with:
To Reproduce:
Run:
makepkg --syncdeps --rmdeps --clean
Additional information:
Log:
The text was updated successfully, but these errors were encountered: