From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Slade Subject: Re: backup questions Date: Mon, 06 Aug 2018 17:15:20 -0600 Message-ID: <8736vrf5o7.fsf@jnanam.net> References: <874lg7f8wn.fsf@jnanam.net> <87zhxzje3s.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36945) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fmoim-0001ZG-30 for help-guix@gnu.org; Mon, 06 Aug 2018 19:15:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fmoih-0002au-Lh for help-guix@gnu.org; Mon, 06 Aug 2018 19:15:27 -0400 Received: from mail-it0-x234.google.com ([2607:f8b0:4001:c0b::234]:39134) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fmoih-0002Zq-Ch for help-guix@gnu.org; Mon, 06 Aug 2018 19:15:23 -0400 Received: by mail-it0-x234.google.com with SMTP id g141-v6so20532740ita.4 for ; Mon, 06 Aug 2018 16:15:23 -0700 (PDT) In-reply-to: <87zhxzje3s.fsf@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Pierre Neidhardt Cc: "help-guix@gnu.org" On 2018-08-06T16:59:35-0600, Pierre Neidhardt 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 packa= ge > --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 pro= vide 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=3DCC --mode=3Dcompile gcc -DHAVE_CONFIG_H -I. -I../includ= e/chop -I../include -I../include -I../lib -I../lib -DGCRYPT_NO_MPI_MAC= ROS -DGCRYPT_NO_DEPRECATED -I/gnu/store/dysmb6hz7rr5rvcb05p23dazc5hz26qm-li= bgcrypt-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/libc= hop_la-chop.Tpo -c -o libchop_la-chop.lo `test -f 'chop.c' || echo './'`cho= p.c /gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/bash ..= /libtool --tag=3DCC --mode=3Dcompile gcc -DHAVE_CONFIG_H -I. -I../includ= e/chop -I../include -I../include -I../lib -I../lib -DGCRYPT_NO_MPI_MAC= ROS -DGCRYPT_NO_DEPRECATED -I/gnu/store/dysmb6hz7rr5rvcb05p23dazc5hz26qm-li= bgcrypt-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/libc= hop_la-logs.Tpo -c -o libchop_la-logs.lo `test -f 'logs.c' || echo './'`log= s.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/g= nu/store/a5rd4sqyljb9gs58z9hq4kswqmxa45nr-libgpg-error-1.28/include -Wcast-= align -Wall -Wmissing-prototypes -Wpointer-arith -fno-strict-aliasing -g -O= 2 -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/g= nu/store/a5rd4sqyljb9gs58z9hq4kswqmxa45nr-libgpg-error-1.28/include -Wcast-= align -Wall -Wmissing-prototypes -Wpointer-arith -fno-strict-aliasing -g -O= 2 -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 h= ere 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=E2=80= =A6") In ice-9/eval.scm: 191:35 3 (_ _) In srfi/srfi-1.scm: 640:9 2 (for-each # =E2=80=A6) In /gnu/store/f95ghy8mx00fc22nrvswvnpqlfdkf2nk-module-import/guix/build/gnu= -build-system.scm: 799:31 1 (_ _) In /gnu/store/f95ghy8mx00fc22nrvswvnpqlfdkf2nk-module-import/guix/build/uti= ls.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 `(#)'. 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 `(#)'. 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/gu= ix-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") (#)) 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! # # ("x86_64-linux" . #t) _) In unknown file: 4 (_ # # #) In guix/grafts.scm: 310:4 3 (graft-derivation # # /gnu/sto= re=E2=80=A6> =E2=80=A6) 188:4 2 (references-oracle # # /gnu/st= ore=E2=80=A6>) 197:20 1 (_ _ _) In guix/store.scm: 1052:15 0 (_ # _ _) scheme@(emacs-guix) [2]>=20 > --=20 > Pierre Neidhardt --=20 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 )