From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 8MZ5ATvCWF/+bwAA0tVLHw (envelope-from ) for ; Wed, 09 Sep 2020 11:53:31 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 6IPiODrCWF/OGwAAbx9fmQ (envelope-from ) for ; Wed, 09 Sep 2020 11:53:30 +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 7C8AD9404CB for ; Wed, 9 Sep 2020 11:53:30 +0000 (UTC) Received: from localhost ([::1]:52090 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kFyfJ-0007Dg-H2 for larch@yhetil.org; Wed, 09 Sep 2020 07:53:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39088) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kFyfB-0007DU-DC for guix-devel@gnu.org; Wed, 09 Sep 2020 07:53:21 -0400 Received: from smtp.hosts.co.uk ([85.233.160.19]:59945) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kFyf9-0001Yk-8T for guix-devel@gnu.org; Wed, 09 Sep 2020 07:53:21 -0400 Received: from maikeh336.claranet.co.uk ([79.123.23.187] helo=pancake.local) by smtp.hosts.co.uk with esmtpsa (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim) (envelope-from ) id 1kFyf2-0002bQ-86 for guix-devel@gnu.org; Wed, 09 Sep 2020 12:53:13 +0100 Message-ID: <04eeb383787339369224b9a8ad5e568eaa5cc6e6.camel@tourbillion-technology.com> Subject: Re: getting started with the texlive importer From: Paul Garlick To: guix-devel@gnu.org Date: Wed, 09 Sep 2020 12:53:11 +0100 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Received-SPF: none client-ip=85.233.160.19; envelope-from=pgarlick@tourbillion-technology.com; helo=smtp.hosts.co.uk X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/09 07:53:13 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x (no timestamps) [generic] [fuzzy] X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: 1.99 X-TUID: SHS9noCji2yL Hi Guix, I have been able to run the texlive importer after making some changes to guix/import/texlive.scm: @@ -148,20 +148,22 @@ expression describing it." ((lst ...) (map string->license lst)))) (home-page (string-append "http://www.ctan.org/pkg/" id)) (ref (texlive-ref component id)) - (checkout (download-svn-to-store store ref))) + ;; (checkout (download-svn-to-store store ref)) + ) `(package (name ,(guix-name component id)) (version ,version) (source (origin (method svn-fetch) (uri (texlive-ref ,component ,id)) - (sha256 - (base32 - ,(bytevector->nix-base32-string - (let-values (((port get-hash) (open-sha256- port))) - (write-file checkout port) - (force-output port) - (get-hash))))))) + ;; (sha256 + ;; (base32 + ;; ,(bytevector->nix-base32-string + ;; (let-values (((port get-hash) (open-sha256- port))) + ;; (write-file checkout port) + ;; (force-output port) + ;; (get-hash))))) + )) (build-system texlive-build-system) (arguments ,`(,'quote (#:tex-directory ,(string-join (list component id) "/")))) (home-page ,home-page) This successfully produces a definition, albeit without the hash field. So it seems that the procedure 'download-svn-to-store ' is the source of the original error. Any ideas on how to fix? Paul.