From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dennis Mungai Subject: bug#22948: Porting ocl-icd to guix fails because of ruby Date: Tue, 8 Mar 2016 22:41:09 +0300 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c0a8b545c137e052d8ec353 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46104) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adNW6-0002g8-S3 for bug-guix@gnu.org; Tue, 08 Mar 2016 14:42:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1adNW5-0006J7-U5 for bug-guix@gnu.org; Tue, 08 Mar 2016 14:42:02 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:42920) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adNW5-0006J3-Rm for bug-guix@gnu.org; Tue, 08 Mar 2016 14:42:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1adNW5-0007PS-Nd for bug-guix@gnu.org; Tue, 08 Mar 2016 14:42:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45982) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adNVH-0002WA-LE for bug-guix@gnu.org; Tue, 08 Mar 2016 14:41:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1adNVG-00061o-Hf for bug-guix@gnu.org; Tue, 08 Mar 2016 14:41:11 -0500 Received: from mail-yk0-x22b.google.com ([2607:f8b0:4002:c07::22b]:33749) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adNVG-00061Y-Dv for bug-guix@gnu.org; Tue, 08 Mar 2016 14:41:10 -0500 Received: by mail-yk0-x22b.google.com with SMTP id z7so10875604yka.0 for ; Tue, 08 Mar 2016 11:41:10 -0800 (PST) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: 22948@debbugs.gnu.org --94eb2c0a8b545c137e052d8ec353 Content-Type: text/plain; charset=UTF-8 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. --94eb2c0a8b545c137e052d8ec353 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello there,

I am po= rting ocl-icd to guix, see the package here:

= https://github.com/Brainiarc7/guix-bioinformatics/blob/master/gn/packages/o= cl-icd.scm

I'm getting bugged by this error everytime = I call the build as such from a dev setup:

env TEMPDIR=3D/gnu/tmp GU= IX_PACKAGE_PATH=3D../guix-bioinformatics ./pre-inst-env guix build -K ocl-i= cd

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-ya= rd
warning: failed to install locale: Invalid argument
guix package: = error: build failed: error parsing derivation `/gnu/store/7f9hwk8v9vzghc93m= 93y94iibvcc3mvd-ruby-2.3.0.tar.xz.drv': expected string `Derive(['<= br>
A bug, perhaps?

Regards,

<= div>Dennis.
--94eb2c0a8b545c137e052d8ec353-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#22948: Porting ocl-icd to guix fails because of ruby Date: Wed, 09 Mar 2016 14:33:25 +0100 Message-ID: <87a8m7dbdm.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51106) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adeFc-0001Q9-Cd for bug-guix@gnu.org; Wed, 09 Mar 2016 08:34:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1adeFW-0004P9-LB for bug-guix@gnu.org; Wed, 09 Mar 2016 08:34:08 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:43505) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adeFW-0004Op-Hp for bug-guix@gnu.org; Wed, 09 Mar 2016 08:34:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1adeFW-0005eO-Ax for bug-guix@gnu.org; Wed, 09 Mar 2016 08:34:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: (Dennis Mungai's message of "Tue, 8 Mar 2016 22:41:09 +0300") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Dennis Mungai Cc: 22948@debbugs.gnu.org Dennis Mungai skribis: > env TEMPDIR=3D/gnu/tmp GUIX_PACKAGE_PATH=3D../guix-bioinformatics > ./pre-inst-env guix build -K ocl-icd Note that setting TEMPDIR here (or even TMPDIR) has no effect, since it=E2=80=99s the =E2=80=98guix-daemon=E2=80=99 process, not =E2=80=98guix b= uild=E2=80=99, 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=E2=80=99. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dennis Mungai Subject: bug#22948: Porting ocl-icd to guix fails because of ruby Date: Thu, 10 Mar 2016 15:18:17 +0300 Message-ID: References: <87a8m7dbdm.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c07e1623e2b86052db0cf83 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35955) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adzYZ-0000Cm-38 for bug-guix@gnu.org; Thu, 10 Mar 2016 07:19:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1adzYU-00051g-8j for bug-guix@gnu.org; Thu, 10 Mar 2016 07:19:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:45238) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adzYU-00051c-4v for bug-guix@gnu.org; Thu, 10 Mar 2016 07:19:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1adzYT-0003Cy-Ss for bug-guix@gnu.org; Thu, 10 Mar 2016 07:19:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87a8m7dbdm.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 22948@debbugs.gnu.org --94eb2c07e1623e2b86052db0cf83 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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=C3=A8s wrote: > Dennis Mungai skribis: > > > env TEMPDIR=3D/gnu/tmp GUIX_PACKAGE_PATH=3D../guix-bioinformatics > > ./pre-inst-env guix build -K ocl-icd > > Note that setting TEMPDIR here (or even TMPDIR) has no effect, since > it=E2=80=99s the =E2=80=98guix-daemon=E2=80=99 process, not =E2=80=98guix= build=E2=80=99, 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=E2=80=99. > --94eb2c07e1623e2b86052db0cf83 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
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 thi= s was a corrupt store.

On 9 March 2016 at 16:33, Ludovic Court=C3=A8s <ludo@gnu.org= > wrote:
Dennis Mungai <= dmngaie@gmail.com> skribis:

> env TEMPDIR=3D/gnu/tmp GUIX_PACKAGE_PATH=3D../guix-bioinformatics
> ./pre-inst-env guix build -K ocl-icd

Note that setting TEMPDIR here (or even TMPDIR) has no effect, since
it=E2=80=99s the =E2=80=98guix-daemon=E2=80=99 process, not =E2=80=98guix b= uild=E2=80=99, 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.=C2=A0 Did you modify files by hand under /gnu/store?=C2=A0 This would void your warranty.=C2=A0 :-)

Thanks,
Ludo=E2=80=99.

--94eb2c07e1623e2b86052db0cf83-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#22948: Porting ocl-icd to guix fails because of ruby Date: Thu, 10 Mar 2016 14:09:18 +0100 Message-ID: <87y49qv5s1.fsf@gnu.org> References: <87a8m7dbdm.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49705) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ae0Lv-0006gj-9N for bug-guix@gnu.org; Thu, 10 Mar 2016 08:10:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ae0Lp-0003F8-QP for bug-guix@gnu.org; Thu, 10 Mar 2016 08:10:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:45299) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ae0Lp-0003F3-NJ for bug-guix@gnu.org; Thu, 10 Mar 2016 08:10:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1ae0Lp-00061m-JW for bug-guix@gnu.org; Thu, 10 Mar 2016 08:10:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: (Dennis Mungai's message of "Thu, 10 Mar 2016 15:18:17 +0300") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Dennis Mungai Cc: 22948@debbugs.gnu.org Dennis Mungai 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=E2=80=99ll never know. Make sure to never ever modify files under /gnu/store and you should be fine. Thanks, Ludo=E2=80=99.