all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#70999: Meson-build system fails to install license files
@ 2024-05-17  9:26 Dariqq
  2024-05-25  9:37 ` Ludovic Courtès
  2024-05-25 14:02 ` bug#70999: [PATCH] build-system/meson: Add #:out-of-source? argument to build system Dariqq
  0 siblings, 2 replies; 3+ messages in thread
From: Dariqq @ 2024-05-17  9:26 UTC (permalink / raw)
  To: 70999

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.




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-05-25 14:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-17  9:26 bug#70999: Meson-build system fails to install license files Dariqq
2024-05-25  9:37 ` Ludovic Courtès
2024-05-25 14:02 ` bug#70999: [PATCH] build-system/meson: Add #:out-of-source? argument to build system Dariqq

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.