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: None
Last Packager: envolution
Votes: 160
Popularity: 0.000009
First Submitted: 2010-12-17 20:59 (UTC)
Last Updated: 2024-12-03 18:14 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 Next › Last »

koraynilay commented on 2020-09-01 08:38 (UTC)

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

scrouthtv commented on 2020-07-15 20:42 (UTC) (edited on 2020-07-16 07:29 (UTC) by scrouthtv)

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: https://bbs.archlinux.org/viewtopic.php?id=255727

ilya-fedin commented on 2018-04-15 20:04 (UTC)

Can you add support for systemd initramfs? https://gist.github.com/ilya-fedin/33f0e252ff94cde71714052ba8858b7f

dummys commented on 2017-03-10 20:13 (UTC) (edited on 2017-03-10 22:26 (UTC) by dummys)

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 (UTC)

lzo2 has been renamed to lzo.

stevenroose commented on 2016-10-18 12:56 (UTC)

I'm getting an error compiling this: `cannot create directory ‘m4’: File exists` https://gist.github.com/stevenroose/dfade8d6a21d66afe16f2c79b9c40e8d

eworm commented on 2015-07-31 22:03 (UTC)

@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 (UTC)

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 ...

<deleted-account> commented on 2015-07-13 07:02 (UTC)

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