GNU bug report logs - #45172
fiano-fmap test failure

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Jack Hill <jackhill@HIDDEN>; Keywords: patch; merged with #47506; dated Fri, 11 Dec 2020 06:11:01 UTC; Maintainer for guix is bug-guix@HIDDEN.
Merged 45172 47506. Request was from Jack Hill <jackhill@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 45172 <at> debbugs.gnu.org:


Received: (at 45172) by debbugs.gnu.org; 11 Dec 2020 21:35:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 11 16:35:52 2020
Received: from localhost ([127.0.0.1]:43488 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1knq4u-0002wz-H0
	for submit <at> debbugs.gnu.org; Fri, 11 Dec 2020 16:35:52 -0500
Received: from dd26836.kasserver.com ([85.13.145.193]:51034)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dannym@HIDDEN>) id 1knq4r-0002wp-8L
 for 45172 <at> debbugs.gnu.org; Fri, 11 Dec 2020 16:35:51 -0500
Received: from localhost (80-110-125-229.cgn.dynamic.surfer.at
 [80.110.125.229])
 by dd26836.kasserver.com (Postfix) with ESMTPSA id 3E7E43367C55;
 Fri, 11 Dec 2020 22:35:47 +0100 (CET)
Date: Fri, 11 Dec 2020 22:35:43 +0100
From: Danny Milosavljevic <dannym@HIDDEN>
Subject: Re: bug#45172: fiano-fmap test failure
Message-ID: <20201211223543.7d6664b7@HIDDEN>
In-Reply-To: <alpine.DEB.2.21.2012110108440.5691@HIDDEN>
References: <alpine.DEB.2.21.2012110108440.5691@HIDDEN>
X-Mailer: Claws Mail 3.17.7 (GTK+ 2.24.32; x86_64-unknown-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="Sig_/LRVALW8pURgA6GWhcfSDLvb";
 protocol="application/pgp-signature"; micalg=pgp-sha512
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 45172
Cc: Jack Hill <jackhill@HIDDEN>, 45172 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.5 (/)

--Sig_/LRVALW8pURgA6GWhcfSDLvb
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hello,

I confirm the test failure.

I tried fixing it with the patch below, but there's still something up with=
 it.
I don't know the go build system enough to be able to tell what's up--can
someone else help?

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index e595ad3702..2b46928512 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -85,6 +85,7 @@
   #:use-module (gnu packages dns)
   #:use-module (gnu packages elf)
   #:use-module (gnu packages file)
+  #:use-module (gnu packages firmware)
   #:use-module (gnu packages flex)
   #:use-module (gnu packages gawk)
   #:use-module (gnu packages gettext)
@@ -4246,7 +4247,8 @@ disk utilization, priority, username, state, and exit=
 code.")
      `())
     (inputs
      `(("go-golang-org-x-text" ,go-golang-org-x-text)
-       ("go-github.com-ulikunitz-xz" ,go-github.com-ulikunitz-xz)))
+       ("go-github.com-ulikunitz-xz" ,go-github.com-ulikunitz-xz)
+       ("go-github.com-u-root-u-root" ,u-root))) ; does not work for some =
reason
     (synopsis "UEFI image editor")
     (description "This package provides a command-line UEFI image editor.")
     (home-page "https://github.com/linuxboot/fiano")
diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm
index fcdb5a801e..992ff812c2 100644
--- a/gnu/packages/firmware.scm
+++ b/gnu/packages/firmware.scm
@@ -30,6 +30,7 @@
   #:use-module (guix utils)
   #:use-module (guix git-download)
   #:use-module (guix build-system gnu)
+  #:use-module (guix build-system go)
   #:use-module (gnu packages)
   #:use-module (gnu packages admin)
   #:use-module (gnu packages assembly)
@@ -621,3 +622,33 @@ switching support).\n")
              #t)))))
     (native-inputs `(("cross-gcc" ,(cross-gcc "arm-none-eabi" #:xgcc gcc-7=
))
                      ("cross-binutils" ,(cross-binutils "arm-none-eabi")))=
)))
+
+;; TODO: busybox mode.
+;; TODO: Unvendor things: gopkg.in (yaml.v2), gopkg.in (alecthomas/kingpin=
.v2), golang.org (x-text, x-tools, x-xerrors, x/mod/semver, x/mod/module, x=
/net/ipv4, x/net/ipv6, x/crypto, x/sys/unix, x/sys/windows, x/sys/cpu), git=
hub.com (gliderlabs/ssh, beevik/ntp, intel-go/cpuid, stretchr/testify, u-ro=
ot/iscsinl, google/go-tpm, goexpect, goterm, go-cmp, safchain, rck, mattn/g=
o-isatty, creack/pty, ...)
+(define-public u-root
+  (package
+    (name "u-root")
+    (version "7.0.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/u-root/u-root.git")
+                    (commit (string-append "v" version))))
+              (file-name (string-append name "-" version "-checkout"))
+              (sha256
+               (base32
+                "1awpbzmfmzyzwyjk917dvmmz2ssz15fj4raqhv7dhg9k6vy00px1"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:tests? #f
+       #:import-path "github.com/u-root/u-root"
+       #:unpack-path "github.com/u-root/u-root"))
+    (native-inputs
+     `())
+    (inputs
+     `())
+    (synopsis "Minimal initrd with system tools")
+    (description "Go-based embedded initrd with system tools
+(it's like busybox, just in Go).")
+    (home-page "https://u-root.org/")
+    (license license:bsd-3)))

--Sig_/LRVALW8pURgA6GWhcfSDLvb
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl/T5i8ACgkQ5xo1VCww
uqW2RQf/Tob4CiZjspxjjgVb+gBHIBQapRV2tCZJj77mbWov2JKPsJk7QciU2lhq
TVld+z3evSq/XPvUtQJfsWz9v4IXc+0MnHreuQLnHWnfNU7ae+4nJZsOQrID7NvA
Zl+2Nro8fmBEZlropsNg7UCyiBT3FAY/Tul7u4gebRVlm5ZTfdTz9AEUi/LrPhFb
N8TDbRNxK0aTAVBNkwwqHQU0BD0+rRaivGN6FzIGwpajNYMOtAcYA00ktvYwRETp
tI4OqzL3DOJpZ6mt8r6eWfWevH39OqJa6Ua0xbTC4YQJkpwg+e4ezPYNspRodUdu
/SL+LwPlpDpV4PyaqBQrGSMC7RTCWQ==
=9KoT
-----END PGP SIGNATURE-----

--Sig_/LRVALW8pURgA6GWhcfSDLvb--




Information forwarded to bug-guix@HIDDEN:
bug#45172; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 11 Dec 2020 06:10:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 11 01:10:38 2020
Received: from localhost ([127.0.0.1]:39740 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1knbdW-0001SY-5X
	for submit <at> debbugs.gnu.org; Fri, 11 Dec 2020 01:10:38 -0500
Received: from lists.gnu.org ([209.51.188.17]:55382)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jackhill@HIDDEN>) id 1knbdU-0001SR-KQ
 for submit <at> debbugs.gnu.org; Fri, 11 Dec 2020 01:10:36 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:48734)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <jackhill@HIDDEN>)
 id 1knbdT-00066S-6P
 for bug-guix@HIDDEN; Fri, 11 Dec 2020 01:10:36 -0500
Received: from minsky.hcoop.net ([104.248.1.95]:42980)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <jackhill@HIDDEN>)
 id 1knbdO-0003e5-M1
 for bug-guix@HIDDEN; Fri, 11 Dec 2020 01:10:34 -0500
Received: from marsh.hcoop.net ([45.55.52.66])
 by minsky.hcoop.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <jackhill@HIDDEN>)
 id 1knbdN-00056t-H8
 for bug-guix@HIDDEN; Fri, 11 Dec 2020 01:10:29 -0500
Date: Fri, 11 Dec 2020 01:10:29 -0500 (EST)
From: Jack Hill <jackhill@HIDDEN>
X-X-Sender: jackhill@HIDDEN
To: bug-guix@HIDDEN
Subject: fiano-fmap test failure
Message-ID: <alpine.DEB.2.21.2012110108440.5691@HIDDEN>
User-Agent: Alpine 2.21 (DEB 202 2017-01-01)
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset=US-ASCII
Received-SPF: pass client-ip=104.248.1.95; envelope-from=jackhill@HIDDEN;
 helo=minsky.hcoop.net
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

Hi Guix,

fiano-fmap fails to build with a test failure. I'm using guix 
937bc5841429f40a64e6b25d5d4c2fe3276789f1. The log from the check phase is:

"""
starting phase `check'
# github.com/linuxboot/fiano/cmds/fmap
package github.com/linuxboot/fiano/cmds/fmap (test)
 	imports github.com/u-root/u-root/pkg/testutil: cannot find package "github.com/u-root/u-root/pkg/testutil" in any of:
 	/tmp/guix-build-fiano-fmap-5.0.0.drv-0/src/github.com/linuxboot/fiano/vendor/github.com/u-root/u-root/pkg/testutil (vendor tree)
 	/gnu/store/cb9kqjg7m6xk1wz7ap8as792fd5kcmd2-go-1.14.10/src/github.com/u-root/u-root/pkg/testutil (from $GOROOT)
 	/tmp/guix-build-fiano-fmap-5.0.0.drv-0/src/github.com/u-root/u-root/pkg/testutil (from $GOPATH)
FAIL	github.com/linuxboot/fiano/cmds/fmap [setup failed]
FAIL
command "go" "test" "github.com/linuxboot/fiano/cmds/fmap" failed with status 1

Some deprecated features have been used.  Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information.  Set it to "no" to suppress
this message.
builder for `/gnu/store/zqd7flscj1x4922vhp6y5nnkgsgs5zsm-fiano-fmap-5.0.0.drv' failed with exit code 1
"""

Best,
Jack




Acknowledgement sent to Jack Hill <jackhill@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#45172; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 31 Mar 2021 14:45:02 UTC

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