Package Details: uswsusp-git 0.r501.g668c5f7-8

Git Clone URL: (read-only, click to copy)
Package Base: uswsusp-git
Description: Userspace software suspend - git checkout
Upstream URL:
Licenses: GPL
Conflicts: uswsusp
Provides: uswsusp
Submitter: jackoneill
Maintainer: eworm
Last Packager: eworm
Votes: 160
Popularity: 0.000119
First Submitted: 2010-12-17 20:59
Last Updated: 2017-03-06 18:22

Latest Comments

1 2 3 4 5 6 Next › Last »

koraynilay commented on 2020-09-01 08:38

CFLAGS="$CFLAGS -fcommon" should be added before ./configure otherwise the package won't compile with gcc >= 10.

d0lphin commented on 2020-07-15 20:42

Doesn't work with gcc >= 10: /usr/bin/ld: libsuspend-common.a(dmidecode.o):(.bss+0x4): multiple definition of fb_nosuspend'; s2ram-main.o:(.bss+0x4): first defined here /usr/bin/ld: libsuspend-common.a(dmidecode.o):(.bss+0x8): multiple definition offorce'; s2ram-main.o:(.bss+0x8): first defined here /usr/bin/ld: libsuspend-common.a(dmidecode.o):(.bss+0xc): multiple definition of `flags'; s2ram-main.o:(.bss+0xc): first defined here collect2: error: ld returned 1 exit status make[2]: [Makefile:835: s2ram] Error 1 make[2]: Leaving directory '/home/me/.cache/yay/uswsusp-git/src/suspend-utils' make[1]: [Makefile:1025: all-recursive] Error 1 make[1]: Leaving directory '/home/me/.cache/yay/uswsusp-git/src/suspend-utils' make: *** [Makefile:649: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... error making: %!s(func() string=0x55d5156b4a60)

Since gcc 10, a symbol defined twice now results in an error not a warning and thus cancelling the compilation: "A common mistake in C is omitting extern when declaring a global variable in a header file. GCC 10 defaults to -fno-common, which means a linker error will now be reported."

This problem has to either be fixed on uswsusp's side or by adding -fcommon to CFLAGS:

ilya-fedin commented on 2018-04-15 20:04

Can you add support for systemd initramfs?

dummys commented on 2017-03-10 20:13

UPDATE: Found the problem. Dunno why but my /etc/suspend.conf was reverted to default... Fixing it and uswusp work again.

Warning don't install the new version. My computer won't boot. Stucking at Uresume hook during boot. mkinitcpio -p linux went well.

JM9 commented on 2017-03-06 17:35

lzo2 has been renamed to lzo.

stevenroose commented on 2016-10-18 12:56

I'm getting an error compiling this:

`cannot create directory ‘m4’: File exists`

eworm commented on 2015-07-31 22:03

@Herodotus: This should be fixed with latest pkgrel 7. Just tried, compiles for me in a clean and up-to-date chroot.

Herodotus commented on 2015-07-31 21:56

Same problem as remussatala, here are the earlier errors:

/bin/sh ./libtool --tag=CC --mode=link gcc -DS2RAM -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wl,-O1,--sort-common,--as-needed,-z,relro -o resume resume-resume.o libsuspend-common.a -llzo2 -lpthread
libtool: link: gcc -DS2RAM -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -o resume resume-resume.o libsuspend-common.a -llzo2 -lpthread
resume-resume.o: In function `main':
resume.c:(.text.startup+0x2c8): undefined reference to `open_printk'
resume.c:(.text.startup+0x2cd): undefined reference to `get_kernel_console_loglevel'
resume.c:(.text.startup+0x2e6): undefined reference to `set_kernel_console_loglevel'
resume.c:(.text.startup+0x412): undefined reference to `set_kernel_console_loglevel'
resume.c:(.text.startup+0x41a): undefined reference to `close_printk'
resume.c:(.text.startup+0x468): undefined reference to `set_kernel_console_loglevel'
libsuspend-common.a(splash.o): In function `splash_prepare':
splash.c:(.text+0x57c): undefined reference to `bootsplash_progress'
collect2: error: ld returned 1 exit status
Makefile:809: recipe for target 'resume' failed

Anonymous comment on 2015-07-13 07:02

collect2: error: ld returned 1 exit status
Makefile:809: recipe for target 'resume' failed
make[2]: *** [resume] Error 1
make[2]: Leaving directory '/tmp/yaourt-tmp-user/aur-uswsusp-git/src/suspend-utils'
Makefile:1006: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/yaourt-tmp-user/aur-uswsusp-git/src/suspend-utils'
Makefile:636: recipe for target 'all' failed
make: *** [all] Error 2

firekage commented on 2015-01-24 14:47

It hangs when booting on uresume events during startup. I removed uresume hooks and i can boot my computer: linux and nvidia 346.35 drivers.