GNU bug report logs - #70999
[core-updates] Meson-build system fails to install license

Previous Next

Package: guix;

Reported by: Dariqq <dariqq <at> posteo.net>

Date: Fri, 17 May 2024 09:27:01 UTC

Severity: normal

Done: Dariqq <dariqq <at> posteo.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Dariqq <dariqq <at> posteo.net>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#70999: closed ([core-updates] Meson-build system fails to
 install license)
Date: Tue, 06 Aug 2024 19:52:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue,  6 Aug 2024 19:50:29 +0000
with message-id <bd7f0aff-6940-4118-90e9-c5e63f190f46 <at> posteo.net>
and subject line 
has caused the debbugs.gnu.org bug report #70999,
regarding [core-updates] Meson-build system fails to install license
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
70999: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=70999
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Dariqq <dariqq <at> posteo.net>
To: bug-guix <at> gnu.org
Subject: Meson-build system fails to install license files
Date: Fri, 17 May 2024 09:26:38 +0000
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.


[Message part 3 (message/rfc822, inline)]
From: Dariqq <dariqq <at> posteo.net>
To: 71785-done <at> debbugs.gnu.org, 70999-done <at> debbugs.gnu.org
Date: Tue,  6 Aug 2024 19:50:29 +0000
Closing as the patch was resent in #71785 assigned to guix-patches and 
is now included in core-updates as commit 
473590fc4cd9d5a833913ce3f7835eeedcecac21


This bug report was last modified 1 year and 1 day ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.