unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: help-guix@gnu.org
Subject: Re: guix import texlive fails because of svn
Date: Tue, 21 Jan 2020 10:52:00 +0100	[thread overview]
Message-ID: <87blqxw30f.fsf@elephly.net> (raw)
In-Reply-To: <87eew5n41r.fsf@mattleach.net>


Matthew Leach <matthew@mattleach.net> writes:

> Hi Guix,
>
> I'm trying to import a texlive package with the command: `guix import
> texlive savetrees'.  I get the following output:
>
> --8<---------------cut here---------------start------------->8---
> following redirection to `https://ctan.org/xml/1.2/pkg/savetrees'...
> Backtrace:
>           11 (primitive-load "/home/matthew/.config/guix/current/bin…")
> In guix/ui.scm:
>   1806:12 10 (run-guix-command _ . _)
> In guix/scripts/import.scm:
>    116:11  9 (guix-import . _)
> In guix/scripts/import/texlive.scm:
>     91:19  8 (guix-import-texlive . _)
> In guix/memoization.scm:
>      98:0  7 (_ #<hash-table 7fd23756dfe0 0/31> ("savetrees" "lat…") _)
> In unknown file:
>            6 (_ #<procedure 7fd237593e80 at guix/memoization.scm:17…> …)
> In guix/store.scm:
>    625:10  5 (call-with-store #<procedure 7fd2375c0060 at guix/impor…>)
> In guix/import/texlive.scm:
>    148:23  4 (_ #<store-connection 256.99 7fd237de1960>)
> In guix/utils.scm:
>     661:8  3 (call-with-temporary-directory #<procedure 7fd2364e1420…>)
> In guix/svn-download.scm:
>    160:14  2 (_ "/tmp/guix-directory.FEVjRH")
> In guix/build/svn.scm:
>      39:2  1 (svn-fetch _ _ _ #:svn-command _ #:recursive? _ # _ # _)
> In guix/build/utils.scm:
>     652:6  0 (invoke _ . _)
>
> guix/build/utils.scm:652:6: In procedure invoke:
> Throw to key `srfi-34' with args `(#<condition &invoke-error [program: "svn" arguments: ("export" "--non-interactive" "--trust-server-cert" "-r" "49435" "svn://www.tug.org/texlive/tags/texlive-2018.2/Master/texmf-dist/source/latex/savetrees" "/tmp/guix-directory.FEVjRH") exit-status: 1 term-signal: #f stop-signal: #f] 7fd2360bbe40>)'.
> --8<---------------cut here---------------end--------------->8---
>
> I have subversion installed and when I try to execute the subversion
> command manutally it succeeds:
>
> --8<---------------cut here---------------start------------->8---
> matthew@picard ~ $ svn export --non-interactive --trust-server-cert -r 49435 svn://www.tug.org/texlive/tags/texlive-2018.2/Master/texmf-dist/source/latex/savetrees /tmp/foobar
> A    /tmp/foobar
> A    /tmp/foobar/savetrees.dtx
> A    /tmp/foobar/savetrees.ins
> Exported revision 49435.
> --8<---------------cut here---------------end--------------->8---
>
> Am I doing something wrong or is this a bug?

Looking at the strace output I see that SVN complains about the temp
directory already existing.  This happens in download-svn-to-store in
guix/svn-download.scm where we generate a temporary directory and pass
it as an argument to build:svn-fetch.

Yes, this must be a bug.

--
Ricardo

  parent reply	other threads:[~2020-01-21  9:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-11 20:11 guix import texlive fails because of svn Matthew Leach
2020-01-17 15:44 ` EuAndreh via
2020-01-19 17:20   ` Matthew Leach
2020-01-21  0:16     ` EuAndreh via
2020-01-21  9:52 ` Ricardo Wurmus [this message]
2020-01-21 15:55   ` EuAndreh via
2020-01-22 21:52     ` Ricardo Wurmus

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=87blqxw30f.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=help-guix@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.
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).