Bug 22381 – DUB and gdmd: Invalid SemVer format: 2.076.1
Status
NEW
Severity
major
Priority
P2
Component
tools
Product
D
Version
D2
Platform
x86_64
OS
Other
Creation time
2021-10-12T03:49:12Z
Last change time
2022-12-17T10:38:53Z
Assigned to
No Owner
Creator
Brian Callahan
Comments
Comment #0 by bcallah — 2021-10-12T03:49:12Z
Hello --
When using the tip of the dub tree with gdc-11.2 and gdmd, I am not able to have dub build anything. If you try, for example:
$ DC=gdmd dub -b release a80 --cache=local
The build immediately fails with:
Invalid SemVer format: 2.076.1
You do not have this problem when using dmd as the compiler; the build completes as expected when using dmd.
On OpenBSD, I would like to ship a dub package on more platforms than just i386 and amd64. Since we (OpenBSD) know that gdc also works on (at least) macppc, powerpc64, armv7, and aarch64, not being able to offer dub on those platforms would be quite disappointing.
Please let me know if any additional information is needed to help solve this.