You are not logged in.

#26 2013-03-30 21:35:01

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: backpac: A package state snapshot and restore tool for Arch Linux

plenus wrote:

when I've tried to compile from AUR (using pacaur) it failed.

Sorry, but this is far too much detail, people will get bored ploughing through it. Try to be more concise please.

Offline

#27 2013-03-31 00:18:01

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,132

Re: backpac: A package state snapshot and restore tool for Arch Linux

plenus wrote:

This seems to be exactly what I've always wanted. But when I've tried to compile from AUR (using pacaur) it failed.

It compiled fine here with makepkg. As has been said, just saying it didn't work isn't much of a clue. Since it works fine here, I have no idea what problem you are running into.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#28 2013-03-31 01:23:16

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,132

Re: backpac: A package state snapshot and restore tool for Arch Linux

plenus wrote:

update: the error I get running makepkg

$ ls
PKGBUILD

$ LANG=C makepkg -s
==> Determining latest git revision...
  -> Version found: 20130330
==> Making package: backpac 20130330-1 (Sat Mar 30 21:38:56 BRT 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
==> Extracting Sources...
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
/home/plenus/projects/arch/backpac/PKGBUILD: line 15: cd: /home/plenus/projects/arch/backpac/src: No such file or directory
==> ERROR: A failure occurred in build().
    Aborting...

Try deleting everything (including the PKGBUILD) and starting fresh. I'm getting 20130331 as the version found and that compiled fine. I think you just have a stale PKGBUILD, maybe.

Last edited by cfr (2013-03-31 01:24:27)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#29 2013-03-31 12:07:08

Spyhawk
Member
Registered: 2006-07-07
Posts: 485

Re: backpac: A package state snapshot and restore tool for Arch Linux

The package compiles fine, but it seems to be empty. The PKGBUILD needs to be updated to package backpac correctly.

Offline

#30 2013-03-31 16:43:48

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,132

Re: backpac: A package state snapshot and restore tool for Arch Linux

$ cat /var/lib/pacman/local/backpac-20130331-1/files 
%FILES%
usr/
usr/bin/
usr/bin/backpac
usr/share/
usr/share/backpac/
usr/share/backpac/lib/
usr/share/backpac/lib/common
usr/share/backpac/lib/local

$ file /usr/bin/backpac 
/usr/bin/backpac: Bourne-Again shell script, ASCII text executable, with very long lines

$ l /usr/bin/backpac 
-rwxr-xr-x 1 root root 60K Maw  31 00:14 /usr/bin/backpac*

Doesn't seem to be empty here...

EDIT: Which is not to say it works:

$ backpac --help
/usr/bin/backpac: line 103: XDG_CONFIG_HOME: unbound variable

Last edited by cfr (2013-03-31 16:45:40)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#31 2013-03-31 17:43:36

Spyhawk
Member
Registered: 2006-07-07
Posts: 485

Re: backpac: A package state snapshot and restore tool for Arch Linux

Doesn't seem to be empty here...

I'm using pacman/makepkg 4.1. $startdir is deprecated, the support might have been completely removed in this version.

Offline

#32 2013-03-31 19:46:09

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,132

Re: backpac: A package state snapshot and restore tool for Arch Linux

That would explain it. However, since it doesn't seem to work anyway, I'm not sure you are missing much smile.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

Board footer

Powered by FluxBB