unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: david larsson <david.larsson@selfhosted.xyz>
To: 44399@debbugs.gnu.org
Subject: bug#44399: Cuirass problem with building from manifest file
Date: Mon, 02 Nov 2020 19:45:28 +0000	[thread overview]
Message-ID: <2840f15b6b64cd4d98d3ba5f2255708a@selfhosted.xyz> (raw)

Hi!

I am unable to build a simple manifest containing the hello package, see 
below. I tried imitating the manual 
https://guix.gnu.org/manual/en/html_node/Continuous-Integration.html but 
perhaps the manifest.scm is not supposed to contain a regular manifest 
or maybe that config example is outdated?

============================
The hello.scm file - works fine using guix package -m hello.scm
============================

cat /home/cuirass/my-guixsd-config.sh/manifests/hello.scm
(specifications->manifest
  (append (list "hello")
          '()))

============================
 From /var/log/cuirass.log
============================

2020-11-02T20:06:25 fetching input 'my-guixsd-config' of spec 'my-pkgs'
2020-11-02T20:06:25 fetching input 'my-guix-packages' of spec 'my-pkgs'
2020-11-02T20:06:25 fetching input 'guix' of spec 'my-pkgs'
2020-11-02T20:06:26 fetched input 'my-guixsd-config' of spec 'my-pkgs' 
(commit "fb3001bd453583b4638bf6ec7187b5758d7b0715")
2020-11-02T20:06:26 fetched input 'my-guix-packages' of spec 'my-pkgs' 
(commit "9f9c644076b088aabee76626598115c0fe6bfbde")
2020-11-02T20:06:26 fetched input 'guix' of spec 'my-pkgs' (commit 
"7c02eb6c8d7d050ecb8f3082c4a754ad32211403")
2020-11-02T20:06:26 next evaluation in 36000 seconds
2020-11-02T20:06:26 evaluating spec 'my-pkgs'
Uncaught exception in fiber ##f:
In cuirass/base.scm:
    785:13  3 (_)
In ice-9/boot-9.scm:
   1736:10  2 (with-exception-handler _ _ #:unwind? _ # _)
   1669:16  1 (raise-exception _ #:continuable? _)
   1667:16  0 (raise-exception _ #:continuable? _)
ice-9/boot-9.scm:1667:16: In procedure raise-exception:
ERROR:
   1. &evaluation-error:
       name: "my-pkgs"
       id: 1

============================
My cuirass-specs
============================

(define %cuirass-specs
   #~(
      list
   '((#:name . "my-pkgs")
     (#:load-path-inputs . ("guix"))
     (#:package-path-inputs . ("my-guix-packages"))
     (#:proc-input . "guix")
     (#:proc-file . "build-aux/cuirass/gnu-system.scm")
     (#:proc . cuirass-jobs)
     (#:proc-args .
      ((subset . manifests)
       ;; This builds fine!
       ;;(subset . ("hello" "cowsay" "orgmk" "fwknop" "python-on-guile" 
"libxml2-xpath0" "guile-bash-parallel" "guile-base64" "perl-data-ical" 
"python-pydotplus"))
       (systems . ("x86_64-linux"))
        ;; This fails on 7c02eb6
       (manifests . (("my-guixsd-config" . "hello.scm")))
       ))
     (#:inputs . (
                  ((#:name . "guix")
                   (#:url . "git://git.savannah.gnu.org/guix.git")
                   (#:load-path . ".")
                   ;;(#:branch . "master")
                   (#:commit . 
"7c02eb6c8d7d050ecb8f3082c4a754ad32211403")

                  ((#:name . "my-guix-packages")
                   (#:url . "file:///home/cuirass/my-guix-packages")
                   (#:load-path . "packages")
                   (#:branch . "master")
                   (#:no-compile? . #t))

                  ((#:name . "my-guixsd-config")
                   (#:url . "file:///home/cuirass/my-guixsd-config.sh")
                   (#:load-path . "manifests")
                   (#:branch . "master")
                   (#:no-compile? . #t))

                  ))
     (#:build-outputs . ()))
))

============================
And the evaluations file content
============================

gzip --decompress -c /var/log/cuirass/evaluations/1.gz
warning:
building things during evaluation
'build-things' arguments: 
(("/gnu/store/qhm7xsikyykvjisi8kbmzp8ny3cmf370-compute-guix-derivation.drv") 
0)
Computing Guix derivation for 'x86_64-linux'...
warning:
building things during evaluation
'build-things' arguments: 
(("/gnu/store/ps30mn7xq0ymcrdzlwim8pkv1czgv2zf-profile.drv") 0)
ERROR: In procedure read:
In procedure scm_lreadr: #<unknown port>:16:634: Unknown # object: #\<



Best regards,
David Larsson





             reply	other threads:[~2020-11-02 19:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-02 19:45 david larsson [this message]
2020-11-02 20:12 ` bug#44399: Cuirass problem with building from manifest file Mathieu Othacehe
2020-11-03  7:07   ` david larsson
2021-03-25 13:48     ` Mathieu Othacehe
2020-11-03 16:04   ` david larsson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2840f15b6b64cd4d98d3ba5f2255708a@selfhosted.xyz \
    --to=david.larsson@selfhosted.xyz \
    --cc=44399@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).