unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#55709: R texinfo documents are not showing up for me
@ 2022-05-29 15:48 Kyle Andrews
  2022-05-29 22:37 ` Ludovic Courtès
  0 siblings, 1 reply; 9+ messages in thread
From: Kyle Andrews @ 2022-05-29 15:48 UTC (permalink / raw)
  To: 55709


Dear Guix,

I see that R provides a lot of texinfo documentation, but none of it is
showing up for me in 'Emacs M-x info' or by typing 'info R'. Is this
just my setup problem or is it a wider phenomenon?

Thanks,
Kyle




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

* bug#55709: R texinfo documents are not showing up for me
  2022-05-29 15:48 bug#55709: R texinfo documents are not showing up for me Kyle Andrews
@ 2022-05-29 22:37 ` Ludovic Courtès
  2022-05-31  0:35   ` Kyle Andrews
  0 siblings, 1 reply; 9+ messages in thread
From: Ludovic Courtès @ 2022-05-29 22:37 UTC (permalink / raw)
  To: Kyle Andrews; +Cc: 55709

Hi,

Kyle Andrews <kyle@posteo.net> skribis:

> I see that R provides a lot of texinfo documentation, but none of it is
> showing up for me in 'Emacs M-x info' or by typing 'info R'. Is this
> just my setup problem or is it a wider phenomenon?

The following Info files are provided by ‘r-minimal’:

--8<---------------cut here---------------start------------->8---
$ find -L $(guix build r-minimal) -name \*.info\* 
/gnu/store/jwr3aajwjxwv3swdwbdxzh8ccn3mdlvz-r-minimal-4.2.0/share/info/R-exts.info-1.gz
/gnu/store/jwr3aajwjxwv3swdwbdxzh8ccn3mdlvz-r-minimal-4.2.0/share/info/R-admin.info.gz
/gnu/store/jwr3aajwjxwv3swdwbdxzh8ccn3mdlvz-r-minimal-4.2.0/share/info/R-data.info.gz
/gnu/store/jwr3aajwjxwv3swdwbdxzh8ccn3mdlvz-r-minimal-4.2.0/share/info/R-lang.info.gz
/gnu/store/jwr3aajwjxwv3swdwbdxzh8ccn3mdlvz-r-minimal-4.2.0/share/info/R-intro.info.gz
/gnu/store/jwr3aajwjxwv3swdwbdxzh8ccn3mdlvz-r-minimal-4.2.0/share/info/R-exts.info-3.gz
/gnu/store/jwr3aajwjxwv3swdwbdxzh8ccn3mdlvz-r-minimal-4.2.0/share/info/R-exts.info.gz
/gnu/store/jwr3aajwjxwv3swdwbdxzh8ccn3mdlvz-r-minimal-4.2.0/share/info/R-exts.info-2.gz
/gnu/store/jwr3aajwjxwv3swdwbdxzh8ccn3mdlvz-r-minimal-4.2.0/share/info/R-ints.info.gz
/gnu/store/jwr3aajwjxwv3swdwbdxzh8ccn3mdlvz-r-minimal-4.2.0/share/info/R-FAQ.info.gz
--8<---------------cut here---------------end--------------->8---

This package is propagated by ‘r’.  Thus, you can access these manuals
for instance with:

  guix shell r info-reader -- info R-intro

You can replace ‘info-reader’ by ‘emacs’; the key here is that this sets
the ‘INFOPATH’ environment variable.

Does it work for you?

HTH,
Ludo’.




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

* bug#55709: R texinfo documents are not showing up for me
  2022-05-29 22:37 ` Ludovic Courtès
@ 2022-05-31  0:35   ` Kyle Andrews
  2022-05-31  8:37     ` Maxime Devos
  2022-05-31  9:37     ` Ludovic Courtès
  0 siblings, 2 replies; 9+ messages in thread
From: Kyle Andrews @ 2022-05-31  0:35 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 55709


Hi Ludo,

I tried with both info-reader and emacs. The former (your command)
worked (yay!), while the latter (see below) errored out: saying emacs
could not be found. 

  guix shell r emacs -- emacs
  # /gnu/store/rg8f1jd773n2l78p24m1gds3dmvcgkjq-profile/bin/emacs: error while loading shared libraries: /gnu/store/vncwfb53kbnyflyc1jyd2xv9sifpw202-gtk+-3.24.30/lib/libgdk-3.so.0: file too short

However, I tried also with emacs-no-x and it picked up the R texinfo
manuals with no problems. I also checked the INFOPATH and saw those
files directly in there. That's certainly better than on my system where
they are not.

The first item in $(guix describe) is:

  guix acb0830
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: acb08304c862d65679086a9f160240bfd598289d

Cheers,
Kyle

Ludovic Courtès <ludo@gnu.org> writes:

> Hi,
>
> Kyle Andrews <kyle@posteo.net> skribis:
>
>> I see that R provides a lot of texinfo documentation, but none of it is
>> showing up for me in 'Emacs M-x info' or by typing 'info R'. Is this
>> just my setup problem or is it a wider phenomenon?
>
> The following Info files are provided by ‘r-minimal’:
>
> $ find -L $(guix build r-minimal) -name \*.info\* 
> /gnu/store/jwr3aajwjxwv3swdwbdxzh8ccn3mdlvz-r-minimal-4.2.0/share/info/R-exts.info-1.gz
> /gnu/store/jwr3aajwjxwv3swdwbdxzh8ccn3mdlvz-r-minimal-4.2.0/share/info/R-admin.info.gz
> /gnu/store/jwr3aajwjxwv3swdwbdxzh8ccn3mdlvz-r-minimal-4.2.0/share/info/R-data.info.gz
> /gnu/store/jwr3aajwjxwv3swdwbdxzh8ccn3mdlvz-r-minimal-4.2.0/share/info/R-lang.info.gz
> /gnu/store/jwr3aajwjxwv3swdwbdxzh8ccn3mdlvz-r-minimal-4.2.0/share/info/R-intro.info.gz
> /gnu/store/jwr3aajwjxwv3swdwbdxzh8ccn3mdlvz-r-minimal-4.2.0/share/info/R-exts.info-3.gz
> /gnu/store/jwr3aajwjxwv3swdwbdxzh8ccn3mdlvz-r-minimal-4.2.0/share/info/R-exts.info.gz
> /gnu/store/jwr3aajwjxwv3swdwbdxzh8ccn3mdlvz-r-minimal-4.2.0/share/info/R-exts.info-2.gz
> /gnu/store/jwr3aajwjxwv3swdwbdxzh8ccn3mdlvz-r-minimal-4.2.0/share/info/R-ints.info.gz
> /gnu/store/jwr3aajwjxwv3swdwbdxzh8ccn3mdlvz-r-minimal-4.2.0/share/info/R-FAQ.info.gz
>
> This package is propagated by ‘r’.  Thus, you can access these manuals
> for instance with:
>
>   guix shell r info-reader -- info R-intro
>
> You can replace ‘info-reader’ by ‘emacs’; the key here is that this sets
> the ‘INFOPATH’ environment variable.
>
> Does it work for you?
>
> HTH,
> Ludo’.





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

* bug#55709: R texinfo documents are not showing up for me
  2022-05-31  0:35   ` Kyle Andrews
@ 2022-05-31  8:37     ` Maxime Devos
  2022-06-02  6:12       ` Liliana Marie Prikler
  2022-05-31  9:37     ` Ludovic Courtès
  1 sibling, 1 reply; 9+ messages in thread
From: Maxime Devos @ 2022-05-31  8:37 UTC (permalink / raw)
  To: Kyle Andrews, Ludovic Courtès; +Cc: 55709

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

Kyle Andrews schreef op di 31-05-2022 om 00:35 [+0000]:
>   # /gnu/store/rg8f1jd773n2l78p24m1gds3dmvcgkjq-profile/bin/emacs: error while loading shared libraries: /gnu/store/vncwfb53kbnyflyc1jyd2xv9sifpw202-gtk+-3.24.30/lib/libgdk-3.so.0: file too short

Seems suspect.  I'd suggest trying

guix gc --verify=contents /gnu/store/vncwfb53kbnyflyc1jyd2xv9sifpw202-gtk+-3.24.30

but that fails locally, apparently no arguments are accepted,
so maybe try

guix gc --verify=contents

(Is there a method to verify and repair a _single_ store item instead of the whole store?).

Greetings,
Maxime

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

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

* bug#55709: R texinfo documents are not showing up for me
  2022-05-31  0:35   ` Kyle Andrews
  2022-05-31  8:37     ` Maxime Devos
@ 2022-05-31  9:37     ` Ludovic Courtès
  2022-06-02  0:42       ` Kyle Andrews
  1 sibling, 1 reply; 9+ messages in thread
From: Ludovic Courtès @ 2022-05-31  9:37 UTC (permalink / raw)
  To: Kyle Andrews; +Cc: 55709

Hi Kyle,

Kyle Andrews <kyle@posteo.net> skribis:

> I tried with both info-reader and emacs. The former (your command)
> worked (yay!), while the latter (see below) errored out: saying emacs
> could not be found. 
>
>   guix shell r emacs -- emacs
>   # /gnu/store/rg8f1jd773n2l78p24m1gds3dmvcgkjq-profile/bin/emacs: error while loading shared libraries: /gnu/store/vncwfb53kbnyflyc1jyd2xv9sifpw202-gtk+-3.24.30/lib/libgdk-3.so.0: file too short

Could you type “unset LD_LIBRARY_PATH” before this command, to be on the
safe side?  Does it make a difference?

If not, what does this say:

  du -L /gnu/store/vncwfb53kbnyflyc1jyd2xv9sifpw202-gtk+-3.24.30/lib/libgdk-3.so.0

Here I get:

  1044    /gnu/store/vncwfb53kbnyflyc1jyd2xv9sifpw202-gtk+-3.24.30/lib/libgdk-3.so.0

Thanks,
Ludo’.




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

* bug#55709: R texinfo documents are not showing up for me
  2022-05-31  9:37     ` Ludovic Courtès
@ 2022-06-02  0:42       ` Kyle Andrews
  2022-06-02 13:39         ` Ludovic Courtès
  0 siblings, 1 reply; 9+ messages in thread
From: Kyle Andrews @ 2022-06-02  0:42 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 55709


Thanks for looking into this!

Ludovic Courtès <ludo@gnu.org> writes:

> Hi Kyle,
>
> Kyle Andrews <kyle@posteo.net> skribis:
>
>> I tried with both info-reader and emacs. The former (your command)
>> worked (yay!), while the latter (see below) errored out: saying emacs
>> could not be found. 
>>
>>   guix shell r emacs -- emacs
>>   # /gnu/store/rg8f1jd773n2l78p24m1gds3dmvcgkjq-profile/bin/emacs: error while loading shared libraries: /gnu/store/vncwfb53kbnyflyc1jyd2xv9sifpw202-gtk+-3.24.30/lib/libgdk-3.so.0: file too short
>
> Could you type “unset LD_LIBRARY_PATH” before this command, to be on the
> safe side?  Does it make a difference?

I tried unsetting LD_LIBRARY_PATH and it made no difference.

> If not, what does this say:
>
>   du -L /gnu/store/vncwfb53kbnyflyc1jyd2xv9sifpw202-gtk+-3.24.30/lib/libgdk-3.so.0
>
> Here I get:
>
>   1044    /gnu/store/vncwfb53kbnyflyc1jyd2xv9sifpw202-gtk+-3.24.30/lib/libgdk-3.so.0
>
> Thanks,
> Ludo’.

For me it gave:

0       /gnu/store/vncwfb53kbnyflyc1jyd2xv9sifpw202-gtk+-3.24.30/lib/libgdk-3.so.0

Does this mean I have some store corruption as Maxime suggested?

Thanks,
Kyle




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

* bug#55709: R texinfo documents are not showing up for me
  2022-05-31  8:37     ` Maxime Devos
@ 2022-06-02  6:12       ` Liliana Marie Prikler
  2022-06-04 23:29         ` Kyle Andrews
  0 siblings, 1 reply; 9+ messages in thread
From: Liliana Marie Prikler @ 2022-06-02  6:12 UTC (permalink / raw)
  To: Maxime Devos, Kyle Andrews, Ludovic Courtès; +Cc: 55709

Am Dienstag, dem 31.05.2022 um 10:37 +0200 schrieb Maxime Devos:
> (Is there a method to verify and repair a _single_ store item instead
> of the whole store?).
I think the syntax for that'd be ‘[sudo] guix build --repair
STORE_ITEM’.

Cheers




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

* bug#55709: R texinfo documents are not showing up for me
  2022-06-02  0:42       ` Kyle Andrews
@ 2022-06-02 13:39         ` Ludovic Courtès
  0 siblings, 0 replies; 9+ messages in thread
From: Ludovic Courtès @ 2022-06-02 13:39 UTC (permalink / raw)
  To: Kyle Andrews; +Cc: 55709

Hi,

Kyle Andrews <kyle@posteo.net> skribis:

> For me it gave:
>
> 0       /gnu/store/vncwfb53kbnyflyc1jyd2xv9sifpw202-gtk+-3.24.30/lib/libgdk-3.so.0
>
> Does this mean I have some store corruption as Maxime suggested?

Yes, that sounds likely.

Ludo’.




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

* bug#55709: R texinfo documents are not showing up for me
  2022-06-02  6:12       ` Liliana Marie Prikler
@ 2022-06-04 23:29         ` Kyle Andrews
  0 siblings, 0 replies; 9+ messages in thread
From: Kyle Andrews @ 2022-06-04 23:29 UTC (permalink / raw)
  To: Liliana Marie Prikler; +Cc: Ludovic Courtès, Maxime Devos, 55709


I had a really hard time getting ~guix gc --verify=contents,repair~ to
actually fix the problem and get commands like emacs to run.

Nothing worked until I mounted /gnu/store as read write and removed the
zeroed file completely for that particular gtk+3.24.30 folder, removed
the ~guix/store/.links~ folder, and then finally reran the ~guix gc ...~
command. That was after doing a fsck as well.

Hat tip to Tobias for spending a good chunk of saturday helping me
through this. He though this might be related to issue 50121 after I
referred him to it.

Cheers,

Kyle

Liliana Marie Prikler <liliana.prikler@ist.tugraz.at> writes:

> Am Dienstag, dem 31.05.2022 um 10:37 +0200 schrieb Maxime Devos:
>> (Is there a method to verify and repair a _single_ store item instead
>> of the whole store?).
> I think the syntax for that'd be ‘[sudo] guix build --repair
> STORE_ITEM’.
>
> Cheers





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

end of thread, other threads:[~2022-06-04 23:45 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-29 15:48 bug#55709: R texinfo documents are not showing up for me Kyle Andrews
2022-05-29 22:37 ` Ludovic Courtès
2022-05-31  0:35   ` Kyle Andrews
2022-05-31  8:37     ` Maxime Devos
2022-06-02  6:12       ` Liliana Marie Prikler
2022-06-04 23:29         ` Kyle Andrews
2022-05-31  9:37     ` Ludovic Courtès
2022-06-02  0:42       ` Kyle Andrews
2022-06-02 13:39         ` 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).