[bug#35050] gnu: direnv: Fix build failure.

Message ID 87v9zynd54.fsf@gmail.com
State Accepted
Headers show
Series [bug#35050] gnu: direnv: Fix build failure. | expand

Checks

Context Check Description
cbaines/applying patch fail Apply failed

Commit Message

Oleg Pykhalov April 1, 2019, 12:06 p.m. UTC
Leo Famulari <leo@famulari.name> writes:

> On Sun, Mar 31, 2019 at 01:25:27AM +0300, Oleg Pykhalov wrote:

[…]

>> guix build: error: build of `/gnu/store/z7026csvaqv6yz5g4imgiblgx48swzdy-direnv-2.15.2.drv' failed
>> 
>> oleg@guixsd ~/src/guix$ git rev-parse HEAD
>> 6e1f91d91ca594098a7e98ae17b301fc035a6234
>> --8<---------------cut here---------------end--------------->8---
>
> Hm, weird. I built from a fresh Git checkout and it still works for me.
> On the other hand, I see it's failing like this on Hydra.
>
> I attached the derivation I am building. Can you compare it to yours?

Sure, here is a diff:

Comments

Leo Famulari April 1, 2019, 5:07 p.m. UTC | #1
On Mon, Apr 01, 2019 at 03:06:15PM +0300, Oleg Pykhalov wrote:
> --- /tmp/1	2019-04-01 15:02:12.333187973 +0300
> +++ /tmp/1-my	2019-04-01 15:02:31.841474215 +0300
> @@ -8,11 +8,10 @@
>     ,("/gnu/store/34sh0rr7gkyp106nr0bpx3awy7xf5xax-tar-1.30.drv",["out"])
>     ,("/gnu/store/3c9spvq9cgack8g0sznr6mv4b2vbag8v-gzip-1.9.drv",["out"])
>     ,("/gnu/store/3s98ya9qc65qf0paxi49lkkkbhxlg80q-xz-5.2.4.drv",["out"])
> -   ,("/gnu/store/4fyzzkwaf6my2756vyw1lr0q2334yxh5-go-github-com-direnv-go-dotenv-0.0.0-0.4cce6d1.drv",["out"])
> +   ,("/gnu/store/50l4q30sg8g372rhlv4avp34n2a6hk67-go-github-com-burntsushi-toml-0.0.0-0.a368813.drv",["out"])
>     ,("/gnu/store/9vz00dzc42nmqrazfyc1x1j1x57nx6sw-linux-libre-headers-4.14.67.drv",["out"])
>     ,("/gnu/store/a99z0k3pz7d0w1rjdh650vpdh60z8ngj-coreutils-8.30.drv",["out"])
>     ,("/gnu/store/c4ni4sq1sb9vv5w3a06jnbwy2j0w819k-glibc-utf8-locales-2.28.drv",["out"])
> -   ,("/gnu/store/cnbvvy7inrlh8q120wpakkjb574b31l5-go-github-com-burntsushi-toml-0.0.0-0.a368813.drv",["out"])
>     ,("/gnu/store/g684fc6aj9k8s0w44m6378395131aryj-module-import-compiled.drv",["out"])
>     ,("/gnu/store/gha5ivvp2hgpnqxj82c9znh07qvspn90-file-5.33.drv",["out"])
>     ,("/gnu/store/gldmzqvkr3b4mmfhk9qgbn042ldy2nn8-patch-2.7.6.drv",["out"])
> @@ -26,9 +25,10 @@
>     ,("/gnu/store/pjhc8m7kab5q3gmkijmaykbfsasc2ia3-go-1.11.6.drv",["out"])
>     ,("/gnu/store/qp55kh56l0avbgc1rrfambfm9d3w53si-make-4.2.1.drv",["out"])
>     ,("/gnu/store/v2b4lvc33w31mk2n1d8bydwy22hfj5g0-direnv-2.15.2.tar.gz.drv",["out"])
> +   ,("/gnu/store/wrcg2fwwcib68iigdigghy9fhv813c6p-go-github-com-direnv-go-dotenv-0.0.0-0.4cce6d1.drv",["out"])
>     ,("/gnu/store/y0pmjyv582709z6nvwis6snapmn05l80-ld-wrapper-0.drv",["out"])
>     ,("/gnu/store/zlarpjla570axb9hi6c78njaf4y9ffci-glibc-2.28.drv",["out","static"])]
>   ,["/gnu/store/08h2sfqxnnvp0nxymcj5mhnp28bj5wwb-direnv-2.15.2-guile-builder"]
>   ,"x86_64-linux","/gnu/store/r658y3cgpnf99nxjxqgjiaizx20ac4k0-guile-2.2.4/bin/guile",["--no-auto-compile","-L","/gnu/store/i5ip2vy29fqppjb4pq5isq36gqd42d89-module-import","/gnu/store/08h2sfqxnnvp0nxymcj5mhnp28bj5wwb-direnv-2.15.2-guile-builder"]
>   ,[("GUILE_LOAD_COMPILED_PATH","/gnu/store/il5y8zbdfg51pv3n0mfb4skm0bb1hkw8-module-import-compiled")
> -   ,("out","/gnu/store/mz7r3c6a8y0y9ldh24apahng7xprhas9-direnv-2.15.2")])
> +   ,("out","/gnu/store/mz7r3c6a8y0y9ldh24apahng7xprhas9-direnv-2.15.2")])
> \ No newline at end of file

Okay, so we are probably not using the same version of Guix, since those
Go-language dependencies are not the same.

But, that should not cause the issue seen by you and Hydra.

I guess it doesn't matter for direnv when the setup-go-environment phase
runs, but I'm confused as to why it would make a difference here. Do you
have a proposed explanation?

Patch

--- /tmp/1	2019-04-01 15:02:12.333187973 +0300
+++ /tmp/1-my	2019-04-01 15:02:31.841474215 +0300
@@ -8,11 +8,10 @@ 
    ,("/gnu/store/34sh0rr7gkyp106nr0bpx3awy7xf5xax-tar-1.30.drv",["out"])
    ,("/gnu/store/3c9spvq9cgack8g0sznr6mv4b2vbag8v-gzip-1.9.drv",["out"])
    ,("/gnu/store/3s98ya9qc65qf0paxi49lkkkbhxlg80q-xz-5.2.4.drv",["out"])
-   ,("/gnu/store/4fyzzkwaf6my2756vyw1lr0q2334yxh5-go-github-com-direnv-go-dotenv-0.0.0-0.4cce6d1.drv",["out"])
+   ,("/gnu/store/50l4q30sg8g372rhlv4avp34n2a6hk67-go-github-com-burntsushi-toml-0.0.0-0.a368813.drv",["out"])
    ,("/gnu/store/9vz00dzc42nmqrazfyc1x1j1x57nx6sw-linux-libre-headers-4.14.67.drv",["out"])
    ,("/gnu/store/a99z0k3pz7d0w1rjdh650vpdh60z8ngj-coreutils-8.30.drv",["out"])
    ,("/gnu/store/c4ni4sq1sb9vv5w3a06jnbwy2j0w819k-glibc-utf8-locales-2.28.drv",["out"])
-   ,("/gnu/store/cnbvvy7inrlh8q120wpakkjb574b31l5-go-github-com-burntsushi-toml-0.0.0-0.a368813.drv",["out"])
    ,("/gnu/store/g684fc6aj9k8s0w44m6378395131aryj-module-import-compiled.drv",["out"])
    ,("/gnu/store/gha5ivvp2hgpnqxj82c9znh07qvspn90-file-5.33.drv",["out"])
    ,("/gnu/store/gldmzqvkr3b4mmfhk9qgbn042ldy2nn8-patch-2.7.6.drv",["out"])
@@ -26,9 +25,10 @@ 
    ,("/gnu/store/pjhc8m7kab5q3gmkijmaykbfsasc2ia3-go-1.11.6.drv",["out"])
    ,("/gnu/store/qp55kh56l0avbgc1rrfambfm9d3w53si-make-4.2.1.drv",["out"])
    ,("/gnu/store/v2b4lvc33w31mk2n1d8bydwy22hfj5g0-direnv-2.15.2.tar.gz.drv",["out"])
+   ,("/gnu/store/wrcg2fwwcib68iigdigghy9fhv813c6p-go-github-com-direnv-go-dotenv-0.0.0-0.4cce6d1.drv",["out"])
    ,("/gnu/store/y0pmjyv582709z6nvwis6snapmn05l80-ld-wrapper-0.drv",["out"])
    ,("/gnu/store/zlarpjla570axb9hi6c78njaf4y9ffci-glibc-2.28.drv",["out","static"])]
  ,["/gnu/store/08h2sfqxnnvp0nxymcj5mhnp28bj5wwb-direnv-2.15.2-guile-builder"]
  ,"x86_64-linux","/gnu/store/r658y3cgpnf99nxjxqgjiaizx20ac4k0-guile-2.2.4/bin/guile",["--no-auto-compile","-L","/gnu/store/i5ip2vy29fqppjb4pq5isq36gqd42d89-module-import","/gnu/store/08h2sfqxnnvp0nxymcj5mhnp28bj5wwb-direnv-2.15.2-guile-builder"]
  ,[("GUILE_LOAD_COMPILED_PATH","/gnu/store/il5y8zbdfg51pv3n0mfb4skm0bb1hkw8-module-import-compiled")
-   ,("out","/gnu/store/mz7r3c6a8y0y9ldh24apahng7xprhas9-direnv-2.15.2")])
+   ,("out","/gnu/store/mz7r3c6a8y0y9ldh24apahng7xprhas9-direnv-2.15.2")])
\ No newline at end of file