From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id GGLzKCPGwWMm+gAAbAwnHQ (envelope-from ) for ; Fri, 13 Jan 2023 21:59:15 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kHECKSPGwWMEXAEA9RJhRA (envelope-from ) for ; Fri, 13 Jan 2023 21:59:15 +0100 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 1EA863A99D for ; Fri, 13 Jan 2023 21:59:15 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pGR8i-0003oQ-Hq; Fri, 13 Jan 2023 15:59:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pGR8h-0003oH-82 for guix-patches@gnu.org; Fri, 13 Jan 2023 15:59:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pGR8g-0000e1-Vx for guix-patches@gnu.org; Fri, 13 Jan 2023 15:59:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pGR8g-00028X-II for guix-patches@gnu.org; Fri, 13 Jan 2023 15:59:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60789] [PATCH] gnu: moreutils: Fix library path. Resent-From: Greg Hogan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 13 Jan 2023 20:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60789 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60789@debbugs.gnu.org Cc: Greg Hogan X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16736434908142 (code B ref -1); Fri, 13 Jan 2023 20:59:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 Jan 2023 20:58:10 +0000 Received: from localhost ([127.0.0.1]:52512 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pGR7q-00027G-4l for submit@debbugs.gnu.org; Fri, 13 Jan 2023 15:58:10 -0500 Received: from lists.gnu.org ([209.51.188.17]:50200) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pGR7o-000278-DV for submit@debbugs.gnu.org; Fri, 13 Jan 2023 15:58:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pGR7o-0003kh-5R for guix-patches@gnu.org; Fri, 13 Jan 2023 15:58:08 -0500 Received: from mail-il1-x12f.google.com ([2607:f8b0:4864:20::12f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pGR7m-0000b6-4r for guix-patches@gnu.org; Fri, 13 Jan 2023 15:58:07 -0500 Received: by mail-il1-x12f.google.com with SMTP id f8so5257373ilj.5 for ; Fri, 13 Jan 2023 12:58:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=greghogan-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=5RRpF21mDbLNVDusNQ3EbQvIfImInHKkgwD7PqBQY2s=; b=NaZhp8ZT0zEC/QI2s1OVB4VVmXrQfy97dWCjl0FaE3f06OLccz91sR2tsFVjyPg4Z+ F9dr8RN6nov4yg3mZN826H6xOuf5dTK4+YnUTUzNfbZOEdiA7Uv2QdLZNfHGEsIXE6Ja NLfFaABY3o0eu3GXtUVRhtREs+3mFs7sAL884EpakWSbK86qfzLSjtMh3y/Mwqqw6p6L dYxskqBXW1GFwDegDgIOlno/a2o4W87ry/poLRZw1Rw1NGwAsixd94l4x/kJPdgHh+m2 qwMB6+ARU+AYHpRWfEz+mIvM051gcZbduFltj0PX6Z2KKCgxQq6y5/KgsFPa7wLT9Ubi cTpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=5RRpF21mDbLNVDusNQ3EbQvIfImInHKkgwD7PqBQY2s=; b=dE5nC6RcfDRV5JVGOpUY7QdvKPS+RiCeQEha1f92eheXbLIUVKd64222HmaIYB61RN ZRF8ElIJ153uVniAqXHQeEXN5IwFFyqYciYabDH+6v0obZbDp5GjpuhW4d0rV3g+iitu ybFwuwzbmz7lwdBDZeklN8LkAzTzc+6i5pWJ8aNV91hwKk9HDfNBaOL50Dyli/F03/3h Q9fzUZK8OfQiFRrWO+h9hn4sOCRJ3g8bniCbe8J7/dZ4BViAAuaG2psHVohLEMl1zlmw EzrixpH2aoZnvWCn85yhSliULcifIMk1QTmjWsGeljtmMMTlkdYucH+bA4fOuXztEEA7 /wng== X-Gm-Message-State: AFqh2krnrfR3vjotLiboTJJjk4hOcdgYdt9MCXxVxULBEbwGoZ7j4Xiw f7kXDc2HUqW89PW93d3oB2+bvCOmsR5QweTFT3I= X-Google-Smtp-Source: AMrXdXs1i/Kq+gSn33YtsjuGTbBkB//Y4aeLLgSY054pvpBS8XWRTqly7RgNj0gNA8/8XciEyqQTbA== X-Received: by 2002:a92:cf02:0:b0:30d:c671:48c5 with SMTP id c2-20020a92cf02000000b0030dc67148c5mr7495547ilo.16.1673643483966; Fri, 13 Jan 2023 12:58:03 -0800 (PST) Received: from ip-172-31-20-162.us-east-2.compute.internal (ec2-18-188-223-65.us-east-2.compute.amazonaws.com. [18.188.223.65]) by smtp.gmail.com with ESMTPSA id q14-20020a056e02078e00b00302632f0d20sm6378509ils.67.2023.01.13.12.58.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Jan 2023 12:58:03 -0800 (PST) From: Greg Hogan Date: Fri, 13 Jan 2023 20:58:01 +0000 Message-Id: <20230113205801.1188087-1-code@greghogan.com> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=2607:f8b0:4864:20::12f; envelope-from=code@greghogan.com; helo=mail-il1-x12f.google.com 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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=greghogan-com.20210112.gappssmtp.com header.s=20210112 header.b=NaZhp8ZT; 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"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1673643555; a=rsa-sha256; cv=none; b=aZWuPwcND3lPbV8jjAqiJiWvsAzOmK5L9QPLXcRL/DKKDA6psaleU/398JelgSrgcGmUUY 4Tk7KDmYnDnrpQGxzy/FkafCpMLn99MV2GRCWsukA6JNULEs0ulYqTfPorzkr3TWzLXiDy mKfNqeGOeVnkekPyiJ8JsBX9s46c61hAUhChgkdfoZSv0Y0GIQp1VDk2vjIw+aqzS2dWmL 1VzSMExtMawYA1Fwr/H7igVk52LiFTuN9ku5teHwg/cULHFQm8Ei+awFtv1S81QZBLkP9n hCs76PXzkMSjXsXLxVEe04cWlI29YbL+G2PfM6tZUQCLecPM+JfIziePMhxYBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673643555; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=5RRpF21mDbLNVDusNQ3EbQvIfImInHKkgwD7PqBQY2s=; b=bu/V9XZS3IApcbRMVKRgj/tzmyvjMrqSCstPRurw2Xd8ka+3TJ0EWwGOiJQhqMrv4vA4lr rlRMWroxtrsvsjjYtabd/cGFy2C90kOWpd8nyyOQFfc4+kFln17rpSrEnLJ2EbipJov2oI fUhrQBASvcEY00nRcI+NMj3lia7yeYd2rLIg+lmiPnMlbAlvV4LqRPlt1fxFWy2z2K1YGE aE4FjxgpraYbpvIDISTMHi8a7qKoIQHcX6kQOBpFUYuWCpUFENXTskQMkYeDnzrbCLEHI4 pW8/uGNFxBm4tvc2B09JaWjlHqkUWb986pHxwqWUyO57OrBSEyq5/gbaEWlMfw== X-Migadu-Queue-Id: 1EA863A99D X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=greghogan-com.20210112.gappssmtp.com header.s=20210112 header.b=NaZhp8ZT; 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"; dmarc=none X-Migadu-Spam-Score: -0.50 X-Spam-Score: -0.50 X-TUID: FAe/TXbVif0A Fix for the following error. $ guix shell --container moreutils -- chronic ls Can't locate IPC/Run.pm in @INC (you may need to install the IPC::Run module) (@INC contains: /gnu/store/hy6abswwv4d89zp464fw52z65fkzr7h5-perl-5.34.0/lib/perl5/site_perl/5.34.0/x86_64-linux-thread-multi /gnu/store/hy6abswwv4d89zp464fw52z65fkzr7h5-perl-5.34.0/lib/perl5/site_perl/5.34.0 /gnu/store/hy6abswwv4d89zp464fw52z65fkzr7h5-perl-5.34.0/lib/perl5/5.34.0/x86_64-linux-thread-multi /gnu/store/hy6abswwv4d89zp464fw52z65fkzr7h5-perl-5.34.0/lib/perl5/5.34.0) at /gnu/store/r7kzz76arp9h480h2rnpdg21yzd6pyk2-profile/bin/chronic line 57. BEGIN failed--compilation aborted at /gnu/store/r7kzz76arp9h480h2rnpdg21yzd6pyk2-profile/bin/chronic line 57. * gnu/packages/moreutils.scm: Set Perl library path for all scripts. [inputs]: Add perl-ipc-run. --- gnu/packages/moreutils.scm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gnu/packages/moreutils.scm b/gnu/packages/moreutils.scm index 5c9560530b..4b0b617bde 100644 --- a/gnu/packages/moreutils.scm +++ b/gnu/packages/moreutils.scm @@ -49,9 +49,11 @@ (define-public moreutils #~(modify-phases %standard-phases (add-after 'install 'wrap-program (lambda _ - (wrap-program - (string-append #$output "/bin/ts") - `("PERL5LIB" ":" prefix (,(getenv "PERL5LIB")))))) + (for-each + (lambda (script) + (wrap-program script + `("PERL5LIB" ":" prefix (,(getenv "PERL5LIB"))))) + (find-files (string-append #$output "/bin"))))) (delete 'configure)) ; no configure script #:make-flags #~(list (string-append "PREFIX=" #$output) @@ -63,6 +65,7 @@ (define-public moreutils (string-append "CC=" #$(cc-for-target))))) (inputs (list perl + perl-ipc-run perl-timedate perl-time-duration)) ;; For building the manual pages. -- 2.39.0