unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#61732: "Unbound variable: %build-inputs
@ 2023-02-23 12:42 Wicki Gabriel (wicg)
  2023-02-23 12:56 ` bug#61732: "Unbound variable: %build-inputs" in Cross-Compilation Context Wicki Gabriel (wicg)
  0 siblings, 1 reply; 3+ messages in thread
From: Wicki Gabriel (wicg) @ 2023-02-23 12:42 UTC (permalink / raw)
  To: 61732

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

Hello

I get the following error message when trying to cross-compile perl-gd:
```
Backtrace:
          15 (primitive-load "/gnu/store/m65ipkgj9d9l2in8yp9w82npqbb?")
In ice-9/eval.scm:
   214:21 14 (_ #f)
   217:50 13 (lp (#<procedure 7ffff0057100 at ice-9/eval.scm:282:?> ?))
   217:50 12 (lp (#<procedure 7ffff00570e0 at ice-9/eval.scm:282:?> ?))
   217:50 11 (lp (#<procedure 7ffff00570c0 at ice-9/eval.scm:282:?> ?))
   217:50 10 (lp (#<procedure 7ffff00570a0 at ice-9/eval.scm:282:?> ?))
   217:50  9 (lp (#<procedure 7ffff0057080 at ice-9/eval.scm:282:?> ?))
   217:50  8 (lp (#<procedure 7ffff0057060 at ice-9/eval.scm:282:?> ?))
   217:50  7 (lp (#<procedure 7ffff0057040 at ice-9/eval.scm:282:?> ?))
   217:50  6 (lp (#<procedure 7ffff0057020 at ice-9/eval.scm:282:?> ?))
   217:33  5 (lp (#<procedure 7fffeef7f8e0 at ice-9/eval.scm:191:?> ?))
   191:35  4 (_ #f)
   196:43  3 (_ #f)
   196:35  2 (_ #f)
   223:20  1 (proc #<directory (guile-user) 7fffeffcfc80>)
In unknown file:
           0 (%resolve-variable (7 . %build-inputs) #<directory (gui?>)

ERROR: In procedure %resolve-variable:
Unbound variable: %build-inputs
```

Not sure where it comes from.

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

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

* bug#61732: "Unbound variable: %build-inputs" in Cross-Compilation Context
  2023-02-23 12:42 bug#61732: "Unbound variable: %build-inputs Wicki Gabriel (wicg)
@ 2023-02-23 12:56 ` Wicki Gabriel (wicg)
  2023-02-27 21:17   ` bug#61732: "Unbound variable: %build-inputs Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Wicki Gabriel (wicg) @ 2023-02-23 12:56 UTC (permalink / raw)
  To: 61732@debbugs.gnu.org

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

Sorry, that last email was sent a little too early.


I tried said cross-compilation with this command: `guix build perl-gd --target=aarch64-linux-gnu` and could provoke the same error message also with perl-commonmark​.

It also happens with riscv64-linux-gnu and arm-linux-gnueabihf as target (i haven't tested all of them, though).

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

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

* bug#61732: "Unbound variable: %build-inputs
  2023-02-23 12:56 ` bug#61732: "Unbound variable: %build-inputs" in Cross-Compilation Context Wicki Gabriel (wicg)
@ 2023-02-27 21:17   ` Ludovic Courtès
  0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2023-02-27 21:17 UTC (permalink / raw)
  To: Wicki Gabriel (wicg); +Cc: 61732@debbugs.gnu.org

Hi Wicki,

"Wicki Gabriel (wicg)" <wicg@zhaw.ch> skribis:

> Sorry, that last email was sent a little too early.
>
>
> I tried said cross-compilation with this command: `guix build perl-gd --target=aarch64-linux-gnu` and could provoke the same error message also with perl-commonmark​.
>
> It also happens with riscv64-linux-gnu and arm-linux-gnueabihf as target (i haven't tested all of them, though).

This issue was fixed (or rather sidestepped) a few days ago with this
commit:

  d00c2e9c2b * services: console-font, kmscon: Refer to native 'font-gnu-unifont' builds.

Assuming you stumbled upon this error while cross-building a system
image with ‘guix system image --target=aarch64-linux-gnu’ or similar,
the problem is now solved.

If you really want to cross-build ‘perl-gd’, then we’re not there yet
but I think Maxim made some progress on this front.

HTH,
Ludo’.




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

end of thread, other threads:[~2023-02-27 21:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-23 12:42 bug#61732: "Unbound variable: %build-inputs Wicki Gabriel (wicg)
2023-02-23 12:56 ` bug#61732: "Unbound variable: %build-inputs" in Cross-Compilation Context Wicki Gabriel (wicg)
2023-02-27 21:17   ` bug#61732: "Unbound variable: %build-inputs Ludovic Courtès

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