unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#55587: `guix import texlive PKG` fails with signal 11, no output
@ 2022-05-22 20:26 Hugo Nobrega
  2022-05-25 10:36 ` bug#55596: Guix/Guile segfaults on `guix import texlive` Ludovic Courtès
  0 siblings, 1 reply; 8+ messages in thread
From: Hugo Nobrega @ 2022-05-22 20:26 UTC (permalink / raw)
  To: 55587

Hello,

The guix 'texlive' package importer is not working with any package, as
far as I can tell. It does *some* legwork, managing to figure out the
correct URI of the package, but then errors out with signal 11.

Having had a look at previous bug reports, it seems this "signal 11"
thing is not new (e.g., bug#28303), but in any case I am not seeing any
output after the error (unlike what seemed to be happening in bug#28303)

Example:

hugo@hp-guix ~$ guix import texlive cite
command "svn" "export" "--non-interactive" "--trust-server-cert" "-r"
"59745"
"svn://www.tug.org/texlive/tags/texlive-2021.3/Master/texmf-dist/doc/latex/cite/"
"/tmp/guix-directory.09UnsN/doc/latex/cite/" failed with signal 11 guix
import: error: failed to import package 'cite'

Best regards,
Hugo




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

* bug#55596: Guix/Guile segfaults on `guix import texlive`
  2022-05-22 20:26 bug#55587: `guix import texlive PKG` fails with signal 11, no output Hugo Nobrega
@ 2022-05-25 10:36 ` Ludovic Courtès
  2022-05-26  0:20   ` Hugo
  0 siblings, 1 reply; 8+ messages in thread
From: Ludovic Courtès @ 2022-05-25 10:36 UTC (permalink / raw)
  To: Hugo Nobrega; +Cc: 55596, 55587

Hello,

Hugo Nobrega <hugonobrega@ic.ufrj.br> skribis:

> hugo@hp-guix ~$ guix import texlive cite
> command "svn" "export" "--non-interactive" "--trust-server-cert" "-r"
> "59745"
> "svn://www.tug.org/texlive/tags/texlive-2021.3/Master/texmf-dist/doc/latex/cite/"
> "/tmp/guix-directory.09UnsN/doc/latex/cite/" failed with signal 11 guix
> import: error: failed to import package 'cite'

Jack Hill <jackhill@jackhill.us> skribis:

> With Guix commit 4ba4cb1d49d70a00f7236f60bd92e5eccef573dd on Linux
> x86-64, I have the following problem trying to import a texlive
> package:
>
> """
> $ guix import texlive qrcode
> command "svn" "export" "--non-interactive" "--trust-server-cert" "-r" "59745" "svn://www.tug.org/texlive/tags/texlive-2021.3/Master/texmf-dist/doc/latex/qrcode/" "/tmp/guix-directory.6aY7Gk/doc/latex/qrcode/" failed with signal 11
> guix import: error: failed to import package 'qrcode'
> """
>
> It seems something is unwell with our subversion package?

Works for me on x86_64-linux!

--8<---------------cut here---------------start------------->8---
$ guix describe
Generation 215	May 22 2022 23:16:03	(current)
  guix 81f7bb1
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 81f7bb1691dc9dc69fc6e584ad8c6e36e495c103
$ guix shell subversion -- guix import texlive qrcode
A    /tmp/guix-directory.rXo6NK/doc/latex/qrcode
A    /tmp/guix-directory.rXo6NK/doc/latex/qrcode/README
A    /tmp/guix-directory.rXo6NK/doc/latex/qrcode/qrcode.pdf
Exported revision 59745.
A    /tmp/guix-directory.rXo6NK/source/latex/qrcode
A    /tmp/guix-directory.rXo6NK/source/latex/qrcode/qrcode.dtx
A    /tmp/guix-directory.rXo6NK/source/latex/qrcode/qrcode.ins
Exported revision 59745.
A    /tmp/guix-directory.rXo6NK/tex/latex/qrcode
A    /tmp/guix-directory.rXo6NK/tex/latex/qrcode/qrcode.sty
Exported revision 59745.
(package
  (inherit
    (simple-texlive-package
      "texlive-qrcode"
      (list "doc/latex/qrcode/" "source/latex/qrcode/" "tex/latex/qrcode/")
      (base32 "197v18lsvb90i07gxvc6mrmn1z63q8v0wvcnbk8dnn3hhabpn16y")))
  (home-page "https://ctan.org/macros/latex/contrib/qrcode")
  (synopsis "Generate QR codes in LaTeX")
  (description
    "The package generates QR (Quick Response) codes in LaTeX, without the need for
PSTricks or any other graphical package.")
  (license lppl1.3+))
$ guix shell subversion -- guix import texlive cite
A    /tmp/guix-directory.GpxhKw/doc/latex/cite
A    /tmp/guix-directory.GpxhKw/doc/latex/cite/README
A    /tmp/guix-directory.GpxhKw/doc/latex/cite/chapterbib.ltx
A    /tmp/guix-directory.GpxhKw/doc/latex/cite/chapterbib.pdf
A    /tmp/guix-directory.GpxhKw/doc/latex/cite/cite.ltx
A    /tmp/guix-directory.GpxhKw/doc/latex/cite/cite.pdf
Exported revision 59745.
A    /tmp/guix-directory.GpxhKw/tex/latex/cite
A    /tmp/guix-directory.GpxhKw/tex/latex/cite/chapterbib.sty
A    /tmp/guix-directory.GpxhKw/tex/latex/cite/cite.sty
A    /tmp/guix-directory.GpxhKw/tex/latex/cite/drftcite.sty
A    /tmp/guix-directory.GpxhKw/tex/latex/cite/overcite.sty
Exported revision 59745.
(package
  (inherit
    (simple-texlive-package
      "texlive-cite"
      (list "doc/latex/cite/" "tex/latex/cite/")
      (base32 "0b1amznayxj80dmqbzcysmj7q8aksbyz98k6djsqi0mhwp1cd0fd")
      #:trivial?
      #t))
  (home-page "https://ctan.org/macros/latex/contrib/cite")
  (synopsis "Improved citation handling in LaTeX")
  (description
    "The package supports compressed, sorted lists of numerical citations, and also
deals with various punctuation and other issues of representation, including
comprehensive management of break points.  The package is compatible with both
hyperref and backref.  The package is (unsurprisingly) part of the cite bundle
of the author's citation-related packages.")
  (license (error unknown-license "other-free")))
--8<---------------cut here---------------end--------------->8---

Jack, Hugo: What does “type -P svn” say?

Does the bug occur within ‘guix shell subversion’ as shown above?

TIA,
Ludo’.




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

* bug#55596: Guix/Guile segfaults on `guix import texlive`
  2022-05-25 10:36 ` bug#55596: Guix/Guile segfaults on `guix import texlive` Ludovic Courtès
@ 2022-05-26  0:20   ` Hugo
  2022-05-26 13:36     ` bug#55596: bug#55587: " Jack Hill
  0 siblings, 1 reply; 8+ messages in thread
From: Hugo @ 2022-05-26  0:20 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 55596, 55587

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

> Jack, Hugo: What does “type -P svn” say?
>
> Does the bug occur within ‘guix shell subversion’ as shown above?

Well, I feel kind of silly now, after actually installing subversion the
command works as expected :)

But I suppose the silent failure is still something that could/should be
improved.

Thanks,
Hugo




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

* bug#55596: bug#55587: bug#55596: Guix/Guile segfaults on `guix import texlive`
  2022-05-26  0:20   ` Hugo
@ 2022-05-26 13:36     ` Jack Hill
  2022-05-28 17:19       ` Ludovic Courtès
  0 siblings, 1 reply; 8+ messages in thread
From: Jack Hill @ 2022-05-26 13:36 UTC (permalink / raw)
  To: Hugo; +Cc: 55596, Ludovic Courtès, 55587

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

On Wed, 25 May 2022, Hugo wrote:

> Ludovic Courtès <ludo@gnu.org> writes:
>
>> Jack, Hugo: What does “type -P svn” say?
>>
>> Does the bug occur within ‘guix shell subversion’ as shown above?
>
> Well, I feel kind of silly now, after actually installing subversion the
> command works as expected :)

Same for me, and I feel equally silly :)

> But I suppose the silent failure is still something that could/should be
> improved.

+1 for this. Maybe some day we'll have have guile-svn, but until then an 
error message would be fine.

Best,
Jack

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

* bug#55587: bug#55596: Guix/Guile segfaults on `guix import texlive`
  2022-05-26 13:36     ` bug#55596: bug#55587: " Jack Hill
@ 2022-05-28 17:19       ` Ludovic Courtès
  2022-05-28 18:51         ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
  0 siblings, 1 reply; 8+ messages in thread
From: Ludovic Courtès @ 2022-05-28 17:19 UTC (permalink / raw)
  To: Jack Hill; +Cc: 55596, 55587, Hugo

Hi,

Jack Hill <jackhill@jackhill.us> skribis:

> On Wed, 25 May 2022, Hugo wrote:
>
>> Ludovic Courtès <ludo@gnu.org> writes:
>>
>>> Jack, Hugo: What does “type -P svn” say?
>>>
>>> Does the bug occur within ‘guix shell subversion’ as shown above?
>>
>> Well, I feel kind of silly now, after actually installing subversion the
>> command works as expected :)
>
> Same for me, and I feel equally silly :)

You mentioned an error report from Guix:

  command "svn" "export" "--non-interactive" "--trust-server-cert" "-r" "59745" "svn://www.tug.org/texlive/tags/texlive-2021.3/Master/texmf-dist/doc/latex/cite/" "/tmp/guix-directory.09UnsN/doc/latex/cite/" failed with signal 11

To me that means that an “svn” command was indeed found in $PATH but
that it segfaulted.

What did “type -P svn” return?  Perhaps there was an “svn” command
coming from the host distro, like /usr/bin/svn?

Or am I missing something?

Thanks,
Ludo’.




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

* bug#55587: bug#55596: Guix/Guile segfaults on `guix import texlive`
  2022-05-28 17:19       ` Ludovic Courtès
@ 2022-05-28 18:51         ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
  2022-05-29 10:19           ` Hugo
  2022-06-15 20:39           ` Ludovic Courtès
  0 siblings, 2 replies; 8+ messages in thread
From: Tobias Geerinckx-Rice via Bug reports for GNU Guix @ 2022-05-28 18:51 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 55596, jackhill, 55587, hugonobrega

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

Hi,

I thought I'd replied to this.

I think you might be barking up the wrong tree (or, likely, that 
there are multiple trees here).  I could reproduce the segfault on 
Guix System and encouraged Jack to file this bug.

It's not foreign-distro-related.  The process actually segfaulting 
is Guix, not svn, possibly due to a missing svn.

Kind regards,

T G-R

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

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

* bug#55587: bug#55596: Guix/Guile segfaults on `guix import texlive`
  2022-05-28 18:51         ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
@ 2022-05-29 10:19           ` Hugo
  2022-06-15 20:39           ` Ludovic Courtès
  1 sibling, 0 replies; 8+ messages in thread
From: Hugo @ 2022-05-29 10:19 UTC (permalink / raw)
  To: Tobias Geerinckx-Rice, Ludovic Courtès; +Cc: 55596, jackhill, 55587

Hello,

> It's not foreign-distro-related.  The process actually segfaulting 
> is Guix, not svn, possibly due to a missing svn.

Indeed, I think Tobias is on the right track here.
However, I can no longer reproduce the `signal 11` error

To answer Ludò, though,

> What did “type -P svn” return?

Before I installed subversion: nothing. Now it shows the correct path to
svn.

> Perhaps there was an “svn” command coming from the host distro, like
> /usr/bin/svn?

Nope, this is on Guix System.

Best wishes,
Hugo




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

* bug#55596: Guix/Guile segfaults on `guix import texlive`
  2022-05-28 18:51         ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
  2022-05-29 10:19           ` Hugo
@ 2022-06-15 20:39           ` Ludovic Courtès
  1 sibling, 0 replies; 8+ messages in thread
From: Ludovic Courtès @ 2022-06-15 20:39 UTC (permalink / raw)
  To: Tobias Geerinckx-Rice; +Cc: 55596, jackhill, 55587, hugonobrega

Hello,

Tobias Geerinckx-Rice <me@tobias.gr> skribis:

> I think you might be barking up the wrong tree (or, likely, that there
> are multiple trees here).  I could reproduce the segfault on Guix
> System and encouraged Jack to file this bug.
>
> It's not foreign-distro-related.  The process actually segfaulting is
> Guix, not svn, possibly due to a missing svn.

I don’t think so; the error message that was reported is:

  command "svn" "export" "--non-interactive" "--trust-server-cert" "-r" "59745" "svn://www.tug.org/texlive/tags/texlive-2021.3/Master/texmf-dist/doc/latex/cite/" "/tmp/guix-directory.09UnsN/doc/latex/cite/" failed with signal 11

It’s a message from ‘report-invoke-error’ in (guix build utils).  It’s
really svn that’s segfaulting.

Should we close and reopen if/when we have more info?

Thanks,
Ludo’.




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

end of thread, other threads:[~2022-06-15 20:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-22 20:26 bug#55587: `guix import texlive PKG` fails with signal 11, no output Hugo Nobrega
2022-05-25 10:36 ` bug#55596: Guix/Guile segfaults on `guix import texlive` Ludovic Courtès
2022-05-26  0:20   ` Hugo
2022-05-26 13:36     ` bug#55596: bug#55587: " Jack Hill
2022-05-28 17:19       ` Ludovic Courtès
2022-05-28 18:51         ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2022-05-29 10:19           ` Hugo
2022-06-15 20:39           ` Ludovic Courtès

Code repositories for project(s) associated with this 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).