From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: guix import texlive fails because of svn Date: Tue, 21 Jan 2020 10:52:00 +0100 Message-ID: <87blqxw30f.fsf@elephly.net> References: <87eew5n41r.fsf@mattleach.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:60359) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1itqCk-0007Hy-3x for help-guix@gnu.org; Tue, 21 Jan 2020 04:52:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1itqCi-0005O3-Hy for help-guix@gnu.org; Tue, 21 Jan 2020 04:52:13 -0500 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21175) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1itqCh-0005N7-7F for help-guix@gnu.org; Tue, 21 Jan 2020 04:52:12 -0500 In-reply-to: <87eew5n41r.fsf@mattleach.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane-mx.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org Matthew Leach 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=E2= =80=A6") > 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 (_ # ("savetrees" "lat=E2=80= =A6") _) > In unknown file: > 6 (_ # =E2=80=A6) > In guix/store.scm: > 625:10 5 (call-with-store #) > In guix/import/texlive.scm: > 148:23 4 (_ #) > In guix/utils.scm: > 661:8 3 (call-with-temporary-directory #) > 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 `(#)'. > --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 49= 435 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