bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#17935: make check failed


From: Alex Kost
Subject: bug#17935: make check failed
Date: Fri, 04 Jul 2014 22:23:25 +0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Ludovic Courtès (2014-07-04 21:12 +0400) wrote:

> Alex Kost <address@hidden> skribis:
>
>>  525: 0 [add-text-to-store # "guile-bootstrap-2.0.drv" ...]
>>
>> guix/store.scm:525:9: In procedure add-text-to-store:
>> guix/store.scm:525:9: Throw to key `srfi-34' with args `(#<condition
>> &nix-protocol-error [message: "derivation
>> /home/alexx/src/guix/test-tmp/store/kaz0wkisszxrjh38znhgks2pc2g7dqgh-guile-bootstrap-2.0.drv'
>> has incorrect output
>> /media/storage/src/guix/test-tmp/store/ym7nnqd4yqk3mn8pg52d19xyy2j3hz54-guile-bootstrap-2.0',
>> should be
>> /home/alexx/src/guix/test-tmp/store/zlj0z1dpwl2qccb56rwgdk3k8qnwwaz8-guile-bootstrap-2.0'"
>> status: 1] 9529090>)'.
>
> Can you confirm that the output of “sha1sum
> gnu/packages/bootstrap/i686-linux/*” is (from our IRC discussion, it
> seems you’re on i686-linux):
>
> 87ebb7ed64a62467bae8afd60c30146d29b974dd  
> gnu/packages/bootstrap/i686-linux/bash
> b0122cf4cf16e2b8a471163550178527b0306586  
> gnu/packages/bootstrap/i686-linux/guile-2.0.9.tar.xz
> 9df288907e9031e6cf1db6b3bdaf08c956da28da  
> gnu/packages/bootstrap/i686-linux/mkdir
> 59b06438f6f673f3b7311277a256d164cb174337  
> gnu/packages/bootstrap/i686-linux/tar
> 0cfe1ecb8916c9e515c5f844671039a7fe76d261  gnu/packages/bootstrap/i686-linux/xz

Yes the sums are the same.

> Could you try running this command:
>
>   ./test-env guix build guile-bootstrap
>
> Assuming it fails as above, could you apply the patch below, run the
> command again, and send its standard output?

Yes, it failed.

> diff --git a/guix/derivations.scm b/guix/derivations.scm
> index 5ca516a..eb758b1 100644
> --- a/guix/derivations.scm
> +++ b/guix/derivations.scm
> @@ -701,7 +701,7 @@ derivations where the costs of data transfers would 
> outweigh the benefits."
>                                     (derivation->string drv)
>                                     (map derivation-input-path
>                                          inputs))))
> -      (set-file-name drv file))))
> +      (pk 'debug-drv (set-file-name drv file)))))
>
>  (define* (map-derivation store drv mapping
>                           #:key (system (%current-system)))

After applying the patch and running "./test-env guix build
guile-bootstrap" I got the following:

;;; note: source file /home/alexx/src/guix/guix/derivations.scm
;;;       newer than compiled /home/alexx/src/guix/guix/derivations.go
accepted connection from pid 9834, uid 1000
spurious SIGPOLL
spurious SIGPOLL
guix build: error: build failed: derivation 
`/home/alexx/src/guix/test-tmp/store/kaz0wkisszxrjh38znhgks2pc2g7dqgh-guile-bootstrap-2.0.drv'
 has incorrect output 
`/media/storage/src/guix/test-tmp/store/ym7nnqd4yqk3mn8pg52d19xyy2j3hz54-guile-bootstrap-2.0',
 should be 
`/home/alexx/src/guix/test-tmp/store/zlj0z1dpwl2qccb56rwgdk3k8qnwwaz8-guile-bootstrap-2.0'
9 operations
./test-env: line 1:  9833 Terminated              
"/home/alexx/src/guix/pre-inst-env" "/home/alexx/src/guix/guix-daemon" 
--disable-chroot

I don't know if it relates, but my "/home/alexx/src" is a symlink to
"/media/storage/src".

Also I have tried guix 0.6 (from ftp://alpha.gnu.org/gnu/guix/) and it
was built successfully (no fails in "make check").

--
Alex Kost

reply via email to

[Prev in Thread] Current Thread [Next in Thread]