Porting ocl-icd to guix fails because of ruby

DoneSubmitted by Dennis Mungai.
Details
2 participants
  • Dennis Mungai
  • Ludovic Courtès
Owner
unassigned
Severity
normal
D
D
Dennis Mungai wrote on 8 Mar 2016 20:41
(address . bug-guix@gnu.org)
CAKKYfmFvnJD4psyUWe-c4Hp7KniEZo_LfiQuGK4HRehVMf_Z_g@mail.gmail.com
Hello there,
I am porting ocl-icd to guix, see the package here:
https://github.com/Brainiarc7/guix-bioinformatics/blob/master/gn/packages/ocl-icd.scm
I'm getting bugged by this error everytime I call the build as such from adev setup:
env TEMPDIR=/gnu/tmp GUIX_PACKAGE_PATH=../guix-bioinformatics./pre-inst-env guix build -K ocl-icd
Error encountered:
guix build: error: build failed: error parsing derivation`/gnu/store/7f9hwk8v9vzghc93m93y94iibvcc3mvd-ruby-2.3.0.tar.xz.drv':expected string `Derive(['
The same also happens when I attempt to install any ruby related utilities:

guix package -p ~/opt/guix-build-system -i ruby-yardwarning: failed to install locale: Invalid argumentguix package: error: build failed: error parsing derivation`/gnu/store/7f9hwk8v9vzghc93m93y94iibvcc3mvd-ruby-2.3.0.tar.xz.drv':expected string `Derive(['
A bug, perhaps?
Regards,
Dennis.
Attachment: file
L
L
Ludovic Courtès wrote on 9 Mar 2016 14:33
(name . Dennis Mungai)(address . dmngaie@gmail.com)(address . 22948@debbugs.gnu.org)
87a8m7dbdm.fsf@gnu.org
Dennis Mungai <dmngaie@gmail.com> skribis:
Toggle quote (3 lines)> env TEMPDIR=/gnu/tmp GUIX_PACKAGE_PATH=../guix-bioinformatics> ./pre-inst-env guix build -K ocl-icd
Note that setting TEMPDIR here (or even TMPDIR) has no effect, sinceit’s the ‘guix-daemon’ process, not ‘guix build’, that creates temporaryfiles.
Toggle quote (6 lines)> Error encountered:>> guix build: error: build failed: error parsing derivation> `/gnu/store/7f9hwk8v9vzghc93m93y94iibvcc3mvd-ruby-2.3.0.tar.xz.drv':> expected string `Derive(['
Could you send the content of the file above?
It looks like your store may be be corrupt. Did you modify files byhand under /gnu/store? This would void your warranty. :-)
Thanks,Ludo’.
D
D
Dennis Mungai wrote on 10 Mar 2016 13:18
(name . Ludovic Courtès)(address . ludo@gnu.org)(address . 22948@debbugs.gnu.org)
CAKKYfmF8xkmqqNEEz6DAv8zctTVxNf+9dDB0oyv5Y1LbJFiByQ@mail.gmail.com
Hello,
And a small update:
After running the garbage collector, the problem went away (And saved meabout 20GBs under /gnu/store).
I'm suspecting this was a corrupt store.
On 9 March 2016 at 16:33, Ludovic Courtès <ludo@gnu.org> wrote:
Toggle quote (23 lines)> Dennis Mungai <dmngaie@gmail.com> skribis:>> > env TEMPDIR=/gnu/tmp GUIX_PACKAGE_PATH=../guix-bioinformatics> > ./pre-inst-env guix build -K ocl-icd>> Note that setting TEMPDIR here (or even TMPDIR) has no effect, since> it’s the ‘guix-daemon’ process, not ‘guix build’, that creates temporary> files.>> > Error encountered:> >> > guix build: error: build failed: error parsing derivation> > `/gnu/store/7f9hwk8v9vzghc93m93y94iibvcc3mvd-ruby-2.3.0.tar.xz.drv':> > expected string `Derive(['>> Could you send the content of the file above?>> It looks like your store may be be corrupt. Did you modify files by> hand under /gnu/store? This would void your warranty. :-)>> Thanks,> Ludo’.>
Attachment: file
L
L
Ludovic Courtès wrote on 10 Mar 2016 14:09
(name . Dennis Mungai)(address . dmngaie@gmail.com)(address . 22948@debbugs.gnu.org)
87y49qv5s1.fsf@gnu.org
Dennis Mungai <dmngaie@gmail.com> skribis:
Toggle quote (5 lines)> After running the garbage collector, the problem went away (And saved me> about 20GBs under /gnu/store).>> I'm suspecting this was a corrupt store.
OK, we’ll never know. Make sure to never ever modify files under/gnu/store and you should be fine.
Thanks,Ludo’.
L
L
Ludovic Courtès wrote on 10 Mar 2016 14:09
control message for bug #22948
(address . control@debbugs.gnu.org)
87wppav5ro.fsf@gnu.org
tags 22948 notabugclose 22948
?
Your comment

This issue is archived.

To comment on this conversation send email to 22948@debbugs.gnu.org