GNU bug report logs - #56633
[core-updates] Some cross-derivations cannot be computed

Previous Next

Package: guix;

Reported by: Marius Bakke <marius <at> gnu.org>

Date: Mon, 18 Jul 2022 18:48:02 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Marius Bakke <marius <at> gnu.org>
Subject: bug#56633: closed (Re: bug#56633: [core-updates] Some
 cross-derivations cannot be computed)
Date: Tue, 19 Jul 2022 21:32:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#56633: [core-updates] Some cross-derivations cannot be computed

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 56633 <at> debbugs.gnu.org.

-- 
56633: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=56633
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Marius Bakke <marius <at> gnu.org>
Cc: 56633-done <at> debbugs.gnu.org
Subject: Re: bug#56633: [core-updates] Some cross-derivations cannot be
 computed
Date: Tue, 19 Jul 2022 23:31:14 +0200
Hi,

Marius Bakke <marius <at> gnu.org> skribis:

> On the 'core-updates' branch, running 'guix build -d' fails on some
> cross-derivations (notably anything that depends on NSPR, but there may
> be others).

That was a typo in (guix build-system mozilla), where we’d accidentally
create a bag with #:system as its ‘name’ field.

Fixed in 5dfc6ab1ab292b87ceea144aa661d0e64c834031!

Ludo’.

[Message part 3 (message/rfc822, inline)]
From: Marius Bakke <marius <at> gnu.org>
To: bug-guix <at> gnu.org
Subject: [core-updates] Some cross-derivations cannot be computed
Date: Mon, 18 Jul 2022 20:47:50 +0200
Hello Guix!

On the 'core-updates' branch, running 'guix build -d' fails on some
cross-derivations (notably anything that depends on NSPR, but there may
be others).

Somehow both TARGET and SYSTEM ends up #false. Any ideas to what is
going on?

--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix build --target=aarch64-linux-gnu nspr -d

Backtrace:
In guix/monads.scm:
    471:9 19 (_ _)
In guix/packages.scm:
   1553:7 18 (_ _)
In guix/store.scm:
  1996:13 17 (_ #<store-connection 256.99 7f5816372e60>)
In guix/packages.scm:
  1878:37 16 (_)
  1798:39 15 (bag->derivation #<<bag> name: "ld-wrapper-aarch64-linux-gnu-0" system: #f target: #f build-inputs: () host-inputs: (("binutils" #<package binutils-cross-aarch64-linux-gnu <at> 2.38 gnu/packages/cross-base.scm:69 7f58054e12c0>) ("guile" #<package guile <at> 3.0.8 guix/build-system/gnu.scm:145 7f5804e65420>) ("bash" #<package bash <at> 5.1.16 gnu/packages/bash.scm:131 7f5804bae210>) ("wrapper" "…> …)
   1291:4 14 (bag-transitive-inputs _)
  1074:23 13 (transitive-inputs _)
  1415:36 12 (propagated-inputs _)
In srfi/srfi-1.scm:
   586:29 11 (map1 (("libunistring" #<package libunistring <at> 1.0 gnu/packages/bootstrap.scm:297 7f58054e1000>) ("bdw-gc" #<package libgc <at> 8.0.6 gnu/packages/bootstrap.scm:297 7f58054e5f20>)))
   586:17 10 (map1 (("bdw-gc" #<package libgc <at> 8.0.6 gnu/packages/bootstrap.scm:297 7f58054e5f20>)))
In guix/packages.scm:
  1370:20  9 (rewrite ("bdw-gc" #<package libgc <at> 8.0.6 gnu/packages/bootstrap.scm:297 7f58054e5f20>))
In guix/memoization.scm:
    101:0  8 (_ #<hash-table 7f5804e64be0 2/31> #<package libgc <at> 8.0.6 gnu/packages/bootstrap.scm:297 7f58054e5f20> _)
In guix/packages.scm:
  1384:13  7 (_)
In guix/build-system/gnu.scm:
   157:33  6 (cut? _)
In gnu/packages/bdw-gc.scm:
    61:15  5 (arguments #<package libgc <at> 8.0.6 gnu/packages/bootstrap.scm:297 7f58054e5f20>)
In guix/utils.scm:
    672:7  4 (target-hurd? _)
In unknown file:
           3 (string-suffix? "-gnu" #f #<undefined> #<undefined> #<undefined> #<undefined>)
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:
In procedure string-suffix?: Wrong type argument in position 2 (expecting string): #f
--8<---------------cut here---------------end--------------->8---



This bug report was last modified 2 years and 302 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.