Matthew Leach <matt...@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