all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Xinglu Chen <public@yoctocell.xyz>
To: Liliana Marie Prikler <liliana.prikler@ist.tugraz.at>,
	52731@debbugs.gnu.org
Subject: [bug#52731] [PATCH] import: texlive: Check if Subversion is installed.
Date: Wed, 22 Dec 2021 14:42:39 +0100	[thread overview]
Message-ID: <87a6gswyb4.fsf@yoctocell.xyz> (raw)
In-Reply-To: <62f7af317db40e543c8e329ccf86849cda08eca4.camel@ist.tugraz.at>

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

Am Mittwoch, der 22. Dezember 2021, um 12:50 +01, schrieb Liliana Marie Prikler:

> Am Mittwoch, dem 22.12.2021 um 10:01 +0100 schrieb Xinglu Chen:
>> Exit with a friendlier error message instead of throwing throwing a
>> “failed with
>> signal 11” error if ‘svn’ isn’t in the user’s PATH.
>> 
>>   $ guix import texlive getmap
>>   command "svn" "export" "--non-interactive" "--trust-server-cert" "-
>> r" "59745"
>> "svn://
>> www.tug.org/texlive/tags/texlive-2021.3/Master/texmf-dist/doc/latex/getmap/
>> " "/tmp/guix-directory.YgfGgo/doc/latex/getmap/" failed with signal
>> 11
> Shouldn't we use a guix-built svn here (as in svn-fetch)?

Which ‘svn-fetch’ are you referring to (there are two AFAICS)?  The
Texlive importer uses ‘download-multi-svn-to-store’, which itself uses
‘svn-fetch’ from (guix build svn), but it requires the ‘svn’ program to
be in PATH.

There is another ‘svn-fetch’ procedure, in (guix svn-download), but that
one returns a fixed-output derivation, so it can only be used if we
already know the hash (which we don’t, that’s why we are fetching the
SVN repo).

Importers that fetch a Git repo don’t need ‘git’ to be in PATH since
they use the Guile-Git bindings to libgit2.  But we don’t have Guile
bindings to SVN (or Hg, CVS, Bzr), so the program has to be installed on
the host system.

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

  reply	other threads:[~2021-12-22 13:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-22  9:01 [bug#52731] [PATCH] import: texlive: Check if Subversion is installed Xinglu Chen
2021-12-22 11:50 ` Liliana Marie Prikler
2021-12-22 13:42   ` Xinglu Chen [this message]
2021-12-22 14:23     ` zimoun
2021-12-22 15:21       ` Xinglu Chen
2022-11-17 13:10 ` [bug#52731] (no subject) yarl baudig

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

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

  git send-email \
    --in-reply-to=87a6gswyb4.fsf@yoctocell.xyz \
    --to=public@yoctocell.xyz \
    --cc=52731@debbugs.gnu.org \
    --cc=liliana.prikler@ist.tugraz.at \
    /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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.