guix-devel
[Top][All Lists]
Advanced

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

Re: #$(this-package-input "subversion") in git introduces a cycle


From: Simon Tournier
Subject: Re: #$(this-package-input "subversion") in git introduces a cycle
Date: Thu, 30 Nov 2023 12:14:43 +0100

Hi Maxim,

I am late to the party and maybe it is already solved.

On ven., 06 oct. 2023 at 22:13, Maxim Cournoyer <maxim.cournoyer@gmail.com> 
wrote:

> I've narrowed the problem down to #$(this-package-input "subversion");
> the following diff allows the build to start:

[...]

> I'm puzzled as to why this happens.  Would someone have an idea?

No idea.  On a side note, on the top of
cd46757c1a0f886848fbb6828c028dd2a2532767, I get this error:

--8<---------------cut here---------------start------------->8---
phase `build' succeeded after 17.4 seconds
starting phase `build-subtree'
error: in phase 'build-subtree': uncaught exception:
unbound-variable #f "Unbound variable: ~S" (native-inputs) #f 
phase `build-subtree' failed after 0.0 seconds
Backtrace:
In srfi/srfi-1.scm:
    634:9 19 (for-each #<procedure 7fffee9f6440 at guix/build/gnu-b…> …)
In ice-9/boot-9.scm:
  1752:10 18 (with-exception-handler _ _ #:unwind? _ # _)
In guix/build/gnu-build-system.scm:
   929:23 17 (_)
In ice-9/boot-9.scm:
    142:2 16 (dynamic-wind #<procedure 7fffeea36e60 at ice-9/eval.s…> …)
In ice-9/eval.scm:
    619:8 15 (_ #(#(#<directory (guile-user) 7ffff77f7c80> (# # …))))
In ice-9/boot-9.scm:
  1752:10 14 (with-exception-handler _ _ #:unwind? _ # _)
In ice-9/ports.scm:
   433:17 13 (call-with-input-file _ _ #:binary _ #:encoding _ # _)
In guix/build/utils.scm:
   899:26 12 (_ #<input: Makefile 15>)
   959:29 11 (loop "\t$(XMLTO) -m $(MANPAGE_XSL) $(XMLTO_EXTRA) man …")
In srfi/srfi-1.scm:
   460:18 10 (fold #<procedure 7fffef225280 at guix/build/utils.scm…> …)
In ice-9/eval.scm:
   202:51  9 (_ #(#(#(#(#(#(#<directory (guile-user)…> …)) …) …) …) …))
    163:9  8 (_ #(#(#(#(#(#(#<directory (guile-user)…> …)) …) …) …) …))
    163:9  7 (_ #(#(#(#(#(#(#<directory (guile-user)…> …)) …) …) …) …))
    159:9  6 (_ #(#(#(#(#(#(#<directory (guile-user)…> …)) …) …) …) …))
   293:34  5 (_ #(#(#(#(#(#(#<directory (guile-user)…> …)) …) …) …) …))
   223:20  4 (proc #(#(#(#(#(#(#<directory (guile-us…> …)) …) …) …) …))
In unknown file:
           3 (%resolve-variable (7 . native-inputs) #<directory (gui…>)
In ice-9/boot-9.scm:
  1685:16  2 (raise-exception _ #:continuable? _)
  1685:16  1 (raise-exception _ #:continuable? _)
  1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
Unbound variable: native-inputs
--8<---------------cut here---------------end--------------->8---

And it probably comes from:

        (search-input-directory
         (or native-inputs inputs)
         (string-append
          "xml/xsl/docbook-xsl-"
          #$(package-version docbook-xsl)))

Maybe it is related to the error you observed later.  Hum, I do not
know… I have not investigated further. :-)

Cheers,
simon



reply via email to

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