GNU bug report logs -
#45172
fiano-fmap test failure
Previous Next
Reported by: Jack Hill <jackhill <at> jackhill.us>
Date: Fri, 11 Dec 2020 06:11:01 UTC
Severity: normal
Tags: patch
Merged with 47506
Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 45172 in the body.
You can then email your comments to 45172 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#45172
; Package
guix
.
(Fri, 11 Dec 2020 06:11:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Jack Hill <jackhill <at> jackhill.us>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Fri, 11 Dec 2020 06:11:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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
Information forwarded
to
bug-guix <at> gnu.org
:
bug#45172
; Package
guix
.
(Fri, 11 Dec 2020 21:36:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 45172 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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), github.com (gliderlabs/ssh, beevik/ntp, intel-go/cpuid, stretchr/testify, u-root/iscsinl, google/go-tpm, goexpect, goterm, go-cmp, safchain, rck, mattn/go-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)))
[Message part 2 (application/pgp-signature, inline)]
Merged 45172 47506.
Request was from
Jack Hill <jackhill <at> jackhill.us>
to
control <at> debbugs.gnu.org
.
(Wed, 31 Mar 2021 14:44:02 GMT)
Full text and
rfc822 format available.
Reply sent
to
Sharlatan Hellseher <sharlatanus <at> gmail.com>
:
You have taken responsibility.
(Thu, 04 Apr 2024 16:46:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Jack Hill <jackhill <at> jackhill.us>
:
bug acknowledged by developer.
(Thu, 04 Apr 2024 16:46:02 GMT)
Full text and
rfc822 format available.
Message #15 received at 45172-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
Closing this issue as resolved in <https://issues.guix.gnu.org/70123>.
--
Oleg
[signature.asc (application/pgp-signature, inline)]
Reply sent
to
Sharlatan Hellseher <sharlatanus <at> gmail.com>
:
You have taken responsibility.
(Thu, 04 Apr 2024 16:46:03 GMT)
Full text and
rfc822 format available.
Notification sent
to
Adam Kandur <rndd <at> tuta.io>
:
bug acknowledged by developer.
(Thu, 04 Apr 2024 16:46:03 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 03 May 2024 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 6 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.