Subject: Re: [bug#32982] [PATCH] gnu: u-boot: Update to 2018.09.

From: Leo Famulari <[email-masked]>
Date: Thu, 11 Oct 2018 16:23:35 -0400

On Sun, Oct 07, 2018 at 08:16:47PM -0700, Vagrant Cascadian wrote:
> * gnu/packages/bootloaders.scm (u-boot): Update to 2018.09.
>   (u-boot-tools): Substitute "coverage" for "python-coverage".
>   (u-boot-tools): Update workaround for only 99% test coverage.

Thanks!

>  (define u-boot
>    (package
>      (name "u-boot")
> -    (version "2018.07")
> +    (version "2018.09")

For me, u-boot 2018.09 fails to build like this:

------
$ ./pre-inst-env guix build -e '(@@ (gnu packages bootloaders) u-boot)'
[...]
starting phase `configure'
source directory: "/tmp/guix-build-u-boot-2018.09.drv-0/u-boot-2018.09" (relative from build: ".")
build directory: "/tmp/guix-build-u-boot-2018.09.drv-0/u-boot-2018.09"
configure flags: ("CONFIG_SHELL=/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/bash" "SHELL=/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/bash" "--prefix=/gnu/store/c7smjwgl5xdmgcwgr1zf2clg97mln2kl-u-boot-2018.09" "--enable-fast-install" "--build=x86_64-unknown-linux-gnu")
/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/bash: ./configure: No such file or directory
Backtrace:
           4 (primitive-load "/gnu/store/z4953ip3kra5rz7abqxn98w66in…")
In ice-9/eval.scm:
   191:35  3 (_ _)
In srfi/srfi-1.scm:
    640:9  2 (for-each #<procedure 95aee0 at /gnu/store/f95ghy8mx00…> …)
In /gnu/store/f95ghy8mx00fc22nrvswvnpqlfdkf2nk-module-import/guix/build/gnu-build-system.scm:
   799:31  1 (_ _)
In /gnu/store/f95ghy8mx00fc22nrvswvnpqlfdkf2nk-module-import/guix/build/utils.scm:
    616:6  0 (invoke _ . _)

/gnu/store/f95ghy8mx00fc22nrvswvnpqlfdkf2nk-module-import/guix/build/utils.scm:616:6: In procedure invoke:
Throw to key `srfi-34' with args `(#<condition &invoke-error [program: "/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/bash" arguments: ("./configure" "CONFIG_SHELL=/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/bash" "SHELL=/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/bash" "--prefix=/gnu/store/c7smjwgl5xdmgcwgr1zf2clg97mln2kl-u-boot-2018.09" "--enable-fast-install" "--build=x86_64-unknown-linux-gnu") exit-status: 127 term-signal: #f stop-signal: #f] 68fd40>)'.
builder for `/gnu/store/azfpx7n5ds8lwg6jnpwnfgd018d3wc0d-u-boot-2018.09.drv' failed with exit code 1
build of /gnu/store/azfpx7n5ds8lwg6jnpwnfgd018d3wc0d-u-boot-2018.09.drv failed
View build log at '/var/log/guix/drvs/az/fpx7n5ds8lwg6jnpwnfgd018d3wc0d-u-boot-2018.09.drv.bz2'.
guix build: error: build failed: build of `/gnu/store/azfpx7n5ds8lwg6jnpwnfgd018d3wc0d-u-boot-2018.09.drv' failed
------

Is that expected?