GNU bug report logs -
#63004
Add support for disallowed-references to cmake and don't let ldc depend on tzdata
Previous Next
Reported by: Leo Famulari <leo <at> famulari.name>
Date: Fri, 21 Apr 2023 20:48:01 UTC
Severity: normal
Done: Josselin Poiret <dev <at> jpoiret.xyz>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 63004 in the body.
You can then email your comments to 63004 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#63004
; Package
guix-patches
.
(Fri, 21 Apr 2023 20:48:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Leo Famulari <leo <at> famulari.name>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Fri, 21 Apr 2023 20:48:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Here are some small patches to remove a bogus tzdata dependency from
ldc-bootstrap. This should be okay for master based on my tests.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#63004
; Package
guix-patches
.
(Fri, 21 Apr 2023 20:51:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 63004 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/dlang.scm (ldc-bootstrap)[inputs]: Remove tzdata.
[native-inputs]: Add tzdata-for-tests.
[arguments]: Forbid references to tzdata-for-tests.
---
gnu/packages/dlang.scm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/dlang.scm b/gnu/packages/dlang.scm
index 729d6015ae..eafc0a7bbf 100644
--- a/gnu/packages/dlang.scm
+++ b/gnu/packages/dlang.scm
@@ -159,7 +159,8 @@ (define ldc-bootstrap
(base32 "1kfs4fpr1525sv2ny10hlfppy8c075vjm8m649wr2b9411pkgfzx"))))
(build-system cmake-build-system)
(arguments
- `(#:tests? #f ;skip in the bootstrap
+ `(#:disallowed-references (,tzdata-for-tests)
+ #:tests? #f ;skip in the bootstrap
#:build-type "Release"
#:configure-flags
(list "-GNinja")
@@ -187,7 +188,6 @@ (define ldc-bootstrap
(inputs
`(("libconfig" ,libconfig)
("libedit" ,libedit)
- ("tzdata" ,tzdata)
("zlib" ,zlib)))
(native-inputs
`(("lld-wrapper" ,(make-lld-wrapper lld-11 #:lld-as-ld? #t))
@@ -195,6 +195,7 @@ (define ldc-bootstrap
("ldc" ,gdmd)
("ninja" ,ninja)
("python-wrapper" ,python-wrapper)
+ ("tzdata" ,tzdata-for-tests)
("unzip" ,unzip)))
(home-page "http://wiki.dlang.org/LDC")
(synopsis "LLVM-based compiler for the D programming language")
--
2.39.2
Information forwarded
to
guix-patches <at> gnu.org
:
bug#63004
; Package
guix-patches
.
(Fri, 21 Apr 2023 20:51:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 63004 <at> debbugs.gnu.org (full text, mbox):
* guix/build-system/cmake.scm (cmake-build, cmake-cross-build):
Add #:disallowed-references.
---
guix/build-system/cmake.scm | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/guix/build-system/cmake.scm b/guix/build-system/cmake.scm
index 09e3ac85db..ed979b9c6b 100644
--- a/guix/build-system/cmake.scm
+++ b/guix/build-system/cmake.scm
@@ -116,7 +116,8 @@ (define* (cmake-build name inputs
(substitutable? #t)
(imported-modules %cmake-build-system-modules)
(modules '((guix build cmake-build-system)
- (guix build utils))))
+ (guix build utils)))
+ disallowed-references)
"Build SOURCE using CMAKE, and with INPUTS. This assumes that SOURCE
provides a 'CMakeLists.txt' file as its build system."
(define build
@@ -158,6 +159,7 @@ (define build
#:target #f
#:graft? #f
#:substitutable? substitutable?
+ #:disallowed-references disallowed-references
#:guile-for-build guile)))
@@ -193,7 +195,8 @@ (define* (cmake-cross-build name
(build (nix-system->gnu-triplet system))
(imported-modules %cmake-build-system-modules)
(modules '((guix build cmake-build-system)
- (guix build utils))))
+ (guix build utils)))
+ disallowed-references)
"Cross-build NAME using CMAKE for TARGET, where TARGET is a GNU triplet and
with INPUTS. This assumes that SOURCE provides a 'CMakeLists.txt' file as its
build system."
--
2.39.2
Information forwarded
to
guix-patches <at> gnu.org
:
bug#63004
; Package
guix-patches
.
(Sat, 06 May 2023 15:17:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 63004 <at> debbugs.gnu.org (full text, mbox):
Hi Leo,
The ‘cmake-build-system’ was pushed as
3b5b6683037dfb8f02d04ad3e6c2f04062db9a16 (a useful improvement).
The ‘ldc-bootstrap’ change LGTM!
Ludo’.
Reply sent
to
Josselin Poiret <dev <at> jpoiret.xyz>
:
You have taken responsibility.
(Wed, 17 May 2023 21:27:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Leo Famulari <leo <at> famulari.name>
:
bug acknowledged by developer.
(Wed, 17 May 2023 21:27:02 GMT)
Full text and
rfc822 format available.
Message #19 received at 63004-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi Leo,
Leo Famulari <leo <at> famulari.name> writes:
> * gnu/packages/dlang.scm (ldc-bootstrap)[inputs]: Remove tzdata.
> [native-inputs]: Add tzdata-for-tests.
> [arguments]: Forbid references to tzdata-for-tests.
LGTM, applied as d19c7c2791dc01d678ec017ad83868d5629b53f6.
Best,
--
Josselin Poiret
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#63004
; Package
guix-patches
.
(Thu, 18 May 2023 17:00:02 GMT)
Full text and
rfc822 format available.
Message #22 received at 63004-done <at> debbugs.gnu.org (full text, mbox):
On Wed, May 17, 2023 at 11:26:32PM +0200, Josselin Poiret wrote:
> Hi Leo,
>
> Leo Famulari <leo <at> famulari.name> writes:
>
> > * gnu/packages/dlang.scm (ldc-bootstrap)[inputs]: Remove tzdata.
> > [native-inputs]: Add tzdata-for-tests.
> > [arguments]: Forbid references to tzdata-for-tests.
>
> LGTM, applied as d19c7c2791dc01d678ec017ad83868d5629b53f6.
Thank you!
Information forwarded
to
guix-patches <at> gnu.org
:
bug#63004
; Package
guix-patches
.
(Fri, 26 May 2023 17:45:02 GMT)
Full text and
rfc822 format available.
Message #25 received at 63004 <at> debbugs.gnu.org (full text, mbox):
On Sat, May 06, 2023 at 05:16:18PM +0200, Ludovic Courtès wrote:
> Hi Leo,
>
> The ‘cmake-build-system’ was pushed as
> 3b5b6683037dfb8f02d04ad3e6c2f04062db9a16 (a useful improvement).
>
> The ‘ldc-bootstrap’ change LGTM!
Thanks for looking! Josselin helpfully pushed the ldc-bootstrap change
as d19c7c2791dc01d678ec017ad83868d5629b53f6
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 24 Jun 2023 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 322 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.