Subject: bug#67056: closed (Re: [bug#67056] [PATCH] gnu: d-tools: Update to 2.105.3)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 02 Dec 2023 11:26:02 +0000

Your bug report

#67056: [PATCH] gnu: d-tools: Update to 2.105.3

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

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

Subject: Re: [bug#67056] [PATCH] gnu: d-tools: Update to 2.105.3
From: Ludovic Courtès <[email-masked]>
To: Hugo Nobrega <[email-masked]>
Cc: [email-masked]
Date: Sat, 02 Dec 2023 12:24:50 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

Hugo Nobrega <[email-masked]> skribis:

> The previous version 2.100 was failing in `check` due to changes to the Phobos stdlib
>
> Change-Id: Id9e4580d555c735fb0eebe880928ef2f558f959e

Applied!

‘dub’ now fails to build like so:

--8<---------------cut here---------------start------------->8---
starting phase `build'
Using pre-existing version file. To force a rebuild, provide an explicit version (first argument) or remove: /tmp/guix-build-dub-1.23.0.drv-0/source/./source/dub/version_.d
Building dub using ldmd2 (dflags: ["-g", "-O", "-w"]), this may take a while...
Command `["ldmd2", "-of/tmp/guix-build-dub-1.23.0.drv-0/source/./bin/dub", "-I/tmp/guix-build-dub-1.23.0.drv-0/source/./source", "-version=DubUseCurl", "-version=DubApplication", "-g", "-O", "-w", "@build-files.txt"]` failed, output was:
source/dub/dependency.d(782): Deprecation: usage of the `body` keyword is deprecated. Use `do` instead.
source/dub/packagemanager.d(275): Deprecation: usage of the `body` keyword is deprecated. Use `do` instead.
source/dub/semver.d(107): Deprecation: usage of the `body` keyword is deprecated. Use `do` instead.
source/dub/internal/sdlang/parser.d(121): Deprecation: module std.variant is not accessible here, perhaps add 'static import std.variant;'
source/dub/internal/sdlang/parser.d(121): Deprecation: module std.variant is not accessible here, perhaps add 'static import std.variant;'
Serializing composite type BuildRequirements which has no serializable fields
Serializing composite type BuildOptions which has no serializable fields
source/dub/packagesuppliers/maven.d(82): Error: unable to read module `xml`
source/dub/packagesuppliers/maven.d(82):        Expected 'std/xml.d' or 'std/xml/package.d' in one of the following import paths:
import path[0] = /tmp/guix-build-dub-1.23.0.drv-0/source/./source
import path[1] = /gnu/store/wwjmq2wpa50xjj7irai5ln838krh7cgk-ldc-1.32.2/include/d

error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "./build.d" arguments: () exit-status: 1 term-signal: #f stop-signal: #f> 
phase `build' failed after 4.8 seconds
--8<---------------cut here---------------end--------------->8---

Next task I guess?  :-)

Thanks,
Ludo’.

Subject: [PATCH] gnu: d-tools: Update to 2.105.3
From: Hugo Nobrega <[email-masked]>
To: [email-masked]
Cc: Hugo Nobrega <[email-masked]>
Date: Fri, 10 Nov 2023 19:44:30 -0300
List-Id: <debbugs-submit.debbugs.gnu.org>

The previous version 2.100 was failing in `check` due to changes to the Phobos stdlib

Change-Id: Id9e4580d555c735fb0eebe880928ef2f558f959e
---
 gnu/packages/dlang.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/dlang.scm b/gnu/packages/dlang.scm
index 2b5b123..f6b5f12 100644
--- a/gnu/packages/dlang.scm
+++ b/gnu/packages/dlang.scm
@@ -57,7 +57,7 @@ (define-module (gnu packages dlang)
 (define-public d-tools
   (package
     (name "d-tools")
-    (version "2.100.0")
+    (version "2.105.3")
     (source
      (origin
        (method git-fetch)
@@ -66,7 +66,7 @@ (define-public d-tools
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1jbn0hyskv4ykcckw0iganpyrm0bq2lggswspw21r4hgnxkmjbyw"))))
+        (base32 "0hvz786k0pi8697x1vk9x5bx52jiy7pvi13wmfkx15ddvv0x5j33"))))
     (build-system gnu-build-system)
     (arguments
      (list #:phases

base-commit: 00fd6895322d0b1fd774e79494cfcad721b50b8d
-- 
2.41.0