unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: Guix Devel <guix-devel@gnu.org>
Subject: Re: “guix pack -RR r“ fails?
Date: Mon, 9 Nov 2020 13:01:22 +0100	[thread overview]
Message-ID: <CAJ3okZ0AYuooq+7tOMYqhJwra98zU+JcdQmJC6mWsYMDB_zEiQ@mail.gmail.com> (raw)
In-Reply-To: <87a6vrvjk9.fsf@gnu.org>

Hi,

On Sun, 8 Nov 2020 at 18:34, Ludovic Courtès <ludo@gnu.org> wrote:

> Oh right, you’d need to pick a different execution engine, most likely
> ‘fakechroot’ is the only one that works on this machine:
>
>   export GUIX_EXECUTION_ENGINE=fakechroot
>   strace -f -s 500 -o log ./bin/R

Hum?  I do not know if I am doing correctly.  The packages
fakechroot-2.9-24.5.el6_1.1.x86_64.rpm and
fakechroot-libs-2.9-24.5.el6_1.1.x86_64.rpm are installed.  And I get
as regular user:

--8<---------------cut here---------------start------------->8---
$ export GUIX_EXECUTION_ENGINE=fakechroot
$ strace -f -s 500 -o logg ./bin/R
fakechroot: unsupported Guix execution engine; ignoring
./bin/Rproot error: ptrace(TRACEME): Operation not permitted
proot error: execve("/gnu/store/nqqhaz59gdr5q6mb6mw9dd8jk133rna2-r-minimal-4.0.3/bin/R"):
Operation not permitted
proot info: possible causes:
  * the program is a script but its interpreter (eg. /bin/sh) was not found;
  * the program is an ELF but its interpreter (eg. ld-linux.so) was not found;
  * the program is a foreign binary but qemu was not specified;
  * qemu does not work correctly (if specified);
  * the loader was not found or doesn't work.
fatal error: see `proot --help`.
proot error: can't chmod '/tmp/proot-41950-9kDMBf': No such file or directory
--8<---------------cut here---------------end--------------->8---
However, as root, simply running ./bin/R returns:

--8<---------------cut here---------------start------------->8---
# ./bin/R
R: run.c:245: disallow_setgroups: Unexpected error: No such file or directory.
Abandon
[root@HEAD foo]#
R version 4.0.3 (2020-10-10) -- "Bunny-Wunnies Freak Out"
Copyright (C) 2020 The R Foundation for Statistical Computing
Platform: x86_64-unknown-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

During startup - Warning messages:
1: Setting LC_CTYPE failed, using "C"
2: Setting LC_COLLATE failed, using "C"
3: Setting LC_TIME failed, using "C"
4: Setting LC_MESSAGES failed, using "C"
5: Setting LC_MONETARY failed, using "C"
6: Setting LC_PAPER failed, using "C"
7: Setting LC_MEASUREMENT failed, using "C"
>
--8<---------------cut here---------------end--------------->8---


All the best,
simon


  reply	other threads:[~2020-11-09 12:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-04 18:13 “guix pack -RR r“ fails? zimoun
2020-11-05 12:38 ` Roel Janssen
2020-11-06 18:52   ` zimoun
2020-11-06 10:05 ` Ludovic Courtès
2020-11-06 18:48   ` zimoun
2020-11-08 17:34     ` Ludovic Courtès
2020-11-09 12:01       ` zimoun [this message]
2020-11-12 20:41         ` Ludovic Courtès
2020-11-12 23:21           ` zimoun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJ3okZ0AYuooq+7tOMYqhJwra98zU+JcdQmJC6mWsYMDB_zEiQ@mail.gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).