help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

getting started with guix import nix


From: Paul Garlick
Subject: getting started with guix import nix
Date: Tue, 13 Dec 2016 12:36:19 +0000

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?

Best,

Paul.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]