From unknown Sat Jun 14 19:00:35 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#49294 <49294@debbugs.gnu.org> To: bug#49294 <49294@debbugs.gnu.org> Subject: Status: [PATCH] gnu: po4a: Add perl-yaml-tiny to PERL5LIB Reply-To: bug#49294 <49294@debbugs.gnu.org> Date: Sun, 15 Jun 2025 02:00:35 +0000 retitle 49294 [PATCH] gnu: po4a: Add perl-yaml-tiny to PERL5LIB reassign 49294 guix-patches submitter 49294 EuAndreh severity 49294 normal tag 49294 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 30 10:46:14 2021 Received: (at submit) by debbugs.gnu.org; 30 Jun 2021 14:46:14 +0000 Received: from localhost ([127.0.0.1]:58435 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lybTh-0004Qn-SD for submit@debbugs.gnu.org; Wed, 30 Jun 2021 10:46:14 -0400 Received: from lists.gnu.org ([209.51.188.17]:54612) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lybTg-0004Qg-JX for submit@debbugs.gnu.org; Wed, 30 Jun 2021 10:46:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54786) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lybTf-000808-3G for guix-patches@gnu.org; Wed, 30 Jun 2021 10:46:12 -0400 Received: from box.euandre.org ([46.101.160.115]:60305) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lybTY-0008RR-QL for guix-patches@gnu.org; Wed, 30 Jun 2021 10:46:10 -0400 Received: from authenticated-user (box.euandre.org [46.101.160.115]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by box.euandre.org (Postfix) with ESMTPSA id 4B8DAFC3F4; Wed, 30 Jun 2021 11:45:24 -0300 (-03) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=euandre.org; s=mail; t=1625064327; bh=EYatqpC0qolZV3/346HNZmbMdQM1/hdKkgkhEoLVvAI=; h=From:To:Cc:Subject:Date:From; b=WWwvjfZQVJAbLX+ZvoxVJVHoxkRKVc9bjJnI7+k3Sh7z/jE9wu9v5ZD91tW+K92TN 8AM1giq0B3AoIkEXFAIaFm8DsRbCItbBtZ78t5ov8xXBx4kwqBGY+UNRoB2IinQ8bO 4UVVNsWMGEFjskhE7GMBNxdcFr89eyl0+AFhbiQAk16lhvFSREA66UQUxnKsOp16Cv XcAHJXTytrQ21/K69vvQQDH5hfCZmMtfM2zHBJqRAIALI0xPw4GCeHHwjfiHytUXrT qMWhTwYshjw2Ks3+1f1dsCFxvwrMnUs7NyFznlsOrxQ7UhH+puBOAcMGi88N5CgTly YNbnJpqu9+9ig== From: EuAndreh To: guix-patches@gnu.org Subject: [PATCH] gnu: po4a: Add perl-yaml-tiny to PERL5LIB Date: Wed, 30 Jun 2021 11:44:23 -0300 Message-Id: <20210630144423.3014514-1-eu@euandre.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=46.101.160.115; envelope-from=eu@euandre.org; helo=box.euandre.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: EuAndreh X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) * gnu/packages/gettext.scm (po4a): Include perl-yaml-tiny dependency in PERL5LIB search path of executables. [native-inputs]: Remove perl-yaml-tiny. [propagated-inputs]: Add perl-yaml-tiny. --- The "use YAML::Tiny;" [0] statement is failing, because the library was included in the list of dependencies, but was not being propagated and not put in PERL5LIB, and resulted in an error: ``` $ po4a-updatepo -f text -m f.txt -p l.po -v Unknown format type: text. po4a::chooser: Module loading error: Can't locate YAML/Tiny.pm in @INC (you may need to install the YAML::Tiny module) (@INC contains: /gnu/store/6ba47ndbbaf1h8qrsss9lfji0xvmh8px-po4a-0.61/lib/perl5/site_perl/5.30.2/x86_64-linux-thread-multi /gnu/store/6ba47ndbbaf1h8qrsss9lfji0xvmh8px-po4a-0.61/lib/perl5/site_perl/5.30.2 /gnu/store/6ba47ndbbaf1h8qrsss9lfji0xvmh8px-po4a-0.61/lib/perl5/site_perl /gnu/store/8zvc5mvk0xm3ygrxsgpyy5ilxb5rzjry-perl-5.30.2/lib/perl5/site_perl/5.30.2/x86_64-linux-thread-multi /gnu/store/8zvc5mvk0xm3ygrxsgpyy5ilxb5rzjry-perl-5.30.2/lib/perl5/site_perl/5.30.2 /gnu/store/8zvc5mvk0xm3ygrxsgpyy5ilxb5rzjry-perl-5.30.2/lib/perl5/5.30.2/x86_64-linux-thread-multi /gnu/store/8zvc5mvk0xm3ygrxsgpyy5ilxb5rzjry-perl-5.30.2/lib/perl5/5.30.2) at /gnu/store/6ba47ndbbaf1h8qrsss9lfji0xvmh8px-po4a-0.61/lib/perl5/site_perl/5.30.2/Locale/Po4a/Text.pm line 60. BEGIN failed--compilation aborted at /gnu/store/6ba47ndbbaf1h8qrsss9lfji0xvmh8px-po4a-0.61/lib/perl5/site_perl/5.30.2/Locale/Po4a/Text.pm line 60. Compilation failed in require at (eval 22) line 1. BEGIN failed--compilation aborted at (eval 22) line 1. ``` This patch addresses that, and now the use statement works as expected. [0]: https://github.com/mquinson/po4a/blob/a69b48eda3ebd66eec30a34a377c7a00c6f8e36c/lib/Locale/Po4a/Text.pm#L60 gnu/packages/gettext.scm | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/gnu/packages/gettext.scm b/gnu/packages/gettext.scm index 21228694d7..e4cd139393 100644 --- a/gnu/packages/gettext.scm +++ b/gnu/packages/gettext.scm @@ -238,17 +238,19 @@ from Markdown files.") `(#:phases (modify-phases %standard-phases (add-after 'install 'wrap-programs - (lambda* (#:key outputs #:allow-other-keys) + (lambda* (#:key outputs inputs #:allow-other-keys) ;; Make sure all executables in "bin" find the Perl modules ;; provided by this package at runtime. - (let* ((out (assoc-ref outputs "out")) - (bin (string-append out "/bin/")) - (path (string-append out "/lib/perl5/site_perl"))) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin/")) + (path (string-append out "/lib/perl5/site_perl")) + (deps-path (string-append (assoc-ref inputs "perl-yaml-tiny") + "/lib/perl5/site_perl"))) (for-each (lambda (file) (wrap-program file - `("PERL5LIB" ":" prefix (,path)))) - (find-files bin "\\.*$")) - #t))) + `("PERL5LIB" ":" prefix (,path + ,deps-path)))) + (find-files bin "\\.*$"))))) (add-before 'reset-gzip-timestamps 'make-compressed-files-writable (lambda* (#:key outputs #:allow-other-keys) (for-each make-file-writable @@ -284,8 +286,9 @@ from Markdown files.") ;; For tests. ("docbook-xml" ,docbook-xml-4.1.2) ("perl-test-pod" ,perl-test-pod) - ("perl-yaml-tiny" ,perl-yaml-tiny) ("texlive" ,texlive-tiny))) + (propagated-inputs + `(("perl-yaml-tiny" ,perl-yaml-tiny))) (home-page "https://po4a.org/") (synopsis "Scripts to ease maintenance of translations") (description -- 2.31.1 From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 03 06:44:05 2022 Received: (at 49294) by debbugs.gnu.org; 3 Apr 2022 10:44:05 +0000 Received: from localhost ([127.0.0.1]:47679 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1naxiH-0004Q0-9M for submit@debbugs.gnu.org; Sun, 03 Apr 2022 06:44:05 -0400 Received: from laurent.telenet-ops.be ([195.130.137.89]:41896) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1naxiF-0004Pd-6H for 49294@debbugs.gnu.org; Sun, 03 Apr 2022 06:44:04 -0400 Received: from [192.168.60.254] ([188.188.185.237]) by laurent.telenet-ops.be with bizsmtp id EAk12700A57khHo01Ak1m8; Sun, 03 Apr 2022 12:44:01 +0200 Message-ID: <591b62923739c45f7d1429023a753bb62b82d708.camel@telenet.be> Subject: Re: [bug#49294] [PATCH] gnu: po4a: Add perl-yaml-tiny to PERL5LIB From: Maxime Devos To: EuAndreh , 49294@debbugs.gnu.org Date: Sun, 03 Apr 2022 12:43:56 +0200 In-Reply-To: <20210630144423.3014514-1-eu@euandre.org> References: <20210630144423.3014514-1-eu@euandre.org> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-lc/bCfkyrkG/7JXaDhRd" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1648982641; bh=u/q4RmR+RjANZjOkUDm6HczrhVdNxOSKUi2g62Bbm3w=; h=Subject:From:To:Date:In-Reply-To:References; b=Rr4NNy5tlx7vUZHlvBSCe07mZ4SZyWzT8H/tYRp+uwFK5XOgDr0yueWDx3qBuFBAw zvjFzzR5ZOYv44bRPjy69wuzm07eGNcH/WYBDY4dV9O5g7NaBHMl4DhpRf7Buan3ku 5KousB88hsHA35FnCkYgw9UO7uS1m3RUnNcDSpuHK9wfirWnPQwepKoUcN4V9rR9P/ 2HooB7lXHSyhWFye9suUb68JltS53Uij9Uf8N0j1efnsVufKsnwEMoxpojAGLo2ZtR WQyj+LMkC9XD639CpmAOCsfluo8Uh4igEH8SwOOB27LmrpiZLfLQrBgALyWF4Oadqx e/TjJu1i5rkOA== X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 49294 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-lc/bCfkyrkG/7JXaDhRd Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable EuAndreh via Guix-patches via schreef op wo 30-06-2021 om 11:44 [- 0300]: > --- > The "use YAML::Tiny;" [0] statement is failing, because the library was > included in the list of dependencies, but was not being propagated and > not put in PERL5LIB, and resulted in an error: Adding it to PERL5LIB and moving it from native-inputs to non-native inputs looks reasonable to me. However: does it need to be propagated, or is adding it to PERL5LIB sufficient? Also, how many dependents are there (try "guix refresh -l")? Maybe it needs to be on core-updates. Additionally, ca 'perl-yaml-tiny' now be removed from 'kicad-doc' and 'qgis'? Greetings, Maxime. --=-lc/bCfkyrkG/7JXaDhRd Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYkl6bBccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7otlAQDuD69Ap0L2VvRgAqKMwsJT7Irk ydQ1eQXbLfrI3h/BYgEA58McMAvtQ3oo2PYwNNqmjKcD29ZrhP5bhXNo1MtZywM= =LPvW -----END PGP SIGNATURE----- --=-lc/bCfkyrkG/7JXaDhRd-- From debbugs-submit-bounces@debbugs.gnu.org Mon May 29 07:52:47 2023 Received: (at 49294-done) by debbugs.gnu.org; 29 May 2023 11:52:47 +0000 Received: from localhost ([127.0.0.1]:57265 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3bQd-0004jM-DT for submit@debbugs.gnu.org; Mon, 29 May 2023 07:52:47 -0400 Received: from mail1.fsfe.org ([217.69.89.151]:49280) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3bQb-0004jD-Dc for 49294-done@debbugs.gnu.org; Mon, 29 May 2023 07:52:46 -0400 From: Jelle Licht DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fsfe.org; s=2021100501; t=1685361162; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=uAW1LP9qIfsUHkpr47Pve6Qk+J3/tycSRZeHSR17M1k=; b=ZeysIkIBAIwQdcQI144uNCMutlSJLg5159WT5e6T5gHZx6WVMGs6h+Ica517rX+yxCq275 3yYzy+A42LcRIk6AxkIx6yajiS6cnQ7YGtvSBBMQcoYh8nYNEionoZPOAJFusdcDaCufKu h5SmG5wF0RU9mYZAF2DbXczMrMyRBks= To: EuAndreh Subject: Re: bug#49294: [PATCH] gnu: po4a: Add perl-yaml-tiny to PERL5LIB In-Reply-To: <20210630144423.3014514-1-eu@euandre.org> (EuAndreh's message of "Wed, 30 Jun 2021 11:44:23 -0300") References: <20210630144423.3014514-1-eu@euandre.org> Date: Mon, 29 May 2023 13:52:41 +0200 Message-ID: <875y8bnyly.fsf@fsfe.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 49294-done Cc: 49294-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) EuAndreh writes: > * gnu/packages/gettext.scm (po4a): Include perl-yaml-tiny dependency in > PERL5LIB search path of executables. > [native-inputs]: Remove perl-yaml-tiny. > [propagated-inputs]: Add perl-yaml-tiny. [snip] Superseded by commit a1f9eba892784069e34338e01237a74b8a3bd8a2. Closing. From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 02 08:46:58 2023 Received: (at 49294) by debbugs.gnu.org; 2 Jun 2023 12:46:58 +0000 Received: from localhost ([127.0.0.1]:39289 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q54BF-0008O4-S1 for submit@debbugs.gnu.org; Fri, 02 Jun 2023 08:46:58 -0400 Received: from euandre.org ([216.238.68.100]:43526) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q54BC-0008Nu-Tg for 49294@debbugs.gnu.org; Fri, 02 Jun 2023 08:46:55 -0400 Received: from euandre.org (localhost [127.0.0.1]) by euandre.org (Postfix) with ESMTP id A04D5E17E04; Fri, 2 Jun 2023 09:46:53 -0300 (-03) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=euandre.org; h= message-id:date:mime-version:subject:to:cc:references:from :in-reply-to:content-type:content-transfer-encoding; s= dkimproxyout; bh=+H5z61E+HPyZE9TsP6lLW0HVkj0=; b=qCiYk2qy08BFvIL VHa+4QJGvVeYmVRYnvMQgTK+vVP0Iy8q7kRakFNUJ6RF6cdsa3W5OaUoQ0cWpvSv xjcCjZ2dYJtogDTR5XJh5+S5s6425Cil73Vu52N0DGwIa/t4Hf8bziGp2UAO68f3 20lFPxedaPfoPO/jLW3p6+s90l5cfsyvgrj0/7Z+SMvUn1NvTvSvpmX905PzKT7p CYcc7duO1cxrNmeI/JL596kcxuEEonihYsz2uRCE5ENRAwpFIl6poW3FKiNCpHHE aZsqNHybt2HzHXh6lWR4jkpT+9rOJMgWfY68qvgCkWr9ruxro+j7OrfIb+gBUyKj MbB89AQ== Message-ID: <695a61c9-e6e5-d949-b05a-db0f8ea8d3b4@euandre.org> Date: Fri, 2 Jun 2023 09:46:50 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: bug#49294: [PATCH] gnu: po4a: Add perl-yaml-tiny to PERL5LIB Content-Language: en-US, pt, fr, eo, en To: Jelle Licht References: <20210630144423.3014514-1-eu@euandre.org> <875y8bnyly.fsf@fsfe.org> From: EuAndreh In-Reply-To: <875y8bnyly.fsf@fsfe.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: 49294 Cc: 49294@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) ACK, makes sense. Thanks. From unknown Sat Jun 14 19:00:35 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 01 Jul 2023 11:24:13 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator