unofficial mirror of gwl-devel@gnu.org
 help / color / mirror / Atom feed
* workflow dependencies are not built
@ 2019-06-12 12:04 Ricardo Wurmus
  2019-06-12 12:40 ` Ricardo Wurmus
  0 siblings, 1 reply; 2+ messages in thread
From: Ricardo Wurmus @ 2019-06-12 12:04 UTC (permalink / raw)
  To: gwl-devel

Some of my recent changes must have broken deployment of package inputs:

--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix workflow -f --run=doc/examples/simple-wisp.w
Compiling doc/examples/simple-wisp.w...OK
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
building path(s) `/gnu/store/mswhsx5a1llmllsa73p0cwarc5n0jmpq-ca-certificate-bundle'
building path(s) `/gnu/store/bf3a075c8plv4ilh2zn39lbs705aj33c-fonts-dir'
building path(s) `/gnu/store/np5cya8yp82jv365s3gdj7amvmb64xy0-info-dir'
building path(s) `/gnu/store/v5dsz81frddy843s881avbiv36qxhfyz-manual-database'
Creating manual page database...
[  1/  1] building list of man-db entries...
1 entries processed in 0.0 s
building path(s) `/gnu/store/8sfcdp5l8bm5wcbmrr1qqg5gygn8gqgj-profile'
building path(s) `/gnu/store/w7rm53wsp16zyx3vcfggxc2dylzzswj2-greet'
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
building path(s) `/gnu/store/is5f5w3cba92z907vjflmc6yzjd70fpk-eat-vegetables'
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
building path(s) `/gnu/store/1zp92228nqnhfsdd25a8p9fwm9p22x6i-eat-fruit'
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
Backtrace:
          15 (apply-smob/1 #<catch-closure 1cf41c0>)
In ice-9/boot-9.scm:
    705:2 14 (call-with-prompt _ _ #<procedure default-prompt-handler (k proc)>)
In ice-9/eval.scm:
    619:8 13 (_ #(#(#<directory (guile-user) 1d89140>)))
In guix/ui.scm:
  1747:12 12 (run-guix-command _ . _)
In guix/scripts/workflow.scm:
   127:24 11 (guix-workflow . _)
In gwl/workflows.scm:
    311:8 10 (workflow-run #<workflow simple-wisp> _ #:inputs _ #:parallel? _ #:dry-run? _ #:force? _)
In gwl/cache.scm:
   111:16  9 (make-process->cache-prefix _ _ _ _)
    106:9  8 (workflow->data-hashes _ _ _ _)
In srfi/srfi-1.scm:
   466:18  7 (fold #<procedure kons (process acc)> _ _)
In gwl/cache.scm:
    60:19  6 (kons #<process sleep> ((#<process eat-fruit> 120 19 55 121 79 84 152 228 170 203 234 38 166 134 196 240 250 93 253 153 146 # …) …))
In guix/store.scm:
   623:10  5 (call-with-store #<procedure 3a7bae0 at gwl/processes.scm:476:2 (store)>)
  1794:24  4 (run-with-store _ _ #:guile-for-build _ #:system _ #:target _)
In gwl/processes.scm:
    478:6  3 (_ _)
In guix/store.scm:
  1690:38  2 (_ #<store-connection 256.99 4266900>)
In guix/derivations.scm:
   848:17  1 (derivation #<store-connection 256.99 4266900> _ _ _ #:system _ #:env-vars _ #:inputs _ #:outputs _ #:hash _ #:hash-algo _ # _ # _ …)
In guix/store.scm:
    996:9  0 (_ #<store-connection 256.99 4266900> _ #vu8(68 101 114 105 118 101 40 91 40 34 111 117 116 34 44 34 47 103 110 117 47 115 116 …) _)

guix/store.scm:996:9: Throw to key `srfi-34' with args `(#<condition &store-protocol-error [message: "path ‘/gnu/store/xzgfh8kdxilyymi1a8i97b1nci1iybhi-coreutils-8.30’ is not valid" status: 1] 3abdc00>)'.
rekado in gwl [env]:
--8<---------------cut here---------------end--------------->8---

I’m aware of this now and will look into fixing this (and writing tests
to cover this important feature).

--
Ricardo

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

* Re: workflow dependencies are not built
  2019-06-12 12:04 workflow dependencies are not built Ricardo Wurmus
@ 2019-06-12 12:40 ` Ricardo Wurmus
  0 siblings, 0 replies; 2+ messages in thread
From: Ricardo Wurmus @ 2019-06-12 12:40 UTC (permalink / raw)
  To: gwl-devel


Ricardo Wurmus <rekado@elephly.net> writes:

> Some of my recent changes must have broken deployment of package
> inputs: […]

The problem appears to have been caused by commit
08ccba0d4848bc4a693e90936201e5dee71b6b19, which introduced containerized
expressions.

The problem is likely with the definition of “package-dirs”:

          (with-store store
            (run-with-store store
              (mapm %store-monad package-file
                    (process-packages process))))

--
Ricardo

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

end of thread, other threads:[~2019-06-12 12:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-12 12:04 workflow dependencies are not built Ricardo Wurmus
2019-06-12 12:40 ` Ricardo Wurmus

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).