From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 0IfFKJIsr2LKFQAAbAwnHQ (envelope-from ) for ; Sun, 19 Jun 2022 16:02:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id cMp+KJIsr2JwdwEAauVa8A (envelope-from ) for ; Sun, 19 Jun 2022 16:02:58 +0200 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 95B2039FD1 for ; Sun, 19 Jun 2022 16:02:57 +0200 (CEST) Received: from localhost ([::1]:55552 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o2vVv-0000Q6-Vv for larch@yhetil.org; Sun, 19 Jun 2022 10:02:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60048) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2vVF-0000Oz-Vf for guix-patches@gnu.org; Sun, 19 Jun 2022 10:02:16 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58837) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o2vV5-0004aa-47 for guix-patches@gnu.org; Sun, 19 Jun 2022 10:02:13 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o2vV4-0002dA-KB for guix-patches@gnu.org; Sun, 19 Jun 2022 10:02:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55997] [PATCH staging 2/4] gnu: Remove texlive's dependence on ruby-rspec and ruby-byebug. Resent-From: Tom Fitzhenry Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 19 Jun 2022 14:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55997 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxime Devos Cc: 55997@debbugs.gnu.org Received: via spool by 55997-submit@debbugs.gnu.org id=B55997.16556473008929 (code B ref 55997); Sun, 19 Jun 2022 14:02:02 +0000 Received: (at 55997) by debbugs.gnu.org; 19 Jun 2022 14:01:40 +0000 Received: from localhost ([127.0.0.1]:52734 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2vUe-0002H3-5o for submit@debbugs.gnu.org; Sun, 19 Jun 2022 10:01:39 -0400 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:53187) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2vUb-0002A5-DO for 55997@debbugs.gnu.org; Sun, 19 Jun 2022 10:01:34 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id E9DC4320034E; Sun, 19 Jun 2022 10:01:26 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Sun, 19 Jun 2022 10:01:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= tom-fitzhenry.me.uk; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm2; t=1655647286; x=1655733686; bh=toLoqljoPn Ge2mDU6qG1x+lh+aD07je9xHSZjqh8mLo=; b=EgSiqU9Drpj1F/Ir6S2L91GHoT 3rMstzKuf07tCR+ae5kLl3y+qNija7hjfI08Uhfut5u0aZMXTaa5Rgyu9iN6JHSq ZiKsWayIWl+c2zPrFdNlR1SfeulCgigOEmuZGFrgUOJzX6FN+Ml97g3W7ffV688K d07igEiEfLAXFirQxIhUGJiM5A5IY0+Fa55/S7tVYoZcdGGLJ8effk1bHGWH79+n kAGQEWOludyefHB/NG+vTqCnFrKx548TK+GSYgfF1w0ht/BpuKdvVinuX6ejUfF/ WaR4y3QeUPm6L6U/XdBuvyJZ3DgOOTccS10SwgenVCQ5/1U/UYNVXG5fWPmQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1655647286; x= 1655733686; bh=toLoqljoPnGe2mDU6qG1x+lh+aD07je9xHSZjqh8mLo=; b=Z yaI9h/6IuReXwgIAVqynt/spkaIpqzNGr2FMDMV7n/iwY52jBUtF/BAaBYqRipt0 mvH6Soppj38rVttaLabFvpxg60rgROj2jlBshllO3GT1voawAxdM7D8W10Mao7en CTESHaw78C9iSO57EWnMFPTOrCEcj3Sigr1JLUaQumwnkfB72FxKXVDPnUH/ZTRM avsxmIFq6gFzswn+Bibzi3yESRrCJ9rWM02n42xsiENQKCC3uS7jbRYPaSBDG9px oTUWGnWp3u6JL+whChMXFAeVg7IBVrHgqQz2YdcRAofhlpGQYKrM53ECw/VrPaHs sPMk1lq0Ve1NB2n6Fb2Xw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedruddvledgjedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefujghffgffkfggtgfgsehtqhertddtreejnecuhfhrohhmpefvohhm ucfhihhtiihhvghnrhihuceothhomhesthhomhdqfhhithiihhgvnhhrhidrmhgvrdhukh eqnecuggftrfgrthhtvghrnhepvddvvdffteduvdffgeevhefhkeegieegleeuueekuedu tdetjeetvdfhkeeukeehnecuffhomhgrihhnpehgnhhurdhorhhgnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhomhesthhomhdqfhhithii hhgvnhhrhidrmhgvrdhukh X-ME-Proxy: Feedback-ID: iefc945ae:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 19 Jun 2022 10:01:24 -0400 (EDT) From: Tom Fitzhenry In-Reply-To: (Maxime Devos's message of "Wed, 15 Jun 2022 23:06:34 +0200") References: <20220615145805.3189-1-tom@tom-fitzhenry.me.uk> <20220615150434.11604-1-tom@tom-fitzhenry.me.uk> <20220615150434.11604-2-tom@tom-fitzhenry.me.uk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) Date: Mon, 20 Jun 2022 00:01:20 +1000 Message-ID: <87y1xseor3.fsf@tom-fitzhenry.me.uk> 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: 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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1655647378; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: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=toLoqljoPnGe2mDU6qG1x+lh+aD07je9xHSZjqh8mLo=; b=Pjdu4aBxWcg2E8YHiy66uHfMTdaQbfxTRMlVzypGgDfig79bZxyipyD6v5JBXUOoLOATxo Nv9SSMRpbM/j6NadXEfQCsxLWJSPYhOi1qFzDWbKDS0NY/XBhqfgJusZ6n4NOMrMhtRTfc OQOhjqAhZwmAqtUcGqLurbvCFNyBJRrpTpX/p3r/3tXN0X1PhkszaXBjBWNvlcDGe5qLFy aq03kTqjP1uJfY6mHni+h8iRQi9rt2AtWMe6HzMDPWsGzZOWXOD8jJZIz77KkhdFzh0CZS qBAUNH5k57zUojQgGrOcY4u0QcsPdsarsS46C4SjnKGgwhAxLWYAcviz1tphhA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655647378; a=rsa-sha256; cv=none; b=rg2/fOubUM20YwkTyHHCkyLxDh3KuNCfVKgB4Zoykc5DWHfDoiyiZ2gyt5TI8Z8Xzf9uQv M1b9JrDLtg47Y+Xx7CCZHpoQsoNj/DvyATq80YbXIcp0Dj+jas8S9fi1lt03/tCbF1bRGt lA6rHZznEDeByIXzJtBnwacTxQdVSkY8d6uS/6PJ1p+Ox5HZyRO7vPxICvzGijCDaPjBJ4 KXRB5A4MZJHPbEoTwHDc5N5CVJnXWJwvGdIz7F+E2QHfPHYd8Sardpfibsv4bGSP/2Z4nq SQs2eM8U4YLeSa8NRgPmTWOjWCK/QCsxus4zItu5PJUHReUstac6/ppVlzdzqw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tom-fitzhenry.me.uk header.s=fm2 header.b=EgSiqU9D; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b="Z yaI9h/"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=tom-fitzhenry.me.uk (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: 6.22 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tom-fitzhenry.me.uk header.s=fm2 header.b=EgSiqU9D; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b="Z yaI9h/"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=tom-fitzhenry.me.uk (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: 95B2039FD1 X-Spam-Score: 6.22 X-Migadu-Scanner: scn0.migadu.com X-TUID: pFTHfLngMYRS Maxime Devos writes: > I recommend a small description: =E2=80=99Avoid dependency on byebug to r= educe > package closure significantly, see https://issues.guix.gnu.org/55997=E2= =80=99. > Also, patches need to be added to gnu/local.mk because $reasons. SGTM. I'll add this to v2. > While we are rebuilding anyway, could you eliminate input labels (in a > separate patch)? > > (native-inputs (list ruby ruby-hydra-minimal hyph-utf8-scripts)) I tried this, but this causes a build phase failure for texlive-hyphen-package packages: --8<---------------cut here---------------start------------->8--- starting phase `build' error: in phase 'build': uncaught exception: wrong-type-arg "string-length" "Wrong type argument in position ~A (expecti= ng ~A): ~S" (1 "string" #f) (#f)=20 phase `build' failed after 0.0 seconds Backtrace: 10 (primitive-load "/gnu/store/b133miwd62x14d2lsbrsx1dk4rx=E2=80= =A6") In guix/build/gnu-build-system.scm: 906:2 9 (gnu-build #:source _ #:outputs _ #:inputs _ #:phases . #) In ice-9/boot-9.scm: 1752:10 8 (with-exception-handler _ _ #:unwind? _ # _) In srfi/srfi-1.scm: 634:9 7 (for-each # =E2=80=A6) In ice-9/boot-9.scm: 1752:10 6 (with-exception-handler _ _ #:unwind? _ # _) In guix/build/gnu-build-system.scm: 927:23 5 (_) In ice-9/eval.scm: 619:8 4 (_ #(#(#(#(#(#(#(#(#) =E2=80=A6) =E2=80= =A6) =E2=80=A6) =E2=80=A6) =E2=80=A6) =E2=80=A6) =E2=80=A6)) In guix/build/utils.scm: 390:15 3 (copy-recursively #f "scripts" #:log _ # _ #:copy-file _ =E2= =80=A6) In unknown file: 2 (string-length #f) In ice-9/boot-9.scm: 1685:16 1 (raise-exception _ #:continuable? _) 1685:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1685:16: In procedure raise-exception: In procedure string-length: Wrong type argument in position 1 (expecting st= ring): #f --8<---------------cut here---------------end--------------->8--- The failing line is gnu/packages/tex.scm line 188 [0]: (copy-recursively (assoc-ref inputs "hyph-utf8-scripts") "scripts") This fails because the assoc-ref call returns #f, presumably because native-inputs is no longer an alist. To try to find a new-style way to recursively copy an entire input, I read https://guix.gnu.org/blog/2021/the-big-change/ and searched the codebase, but I was unable to find any. The closest I could find was to use search-input-directory, but=20 this seems to only be suitable to copy known subdirectories across all inputs, not an entire single input. Do you know of any way/examples to recursively copy entire single inputs? > Anyway, the concept looks good to me, though I haven't done any > practical testing! Great! I will provide testing details in v2. 0. https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/tex.scm?id= =3D793ce82c9d5ead8457da9cec8d1d8afc12704f10#n188