www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 22381] New: DUB and gdmd: Invalid SemVer format: 2.076.1


          Issue ID: 22381
           Summary: DUB and gdmd: Invalid SemVer format: 2.076.1
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Other
            Status: NEW
          Severity: major
          Priority: P1
         Component: tools
          Assignee: nobody puremagic.com
          Reporter: bcallah openbsd.org

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.

Oct 11 2021