From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id UMwAH28rw2FUnwAAgWs5BA (envelope-from ) for ; Wed, 22 Dec 2021 14:43:11 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id +AV5Gm8rw2H9GgAAbx9fmQ (envelope-from ) for ; Wed, 22 Dec 2021 13:43:11 +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 40B7F1BB40 for ; Wed, 22 Dec 2021 14:43:11 +0100 (CET) Received: from localhost ([::1]:32922 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n01te-0005eH-6n for larch@yhetil.org; Wed, 22 Dec 2021 08:43:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38918) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n01tW-0005aC-JB for guix-patches@gnu.org; Wed, 22 Dec 2021 08:43:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:45575) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n01tW-0002oN-90 for guix-patches@gnu.org; Wed, 22 Dec 2021 08:43:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n01tW-0002tJ-7u for guix-patches@gnu.org; Wed, 22 Dec 2021 08:43:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52731] [PATCH] import: texlive: Check if Subversion is installed. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 22 Dec 2021 13:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52731 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Liliana Marie Prikler , 52731@debbugs.gnu.org Received: via spool by 52731-submit@debbugs.gnu.org id=B52731.164018057111093 (code B ref 52731); Wed, 22 Dec 2021 13:43:02 +0000 Received: (at 52731) by debbugs.gnu.org; 22 Dec 2021 13:42:51 +0000 Received: from localhost ([127.0.0.1]:57121 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n01tL-0002sr-8g for submit@debbugs.gnu.org; Wed, 22 Dec 2021 08:42:51 -0500 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:55364 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n01tH-0002sX-SQ for 52731@debbugs.gnu.org; Wed, 22 Dec 2021 08:42:49 -0500 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yoctocell.xyz; s=mail; t=1640180559; bh=29zJZHGW9+RgTw0VbX94sJQvM4Qn418HHiACxjEcIjw=; h=From:To:Subject:In-Reply-To:References:Date; b=elgUnd1HZBt7exh/RQ9ubUhgjgdiQFZroj+KqeG2WvkK6MkT3nlJezWSeUtORMODX M6P3RqAl79rZW0ooHFc9HPnXE1RVI0ZfIthsJ/j0mfpgl23C2VoTtEX5Ca2RreANRX C2uElSC/wymQJHypWs0V6OovqXtRIwzI6vqL2m8Q= In-Reply-To: <62f7af317db40e543c8e329ccf86849cda08eca4.camel@ist.tugraz.at> References: <132d0f25d38be2a34abec3c43e4d685cdd0abe65.1640163645.git.public@yoctocell.xyz> <62f7af317db40e543c8e329ccf86849cda08eca4.camel@ist.tugraz.at> Date: Wed, 22 Dec 2021 14:42:39 +0100 Message-ID: <87a6gswyb4.fsf@yoctocell.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640180591; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=29zJZHGW9+RgTw0VbX94sJQvM4Qn418HHiACxjEcIjw=; b=jr3ngi1kL7EFlTJ64b+FX3Nmu8fXcCyzTFaEzv4xcS8h/Zifeq2q9bBuHm/RGLKZIhXpR3 3VO8Dv5vcrN25di3fnkp152ob5d/Ufe1eUEAhKSQT/yi5SOXvjLYN5Qe8tYHts1OH2eKR8 SM7VCOTcHQsWR5oP/abUp6CoSGae8hCRG4AhBrrE9zD2+niwE2uuFvvnuMfC8HeZFItDSj Z4ng2TwdpoD2I9+p2Kd8E/Rx8AOitnbQ+54AEnB+guI4ACWtoIaOUOoAbbLwHXfrJdrjHN eKvnko7Qfdgxl7jUaQriDgKQRNWHsyBNpCt95l/h5lSGIeDwnYuWu5pT4ya4AQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640180591; a=rsa-sha256; cv=none; b=G0fXP/JgP0UV3qDJRf4/PUa6IMuhAeeG1ImkoGjKxfP9zdh9OWWq5ZAp8rnnvQV7Egbuiv ehSpTKoZFPCQYfbxA1U5Z3lOLYdGFqlTDcI5xZYT8pgnsRXFwdIgii7hfgrNlaTomFuvdb DV3FrbDaykBfsAKXK3voKmoKLGo+F1ZMm+1n+NJ1UntyHzdxF3h7O2LB8U28D9W7RtrVBH xzBrQKDYM01W4ubowo+GUUvU8wguj34kzUFTR/DgSn/d8EVCxSP3XdArs2Vyv+cYu0AQSc 9/GaB7Y55F/ayP1sdwI3JJ4PNoy6C+f3xaj//SKbahCit1pGWiN9mPl5fsKsKg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=elgUnd1H; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.84 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=elgUnd1H; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 40B7F1BB40 X-Spam-Score: -4.84 X-Migadu-Scanner: scn0.migadu.com X-TUID: ze9TUYU3/Nm1 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Am Mittwoch, der 22. Dezember 2021, um 12:50 +01, schrieb Liliana Marie Pri= kler: > Am Mittwoch, dem 22.12.2021 um 10:01 +0100 schrieb Xinglu Chen: >> Exit with a friendlier error message instead of throwing throwing a >> =E2=80=9Cfailed with >> signal 11=E2=80=9D error if =E2=80=98svn=E2=80=99 isn=E2=80=99t in the u= ser=E2=80=99s PATH. >>=20 >> =C2=A0 $ guix import texlive getmap >> =C2=A0 command "svn" "export" "--non-interactive" "--trust-server-cert" = "- >> r" "59745" >> "svn:// >> www.tug.org/texlive/tags/texlive-2021.3/Master/texmf-dist/doc/latex/getm= ap/ >> " "/tmp/guix-directory.YgfGgo/doc/latex/getmap/" failed with signal >> 11 > Shouldn't we use a guix-built svn here (as in svn-fetch)? Which =E2=80=98svn-fetch=E2=80=99 are you referring to (there are two AFAIC= S)? The Texlive importer uses =E2=80=98download-multi-svn-to-store=E2=80=99, which = itself uses =E2=80=98svn-fetch=E2=80=99 from (guix build svn), but it requires the =E2= =80=98svn=E2=80=99 program to be in PATH. There is another =E2=80=98svn-fetch=E2=80=99 procedure, in (guix svn-downlo= ad), but that one returns a fixed-output derivation, so it can only be used if we already know the hash (which we don=E2=80=99t, that=E2=80=99s why we are fe= tching the SVN repo). Importers that fetch a Git repo don=E2=80=99t need =E2=80=98git=E2=80=99 to= be in PATH since they use the Guile-Git bindings to libgit2. But we don=E2=80=99t have Guile bindings to SVN (or Hg, CVS, Bzr), so the program has to be installed on the host system. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEAVhh4yyK5+SEykIzrPUJmaL7XHkFAmHDK08VHHB1YmxpY0B5 b2N0b2NlbGwueHl6AAoJEKz1CZmi+1x5uoMP+QGGE28xe784P/6eUHFfhb+rg9Dp kdutC/jMFXcO3b9tWC89TrFRVKmYYXbu/FrqB5yWA4sxrWMMzHzNMvLE7+GiTvWc 1sfBB1nTlrAwZN+BP9DYuw5dlrD/6lEnLtvNxt6RTuCuS8pQfiHi2jl3zjsLaorH T8YTbqhYo1w1ty2itbKbYApqS3ypkqP6r0moYZlWq2n5rkp+JNoIS44/l+DiwWKI KXDXdOIKSFs2ZzHEqBlsavzSRh3j5IgS0gUkLRobUuSHwBaZhj9DLPcMqhc3wyXz yi4yc4D9qzToJOL4Zeh8mwXu9PQagFN5gZKR48ASyLoIgB4SM9zHmBEAvuSeQpbo 4//akF2esmsjSugIi0zeMjUxGTiN0qDSwy6vLyZPp3WJQEUW9OEgCO11TEJ7p/t9 vhMxY3sSh3fBj6oHbJ+acEBLz7wh1gSC7pQj1y5XvhY0w9ZxqWKsWWcMzB9MbXaZ voUUT2+S+mAQRlogfKt7GvMFUEy5SdGZ/rl68EzylIuOYPMD6UfdX+ElAMZS6qz+ emx2JrljCMfte/UpKiZum1+CKYOsUTuLNrmhS4D5XapkZEi0YSGDY0Mjwa4/hEkd WQ3RMzmutykVKIxeOSg6/HX3A7dhfGlNQdoD2sDC7dzOOj+5A6/0c/KjlqnsdxDj YTECt4obZk0WX2pd =s3cu -----END PGP SIGNATURE----- --=-=-=--