Texlive importer is broken

  • Open
  • quality assurance status badge
Details
3 participants
  • Josselin Poiret
  • Elias Kueny
  • Simon Tournier
Owner
unassigned
Submitted by
Elias Kueny
Severity
normal
E
E
Elias Kueny wrote on 27 Dec 2022 19:56
(address . bug-guix@gnu.org)
87ilhwzkpf.fsf@posteo.net
Hello,

The texlive importer doesn't return any package definition anymore, for example:

Toggle quote (4 lines)
> guix import texlive siunitx
> command "svn" "export" "--non-interactive" "--trust-server-cert" "-r" "59745" "svn://www.tug.org/texlive/tags/texlive-2021.3/Master/texmf-dist/doc/latex/siunitx/" "/tmp/guix-directory.Gs0bAp/doc/latex/siunitx/" failed with signal 11
> guix import: error: failed to download description for package 'siunitx'

I updated guix today (from 0afe9f36d8b8b69d3e69fc8c06aeadc1bd95eecd to 8f93a1e01a879ae026678dd92c18e2a2a49be540) but since I don't see any recent change in guix/import/texlive.scm, I don't know if it's relevant. Other importers work fine. All else I can say is that running the same command manually works:

Toggle quote (5 lines)
> svn export --non-interactive --trust-server-cert -r 59745 "svn://tug.org/texlive/tags/texlive-2021.3/Master/texmf-dist/doc/latex/siunitx" "/tmp/guix-directory.Gs0bAp/doc/latex/siunitx/"
> A siunitx
> A siunitx/README.md
> A siunitx/siunitx.pdf
> Exported revision 59745.
J
J
Josselin Poiret wrote on 28 Dec 2022 12:09
87fsczokcz.fsf@jpoiret.xyz
Hi Elias,
Elias Kueny <elias.kueny@posteo.net> writes:

Toggle quote (8 lines)
> Hello,
>
> The texlive importer doesn't return any package definition anymore, for example:
>
>> guix import texlive siunitx
>> command "svn" "export" "--non-interactive" "--trust-server-cert" "-r" "59745" "svn://www.tug.org/texlive/tags/texlive-2021.3/Master/texmf-dist/doc/latex/siunitx/" "/tmp/guix-directory.Gs0bAp/doc/latex/siunitx/" failed with signal 11
>> guix import: error: failed to download description for package 'siunitx'

Quick question, is `svn` available in your environment? I usually do
`guix shell subversion -- guix import texlive ...`. This is an annoying
shortcoming of that import command that we should be able to fix imo,
especially since it's not obvious what the problem is.

Best,
--
Josselin Poiret
E
E
Elias Kueny wrote on 28 Dec 2022 14:48
(address . 60363@debbugs.gnu.org)
87358zy6tq.fsf@posteo.net
Sorry if the message is duplicated, my previous attempts at replying bounced because debbugs.gnu.org doesn't support TLS.

On Wed, Dec 28 2022, Josselin Poiret wrote:
Toggle quote (5 lines)
> Quick question, is `svn` available in your environment? I usually do
> `guix shell subversion -- guix import texlive ...`. This is an annoying
> shortcoming of that import command that we should be able to fix imo,
> especially since it's not obvious what the problem is.

I saw the the same advice in issue #55587 and indeed with svn in the environment, the import command works again. But I'm confused because it used to work and I had never installed subversion before (I'm on Guix System). Maybe it was provided by a package I removed in the meantime.
S
S
Simon Tournier wrote on 5 Jan 2023 13:11
86k0216v1f.fsf@gmail.com
Hi,

On Wed, 28 Dec 2022 at 12:09, Josselin Poiret via Bug reports for GNU Guix <bug-guix@gnu.org> wrote:

Toggle quote (5 lines)
> Quick question, is `svn` available in your environment? I usually do
> `guix shell subversion -- guix import texlive ...`. This is an annoying
> shortcoming of that import command that we should be able to fix imo,
> especially since it's not obvious what the problem is.

Well, I guess the culprit is:

Toggle snippet (5 lines)
(source (with-store store
(download-multi-svn-to-store
store ref (string-append name "-svn-multi-checkout")))))

and maybe we could catch the error and report a nice hint. Well, the
question is where to handle the error. :-)


Cheers,
simom
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 60363@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 60363
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch