From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 09 22:40:35 2019 Received: (at submit) by debbugs.gnu.org; 10 Mar 2019 03:40:35 +0000 Received: from localhost ([127.0.0.1]:37579 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h2pKE-0004As-IQ for submit@debbugs.gnu.org; Sat, 09 Mar 2019 22:40:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54467) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h2pKC-0004Ac-W0 for submit@debbugs.gnu.org; Sat, 09 Mar 2019 22:40:33 -0500 Received: from lists.gnu.org ([209.51.188.17]:58952) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h2pK7-0005Pq-Qn for submit@debbugs.gnu.org; Sat, 09 Mar 2019 22:40:27 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40616) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h2pK6-0003F4-En for bug-guix@gnu.org; Sat, 09 Mar 2019 22:40:27 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h2pK5-0005Oa-88 for bug-guix@gnu.org; Sat, 09 Mar 2019 22:40:26 -0500 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]:52936) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h2pK4-0005Ny-Qw for bug-guix@gnu.org; Sat, 09 Mar 2019 22:40:25 -0500 Received: by mail-wm1-x334.google.com with SMTP id f65so1192326wma.2 for ; Sat, 09 Mar 2019 19:40:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=37qG6h0q+eJ16lHi9Ezj1Mspqw86YyNx8FISWGr/WmA=; b=QPCL0CCoQ+K+ZB+pPoqgGO/RN+gh3+cAM/+a8g08cO0x7dUaCctjmyTiBYXc4YmsW1 Ct9ded1bX1P0HnuMJmjnhkD/PIXfjCac/XCTjaXWWAPniUOKGeIghPx/vbmBRSYDs255 /h92v+m6FmKUhYImbmrCyjBq9byhU0ukwyqXPu7BAXaSuSJq0Jsb5XvMYu5rR2dVj+nA mk4H7hPXgHrHuWTJVHfnVw5s4VYFU1h7m9L+DgObi0jtc3PCkd8HxabkWKfW+VXlnQio YIq2kK1CHML+DW48YgL7gbgbTzCfzMtmr/re4F7ttE8H0uqY88n1dbrmhzZxCIS8al86 JWUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=37qG6h0q+eJ16lHi9Ezj1Mspqw86YyNx8FISWGr/WmA=; b=Nu9vzQdJ04zTqubHsja4iXdsH6tvZepjfddUXAdhctd6igkRBXHb6+EGphmBkRodbK 3l6ZxEYRrxzKUSwvejDewehcP7xW6royBNu8MeWcbs5clZ6vPj3TKIwdG1QiG1WmfebG VHbLuFgVilqn4k6zEIU/CzEnPE49zxxe81iabC2sLHy7YBukkfzlPqUyb2ZSzJ3B72c4 0YLsyMlYUMHbI/87UWCUUfXgi6osrefehp1Jg80VseChdoUMWomAVh6/H3Yg6Xkoc8+m Pa0XgangsHlhPA49ScX6kaTbRTZ6Qqr8l6SzFzA2z9fWpAex5Z1tOJ375qVgYiA4Ye90 YPlw== X-Gm-Message-State: APjAAAUfaG0OCqcvdP3XftTSaavRRfxD3r0mcLEaLqU+Wk4oHAlSsZHf COmWiZpf9ej9U4u+FfRMdZiwpOWhsgkjP9TiaS6CPIf8 X-Google-Smtp-Source: APXvYqzsLRnO8AxEHJRsgYazWMamAhadMbe53S3uD2Gaa5wsN25A3UrjIvT1kJeNMVooKr8Yn5hCvBflWUDTZZATf/8= X-Received: by 2002:a1c:b6d5:: with SMTP id g204mr12853882wmf.107.1552189223081; Sat, 09 Mar 2019 19:40:23 -0800 (PST) MIME-Version: 1.0 From: Martin Flack Date: Sat, 9 Mar 2019 19:39:57 -0800 Message-ID: Subject: reference to inferior causing recursive guix repl call overloading machine To: bug-guix@gnu.org Content-Type: multipart/alternative; boundary="000000000000441e780583b53774" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::334 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --000000000000441e780583b53774 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I'm attempting to work around Bug 34426 locally, temporarily, until it is fixed. From Bj=C3=B6rn's comment, it seemed that the inferiors feature coul= d get xmlsec functional again. I attempted this to include this file in GUIX_PACKAGE_PATH: ``` ;;; per https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D34426 ;;; refer to older gnutls in xmlsec build and gnucash should pick it up (define-module (my-gnucash) #:use-module (guix inferior) #:use-module (guix channels) #:use-module (srfi srfi-1)) (define channels (list (channel (name 'guix) (url "https://git.savannah.gnu.org/git/guix.git") (commit "cc2e0566be1c2fa632fc3cc4e6cf705c665aa0d2")))) (define inferior (inferior-for-channels channels)) (define-public gnutls-works (first (lookup-inferior-packages inferior "gnutls"))) (define-public xmlsec (package (name "xmlsec") (version "1.2.27") (source (origin (method url-fetch) (uri (string-append "https://www.aleksey.com/xmlsec/download/= " "xmlsec1-" version ".tar.gz")) (sha256 (base32 "1dlf263mvxj9n4lnhhjawc2hv45agrwjf8kxk7k8h9g9v2x5dmwp")))) (build-system gnu-build-system) (propagated-inputs ; according to xmlsec1.pc `(("libxml2" ,libxml2) ("libxslt" ,libxslt))) (inputs `(("gnutls" ,gnutls-works) ("libgcrypt" ,libgcrypt) ("libltdl" ,libltdl))) (native-inputs `(("pkg-config" ,pkg-config))) (home-page "https://www.aleksey.com/xmlsec/") (synopsis "XML Security Library") (description "The XML Security Library is a C library based on Libxml2. It supports XML security standards such as XML Signature, XML Encryption, Canonical XML (part of Libxml2) and Exclusive Canonical XML (part of Libxml2).") (license (license:x11-style "file://COPYING" "See 'COPYING' in the distribution.")))) ``` I then executed a guix pull but needed to break it, due to massive RAM usage. ``` Updating channel 'guix' from Git repository at ' https://git.savannah.gnu.org/git/guix.git'... Building from this channel: guix https://git.savannah.gnu.org/git/guix.git 2b613a1 ;;; note: source file /home/mflack/src/guix/fixes/my-gnucash.scm ;;; newer than compiled /home/mflack/.cache/guile/ccache/2.2-LE-8-3.A/home/mflack/src/guix/fixes/my= -gnucash.scm.go Updating channel 'guix' from Git repository at ' https://git.savannah.gnu.org/git/guix.git'... ^C ``` A ps command showed things were going recursively out of hand: ``` PID TTY STAT TIME COMMAND ... 13012 pts/1 Ss 0:00 \_ -zsh 13173 pts/1 Sl+ 0:01 | \_ /gnu/store/r658y3cgpnf99nxjxqgjiaizx20ac4k0-guile-2.2.4/bin/guile --no-auto-compile /gnu/store/b4khxdizs6d865mrplbjvr22dz86mra3-profile/bin/guix pull 13187 pts/1 Sl+ 0:00 | \_ /gnu/store/r658y3cgpnf99nxjxqgjiaizx20ac4k0-guile-2.2.4/bin/guile --no-auto-compile /home/mflack/.cache/guix/inferiors/spq524ihiy7puxwygqgkxc5x5cxigodu4tl7zbwd= znu6osps5g7a/bin/guix repl -t machine 13204 pts/1 Sl+ 0:00 | \_ /gnu/store/r658y3cgpnf99nxjxqgjiaizx20ac4k0-guile-2.2.4/bin/guile --no-auto-compile /home/mflack/.cache/guix/inferiors/spq524ihiy7puxwygqgkxc5x5cxigodu4tl7zbwd= znu6osps5g7a/bin/guix repl -t machine 13214 pts/1 Sl+ 0:00 | \_ /gnu/store/r658y3cgpnf99nxjxqgjiaizx20ac4k0-guile-2.2.4/bin/guile --no-auto-compile /home/mflack/.cache/guix/inferiors/spq524ihiy7puxwygqgkxc5x5cxigodu4tl7zbwd= znu6osps5g7a/bin/guix repl -t machine [... 593 further nesting lines ending in repl -t machine ...] ``` ``` $ guix --version guix (GNU Guix) 2b613a1a5d4d41b0b5d1f6ea7254585be0c209fa Copyright (C) 2019 the Guix authors License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. ``` Thanks! --=20 Martin --000000000000441e780583b53774 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I'm attempting to work around Bug 34426 locally, te= mporarily, until it is fixed. From=C2=A0Bj=C3=B6rn's comment, it seemed= that the inferiors feature could get xmlsec functional again.

I attempted this to include this file = in=C2=A0GUIX_PACKAGE_PATH:

```
;;; refer to older gnutls in xmlsec build and = gnucash should pick it up

(define-module (my-gnucash)
=C2=A0= #:use-module (guix inferior)
=C2=A0 #:use-module (gu= ix channels)
=C2=A0 #:use-module (srfi srfi-1))
=

(define channels
=C2=A0 (list (channel
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0(name 'guix)
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0(url "https://git.savannah.gnu.org/git/guix.git")
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(commit "cc2e0566be1c2fa632fc3cc4= e6cf705c665aa0d2"))))

(define inferior
=C2=A0 (inferior-for-channels chann= els))

(define-public gnutl= s-works
=C2=A0 (first (lookup-inferior-packages infer= ior "gnutls")))

= (define-public xmlsec
=C2=A0 (package
=C2=A0 =C2=A0 (name "xmlsec")
=C2= =A0 =C2=A0 (version "1.2.27")
=C2=A0 =C2=A0= (source (origin
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 (method url-fetch)
=C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 (uri (string-append "https://www.aleksey.com/xmlsec/download/"
<= div dir=3D"ltr">=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 &qu= ot;1dlf263mvxj9n4lnhhjawc2hv45agrwjf8kxk7k8h9g9v2x5dmwp"))))
=C2=A0 =C2=A0 (build-system gnu-build-system)
=C2=A0 =C2=A0 (synopsis &q= uot;XML Security Library")
=C2=A0 =C2=A0 (descri= ption
=C2=A0 =C2=A0 =C2=A0"The XML Security Libr= ary is a C library based on Libxml2.=C2=A0 It
support= s XML security standards such as XML Signature, XML Encryption,
Canonical XML (part of Libxml2) and Exclusive Canonical XML (par= t of
Libxml2).")
=C2=A0 = =C2=A0 (license (license:x11-style "file://COPYING"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "See 'COPYING' i= n the distribution."))))
```

I then executed a guix pull but needed to break it,= due to massive RAM usage.

```
Upda= ting channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/g= uix.git'...
Building from this channel:
=C2=A0 = guix=C2=A0 =C2=A0 =C2=A0 https://git.savannah.gnu.org/git/guix.git 2b613a1
;;; note: source file /home/mflack/src/guix= /fixes/my-gnucash.scm
;;;=C2=A0 =C2=A0 =C2=A0 =C2=A0newer than co= mpiled /home/mflack/.cache/guile/ccache/2.2-LE-8-3.A/home/mflack/src/guix/f= ixes/my-gnucash.scm.go
Updating channel 'guix' from Git r= epository at 'https://git.savannah.gnu.org/git/guix.git'...
^C
=
```

A ps command showed things were goi= ng recursively out of hand:

```
=C2= =A0 PID TTY=C2=A0 =C2=A0 =C2=A0 STAT=C2=A0 =C2=A0TIME COMMAND
...=
13012 pts/1=C2=A0 =C2=A0 Ss=C2=A0 =C2=A0 =C2=A00:00=C2=A0 =C2=A0= =C2=A0 \_ -zsh
13173 pts/1=C2=A0 =C2=A0 Sl+=C2=A0 =C2=A0 0:01=C2= =A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0\_ /gnu/store/r658y3cgpnf99nxjxqgjiaizx20ac= 4k0-guile-2.2.4/bin/guile --no-auto-compile /gnu/store/b4khxdizs6d865mrplbj= vr22dz86mra3-profile/bin/guix pull
13187 pts/1=C2=A0 =C2=A0 Sl+= =C2=A0 =C2=A0 0:00=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0\_ /gnu/= store/r658y3cgpnf99nxjxqgjiaizx20ac4k0-guile-2.2.4/bin/guile --no-auto-comp= ile /home/mflack/.cache/guix/inferiors/spq524ihiy7puxwygqgkxc5x5cxigodu4tl7= zbwdznu6osps5g7a/bin/guix repl -t machine
13204 pts/1=C2=A0 =C2= =A0 Sl+=C2=A0 =C2=A0 0:00=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0\_ /gnu/store/r658y3cgpnf99nxjxqgjiaizx20ac4k0-guile-2.2.4/bin= /guile --no-auto-compile /home/mflack/.cache/guix/inferiors/spq524ihiy7puxw= ygqgkxc5x5cxigodu4tl7zbwdznu6osps5g7a/bin/guix repl -t machine
13= 214 pts/1=C2=A0 =C2=A0 Sl+=C2=A0 =C2=A0 0:00=C2=A0 =C2=A0 =C2=A0 |=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\_ /gnu/store/r658y3cgpnf99= nxjxqgjiaizx20ac4k0-guile-2.2.4/bin/guile --no-auto-compile /home/mflack/.c= ache/guix/inferiors/spq524ihiy7puxwygqgkxc5x5cxigodu4tl7zbwdznu6osps5g7a/bi= n/guix repl -t machine
[... 593 further nesting lines endin= g in repl -t machine ...]
```

```
<= div>
$ guix --version
guix (GNU Guix) 2b613a1a5d4d41b0b5d1f6e= a7254585be0c209fa
Copyright (C) 2019 the Guix authors
L= icense GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is = free software: you are free to change and redistribute it.
There = is NO WARRANTY, to the extent permitted by law.
```

Thanks!

--

Martin
--000000000000441e780583b53774--