Package Details: uswsusp-git 1.0.libgcrypt.1.6.3+r522+g84d75e60b-2

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.153939
First Submitted: 2010-12-17 20:59 (UTC)
Last Updated: 2024-12-03 18:14 (UTC)

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.

Latest Comments

1 2 3 4 5 6 .. 9 Next › Last »

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.

envolution commented on 2024-12-03 18:20 (UTC) (edited on 2024-12-06 17:12 (UTC) by envolution)

@dreieck I don't see any static libraries installed by core or extra versions of libgcrypt

dreieck commented on 2024-12-03 18:00 (UTC)

This PKGBUILD now installes /usr/share/licenses/uswsusp and /usr/share/licenses/uswsusp-git. The former is not to be installed, since licenses should go into /usr/share/licenses/${pkgname}, which here is the -git variant.

Regards and thanks again for maintanance!

dreieck commented on 2024-12-03 17:58 (UTC)

namcap tells me that libgcrypt is missing as dependency:

uswsusp-git E: Dependency libgcrypt detected and not included (libraries ['usr/lib/libgcrypt.so.20'] needed in files ['usr/bin/suspend-keygen', 'usr/lib/suspend/resume', 'usr/bin/s2disk', 'usr/bin/s2both'])

Suggestion: Link statically (to not make this break just by a system update).

Regards!

envolution commented on 2024-12-03 16:22 (UTC)

dreieck - the wrong pkgbuild was pushed, it's been updated now thanks

dreieck commented on 2024-12-03 13:23 (UTC) (edited on 2024-12-03 13:24 (UTC) by dreieck)

Ahoj,

thanks for updating this package.

There are some issues:

  • prepare() fails:
==> Starting prepare()...
/var/cache/yay/uswsusp-git/PKGBUILD: line 40: cd: uswsusp: No such file or directory

You need to cd to suspend, or prepend uswsusp:: to the source entry.

  • After fixing above error, package() fails:
==> Starting package()...
make: *** No rule to make target 'install'.  Stop.
==> ERROR: A failure occurred in package().
  • GPL-3.0 is not a valid SPDX identifier. Use GPL-3.0-or-later or GPL-3.0-only, whatever is applicable.

Have you * tried building this yourself (erased build directory previously)? * ran namcap on the finished package?

Regards!

envolution commented on 2024-12-03 09:40 (UTC)

@candy_pebbles can you please try with this new package?

candy_pebbles commented on 2024-10-28 17:56 (UTC) (edited on 2024-10-28 18:07 (UTC) by candy_pebbles)

Trying to build this package, but keep getting these linker errors:


"usr/bin/ld: /tmp/ccIuRvTn.ltrans0.ltrans.o: in function `main':
<artificial>:(.text.startup+0x96): undefined reference to `s2ram_add_flag'
/usr/bin/ld: <artificial>:(.text.startup+0x9e): undefined reference to `identify_machine'
/usr/bin/ld: <artificial>:(.text.startup+0xfd): undefined reference to `machine_known'
/usr/bin/ld: <artificial>:(.text.startup+0x407): undefined reference to `s2ram_hacks'
/usr/bin/ld: <artificial>:(.text.startup+0x413): undefined reference to `s2ram_do'
/usr/bin/ld: <artificial>:(.text.startup+0x41b): undefined reference to `s2ram_resume'
/usr/bin/ld: <artificial>:(.text.startup+0x4b4): undefined reference to `s2ram_is_supported'
/usr/bin/ld: <artificial>:(.text.startup+0x6da): undefined reference to `identify_machine'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:829: s2ram] Error 1"

Running the 6.10.10 kernel, ld version 6.10.10, gcc version 14.2.1. Any advice would be greatly appreciated.

dreieck commented on 2024-04-16 09:36 (UTC)

You download the latest state from a git repository.

So you must write a proper pkgver() function that ensures increading $pkgver with each upstream commit. Cf. Arch Linux VCS package guidelines.

Regards and thanks for maintaining!

glyn commented on 2022-11-25 19:06 (UTC) (edited on 2022-11-25 21:12 (UTC) by glyn)

Attempted to install this (on arch 2022.11.01, kernel 6.0.9) by cloning the repo and issuing makepkg -i. The build consistently fails because the directory m4 already exists. Tried git clean -dfx with no improvement. The repo is at c19b3fe44. Am I doing something wrong?