all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* getting started with guix import nix
@ 2016-12-13 12:36 Paul Garlick
  2016-12-13 23:37 ` Ludovic Courtès
  0 siblings, 1 reply; 7+ messages in thread
From: Paul Garlick @ 2016-12-13 12:36 UTC (permalink / raw)
  To: help-guix

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

Hi,

I am attempting to package the OpenCASCADE-OCE library for Guix using
the Nix opencascade_oce package as a starting point.  I have a standard
Guix installation, a standard Nix installation plus the Guix source to
work on separately.  opencascade_oce is not installed in the Nix store.
 The Nix setup is:

$ echo $NIX_PATH
nixpkgs=/home/paul/.nix-defexpr/channels/nixpkgs

$ which nix-instantiate
/home/paul/.nix-profile/bin/nix-instantiate

I try:

$ export NIX_REMOTE=daemon
$ ./pre-inst-env guix import nix $HOME/.nix-defexpr/channels/nixpkgs
opencascade_oce

i get:

;;; SSAX warning: Skipping PI: xml

trace: lib.zip is deprecated, use lib.zipAttrsWith instead
trace: `mkStrict' is obsolete; use `mkOverride 0' instead.
Backtrace:
In guix/import/snix.scm:
 190: 19 [loop #<input: #{read pipe}# 10> () #f (() . #<vhash 1c6c320 5
pairs>)]
 190: 18 [loop #<input: #{read pipe}# 10> () ...]
 190: 17 [loop #<input: #{read pipe}# 10> () #f (() . #<vhash 1c6c320 5
pairs>)]
 190: 16 [loop #<input: #{read pipe}# 10> () ...]
 190: 15 [loop #<input: #{read pipe}# 10> () #f (() . #<vhash 1c6c320 5
pairs>)]
 190: 14 [loop #<input: #{read pipe}# 10> () ...]
 190: 13 [loop #<input: #{read pipe}# 10> () #f (() . #<vhash 1c6c320 5
pairs>)]
 190: 12 [loop #<input: #{read pipe}# 10> () ...]
 190: 11 [loop #<input: #{read pipe}# 10> () #f (() . #<vhash 1c6c320 5
pairs>)]
 190: 10 [loop #<input: #{read pipe}# 10> () ...]
 190: 9 [loop #<input: #{read pipe}# 10> () #f (() . #<vhash 1c6c320 5
pairs>)]
 190: 8 [loop #<input: #{read pipe}# 10> () #f (() . #<vhash 1c6c320 5
pairs>)]
 190: 7 [loop #<input: #{read pipe}# 10> () #f (() . #<vhash 1c6c320 5
pairs>)]
 190: 6 [handle-start-tag function #<input: #{read pipe}# 10> ...]
In sxml/upstream/SSAX.scm:
1523: 5 [#<procedure fda8a0 at sxml/upstream/SSAX.scm:1522:1 (tag-head
port elems entities namespaces)> function ...]
1246: 4 [#<procedure 16e2800 at sxml/upstream/SSAX.scm:1233:2 (port
entities)> #<input: #{read pipe}# 10> ...]
1190: 3 [read-attrib-value #\" #<input: #{read pipe}# 10> () ()]
In sxml/ssax/input-parse.scm:
 103: 2 [next-token () (#\" #\space #\newline ...) ...]
In ice-9/rdelim.scm:
  88: 1 [read-delimited "\" \n\t\r<&" #<input: #{read pipe}# 10> peek]
In unknown file:
   ?: 0 [%read-delimited! "\" \n\t\r<&" ...]

ERROR: In procedure %read-delimited!:
ERROR: Throw to key `vm-error' with args `(vm-run "VM: Stack overflow"
())'.
Backtrace:
In guix/import/snix.scm:
 190: 19 [loop #<input: #{read pipe}# 10> () #f (() . #<vhash 1c6c320 5
pairs>)]
 190: 18 [loop #<input: #{read pipe}# 10> () ...]
 190: 17 [loop #<input: #{read pipe}# 10> () #f (() . #<vhash 1c6c320 5
pairs>)]
 190: 16 [loop #<input: #{read pipe}# 10> () ...]
 190: 15 [loop #<input: #{read pipe}# 10> () #f (() . #<vhash 1c6c320 5
pairs>)]
 190: 14 [loop #<input: #{read pipe}# 10> () ...]
 190: 13 [loop #<input: #{read pipe}# 10> () #f (() . #<vhash 1c6c320 5
pairs>)]
 190: 12 [loop #<input: #{read pipe}# 10> () ...]
 190: 11 [loop #<input: #{read pipe}# 10> () #f (() . #<vhash 1c6c320 5
pairs>)]
 190: 10 [loop #<input: #{read pipe}# 10> () #f (() . #<vhash 1c6c320 5
pairs>)]
 190: 9 [loop #<input: #{read pipe}# 10> () #f (() . #<vhash 1c6c320 5
pairs>)]
 190: 8 [handle-start-tag function #<input: #{read pipe}# 10> ...]
In sxml/upstream/SSAX.scm:
1523: 7 [#<procedure fda8a0 at sxml/upstream/SSAX.scm:1522:1 (tag-head
port elems entities namespaces)> function ...]
1246: 6 [#<procedure 16e2800 at sxml/upstream/SSAX.scm:1233:2 (port
entities)> #<input: #{read pipe}# 10> ...]
1190: 5 [read-attrib-value #\" #<input: #{read pipe}# 10> () ()]
In sxml/ssax/input-parse.scm:
 103: 4 [next-token () (#\" #\space #\newline ...) ...]
In ice-9/rdelim.scm:
  88: 3 [read-delimited "\" \n\t\r<&" #<input: #{read pipe}# 10> peek]
In unknown file:
   ?: 2 [%read-delimited! "\" \n\t\r<&" ...]
In ice-9/boot-9.scm:
 108: 1 [#<procedure e06100 at ice-9/boot-9.scm:100:6 (thrown-k .
args)> vm-error ...]
  68: 0 [abort-to-prompt catch14 vm-error vm-run "VM: Stack overflow"
()]

ice-9/boot-9.scm:68:2: In procedure abort-to-prompt:
ice-9/boot-9.scm:68:2: Throw to key `vm-error' with args `(vm-run "VM:
Stack overflow" ())'.
paul$ error: stack overflow (possible infinite recursion)

I can see references to snix.scm but I am not sure how to interpret the
error output.  Bug or operator error?##SELECTION_END##

Best,

Paul.

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-12-19 20:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-13 12:36 getting started with guix import nix Paul Garlick
2016-12-13 23:37 ` Ludovic Courtès
2016-12-14 16:53   ` Paul Garlick
2016-12-15 12:33   ` Paul Garlick
2016-12-19  9:43     ` Ludovic Courtès
2016-12-19 16:08       ` Paul Garlick
2016-12-19 20:56         ` Ludovic Courtès

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.