unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#22948: Porting ocl-icd to guix fails because of ruby
@ 2016-03-08 19:41 Dennis Mungai
  2016-03-09 13:33 ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Dennis Mungai @ 2016-03-08 19:41 UTC (permalink / raw)
  To: 22948

[-- Attachment #1: Type: text/plain, Size: 891 bytes --]

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 a
dev 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-yard
warning: failed to install locale: Invalid argument
guix 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 #2: Type: text/html, Size: 1233 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#22948: Porting ocl-icd to guix fails because of ruby
  2016-03-08 19:41 bug#22948: Porting ocl-icd to guix fails because of ruby Dennis Mungai
@ 2016-03-09 13:33 ` Ludovic Courtès
  2016-03-10 12:18   ` Dennis Mungai
  0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2016-03-09 13:33 UTC (permalink / raw)
  To: Dennis Mungai; +Cc: 22948

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’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#22948: Porting ocl-icd to guix fails because of ruby
  2016-03-09 13:33 ` Ludovic Courtès
@ 2016-03-10 12:18   ` Dennis Mungai
  2016-03-10 13:09     ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Dennis Mungai @ 2016-03-10 12:18 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 22948

[-- Attachment #1: Type: text/plain, Size: 1002 bytes --]

Hello,

And a small update:

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.

On 9 March 2016 at 16:33, Ludovic Courtès <ludo@gnu.org> wrote:

> 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 #2: Type: text/html, Size: 1462 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#22948: Porting ocl-icd to guix fails because of ruby
  2016-03-10 12:18   ` Dennis Mungai
@ 2016-03-10 13:09     ` Ludovic Courtès
  0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2016-03-10 13:09 UTC (permalink / raw)
  To: Dennis Mungai; +Cc: 22948

Dennis Mungai <dmngaie@gmail.com> skribis:

> 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’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-03-10 13:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-08 19:41 bug#22948: Porting ocl-icd to guix fails because of ruby Dennis Mungai
2016-03-09 13:33 ` Ludovic Courtès
2016-03-10 12:18   ` Dennis Mungai
2016-03-10 13:09     ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).