Subject: bug#34703: closed (Re: bug#31103: ‘install-license-files’phase is ineffective with out-of-tree builds)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 10 Mar 2019 21:26:02 +0000

Your bug report

#31103: 'install-license-files' assumes the current working directory is unchanged

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 [email-masked].

-- 
31103: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=31103
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#31103: ‘install-license-files’phase is ineffective with out-of-tree builds
From: Ludovic Courtès <[email-masked]>
To: [email-masked]
Date: Sun, 10 Mar 2019 22:25:25 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

[email-masked] (Ludovic Courtès) skribis:

> The ‘install-license-files’ phase doesn’t install anything when doing
> builds with #:out-of-source? #t, as is the case for ‘glibc’ and for
> anything using ‘cmake-build-system’.
>
> That’s because it looks for license files in “.”, which is incorrect in
> this case.

Fixed in 278409e7e9ad63b80afa0a40c220dedd78c0aa54, on ‘core-updates’.

Ludo’.

Subject: 'install-license-files' assumes the current working directory is unchanged
From: Leo Famulari <[email-masked]>
To: [email-masked]
Date: Fri, 1 Mar 2019 14:26:39 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

'install-license-files' in gnu-build-system looks for license files
in ".".

However, some package build procedures change the current working
directory from the root of the unpacked source code, and
'install-license-files' then fails to find the license file.