all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Benjamin Slade <beoram@gmail.com>
To: Pierre Neidhardt <ambrevar@gmail.com>
Cc: "help-guix@gnu.org" <help-guix@gnu.org>
Subject: Re: backup questions
Date: Mon, 06 Aug 2018 17:15:20 -0600	[thread overview]
Message-ID: <8736vrf5o7.fsf@jnanam.net> (raw)
In-Reply-To: <87zhxzje3s.fsf@gmail.com>


On 2018-08-06T16:59:35-0600, Pierre Neidhardt <ambrevar@gmail.com> wrote:

 > 1) If you don't want to keep generations you don't have to: then no need to save
 > /var/guix/profiles or ~/.config/guix.
 > I personally skip them and only keep the formatted output of `guix package
 > --list-installed` under version control.
 > Note that /etc/config.scm can be stored anywhere, it does not have to be in
 > /etc/.

Thanks!

 > 2) I don't use libchip, so I don't know.  How does it fail?  Can you provide the
 > backtrace?
 > Beside borg, other solutions include restic and duplicity.

Here is the tail-end+backtrace for `libchop`:

make[2]: Entering directory '/tmp/guix-build-libchop-0.5.2.drv-0/libchop-0.5.2/src'
/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include/chop  -I../include -I../include -I../lib     -I../lib -DGCRYPT_NO_MPI_MACROS -DGCRYPT_NO_DEPRECATED -I/gnu/store/dysmb6hz7rr5rvcb05p23dazc5hz26qm-libgcrypt-1.8.2/include -I/gnu/store/a5rd4sqyljb9gs58z9hq4kswqmxa45nr-libgpg-error-1.28/include -Wcast-align -Wall -Wmissing-prototypes -Wpointer-arith -fno-strict-aliasing   -g -O2 -MT libchop_la-chop.lo -MD -MP -MF .deps/libchop_la-chop.Tpo -c -o libchop_la-chop.lo `test -f 'chop.c' || echo './'`chop.c
/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include/chop  -I../include -I../include -I../lib     -I../lib -DGCRYPT_NO_MPI_MACROS -DGCRYPT_NO_DEPRECATED -I/gnu/store/dysmb6hz7rr5rvcb05p23dazc5hz26qm-libgcrypt-1.8.2/include -I/gnu/store/a5rd4sqyljb9gs58z9hq4kswqmxa45nr-libgpg-error-1.28/include -Wcast-align -Wall -Wmissing-prototypes -Wpointer-arith -fno-strict-aliasing   -g -O2 -MT libchop_la-logs.lo -MD -MP -MF .deps/libchop_la-logs.Tpo -c -o libchop_la-logs.lo `test -f 'logs.c' || echo './'`logs.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include/chop -I../include -I../include -I../lib -I../lib -DGCRYPT_NO_MPI_MACROS -DGCRYPT_NO_DEPRECATED -I/gnu/store/dysmb6hz7rr5rvcb05p23dazc5hz26qm-libgcrypt-1.8.2/include -I/gnu/store/a5rd4sqyljb9gs58z9hq4kswqmxa45nr-libgpg-error-1.28/include -Wcast-align -Wall -Wmissing-prototypes -Wpointer-arith -fno-strict-aliasing -g -O2 -MT libchop_la-chop.lo -MD -MP -MF .deps/libchop_la-chop.Tpo -c chop.c  -fPIC -DPIC -o .libs/libchop_la-chop.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include/chop -I../include -I../include -I../lib -I../lib -DGCRYPT_NO_MPI_MACROS -DGCRYPT_NO_DEPRECATED -I/gnu/store/dysmb6hz7rr5rvcb05p23dazc5hz26qm-libgcrypt-1.8.2/include -I/gnu/store/a5rd4sqyljb9gs58z9hq4kswqmxa45nr-libgpg-error-1.28/include -Wcast-align -Wall -Wmissing-prototypes -Wpointer-arith -fno-strict-aliasing -g -O2 -MT libchop_la-logs.lo -MD -MP -MF .deps/libchop_la-logs.Tpo -c logs.c  -fPIC -DPIC -o .libs/libchop_la-logs.o
In file included from chop.c:545:0:
class-lookup.c:115:1: error: conflicting types for 'chop_lookup_class_entry'
 chop_lookup_class_entry (register const char *str, register size_t len)
 ^
chop.c:542:1: note: previous declaration of 'chop_lookup_class_entry' was here
 chop_lookup_class_entry (const char *str, unsigned int len);
 ^
make[2]: *** [Makefile:1253: libchop_la-chop.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/libchop_la-logs.Tpo .deps/libchop_la-logs.Plo
make[2]: Leaving directory '/tmp/guix-build-libchop-0.5.2.drv-0/libchop-0.5.2/src'
make[1]: *** [Makefile:1067: all] Error 2
make[1]: Leaving directory '/tmp/guix-build-libchop-0.5.2.drv-0/libchop-0.5.2/src'
make: *** [Makefile:981: all-recursive] Error 1
Backtrace:
           4 (primitive-load "/gnu/store/hkq8dq0sz7ngb78qy62jnf3mvfp…")
In ice-9/eval.scm:
   191:35  3 (_ _)
In srfi/srfi-1.scm:
    640:9  2 (for-each #<procedure 958ca0 at /gnu/store/f95ghy8mx00…> …)
In /gnu/store/f95ghy8mx00fc22nrvswvnpqlfdkf2nk-module-import/guix/build/gnu-build-system.scm:
   799:31  1 (_ _)
In /gnu/store/f95ghy8mx00fc22nrvswvnpqlfdkf2nk-module-import/guix/build/utils.scm:
    616:6  0 (invoke _ . _)

/gnu/store/f95ghy8mx00fc22nrvswvnpqlfdkf2nk-module-import/guix/build/utils.scm:616:6: In procedure invoke:
Throw to key `srfi-34' with args `(#<condition &invoke-error [program: "make" arguments: ("-j" "2") exit-status: 2 term-signal: #f stop-signal: #f] 9c3f80>)'.
builder for `/gnu/store/p97bahhn47pcl5gx68rwyzibivkrgmc3-libchop-0.5.2.drv' failed with exit code 1
guix/store.scm:1052:15: Throw to key `srfi-34' with args `(#<condition &nix-protocol-error [message: "build of `/gnu/store/p97bahhn47pcl5gx68rwyzibivkrgmc3-libchop-0.5.2.drv' failed" status: 100] 58248d0>)'.

Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
scheme@(emacs-guix) [2]> ,bt
In emacs-guix/actions.scm:
   127:10 10 (process-package-actions "/var/guix/profiles/per-user/slade/guix-profile" #:install _ #:upgrade _ #:remove _ #:use-substitutes? _ # _)
In guix/ui.scm:
    945:4  9 (show-manifest-transaction _ _ _ #:dry-run? _)
In srfi/srfi-1.scm:
   628:19  8 (mapn ("libchop") (("0.5.2") ("out") (#<package libchop@0.5.2 gnu/packages/backup.scm:445 2f2d9c0>)) 1)
In guix/ui.scm:
   950:23  7 (_ "libchop" "0.5.2" "out" _)
In guix/packages.scm:
  1246:13  6 (package-output _ _ _ _)
   881:14  5 (cache! #<weak-table 609/883> #<package libchop@0.5.2 gnu/packages/backup.scm:445 2f2d9c0> ("x86_64-linux" . #t) _)
In unknown file:
           4 (_ #<procedure thunk ()> #<procedure list _> #<undefined>)
In guix/grafts.scm:
    310:4  3 (graft-derivation #<build-daemon 256.97 6073960> #<derivation /gnu/store/p97bahhn47pcl5gx68rwyzibivkrgmc3-libchop-0.5.2.drv => /gnu/store…> …)
    188:4  2 (references-oracle #<build-daemon 256.97 6073960> #<derivation /gnu/store/p97bahhn47pcl5gx68rwyzibivkrgmc3-libchop-0.5.2.drv => /gnu/store…>)
   197:20  1 (_ _ _)
In guix/store.scm:
  1052:15  0 (_ #<build-daemon 256.97 6073960> _ _)
scheme@(emacs-guix) [2]> 



 > -- 
 > Pierre Neidhardt


-- 
Benjamin Slade - https://babbagefiles.xyz
  `(pgp_fp: ,(21BA 2AE1 28F6 DF36 110A 0E9C A320 BBE8 2B52 EE19))
    '(sent by mu4e on Emacs running under GNU/Linux . https://gnu.org )
       `(Choose Linux ,(Choose Freedom) . https://linux.com )

  reply	other threads:[~2018-08-06 23:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-06 22:05 backup questions Benjamin Slade
2018-08-06 22:59 ` Pierre Neidhardt
2018-08-06 23:15   ` Benjamin Slade [this message]
2018-08-06 23:57 ` Björn Höfling
2018-08-19 22:53   ` Björn Höfling
2018-08-21  4:09     ` Benjamin Slade

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8736vrf5o7.fsf@jnanam.net \
    --to=beoram@gmail.com \
    --cc=ambrevar@gmail.com \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.