From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id qKDZI2Hm01/QFQAA0tVLHw (envelope-from ) for ; Fri, 11 Dec 2020 21:36:33 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id eBiMH2Hm01+kKQAAbx9fmQ (envelope-from ) for ; Fri, 11 Dec 2020 21:36:33 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id F2CA794023A for ; Fri, 11 Dec 2020 21:36:32 +0000 (UTC) Received: from localhost ([::1]:49730 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1knq5W-0000uP-64 for larch@yhetil.org; Fri, 11 Dec 2020 16:36:30 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51340) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knq54-0000uF-8K for bug-guix@gnu.org; Fri, 11 Dec 2020 16:36:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60175) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1knq54-0005KW-0L for bug-guix@gnu.org; Fri, 11 Dec 2020 16:36:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1knq53-0002xN-Sa for bug-guix@gnu.org; Fri, 11 Dec 2020 16:36:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#45172: fiano-fmap test failure Resent-From: Danny Milosavljevic Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 11 Dec 2020 21:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45172 X-GNU-PR-Package: guix X-GNU-PR-Keywords: Received: via spool by 45172-submit@debbugs.gnu.org id=B45172.160772255211350 (code B ref 45172); Fri, 11 Dec 2020 21:36:01 +0000 Received: (at 45172) by debbugs.gnu.org; 11 Dec 2020 21:35:52 +0000 Received: from localhost ([127.0.0.1]:43488 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1knq4u-0002wz-H0 for submit@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 ) id 1knq4r-0002wp-8L for 45172@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 Message-ID: <20201211223543.7d6664b7@scratchpost.org> In-Reply-To: References: 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 45172@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -0.40 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: F2CA794023A X-Spam-Score: -0.40 X-Migadu-Scanner: scn1.migadu.com X-TUID: 9/Aua/B0f5qZ --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--