all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* guix import texlive fails because of svn
@ 2020-01-11 20:11 Matthew Leach
  2020-01-17 15:44 ` EuAndreh via
  2020-01-21  9:52 ` Ricardo Wurmus
  0 siblings, 2 replies; 7+ messages in thread
From: Matthew Leach @ 2020-01-11 20:11 UTC (permalink / raw)
  To: help-guix

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?

Regards,
-- 
Matt

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: guix import texlive fails because of svn
  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  9:52 ` Ricardo Wurmus
  1 sibling, 1 reply; 7+ messages in thread
From: EuAndreh via @ 2020-01-17 15:44 UTC (permalink / raw)
  To: Matthew Leach, help-guix

Hi Matthew

I had the same problem some days ago:
https://lists.gnu.org/archive/html/help-guix/2020-01/msg00017.html

The logs are really similar, and we both performed the same svn command
successfully.

I still am unable to run the TeX Live importer though. Were you able to
make it work after sending this message to the list?

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: guix import texlive fails because of svn
  2020-01-17 15:44 ` EuAndreh via
@ 2020-01-19 17:20   ` Matthew Leach
  2020-01-21  0:16     ` EuAndreh via
  0 siblings, 1 reply; 7+ messages in thread
From: Matthew Leach @ 2020-01-19 17:20 UTC (permalink / raw)
  To: EuAndreh; +Cc: help-guix

EuAndreh <eu@euandre.org> writes:

> Hi Matthew

Hi EuAndreh,

> I had the same problem some days ago:
> https://lists.gnu.org/archive/html/help-guix/2020-01/msg00017.html
>
> The logs are really similar, and we both performed the same svn command
> successfully.
>
> I still am unable to run the TeX Live importer though. Were you able to
> make it work after sending this message to the list?

I'm afraid that I've had no success in getting this working.  I'm still
unable to 'guix import' packages from TeXlive.  If you find a solution,
please let me know!

Regards,
-- 
Matt

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: guix import texlive fails because of svn
  2020-01-19 17:20   ` Matthew Leach
@ 2020-01-21  0:16     ` EuAndreh via
  0 siblings, 0 replies; 7+ messages in thread
From: EuAndreh via @ 2020-01-21  0:16 UTC (permalink / raw)
  To: Matthew Leach; +Cc: help-guix

> I'm afraid that I've had no success in getting this working.  I'm still
> unable to 'guix import' packages from TeXlive.  If you find a solution,
> please let me know!

Sure I will!

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: guix import texlive fails because of svn
  2020-01-11 20:11 guix import texlive fails because of svn Matthew Leach
  2020-01-17 15:44 ` EuAndreh via
@ 2020-01-21  9:52 ` Ricardo Wurmus
  2020-01-21 15:55   ` EuAndreh via
  1 sibling, 1 reply; 7+ messages in thread
From: Ricardo Wurmus @ 2020-01-21  9:52 UTC (permalink / raw)
  To: help-guix


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: guix import texlive fails because of svn
  2020-01-21  9:52 ` Ricardo Wurmus
@ 2020-01-21 15:55   ` EuAndreh via
  2020-01-22 21:52     ` Ricardo Wurmus
  0 siblings, 1 reply; 7+ messages in thread
From: EuAndreh via @ 2020-01-21 15:55 UTC (permalink / raw)
  To: Ricardo Wurmus, help-guix

Ricardo Wurmus <rekado@elephly.net> writes:

> 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.

Hi Ricardo,

This looks like a good opportunity for me to try to start hacking on
Guix itself. I've contributed with some patches to packages before, but
I'd  also like to start working on Guix.

I'll try to fix the issue in the next days and prepare a patch. How does
that sound?

Just saying this so we don't work on the same issue and have duplicate
effort.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: guix import texlive fails because of svn
  2020-01-21 15:55   ` EuAndreh via
@ 2020-01-22 21:52     ` Ricardo Wurmus
  0 siblings, 0 replies; 7+ messages in thread
From: Ricardo Wurmus @ 2020-01-22 21:52 UTC (permalink / raw)
  To: EuAndreh; +Cc: help-guix


EuAndreh <eu@euandre.org> writes:

> Ricardo Wurmus <rekado@elephly.net> writes:
>
>> 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.
>
> Hi Ricardo,
>
> This looks like a good opportunity for me to try to start hacking on
> Guix itself. I've contributed with some patches to packages before, but
> I'd  also like to start working on Guix.
>
> I'll try to fix the issue in the next days and prepare a patch. How does
> that sound?
>
> Just saying this so we don't work on the same issue and have duplicate
> effort.

Thanks for coordinating.  I haven’t yet found time to work on this, so
I’ll gladly leave this up to you.

Thanks!

-- 
Ricardo

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-01-22 21:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2020-01-21 15:55   ` EuAndreh via
2020-01-22 21:52     ` Ricardo Wurmus

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.