all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#63382: Inferiors broken
@ 2023-05-08 18:46 Sergio Pastor Pérez
  0 siblings, 0 replies; only message in thread
From: Sergio Pastor Pérez @ 2023-05-08 18:46 UTC (permalink / raw)
  To: 63382

[-- Attachment #1: Type: text/plain, Size: 31542 bytes --]

Hello.

After experimenting with the guix Inferiors for channels as explained on
the `info guix inferiors`. The examples are not working. Seems like
certain commits do work.

Non-working example '~/Documents/inferiors/broken.scm':
--8<---------------cut here---------------start------------->8---
(use-modules (guix inferior) (guix channels)
(srfi srfi-1)) ;for 'first'

(define channels
;; This is the old revision from which we want to
;; extract guile-json.
(list (channel
(name 'guix)
(url "https://git.savannah.gnu.org/git/guix.git")
(commit
"65956ad3526ba09e1f7a40722c96c6ef7c0936fe"))))

(define inferior
;; An inferior representing the above revision.
(inferior-for-channels channels))

;; Now create a manifest with the current "guile" package
;; and the old "guile-json" package.
(packages->manifest
(list (first (lookup-inferior-packages inferior "guile-json"))
(specification->package "guile")))
--8<---------------cut here---------------end--------------->8---

Output:
--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix shell -m ~/Documents/inferiors/broken.scm --pure
Updating channel 'guix' from Git repository at 
'https://git.savannah.gnu.org/git/guix.git'...
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 
100.0%
The following derivations will be built:
/gnu/store/6hcvid7m68c09zdl77qh25jxs01x21lg-compute-guix-derivation.drv
/gnu/store/d2znwl94faikc8ds8rvm74b6klkk6dsh-module-import.drv
/gnu/store/6pmbxr3y7k41vb10nzmq90p613lgykx9-config.scm.drv
/gnu/store/wvmcyqrk15rnjh5jl0qvshg4ph8j8lnd-module-import.drv
/gnu/store/yb196saixfsrhghzlrzfhpgxkadj610x-module-import-compiled.drv
/gnu/store/zm99ldb48pxzvabqsmzh1kqzd48m4wab-module-import-compiled.drv
26.1 MB will be downloaded:
/gnu/store/ka0v3fk21lqrnwj4fzbf8z154mpbnjvx-guile-2.2.7
/gnu/store/w8b0l8hk6g0fahj4fvmc4qqm3cvaxnmv-libffi-3.4.4
/gnu/store/1w1r6r56z9lhg8ghcb7lxss6mkn7d5l1-libgc-8.2.2
/gnu/store/9vw5slrffp27rzy2i2plnw7xfqjyk7m4-bash-minimal-5.1.16
/gnu/store/0jk7sl5xqwwdkzjpp9sxgz9z0d48a3vy-libunistring-1.0
/gnu/store/q5d961dnm2bq79qxic85a842k4gdlzqd-libltdl-2.4.7
/gnu/store/ib2n2vzqpchc3bhh9i712w5sq9zapn8d-gmp-6.2.1
/gnu/store/jz5dwdxq4di29cd0rjjzkw356dhkzjil-pkg-config-0.29.2
/gnu/store/ss7qxlj3b3x2i6kdc5xl5vpb4gsh4pyz-guile-2.2.4
/gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16
/gnu/store/m9wi9hcrf7f9dm4ri32vw1jrbh1csywi-libgpg-error-1.45
/gnu/store/zzyywykw7kriln18rxqd82f0k5kidla7-bash-static-5.1.16
/gnu/store/gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35
/gnu/store/l0yryi5jsa1grnvw01c9nkz9c81cv224-glibc-2.35-static
/gnu/store/8y0pwifz8a3d7zbdfzsawa1amf4afx1s-libgcrypt-1.10.1
fetching path 
`/gnu/store/zzyywykw7kriln18rxqd82f0k5kidla7-bash-static-5.1.16'...
Downloading 
https://ci.guix.gnu.org/nar/lzip/zzyywykw7kriln18rxqd82f0k5kidla7-bash-static-5.1.16...
bash-static-5.1.16 700KiB 2.7MiB/s 00:00 ▕██████████████████▏ 100.0%

fetching path `/gnu/store/gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35'...
Downloading 
https://ci.guix.gnu.org/nar/lzip/gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35...
glibc-2.35 8.5MiB 8.0MiB/s 00:01 ▕██████████████████▏ 100.0%

fetching path 
`/gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16'...
Downloading 
https://ci.guix.gnu.org/nar/zstd/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16...
bash-minimal-5.1.16 588KiB 5.3MiB/s 00:00 ▕██████████████████▏ 100.0%

fetching path 
`/gnu/store/930nwsiysdvy2x5zv1sf6v7ym75z8ayk-gcc-11.3.0-lib'...
Downloading 
https://ci.guix.gnu.org/nar/lzip/930nwsiysdvy2x5zv1sf6v7ym75z8ayk-gcc-11.3.0-lib...
gcc-11.3.0-lib 4.8MiB 6.0MiB/s 00:01 ▕██████████████████▏ 100.0%

fetching path 
`/gnu/store/9vw5slrffp27rzy2i2plnw7xfqjyk7m4-bash-minimal-5.1.16'...
Downloading 
https://ci.guix.gnu.org/nar/zstd/9vw5slrffp27rzy2i2plnw7xfqjyk7m4-bash-minimal-5.1.16...
bash-minimal-5.1.16 589KiB 2.6MiB/s 00:00 ▕██████████████████▏ 100.0%

fetching path `/gnu/store/ib2n2vzqpchc3bhh9i712w5sq9zapn8d-gmp-6.2.1'...
Downloading 
https://ci.guix.gnu.org/nar/lzip/ib2n2vzqpchc3bhh9i712w5sq9zapn8d-gmp-6.2.1...
gmp-6.2.1 572KiB 4.0MiB/s 00:00 ▕██████████████████▏ 100.0%

fetching path `/gnu/store/w8b0l8hk6g0fahj4fvmc4qqm3cvaxnmv-libffi-3.4.4'...
Downloading 
https://ci.guix.gnu.org/nar/lzip/w8b0l8hk6g0fahj4fvmc4qqm3cvaxnmv-libffi-3.4.4...
libffi-3.4.4 56KiB 4.9MiB/s 00:00 ▕██████████████████▏ 100.0%

fetching path `/gnu/store/1w1r6r56z9lhg8ghcb7lxss6mkn7d5l1-libgc-8.2.2'...
Downloading 
https://ci.guix.gnu.org/nar/lzip/1w1r6r56z9lhg8ghcb7lxss6mkn7d5l1-libgc-8.2.2...
libgc-8.2.2 218KiB 4.5MiB/s 00:00 ▕██████████████████▏ 100.0%

fetching path 
`/gnu/store/m9wi9hcrf7f9dm4ri32vw1jrbh1csywi-libgpg-error-1.45'...
Downloading 
https://ci.guix.gnu.org/nar/zstd/m9wi9hcrf7f9dm4ri32vw1jrbh1csywi-libgpg-error-1.45...
libgpg-error-1.45 250KiB 7.5MiB/s 00:00 ▕██████████████████▏ 100.0%

fetching path 
`/gnu/store/q5d961dnm2bq79qxic85a842k4gdlzqd-libltdl-2.4.7'...
Downloading 
https://ci.guix.gnu.org/nar/zstd/q5d961dnm2bq79qxic85a842k4gdlzqd-libltdl-2.4.7...
libltdl-2.4.7 37KiB 4.1MiB/s 00:00 ▕██████████████████▏ 100.0%

fetching path 
`/gnu/store/8y0pwifz8a3d7zbdfzsawa1amf4afx1s-libgcrypt-1.10.1'...
Downloading 
https://ci.guix.gnu.org/nar/zstd/8y0pwifz8a3d7zbdfzsawa1amf4afx1s-libgcrypt-1.10.1...
libgcrypt-1.10.1 589KiB 5.1MiB/s 00:00 ▕██████████████████▏ 100.0%

fetching path 
`/gnu/store/0jk7sl5xqwwdkzjpp9sxgz9z0d48a3vy-libunistring-1.0'...
Downloading 
https://ci.guix.gnu.org/nar/lzip/0jk7sl5xqwwdkzjpp9sxgz9z0d48a3vy-libunistring-1.0...
libunistring-1.0 529KiB 5.3MiB/s 00:00 ▕██████████████████▏ 100.0%

fetching path 
`/gnu/store/jz5dwdxq4di29cd0rjjzkw356dhkzjil-pkg-config-0.29.2'...
Downloading 
https://ci.guix.gnu.org/nar/zstd/jz5dwdxq4di29cd0rjjzkw356dhkzjil-pkg-config-0.29.2...
pkg-config-0.29.2 209KiB 12.0MiB/s 00:00 ▕██████████████████▏ 100.0%

fetching path `/gnu/store/ss7qxlj3b3x2i6kdc5xl5vpb4gsh4pyz-guile-2.2.4'...
Downloading 
https://ci.guix.gnu.org/nar/zstd/ss7qxlj3b3x2i6kdc5xl5vpb4gsh4pyz-guile-2.2.4...
guile-2.2.4 6.3MiB 5.0MiB/s 00:01 ▕██████████████████▏ 100.0%

fetching path `/gnu/store/ka0v3fk21lqrnwj4fzbf8z154mpbnjvx-guile-2.2.7'...
Downloading 
https://ci.guix.gnu.org/nar/zstd/ka0v3fk21lqrnwj4fzbf8z154mpbnjvx-guile-2.2.7...
guile-2.2.7 6.3MiB 5.3MiB/s 00:01 ▕██████████████████▏ 100.0%

building path(s) `/gnu/store/2jqcjwlv3i991m5l9cwgq3djpfk87vv2-config.scm'
building path(s) 
`/gnu/store/pgwskyc4sm93vlj89sdn179mkrkvnbw0-module-import'
building path(s) 
`/gnu/store/0zphq94h5skb33bzfsyp033nvajnibks-module-import'
building path(s) 
`/gnu/store/z335vl03zwxqiw71azy8lrk24s12hxqj-module-import-compiled'
[ 1/78] Loading './gnu/packages/bootstrap.scm'...
[ 2/78] Loading './gnu/packages.scm'...
[ 3/78] Loading './guix/base16.scm'...
[ 4/78] Loading './guix/base32.scm'...
[ 5/78] Loading './guix/base64.scm'...
[ 6/78] Loading './guix/build/compile.scm'...
[ 7/78] Loading './guix/build/download.scm'...
[ 8/78] Loading './guix/build/syscalls.scm'...
[ 9/78] Loading './guix/build/utils.scm'...
[10/78] Loading './guix/build-system/gnu.scm'...
[11/78] Loading './guix/build-system/trivial.scm'...
[12/78] Loading './guix/build-system.scm'...
[13/78] Loading './guix/combinators.scm'...
[14/78] Loading './guix/config.scm'...
[15/78] Loading './guix/derivations.scm'...
[16/78] Loading './guix/discovery.scm'...
[17/78] Loading './guix/download.scm'...
[18/78] Loading './guix/ftp-client.scm'...
[19/78] Loading './guix/gcrypt.scm'...
[20/78] Loading './guix/gexp.scm'...
[21/78] Loading './guix/grafts.scm'...
[22/78] Loading './guix/hash.scm'...
[23/78] Loading './guix/i18n.scm'...
[24/78] Loading './guix/licenses.scm'...
[25/78] Loading './guix/memoization.scm'...
[26/78] Loading './guix/modules.scm'...
[27/78] Loading './guix/monads.scm'...
[28/78] Loading './guix/packages.scm'...
[29/78] Loading './guix/profiles.scm'...
[30/78] Loading './guix/profiling.scm'...
[31/78] Loading './guix/progress.scm'...
[32/78] Loading './guix/records.scm'...
[33/78] Loading './guix/search-paths.scm'...
[34/78] Loading './guix/self.scm'...
[35/78] Loading './guix/serialization.scm'...
[36/78] Loading './guix/sets.scm'...
[37/78] Loading './guix/store.scm'...
[38/78] Loading './guix/ui.scm'...
[39/78] Loading './guix/utils.scm'...
[40/78] Compiling './gnu/packages/bootstrap.scm'...
[41/78] Compiling './gnu/packages.scm'...
[42/78] Compiling './guix/base16.scm'...
[43/78] Compiling './guix/base32.scm'...
[44/78] Compiling './guix/base64.scm'...
[45/78] Compiling './guix/build/compile.scm'...
[46/78] Compiling './guix/build/download.scm'...
;;; Failed to autoload make-session in (gnutls):
;;; missing interface for module (gnutls)
;;; Failed to autoload connection-end/client in (gnutls):
;;; missing interface for module (gnutls)
;;; Failed to autoload make-session in (gnutls):
;;; missing interface for module (gnutls)
;;; Failed to autoload make-session in (gnutls):
;;; missing interface for module (gnutls)
;;; Failed to autoload connection-end/client in (gnutls):
;;; missing interface for module (gnutls)
;;; Failed to autoload connection-end/client in (gnutls):
;;; missing interface for module (gnutls)
;;; ./gnu/packages.scm:92:33: warning: non-literal format string
;;; ./gnu/packages.scm:108:16: warning: non-literal format string
;;; Failed to autoload make-session in (gnutls):
;;; missing interface for module (gnutls)
;;; Failed to autoload make-session in (gnutls):
;;; missing interface for module (gnutls)
;;; Failed to autoload connection-end/client in (gnutls):
;;; missing interface for module (gnutls)
;;; Failed to autoload connection-end/client in (gnutls):
;;; missing interface for module (gnutls)
;;; Failed to autoload make-session in (gnutls):
;;; missing interface for module (gnutls)
;;; Failed to autoload make-session in (gnutls):
;;; missing interface for module (gnutls)
;;; Failed to autoload make-session in (gnutls):
;;; missing interface for module (gnutls)
;;; Failed to autoload make-session in (gnutls):
;;; missing interface for module (gnutls)
;;; Failed to autoload connection-end/client in (gnutls):
;;; missing interface for module (gnutls)
;;; Failed to autoload connection-end/client in (gnutls):
;;; missing interface for module (gnutls)
;;; ./guix/build/download.scm:176:4: warning: possibly unbound variable 
`set-certificate-credentials-x509-trust-data!'
;;; ./guix/build/download.scm:182:15: warning: possibly unbound variable 
`make-certificate-credentials'
;;; ./guix/build/download.scm:191:20: warning: possibly unbound variable 
`x509-certificate-format/pem'
;;; ./guix/build/download.scm:199:2: warning: possibly unbound variable 
`session-peer-certificate-chain'
;;; ./guix/build/download.scm:201:5: warning: possibly unbound variable 
`import-x509-certificate'
;;; ./guix/build/download.scm:201:5: warning: possibly unbound variable 
`x509-certificate-format/der'
;;; ./guix/build/download.scm:210:10: warning: possibly unbound variable 
`x509-certificate-matches-hostname?'
;;; ./guix/build/download.scm:215:2: warning: possibly unbound variable 
`peer-certificate-status'
;;; ./guix/build/download.scm:234:13: warning: possibly unbound variable 
`certificate-status->string'
;;; ./guix/build/download.scm:229:20: warning: possibly unbound variable 
`x509-certificate-dn'
;;; ./guix/build/download.scm:246:18: warning: possibly unbound variable 
`make-session'
;;; ./guix/build/download.scm:246:18: warning: possibly unbound variable 
`connection-end/client'
;;; ./guix/build/download.scm:255:8: warning: possibly unbound variable 
`set-session-server-name!'
;;; ./guix/build/download.scm:255:8: warning: possibly unbound variable 
`server-name-type/dns'
;;; ./guix/build/download.scm:259:4: warning: possibly unbound variable 
`set-session-transport-fd!'
;;; ./guix/build/download.scm:260:4: warning: possibly unbound variable 
`set-session-default-priority!'
;;; ./guix/build/download.scm:266:4: warning: possibly unbound variable 
`set-session-priorities!'
;;; ./guix/build/download.scm:268:4: warning: possibly unbound variable 
`set-session-credentials!'
;;; ./guix/build/download.scm:272:34: warning: possibly unbound variable 
`make-certificate-credentials'
;;; ./guix/build/download.scm:280:8: warning: possibly unbound variable 
`handshake'
;;; ./guix/build/download.scm:282:15: warning: possibly unbound variable 
`error/warning-alert-received'
;;; ./guix/build/download.scm:287:23: warning: possibly unbound variable 
`alert-description->string'
;;; ./guix/build/download.scm:287:50: warning: possibly unbound variable 
`alert-get'
;;; ./guix/build/download.scm:288:15: warning: possibly unbound variable 
`handshake'
;;; ./guix/build/download.scm:303:18[47/78] Compiling 
'./guix/build/syscalls.scm'...
[48/78] Compiling './guix/build/utils.scm'...
[49/78] Compiling './guix/build-system/gnu.scm'...
[50/78] Compiling './guix/build-system/trivial.scm'...
[51/78] Compiling './guix/build-system.scm'...
[52/78] Compiling './guix/combinators.scm'...
[53/78] Compiling './guix/config.scm'...
[54/78] Compiling './guix/derivations.scm'...
[55/78] Compiling './guix/discovery.scm'...
[56/78] Compiling './guix/download.scm'...
[57/78] Compiling './guix/ftp-client.scm'...
[58/78] Compiling './guix/gcrypt.scm'...
[59/78] Compiling './guix/gexp.scm'...
[60/78] Compiling './guix/grafts.scm'...
[61/78] Compiling './guix/hash.scm'...
[62/78] Compiling './guix/i18n.scm'...
[63/78] Compiling './guix/licenses.scm'...
[64/78] Compiling './guix/memoization.scm'...
[65/78] Compiling './guix/modules.scm'...
[66/78] Compiling './guix/monads.scm'...
[67/78] Compiling './guix/packages.scm'...
[68/78] Compiling './guix/profiles.scm'...
[69/78] Compiling './guix/profiling.scm'...
[70/78] Compiling './guix/progress.scm'...
[71/78] Compiling './guix/records.scm'...
[72/78] Compiling './guix/search-paths.scm'...
[73/78] Compiling './guix/self.scm'...
[74/78] Compiling './guix/serialization.scm'...
[75/78] Compiling './guix/sets.scm'...
[76/78] Compiling './guix/store.scm'...
[77/78] Compiling './guix/ui.scm'...
[78/78] Compiling './guix/utils.scm'...
: warning: possibly unbound variable `session-record-port'
;;; Failed to autoload make-session in (gnutls):
;;; missing interface for module (gnutls)
;;; Failed to autoload make-session in (gnutls):
;;; missing interface for module (gnutls)
;;; Failed to autoload make-session in (gnutls):
;;; missing interface for module (gnutls)
;;; Failed to autoload make-session in (gnutls):
;;; missing interface for module (gnutls)
;;; Failed to autoload connection-end/client in (gnutls):
;;; missing interface for module (gnutls)
;;; Failed to autoload connection-end/client in (gnutls):
;;; missing interface for module (gnutls)
;;; ./guix/discovery.scm:89:22: warning: non-literal format string
;;; ./guix/store.scm:1317:14: warning: possibly unbound variable 
`%guix-register-program'
;;; ./guix/ui.scm:169:5: warning: non-literal format string
;;; ./guix/ui.scm:314:2: warning: non-literal format string
;;; ./guix/ui.scm:332:22: warning: non-literal format string
;;; ./guix/ui.scm:360:13: warning: non-literal format string
;;; ./guix/ui.scm:353:7: warning: non-literal format string
;;; ./guix/ui.scm:348:11: warning: non-literal format string
;;; ./guix/ui.scm:384:7: warning: non-literal format string
;;; ./guix/ui.scm:468:2: warning: non-literal format string
;;; ./guix/ui.scm:470:2: warning: non-literal format string
;;; ./guix/ui.scm:578:22: warning: non-literal format string
;;; ./guix/ui.scm:581:22: warning: non-literal format string
;;; ./guix/ui.scm:691:13: warning: non-literal format string
;;; ./guix/ui.scm:866:14: warning: non-literal format string
;;; ./guix/ui.scm:886:14: warning: non-literal format string
;;; ./guix/ui.scm:1390:18: warning: non-literal format string
;;; ./guix/ui.scm:1400:10: warning: non-literal format string
;;; ./guix/ui.scm:1443:2: warning: non-literal format string
;;; ./guix/ui.scm:1459:2: warning: non-literal format string
;;; ./guix/ui.scm:1489:2: warning: non-literal format string
;;; ./guix/ui.scm:1518:2: warning: non-literal format string
;;; ./guix/ui.scm:1521:2: warning: non-literal format string
;;; ./guix/ui.scm:1540:8: warning: non-literal format string
;;; ./guix/ui.scm:1578:5: warning: non-literal format string
;;; ./guix/ui.scm:1570:5: warning: non-literal format string
building path(s) 
`/gnu/store/i50bz2aw7609cn7rqjh69464bv9iv0wc-module-import-compiled'
[ 1/78] Loading './gnu/packages/bootstrap.scm'...
[ 2/78] Loading './gnu/packages.scm'...
[ 3/78] Loading './guix/base16.scm'...
[ 4/78] Loading './guix/base32.scm'...
[ 5/78] Loading './guix/base64.scm'...
[ 6/78] Loading './guix/build/compile.scm'...
[ 7/78] Loading './guix/build/download.scm'...
[ 8/78] Loading './guix/build/syscalls.scm'...
[ 9/78] Loading './guix/build/utils.scm'...
[10/78] Loading './guix/build-system/gnu.scm'...
[11/78] Loading './guix/build-system/trivial.scm'...
[12/78] Loading './guix/build-system.scm'...
[13/78] Loading './guix/combinators.scm'...
[14/78] Loading './guix/config.scm'...
[15/78] Loading './guix/derivations.scm'...
[16/78] Loading './guix/discovery.scm'...
[17/78] Loading './guix/download.scm'...
[18/78] Loading './guix/ftp-client.scm'...
[19/78] Loading './guix/gcrypt.scm'...
[20/78] Loading './guix/gexp.scm'...
[21/78] Loading './guix/grafts.scm'...
[22/78] Loading './guix/hash.scm'...
[23/78] Loading './guix/i18n.scm'...
[24/78] Loading './guix/licenses.scm'...
[25/78] Loading './guix/memoization.scm'...
[26/78] Loading './guix/modules.scm'...
[27/78] Loading './guix/monads.scm'...
[28/78] Loading './guix/packages.scm'...
[29/78] Loading './guix/profiles.scm'...
[30/78] Loading './guix/profiling.scm'...
[31/78] Loading './guix/progress.scm'...
[32/78] Loading './guix/records.scm'...
[33/78] Loading './guix/search-paths.scm'...
[34/78] Loading './guix/self.scm'...
[35/78] Loading './guix/serialization.scm'...
[36/78] Loading './guix/sets.scm'...
[37/78] Loading './guix/store.scm'...
[38/78] Loading './guix/ui.scm'...
[39/78] Loading './guix/utils.scm'...
[40/78] Compiling './gnu/packages/bootstrap.scm'...
[41/78] Compiling './gnu/packages.scm'...
[42/78] Compiling './guix/base16.scm'...
[43/78] Compiling './guix/base32.scm'...
[44/78] Compiling './guix/base64.scm'...
[45/78] Compiling './guix/build/compile.scm'...
[46/78] Compiling './guix/build/download.scm'...
;;; Failed to autoload make-session in (gnutls):
;;; missing interface for module (gnutls)
;;; Failed to autoload connection-end/client in (gnutls):
;;; missing interface for module (gnutls)
;;; Failed to autoload make-session in (gnutls):
;;; missing interface for module (gnutls)
;;; Failed to autoload make-session in (gnutls):
;;; missing interface for module (gnutls)
;;; Failed to autoload connection-end/client in (gnutls):
;;; missing interface for module (gnutls)
;;; Failed to autoload connection-end/client in (gnutls):
;;; missing interface for module (gnutls)
;;; ./gnu/packages.scm:92:33: warning: non-literal format string
;;; ./gnu/packages.scm:108:16: warning: non-literal format string
;;; Failed to autoload make-session in (gnutls):
;;; missing interface for module (gnutls)
;;; Failed to autoload make-session in (gnutls):
;;; missing interface for module (gnutls)
;;; Failed to autoload connection-end/client in (gnutls):
;;; missing interface for module (gnutls)
;;; Failed to autoload connection-end/client in (gnutls):
;;; missing interface for module (gnutls)
;;; Failed to autoload make-session in (gnutls):
;;; missing interface for module (gnutls)
;;; Failed to autoload make-session in (gnutls):
;;; missing interface for module (gnutls)
;;; Failed to autoload make-session in (gnutls):
;;; missing interface for module (gnutls)
;;; Failed to autoload make-session in (gnutls):
;;; missing interface for module (gnutls)
;;; Failed to autoload connection-end/client in (gnutls):
;;; missing interface for module (gnutls)
;;; Failed to autoload connection-end/client in (gnutls):
;;; missing interface for module (gnutls)
;;; ./guix/build/download.scm:176:4: warning: possibly unbound variable 
`set-certificate-credentials-x509-trust-data!'
;;; ./guix/build/download.scm:182:15: warning: possibly unbound variable 
`make-certificate-credentials'
;;; ./guix/build/download.scm:191:20: warning: possibly unbound variable 
`x509-certificate-format/pem'
;;; ./guix/build/download.scm:199:2: warning: possibly unbound variable 
`session-peer-certificate-chain'
;;; ./guix/build/download.scm:201:5: warning: possibly unbound variable 
`import-x509-certificate'
;;; ./guix/build/download.scm:201:5: warning: possibly unbound variable 
`x509-certificate-format/der'
;;; ./guix/build/download.scm:210:10: warning: possibly unbound variable 
`x509-certificate-matches-hostname?'
;;; ./guix/build/download.scm:215:2: warning: possibly unbound variable 
`peer-certificate-status'
;;; ./guix/build/download.scm:234:13: warning: possibly unbound variable 
`certificate-status->string'
;;; ./guix/build/download.scm:229:20: warning: possibly unbound variable 
`x509-certificate-dn'
;;; ./guix/build/download.scm:246:18: warning: possibly unbound variable 
`make-session'
;;; ./guix/build/download.scm:246:18: warning: possibly unbound variable 
`connection-end/client'
;;; ./guix/build/download.scm:255:8: warning: possibly unbound variable 
`set-session-server-name!'
;;; ./guix/build/download.scm:255:8: warning: possibly unbound variable 
`server-name-type/dns'
;;; ./guix/build/download.scm:259:4: warning: possibly unbound variable 
`set-session-transport-fd!'
;;; ./guix/build/download.scm:260:4: warning: possibly unbound variable 
`set-session-default-priority!'
;;; ./guix/build/download.scm:266:4: warning: possibly unbound variable 
`set-session-priorities!'
;;; ./guix/build/download.scm:268:4: warning: possibly unbound variable 
`set-session-credentials!'
;;; ./guix/build/download.scm:272:34: warning: possibly unbound variable 
`make-certificate-credentials'
;;; ./guix/build/download.scm:280:8: warning: possibly unbound variable 
`handshake'
;;; ./guix/build/download.scm:282:15: warning: possibly unbound variable 
`error/warning-alert-received'
;;; ./guix/build/download.scm:287:23: warning: possibly unbound variable 
`alert-description->string'
;;; ./guix/build/download.scm:287:50: warning: possibly unbound variable 
`alert-get'
;;; ./guix/build/download.scm:288:15: warning: possibly unbound variable 
`handshake'
;;; ./guix/build/download.scm:303:18[47/78] Compiling 
'./guix/build/syscalls.scm'...
[48/78] Compiling './guix/build/utils.scm'...
[49/78] Compiling './guix/build-system/gnu.scm'...
[50/78] Compiling './guix/build-system/trivial.scm'...
[51/78] Compiling './guix/build-system.scm'...
[52/78] Compiling './guix/combinators.scm'...
[53/78] Compiling './guix/config.scm'...
[54/78] Compiling './guix/derivations.scm'...
[55/78] Compiling './guix/discovery.scm'...
[56/78] Compiling './guix/download.scm'...
[57/78] Compiling './guix/ftp-client.scm'...
[58/78] Compiling './guix/gcrypt.scm'...
[59/78] Compiling './guix/gexp.scm'...
[60/78] Compiling './guix/grafts.scm'...
[61/78] Compiling './guix/hash.scm'...
[62/78] Compiling './guix/i18n.scm'...
[63/78] Compiling './guix/licenses.scm'...
[64/78] Compiling './guix/memoization.scm'...
[65/78] Compiling './guix/modules.scm'...
[66/78] Compiling './guix/monads.scm'...
[67/78] Compiling './guix/packages.scm'...
[68/78] Compiling './guix/profiles.scm'...
[69/78] Compiling './guix/profiling.scm'...
[70/78] Compiling './guix/progress.scm'...
[71/78] Compiling './guix/records.scm'...
[72/78] Compiling './guix/search-paths.scm'...
[73/78] Compiling './guix/self.scm'...
[74/78] Compiling './guix/serialization.scm'...
[75/78] Compiling './guix/sets.scm'...
[76/78] Compiling './guix/store.scm'...
[77/78] Compiling './guix/ui.scm'...
[78/78] Compiling './guix/utils.scm'...
: warning: possibly unbound variable `session-record-port'
;;; Failed to autoload make-session in (gnutls):
;;; missing interface for module (gnutls)
;;; Failed to autoload make-session in (gnutls):
;;; missing interface for module (gnutls)
;;; Failed to autoload make-session in (gnutls):
;;; missing interface for module (gnutls)
;;; Failed to autoload make-session in (gnutls):
;;; missing interface for module (gnutls)
;;; Failed to autoload connection-end/client in (gnutls):
;;; missing interface for module (gnutls)
;;; Failed to autoload connection-end/client in (gnutls):
;;; missing interface for module (gnutls)
;;; ./guix/discovery.scm:89:22: warning: non-literal format string
;;; ./guix/store.scm:1317:14: warning: possibly unbound variable 
`%guix-register-program'
;;; ./guix/ui.scm:169:5: warning: non-literal format string
;;; ./guix/ui.scm:314:2: warning: non-literal format string
;;; ./guix/ui.scm:332:22: warning: non-literal format string
;;; ./guix/ui.scm:360:13: warning: non-literal format string
;;; ./guix/ui.scm:353:7: warning: non-literal format string
;;; ./guix/ui.scm:348:11: warning: non-literal format string
;;; ./guix/ui.scm:384:7: warning: non-literal format string
;;; ./guix/ui.scm:468:2: warning: non-literal format string
;;; ./guix/ui.scm:470:2: warning: non-literal format string
;;; ./guix/ui.scm:578:22: warning: non-literal format string
;;; ./guix/ui.scm:581:22: warning: non-literal format string
;;; ./guix/ui.scm:691:13: warning: non-literal format string
;;; ./guix/ui.scm:866:14: warning: non-literal format string
;;; ./guix/ui.scm:886:14: warning: non-literal format string
;;; ./guix/ui.scm:1390:18: warning: non-literal format string
;;; ./guix/ui.scm:1400:10: warning: non-literal format string
;;; ./guix/ui.scm:1443:2: warning: non-literal format string
;;; ./guix/ui.scm:1459:2: warning: non-literal format string
;;; ./guix/ui.scm:1489:2: warning: non-literal format string
;;; ./guix/ui.scm:1518:2: warning: non-literal format string
;;; ./guix/ui.scm:1521:2: warning: non-literal format string
;;; ./guix/ui.scm:1540:8: warning: non-literal format string
;;; ./guix/ui.scm:1578:5: warning: non-literal format string
;;; ./guix/ui.scm:1570:5: warning: non-literal format string
building path(s) 
`/gnu/store/29n9j7q5az0jpyy7wg8w1fy220h34dw2-compute-guix-derivation'
guile: warning: failed to install locale
Computing Guix derivation for 'x86_64-linux'... Backtrace:
- 6 (primitive-load "/gnu/store/29n9j7q5az0jpyy7wg8w1fy220?")
In ice-9/boot-9.scm:
142:2 5 (dynamic-wind _ _ #)
In ice-9/eval.scm:
155:9 4 (_ _)
159:9 3 (_ #(#(##?)))
173:47 2 (_ #(#(##?)))
In ./guix/self.scm:
889:4 1 (guix-derivation "/gnu/store/ayd6nxdivdr27y7vk015yn6ah?" ?)
862:2 0 (guile-for-build "3.0")

./guix/self.scm:862:2: In procedure guile-for-build:
Throw to key `match-error' with args `("match" "no matching pattern" 
"3.0")'.
guix shell: error: failed to load 
'/home/grim/Documents/inferiors/broken.scm':
ice-9/boot-9.scm:2007:7: In procedure error:
invalid build result 
(#/gnu/store/29n9j7q5az0jpyy7wg8w1fy220h34dw2-compute-guix-derivation 
7f19850b0a00> "")
--8<---------------cut here---------------end--------------->8---

Other manifests like this one work '~/Documents/inferiors/working.scm':
--8<---------------cut here---------------start------------->8---
(use-modules (guix inferior) (guix channels)
(srfi srfi-1))

(define channels
(list (channel
(name 'guix)
(url "https://git.savannah.gnu.org/git/guix.git")
(commit
;; The commit with the hello 2.11
"1ace0c972deea9ffdb705334bdbc2d26f409f582"))))

(define inferior
(inferior-for-channels channels))

(packages->manifest
(list (first (lookup-inferior-packages inferior "hello"))))
--8<---------------cut here---------------end--------------->8---

Output:
--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix shell -m ~/Documents/inferiors/working.scm --pure
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
The following derivation will be built:
/gnu/store/zpdqjgah976llrxmsgdd40py7mvgkcn4-profile.drv

50.0 MB will be downloaded
glibc-utf8-locales-2.35 382KiB 1.4MiB/s 00:00 ▕██████████████████▏ 
100.0% bzip2-1.0.8 55KiB 4.5MiB/s 00:00 ▕██████████████████▏ 100.0% 
coreutils-9.1 2.7MiB 8.3MiB/s 00:00 ▕██████████████████▏ 100.0% grep-3.8 
237KiB 11.9MiB/s 00:00 ▕██████████████████▏ 100.0% hello-2.11 53KiB 
731KiB/s 00:00 ▕██████████████████▏ 100.0% gzip-1.12 83KiB 13.2MiB/s 
00:00 ▕██████████████████▏ 100.0% libffi-3.4.4 56KiB 4.5MiB/s 00:00 
▕██████████████████▏ 100.0% libgc-8.2.2 218KiB 5.0MiB/s 00:00 
▕██████████████████▏ 100.0% libunistring-1.0 531KiB 2.7MiB/s 00:00 
▕██████████████████▏ 100.0% module-import-compiled 47KiB 4.4MiB/s 00:00 
▕██████████████████▏ 100.0% module-import-compiled 57KiB 4.1MiB/s 00:00 
▕██████████████████▏ 100.0% module-import-compiled 104KiB 4.2MiB/s 00:00 
▕██████████████████▏ 100.0% ncurses-6.2.20210619 633KiB 1.9MiB/s 00:00 
▕██████████████████▏ 100.0% perl-5.36.0 15.2MiB 4.7MiB/s 00:03 
▕██████████████████▏ 100.0% pkg-config-0.29.2 209KiB 3.3MiB/s 00:00 
▕██████████████████▏ 100.0% texinfo-6.8 1.3MiB 2.9MiB/s 00:00 
▕██████████████████▏ 100.0% guile-3.0.9 8.1MiB 3.4MiB/s 00:02 
▕██████████████████▏ 100.0% zlib-1.2.13 83KiB 7.1MiB/s 00:00 
▕██████████████████▏ 100.0%building CA certificate bundle...
libfontenc-1.1.4 14KiB 6.7MiB/s 00:00 ▕██████████████████▏ 100.0% 
libpng-1.6.37 226KiB 3.4MiB/s 00:00 ▕██████████████████▏ 100.0%listing 
Emacs sub-directories...
freetype-2.13.0 557KiB 4.0MiB/s 00:00 ▕██████████████████▏ 
100.0%building directory of Info manuals...
mkfontscale-1.2.2 20KiB 3.1MiB/s 00:00 ▕██████████████████▏ 100.0% 
mkfontdir-1.0.7 4KiB 6.3MiB/s 00:00 ▕██████████████████▏ 100.0%building 
fonts directory...
building profile with 1 package...
$ hello --version
hello (GNU Hello) 2.11
Copyright (C) 2020 Free Software Foundation, Inc.
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.

Written by Karl Berry, Sami Kerola, Jim Meyering,
and Reuben Thomas.
--8<---------------cut here---------------end--------------->8---

[-- Attachment #2: Type: text/html, Size: 43601 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-05-09  7:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-08 18:46 bug#63382: Inferiors broken Sergio Pastor Pérez

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.