From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id IJWRE/he819pAQAA0tVLHw (envelope-from ) for ; Mon, 04 Jan 2021 18:31:20 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id AERrD/he818fCgAA1q6Kng (envelope-from ) for ; Mon, 04 Jan 2021 18:31:20 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A6B1D9404C4 for ; Mon, 4 Jan 2021 18:31:19 +0000 (UTC) Received: from localhost ([::1]:33948 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kwUdQ-000715-S8 for larch@yhetil.org; Mon, 04 Jan 2021 13:31:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53336) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kwUdC-0006zP-LQ for bug-guix@gnu.org; Mon, 04 Jan 2021 13:31:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48722) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kwUdC-00010f-Dr for bug-guix@gnu.org; Mon, 04 Jan 2021 13:31:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kwUdC-0005v3-9W for bug-guix@gnu.org; Mon, 04 Jan 2021 13:31:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#45656: The TeX Live importer crashes with Wrong type (expecting string): #f Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 04 Jan 2021 18:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45656 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 45656@debbugs.gnu.org Received: via spool by 45656-submit@debbugs.gnu.org id=B45656.160978501722700 (code B ref 45656); Mon, 04 Jan 2021 18:31:02 +0000 Received: (at 45656) by debbugs.gnu.org; 4 Jan 2021 18:30:17 +0000 Received: from localhost ([127.0.0.1]:60267 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kwUcS-0005u3-Jx for submit@debbugs.gnu.org; Mon, 04 Jan 2021 13:30:16 -0500 Received: from mail-qk1-f175.google.com ([209.85.222.175]:42950) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kwUcO-0005tm-Ea for 45656@debbugs.gnu.org; Mon, 04 Jan 2021 13:30:15 -0500 Received: by mail-qk1-f175.google.com with SMTP id 22so24253350qkf.9 for <45656@debbugs.gnu.org>; Mon, 04 Jan 2021 10:30:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version:content-transfer-encoding; bh=uJfV7b5vo5fnPcVFUrq0uFsOo3nD3ztpUl1Ffe3i0vM=; b=aNLC6t3nelLtdRVJPLuHar2eozIDY/ZbpBbZRDl+enouhwalePBP+JIazwa56wKDOa vF+tHtYnpo7XU+PPyh8EnpH1xr44NXrnnuLuEktv99jo8r7Pb+/bjXYRcAQcKy6F5bRM STz/3EQI+HTEW8lAMzclkJuEXucLwSR8mvgkWze/eWyqTqSPzt1vhY1r+BzGJeCqwCmH 2fd5m49C/Blu2n0BhSnfa2n4UUV5R24h1XHbaWLoZjExKZzR1FxE201mv5jKGB4j2srH SLoclCywb1oewyG/mUvn4DYtO34pqM/+ubX2jFXGdvLTevOEYGTcDn6NF5nXKPjqGAET rnjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=uJfV7b5vo5fnPcVFUrq0uFsOo3nD3ztpUl1Ffe3i0vM=; b=fqNNRLliUwsVNC2z3v6w/k+M8hRwqM8m2EDtt+QyIti4lqy4b00OukW356ozcMxYg1 h62jJJs7AR1Y+Z24Xbwao4M//I4faiXy+9YSemWioiwLJWsvHDG3TsgRwcNWnI0l7yVf 33pgJLevn247Li5PJI7msEaBJu9Pj3svrjlZYQAbDsYxI7iTSodznfP9EPtDsfO4TjhO YA1A24HUdao8uq6WTJQqXAf8AZ9HD8TOEm5sI2LUcnLn2cq3PDbZoiNOnb4v8zZdOLAt hGGg6jA1YKKNnZVkyYCLG/BGUxOwwC/49H4nZKsrKKFrWbqAJnyAuK2xrM43Jbw4tRgD UW5g== X-Gm-Message-State: AOAM530vptcvl2QbimRFn+hAaKnlJ8tDbWzNZwT19Y7iBJ7lJqcoCyHS piCLqH+OFDvoFuo63rfZeFJMKs5K+Kk= X-Google-Smtp-Source: ABdhPJxARVZ4h3oTr46yLXV+TBLwjjmjPf140U3aefJtJptLGiFRrzmO3QEYvN1Ma/DYn3CQAcEuhQ== X-Received: by 2002:a37:45cf:: with SMTP id s198mr58961794qka.57.1609785006592; Mon, 04 Jan 2021 10:30:06 -0800 (PST) Received: from hurd (dsl-153-224.b2b2c.ca. [66.158.153.224]) by smtp.gmail.com with ESMTPSA id y17sm29790071qki.48.2021.01.04.10.30.05 for <45656@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Jan 2021 10:30:06 -0800 (PST) From: Maxim Cournoyer References: <87ft3geifh.fsf@gmail.com> Date: Mon, 04 Jan 2021 13:30:05 -0500 In-Reply-To: <87ft3geifh.fsf@gmail.com> (Maxim Cournoyer's message of "Mon, 04 Jan 2021 12:11:14 -0500") Message-ID: <87czykees2.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.23 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=aNLC6t3n; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: A6B1D9404C4 X-Spam-Score: -1.23 X-Migadu-Scanner: scn0.migadu.com X-TUID: RyYmPOH+mOrG Hello, Maxim Cournoyer writes: > Hello, > > The TeX Live importer doesn't appear to be functional: > > $ guix import texlive lh > following redirection to `https://ctan.org/xml/1.2/pkg/lh'... > command "svn" "export" "--non-interactive" "--trust-server-cert" "-r" "51= 265" "svn://www.tug.org/texlive/tags/texlive-2019.3/Master/texmf-dist/sourc= e/latex/lh" "/tmp/guix-directory.vfSCcU/svn" failed with signal 11 > Backtrace: > In ice-9/boot-9.scm: > 1736:10 15 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _) > In unknown file: > 14 (apply-smob/0 #) > In ice-9/boot-9.scm: > 718:2 13 (call-with-prompt _ _ #) > In ice-9/eval.scm: > 619:8 12 (_ #(#(#))) > In guix/ui.scm: > 2118:12 11 (run-guix-command _ . _) > In guix/scripts/import.scm: > 120:11 10 (guix-import . _) > In guix/scripts/import/texlive.scm: > 91:19 9 (guix-import-texlive . _) > In guix/memoization.scm: > 98:0 8 (mproc "lh" "latex") > In unknown file: > 7 (_ # # ("lh" =E2=80=A6)) > In ice-9/boot-9.scm: > 1736:10 6 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _) > In guix/store.scm: > 632:37 5 (thunk) > In guix/import/texlive.scm: > 162:25 4 (_ _) > In guix/serialization.scm: > 324:6 3 (dump #f) > 257:34 2 (_ _) > In unknown file: > 1 (lstat #f) > In ice-9/boot-9.scm: > 1669:16 0 (raise-exception _ #:continuable? _) > > ice-9/boot-9.scm:1669:16: In procedure raise-exception: > Wrong type (expecting string): #f > > The same happens with other packages, such as 'ec'. The reason appears to be that the svn reference URL is wrong; unfortunately this information is not present in the SXML metadata retrieved; it seems the best option when such an URL does not exist would be to fallback to a SVN multi-fetch (perhaps using the simple-texlive-package procedure to derive a template) of the components found in the texlive.tlpdb listing found in the output of our texlive-bin package. TODO! Maxim