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

Git Clone URL: https://aur.archlinux.org/uswsusp-git.git (read-only)
Package Base: uswsusp-git
Description: Userspace software suspend - git checkout
Upstream URL: http://suspend.sourceforge.net/
Licenses: GPL
Conflicts: uswsusp
Provides: uswsusp
Submitter: jackoneill
Maintainer: eworm
Last Packager: eworm
Votes: 159
Popularity: 0.374834
First Submitted: 2010-12-17 20:59
Last Updated: 2017-03-06 18:22

Latest Comments

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

parky6 commented on 2012-04-10 15:50

same problem

taylorchu commented on 2012-04-09 03:16

this does not build.
reason: install cannot find resume.conf

tocer commented on 2012-04-09 02:00

@jackoneill:

It works for me. the solution is remove compile option 'upx' in the makepkg.conf. Thanks anyway.

jackoneill commented on 2012-04-07 17:12

By the way, tocer, did you ever fix your problem?

I ran `mkinitcpio -vp linux` and got this:
[...]
-> Parsing hook: [uresume]
adding file: /usr/lib/suspend/resume
adding symlink: /usr/lib/liblzo2.so.2 -> /usr/lib/liblzo2.so.2.0.0
adding file: /usr/lib/liblzo2.so.2.0.0
adding symlink: /lib/libgcrypt.so.11 -> /lib/libgcrypt.so.11.7.0
adding file: /lib/libgcrypt.so.11.7.0
adding symlink: /lib/libgpg-error.so.0 -> /lib/libgpg-error.so.0.8.0
adding file: /lib/libgpg-error.so.0.8.0
adding file: /etc/suspend.conf
adding file: /hooks/uresume
-> Parsing hook: [filesystems]
[...]

I think mkinitcpio is supposed to include every library that /usr/lib/suspend/resume links to. Try `readelf -d /usr/lib/suspend/resume`. The relevant part:
0x0000000000000001 (NEEDED) Shared library: [liblzo2.so.2]
0x0000000000000001 (NEEDED) Shared library: [libgcrypt.so.11]
0x0000000000000001 (NEEDED) Shared library: [libpthread.so.0]
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]

jackoneill commented on 2012-04-07 16:59

Commenté par: th3voic3 sur Sat, 07 Apr 2012 13:47:35 +0000
> Building this always fails with:
>
> make[3]: Entering directory `/home/th3voic3/AUR/uswsusp-git/src/uswsusp-build'
> if [ -f /home/th3voic3/AUR/uswsusp-git/pkg//etc/suspend.conf ]; then \
> /usr/bin/install -c -m 644 ./conf/suspend.conf /home/th3voic3/AUR/uswsusp-git/pkg//etc/suspend.conf.new; \
> else \
> /usr/bin/install -c -m 644 ./conf/suspend.conf /home/th3voic3/AUR/uswsusp-git/pkg//etc/suspend.conf; \
> fi
> /usr/bin/install: cannot create regular file ‘/home/th3voic3/AUR/uswsusp-git/pkg//etc/suspend.conf’: No such file or directory

==> Finished making: uswsusp-git 20120407-1 (Sat Apr 7 19:55:19 EEST 2012)
In other words, I can't reproduce it.

Anonymous comment on 2012-04-07 13:47

Building this always fails with:

make[3]: Entering directory `/home/th3voic3/AUR/uswsusp-git/src/uswsusp-build'
if [ -f /home/th3voic3/AUR/uswsusp-git/pkg//etc/suspend.conf ]; then \
/usr/bin/install -c -m 644 ./conf/suspend.conf /home/th3voic3/AUR/uswsusp-git/pkg//etc/suspend.conf.new; \
else \
/usr/bin/install -c -m 644 ./conf/suspend.conf /home/th3voic3/AUR/uswsusp-git/pkg//etc/suspend.conf; \
fi
/usr/bin/install: cannot create regular file ‘/home/th3voic3/AUR/uswsusp-git/pkg//etc/suspend.conf’: No such file or directory
make[3]: *** [install-data-hook] Error 1
make[3]: Leaving directory `/home/th3voic3/AUR/uswsusp-git/src/uswsusp-build'
make[2]: *** [install-data-am] Error 2
make[2]: Leaving directory `/home/th3voic3/AUR/uswsusp-git/src/uswsusp-build'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/th3voic3/AUR/uswsusp-git/src/uswsusp-build'
make: *** [install-recursive] Error 1

tocer commented on 2012-03-27 02:40

@Runiq: Yes, I rebuild kenel many times.

@jackoneill: I inspired from old bug(https://bugs.archlinux.org/task/17793), and found that liblzso2.so.2 don't included when build kernel.

rebuild kenel detail: http://paste.pocoo.org/show/571838/
my mkinitcpio.conf http://paste.pocoo.org/show/571839/
my suspend.conf http://paste.pocoo.org/show/571840/

btw: pacman -Qk lzo2 => lzo2: 34 total files, 0 missing files

jackoneill commented on 2012-03-22 22:00

Well, check that you have liblzo2.so.2: `pacman -Qk lzo2`.

To be honest, I haven't done much suspending lately, but it did work after my most recent -Syu, on the 16th (uswsusp-git 20110822-1).

Runiq commented on 2012-03-22 12:21

@tocer: Does rebuilding the package help?

tocer commented on 2012-03-22 09:31

resume fail:

/usr/lib/suspend/resume: error while loading shared libraries: liblzo2.so.2 cannot open shared object file: No such file or directory

I make sure I have installed lzo2-2.06-1 package