Now the version is 1.0-9 and everything is working flawlessly, thanks a lot for the quick response and congratulation the maintainership of the package @iFreilicht!
Search Criteria
Package Details: uswsusp-git 1.0.libgcrypt.1.6.3+r522+g84d75e60b-2
Package Actions
| Git Clone URL: | https://aur.archlinux.org/uswsusp-git.git (read-only, click to copy) |
|---|---|
| Package Base: | uswsusp-git |
| Description: | Userspace software suspend - git checkout |
| Upstream URL: | http://suspend.sourceforge.net/ |
| Licenses: | GPL-3.0-or-later |
| Conflicts: | uswsusp |
| Provides: | uswsusp |
| Submitter: | jackoneill |
| Maintainer: | ilovemikael |
| Last Packager: | envolution |
| Votes: | 161 |
| Popularity: | 0.041910 |
| First Submitted: | 2010-12-17 20:59 (UTC) |
| Last Updated: | 2024-12-03 18:14 (UTC) |
Dependencies (6)
- libgcrypt
- libx86
- lzo
- pciutils (pciutils-gitAUR)
- perl-switch
- git (git-gitAUR, git-glAUR, git-wd40AUR) (make)
Required by (0)
Sources (3)
vitor_hideyoshi commented on 2021-03-31 17:21 (UTC)
iFreilicht commented on 2021-03-31 14:40 (UTC)
@vitor_hideyoshi I updated the package once more, can you check whether paru is "updating" it properly now?
vitor_hideyoshi commented on 2021-03-31 14:29 (UTC) (edited on 2021-03-31 17:53 (UTC) by vitor_hideyoshi)
Found what you want @iFreilicht. Just remove this block of code from the PKGBUILD and you can set your version number to 1.0:
pkgver() {
cd suspend-utils/
if GITTAG="$(git describe --abbrev=0 --tags 2>/dev/null)"; then
echo "$(sed -e "s/^${pkgname%%-git}//" -e 's/^[-_/a-zA-Z]\+//' -e 's/[-_+]/./g' <<< ${GITTAG}).r$(git rev-list --count ${GITTAG}..).g$(git log -1 --format="%h")"
else
echo "0.r$(git rev-list --count master).g$(git log -1 --format="%h")"
fi
}
vitor_hideyoshi commented on 2021-03-31 13:32 (UTC)
@iFreilicht no it doesn't get solved just by reinstalling uswsusp-git, but you last commit did fix the bug, thanks a lot for that. If i figure out how to maintain the version name to 1.0 format instead of the commit release it post a comment here.
iFreilicht commented on 2021-03-31 13:16 (UTC) (edited on 2021-03-31 13:17 (UTC) by iFreilicht)
Wouldn't this be fixed if you just re-installed uswsusp-git? I'm not sure how to properly fix this. For now, I reverted the version number change, but I'd like to have the version indeed be 1.0, which would be less confusing.
Can you confirm the revert fixed your issue?
vitor_hideyoshi commented on 2021-03-30 02:16 (UTC)
Since the last update paru has been trying to upgrade uswsusp-git from (0.r501.g668c5f7-1 => 1.0-8), and by this entering in a loop because 1.0-8 and 0.r501.g668c5f7-1 are the same release. I think that this is a problem in the versioning name of the git commit and the release version. To prevent my AUR helper from updating the software to the same version as if was new i had to add uswsusp-git to my pacman ignorelist.
iFreilicht commented on 2021-03-29 12:55 (UTC)
Build is now fixed for gcc >= 10.
Pinned Comments
gerliczkowalczuk commented on 2026-04-04 19:11 (UTC)
This package appears to be effectively unmaintained upstream and fails to build on modern toolchains (GCC 14+, recent kernels).
The git repository is outdated and lacks proper install targets, and multiple users report linker errors and build failures.
At this point, maintaining this package in AUR likely has little value unless someone actively depends on it and is willing to patch it.
Consider using alternatives (e.g. kernel suspend mechanisms) instead.
I suggest orphaning this package.