From unknown Fri Sep 05 20:36:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#70999: Meson-build system fails to install license files Resent-From: Dariqq Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 17 May 2024 09:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 70999 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 70999@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.171593801815451 (code B ref -1); Fri, 17 May 2024 09:27:01 +0000 Received: (at submit) by debbugs.gnu.org; 17 May 2024 09:26:58 +0000 Received: from localhost ([127.0.0.1]:54135 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s7tre-000419-H9 for submit@debbugs.gnu.org; Fri, 17 May 2024 05:26:58 -0400 Received: from lists.gnu.org ([209.51.188.17]:48614) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s7trZ-000412-GB for submit@debbugs.gnu.org; Fri, 17 May 2024 05:26:57 -0400 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 1s7trW-0000az-6v for bug-guix@gnu.org; Fri, 17 May 2024 05:26:50 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s7trT-0000uF-JH for bug-guix@gnu.org; Fri, 17 May 2024 05:26:49 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id A9042240028 for ; Fri, 17 May 2024 11:26:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1715938001; bh=I1FokMjpSFv8yQM9UjwQH6bzpQEKc7BQeD5Yc5sabUM=; h=Message-ID:Date:MIME-Version:To:From:Subject:Content-Type: Content-Transfer-Encoding:From; b=rjS3GeoaNcJkGKkJB1eY4ZVGs7S/LfnnhgjLUPnJ3jpIdqbPY9EzCOJ5d6IQGkAws IhhscBUw+UXJTrPFscrz3Y96gOtJPtsIxLI69tH6mn5laEtTfzGew49OrQWn0M2t1/ Nw5UXtipVoZaDA4BMz0hXEbBZjX0R+touNIhJ/q0BAZiYSQGuus5HbKW1X7Dek21wF SlToDkKax4Kze8mJZ2UHgaC5aaniu95Z389eppwUj9OywUCycIvvKTv0CzCmcsMEub b1MUMdu5NecLjMrpgjQVp49uoehuqpdG61GtDOFKTCyYH6yT7M5NvayuGGl4rf2FPo K8SfXZmTalwgw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VghRj1W39z9rxM for ; Fri, 17 May 2024 11:26:40 +0200 (CEST) Message-ID: <3ec197ca-3e22-4108-8277-9960a4be88be@posteo.net> Date: Fri, 17 May 2024 09:26:38 +0000 MIME-Version: 1.0 Content-Language: en-US From: Dariqq Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=185.67.36.65; envelope-from=dariqq@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) 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.3 (--) Hi Guix, I was trying to update a package using meson build system to its newest version and noticed in the build log starting phase `install-license-files' installing 0 license files from '.' phase `install-license-files' succeeded after 0.0 seconds Also other packages built using meson don't seem to have license files in the output. I think the problem is that the "." directory is the "build" directory and not the source directory because in meson configure phase we change directory to the build-dir. The install-license-files function has an argument for specifying out-of-source builds and calling it with that set to #t seems to be able to find license files in the source directory in my limited testing. Another option would be to specify the build dir in the ninja invocations without changing to it. As meson only supports out-of-source builds I think this should be changed though I am unsure how to best do this. From unknown Fri Sep 05 20:36:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#70999: Meson-build system fails to install license files Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 25 May 2024 09:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70999 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Dariqq Cc: 70999@debbugs.gnu.org Received: via spool by 70999-submit@debbugs.gnu.org id=B70999.171662985119773 (code B ref 70999); Sat, 25 May 2024 09:38:01 +0000 Received: (at 70999) by debbugs.gnu.org; 25 May 2024 09:37:31 +0000 Received: from localhost ([127.0.0.1]:42390 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sAnqE-00058r-T5 for submit@debbugs.gnu.org; Sat, 25 May 2024 05:37:31 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58350) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sAnqD-00058j-3e for 70999@debbugs.gnu.org; Sat, 25 May 2024 05:37:29 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sAnq0-000533-9m; Sat, 25 May 2024 05:37:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=Q6Jdp9T4L8qWiBEnehNSNi4oNxApuJX1Wf3bPKwkQa8=; b=JcZ4xrO0FhhEyW9bRFe2 8xh4eNqyOt1hBHr3pu37wfstchI9qQLmJlcdbcp5CPC01BO99EXc0dPNXfuRL2AnFtg8A+M3KKMyA Jz42OcRCd4zDq5NejBuFiGaRk1TjIV3ZixPe1dHGymvYfvztYfn132uPh/bq+bMDE1Kl5h1v/4Frk XUjkKVdoqZ4A11A6tMGVscpnsYmosjMcq1BzJ9FcQYgySDhBnqOiLY0jOY9z3RcIMIVkqZQurJ2rJ 96VkBy6kvRkzdZeDEpL7ZA7U1SQXdJ+Z3GRqBViy7n2U53hMAewAoQnLWxpgQ0stPcoMMc1ir+9ly XEJUhkV08rBUWQ==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <3ec197ca-3e22-4108-8277-9960a4be88be@posteo.net> (dariqq@posteo.net's message of "Fri, 17 May 2024 09:26:38 +0000") References: <3ec197ca-3e22-4108-8277-9960a4be88be@posteo.net> Date: Sat, 25 May 2024 11:37:14 +0200 Message-ID: <87plta2px1.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) 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: -3.3 (---) Hi Dariqq, Dariqq skribis: > The install-license-files function has an argument for specifying > out-of-source builds and calling it with that set to #t seems to be > able to find license files in the source directory in my limited > testing. Yes, =E2=80=98meson-build-system=E2=80=99 should pass #:out-of-source? #t e= xactly like =E2=80=98cmake-build-system=E2=80=99 does. That should solve the problem. Thanks, Ludo=E2=80=99. From unknown Fri Sep 05 20:36:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#70999: [PATCH] build-system/meson: Add #:out-of-source? argument to build system. References: <3ec197ca-3e22-4108-8277-9960a4be88be@posteo.net> In-Reply-To: <3ec197ca-3e22-4108-8277-9960a4be88be@posteo.net> Resent-From: Dariqq Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 25 May 2024 14:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70999 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 70999@debbugs.gnu.org Cc: Dariqq , ludo@gnu.org Received: via spool by 70999-submit@debbugs.gnu.org id=B70999.17166461341077 (code B ref 70999); Sat, 25 May 2024 14:09:01 +0000 Received: (at 70999) by debbugs.gnu.org; 25 May 2024 14:08:54 +0000 Received: from localhost ([127.0.0.1]:43647 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sAs4r-0000HJ-Q9 for submit@debbugs.gnu.org; Sat, 25 May 2024 10:08:54 -0400 Received: from mout02.posteo.de ([185.67.36.66]:56931) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sAs4q-0000Gs-4o for 70999@debbugs.gnu.org; Sat, 25 May 2024 10:08:52 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 15FB0240103 for <70999@debbugs.gnu.org>; Sat, 25 May 2024 16:08:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1716646118; bh=9Lsw3mwnjUcs1iH/1plgU+J6L9fEPnui7FpZ9qJ5kmY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=j+82SxCxmB/Zlc9gZAX0MlOCzdkAkP/0ESUqUvemNLB9gF4DqFGmFgY8xBgt82Upn rCBuyESN7Ug2YVOuJVn4SFBp7D8W1HMTvyN50yX/5knTvakA91l1OWbmwNrWgW0pD7 kohudWTfQCxUp3twoxWkxsIjxw2MMK9/fyqws/KFYkqmccQdxNGV9SbjQw2IdGUdjQ WQ6zdR8rJSrt2feElZ3Xswi5+H2z7r/xBB5QbdbHNOpcA8vP2VHCUKj+nPULU6qeOK cC/z9Ohl2UzOd+ZHB84wBO+3QEaGgaHVnXZDs8FfP8xjQ/HABwtd8LHLTd2UCSKuQx 7KuurZ96rqM/g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VmkKK2py4z9rxF; Sat, 25 May 2024 16:08:37 +0200 (CEST) From: Dariqq Date: Sat, 25 May 2024 14:02:19 +0000 Message-ID: <55230dcd23f65c3caa3ea61ed2b18c672b389211.1716645739.git.dariqq@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) 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: -3.3 (---) Meson currently supports only out-of-source builds. Add the argument out-of-source? with default to #t such that the install-license-files phase searches for the license files in the source directory. * guix/build-system/meson.scm (meson-build): Add out-of-source? argument. (meson-cross-build): Likewise. Change-Id: Ib59d9d93b34fd567f05f5f9a10293f6ab924e399 --- I have tested this with the tio package (both natively building and cross compiling) and seems to work. This will cause a lot of rebuild! For the position of the argument I've put it above build-type to match the order in cmake-build-system. guix/build-system/meson.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/guix/build-system/meson.scm b/guix/build-system/meson.scm index bf9ca15ecc..6c085fa1fe 100644 --- a/guix/build-system/meson.scm +++ b/guix/build-system/meson.scm @@ -176,6 +176,7 @@ (define* (meson-build name inputs (outputs '("out")) (configure-flags ''()) (search-paths '()) + (out-of-source? #t) (build-type "debugoptimized") (tests? #t) (test-options ''()) @@ -225,6 +226,7 @@ (define* (meson-build name inputs #$(if (pair? configure-flags) (sexp->gexp configure-flags) configure-flags) + #:out-of-source? #$out-of-source? #:build-type #$build-type #:tests? #$tests? #:test-options #$(sexp->gexp test-options) @@ -257,7 +259,7 @@ (define* (meson-cross-build name (configure-flags ''()) (search-paths '()) (native-search-paths '()) - + (out-of-source? #t) (build-type "debugoptimized") (tests? #f) (test-options ''()) @@ -338,6 +340,7 @@ (define* (meson-cross-build name ,@#$(if (pair? configure-flags) (sexp->gexp configure-flags) configure-flags)) + #:out-of-source? #$out-of-source? #:build-type #$build-type #:tests? #$tests? #:test-options #$(sexp->gexp test-options) base-commit: 9756d9d6345fb142944261174453ab0a597cc2e7 -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 26 11:35:11 2024 Received: (at control) by debbugs.gnu.org; 26 Jun 2024 15:35:11 +0000 Received: from localhost ([127.0.0.1]:40113 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sMUfu-0006jp-Vs for submit@debbugs.gnu.org; Wed, 26 Jun 2024 11:35:11 -0400 Received: from mout01.posteo.de ([185.67.36.65]:34709) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sMUfs-0006jF-Q4 for control@debbugs.gnu.org; Wed, 26 Jun 2024 11:35:10 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 5EB18240027 for ; Wed, 26 Jun 2024 17:34:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1719416098; bh=rB8p8gDj/o40I4aTksbPS/HDj7n0Q0fM2aJsx+fhAS0=; h=Message-ID:Date:MIME-Version:To:Subject:From:Content-Type: Content-Transfer-Encoding:From; b=gLEnDW3QSSVIRWWLCfz1eUtKvX0AiIshwzXhbBFGCK/2DoxuDfwvZthR/4iBV4CRU Y32WZnykxiTKuLG2ZnKuhz+Ydb7VW0p3WGjlCHE5uKXWCHqYAkcWihQG07AGBHzQyV fFasvps8q8An92Gl2IhEaOOs3lOZE/FOtI+A+d/lurnBsCqp62mZdgEbR4y47SOqoR wz0vkb6lJNhMDsTmcdtn6lF8AQRWuIShpjiKgwwGORhpKoUiJ60ea3idzYaLSq7F0n FkW/UT2h36tg76KIvAjoL40DkDJEsk8/dzEP7QNudGf13IBAsoUnBRoDCyR0CSWHEd PdXPXYthxIEog== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4W8Qk80fK3z6v08 for ; Wed, 26 Jun 2024 17:34:55 +0200 (CEST) Message-ID: Date: Wed, 26 Jun 2024 15:34:53 +0000 MIME-Version: 1.0 To: control@debbugs.gnu.org Subject: control message for bug #70999 Content-Language: en-US From: Dariqq Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control 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: -3.3 (---) retitle 70999 [core-updates] Meson-build system fails to install license files quit From unknown Fri Sep 05 20:36:28 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Dariqq Subject: bug#70999: closed () Message-ID: References: <3ec197ca-3e22-4108-8277-9960a4be88be@posteo.net> X-Gnu-PR-Message: they-closed 70999 X-Gnu-PR-Package: guix Reply-To: 70999@debbugs.gnu.org Date: Tue, 06 Aug 2024 19:52:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1722973922-31570-1" This is a multi-part message in MIME format... ------------=_1722973922-31570-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #70999: [core-updates] Meson-build system fails to install license which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 70999@debbugs.gnu.org. --=20 70999: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D70999 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1722973922-31570-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 70999-done) by debbugs.gnu.org; 6 Aug 2024 19:51:08 +0000 Received: from localhost ([127.0.0.1]:33116 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sbQD5-0008C0-TU for submit@debbugs.gnu.org; Tue, 06 Aug 2024 15:51:08 -0400 Received: from mout01.posteo.de ([185.67.36.65]:35199) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sbQD2-0008BJ-KR for 70999-done@debbugs.gnu.org; Tue, 06 Aug 2024 15:51:06 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 5EC99240028 for <70999-done@debbugs.gnu.org>; Tue, 6 Aug 2024 21:50:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1722973833; bh=th58dztHumYVXLTaHbB8tsm/MZ+kYIO8fIjode5R7Qs=; h=Message-ID:Date:MIME-Version:To:From:Content-Type: Content-Transfer-Encoding:From; b=E/EUOnUTFucbxDmKOXdZ0ZALYBv0AGvJK2+veI5MBuZtwlp/UMkzUZUpTxR6wlbEB buvgpvKeAsO8UAwi4p5UvBgyY6AB2gQpekmenPX13Tm8D3oW+MJCcLY1hOxffhDcj/ MDrzO7+9zWcAd1nV1duWz/WobRvYzyVLIMc21qk3T0vGsjDeE/vyy8Ss4ORB0tNiz4 uQFPupVrxFQlvr3bR7o7Bj4464nK7Cqde/+/lOhse4GV67fssVUnERbir2HswmjbPx b2X+YUhSNwJ4B39GTvHQcLYSJLw3yaIxrFOmTf5dRK5l7QSqWdCTqGLePhvrfdm4yh Y//SiUZtTsLjg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4WdkS828nWz6twQ; Tue, 6 Aug 2024 21:50:31 +0200 (CEST) Message-ID: Date: Tue, 6 Aug 2024 19:50:29 +0000 MIME-Version: 1.0 Content-Language: en-US To: 71785-done@debbugs.gnu.org, 70999-done@debbugs.gnu.org From: Dariqq Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.3 (/) X-Debbugs-Envelope-To: 70999-done 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.3 (-) Closing as the patch was resent in #71785 assigned to guix-patches and is now included in core-updates as commit 473590fc4cd9d5a833913ce3f7835eeedcecac21 ------------=_1722973922-31570-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 17 May 2024 09:26:58 +0000 Received: from localhost ([127.0.0.1]:54135 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s7tre-000419-H9 for submit@debbugs.gnu.org; Fri, 17 May 2024 05:26:58 -0400 Received: from lists.gnu.org ([209.51.188.17]:48614) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s7trZ-000412-GB for submit@debbugs.gnu.org; Fri, 17 May 2024 05:26:57 -0400 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 1s7trW-0000az-6v for bug-guix@gnu.org; Fri, 17 May 2024 05:26:50 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s7trT-0000uF-JH for bug-guix@gnu.org; Fri, 17 May 2024 05:26:49 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id A9042240028 for ; Fri, 17 May 2024 11:26:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1715938001; bh=I1FokMjpSFv8yQM9UjwQH6bzpQEKc7BQeD5Yc5sabUM=; h=Message-ID:Date:MIME-Version:To:From:Subject:Content-Type: Content-Transfer-Encoding:From; b=rjS3GeoaNcJkGKkJB1eY4ZVGs7S/LfnnhgjLUPnJ3jpIdqbPY9EzCOJ5d6IQGkAws IhhscBUw+UXJTrPFscrz3Y96gOtJPtsIxLI69tH6mn5laEtTfzGew49OrQWn0M2t1/ Nw5UXtipVoZaDA4BMz0hXEbBZjX0R+touNIhJ/q0BAZiYSQGuus5HbKW1X7Dek21wF SlToDkKax4Kze8mJZ2UHgaC5aaniu95Z389eppwUj9OywUCycIvvKTv0CzCmcsMEub b1MUMdu5NecLjMrpgjQVp49uoehuqpdG61GtDOFKTCyYH6yT7M5NvayuGGl4rf2FPo K8SfXZmTalwgw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VghRj1W39z9rxM for ; Fri, 17 May 2024 11:26:40 +0200 (CEST) Message-ID: <3ec197ca-3e22-4108-8277-9960a4be88be@posteo.net> Date: Fri, 17 May 2024 09:26:38 +0000 MIME-Version: 1.0 Content-Language: en-US To: bug-guix@gnu.org From: Dariqq Subject: Meson-build system fails to install license files Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=185.67.36.65; envelope-from=dariqq@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit 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.3 (--) Hi Guix, I was trying to update a package using meson build system to its newest version and noticed in the build log starting phase `install-license-files' installing 0 license files from '.' phase `install-license-files' succeeded after 0.0 seconds Also other packages built using meson don't seem to have license files in the output. I think the problem is that the "." directory is the "build" directory and not the source directory because in meson configure phase we change directory to the build-dir. The install-license-files function has an argument for specifying out-of-source builds and calling it with that set to #t seems to be able to find license files in the source directory in my limited testing. Another option would be to specify the build dir in the ninja invocations without changing to it. As meson only supports out-of-source builds I think this should be changed though I am unsure how to best do this. ------------=_1722973922-31570-1--