Debian unstable, wit
libgphobos-11-dev:amd64 11.2.0-20
gdc-11 11.2.0-20
master @ 655197e
user@debian:~/pb/protobuf-d$ dub build :protoc-gen-d
Performing "debug" build using /usr/bin/gdc for x86_64.
protobuf 0.6.2+commit.3.g655197e: building configuration "protobuf"...
src/google/protobuf/json_decoding.d:3:8: error: module std.json import ‘JSONType’ not found
3 | import std.json : JSONValue, JSONType;
| ^
/usr/bin/gdc failed with exit code 1.
gdc-12 with libgphobos-12-dev 12-20220319-1 from Debian unstable seems to work tho:
user@debian:~/pb/protobuf-d$ DC=gdc-12 dub build :protoc-gen-d
Performing "debug" build using /usr/bin/gdc-12 for x86_64.
protobuf 0.6.2+commit.3.g655197e: building configuration "protobuf"...
So I guess gdc-11 has a bit old Phobos included.
It would be nice to have gdc included in CI tho to catch these things automatically.
Debian unstable, wit
master @ 655197e
gdc-12 with libgphobos-12-dev 12-20220319-1 from Debian unstable seems to work tho:
So I guess gdc-11 has a bit old Phobos included.
It would be nice to have gdc included in CI tho to catch these things automatically.