[jira] [Commented] (THRIFT-4478) Thrift will not build with dlang 2.078 or later

2018-06-09 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/THRIFT-4478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16507183#comment-16507183
 ] 

ASF GitHub Bot commented on THRIFT-4478:


jeking3 commented on issue #1559: THRIFT-4478 Thrift will not build with dlang 
2.078 or later
URL: https://github.com/apache/thrift/pull/1559#issuecomment-396004338
 
 
   These changes fail to build in Xenial unless I move the version of dlang 
from 2.073 to 2.075, so I am setting that as the new minimum version.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Thrift will not build with dlang 2.078 or later
> ---
>
> Key: THRIFT-4478
> URL: https://issues.apache.org/jira/browse/THRIFT-4478
> Project: Thrift
>  Issue Type: Bug
>  Components: D - Library
>Affects Versions: 0.11.0
>Reporter: James E. King III
>Assignee: Aki Sukegawa
>Priority: Critical
> Fix For: 0.12.0
>
>
> I tried to move the ubuntu-artful dlang version up from 2.076.0 to 2.078.1 
> and the build failed here:
> {noformat}
> dmd -L-fuse-ld=gold -L-levent ../libthriftd-event.a -L-fuse-ld=gold -L-lssl 
> -L-lcrypto ../libthriftd-ssl.a -w -wi -O -release -inline 
> -I../../../lib/d/src -Igen-d ../../../lib/d/libthriftd.a 
> -ofserialization_benchmark serialization_benchmark.d 
> gen-d/DebugProtoTest_types.d
> thrift_test_client.d(128): Deprecation: struct 
> std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.
> thrift_test_client.d(128): Deprecation: struct 
> std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.
> serialization_benchmark.d(16): Deprecation: alias 
> std.datetime.AutoStart is deprecated - Use std.datetime.stopwatch.AutoStart.
> serialization_benchmark.d(16): Deprecation: alias 
> std.datetime.AutoStart is deprecated - Use std.datetime.stopwatch.AutoStart.
> serialization_benchmark.d(16): Deprecation: struct 
> std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.
> serialization_benchmark.d(16): Deprecation: struct 
> std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.
> thrift_test_client.d(338): Deprecation: struct 
> std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.
> thrift_test_client.d(338): Deprecation: alias 
> std.datetime.AutoStart is deprecated - Use std.datetime.stopwatch.AutoStart.
> thrift_test_client.d(338): Deprecation: struct 
> std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.
> serialization_benchmark.d(42): Deprecation: struct 
> std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.
> serialization_benchmark.d(60): Deprecation: struct 
> std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.
> /usr/include/dmd/druntime/import/object.d(3461): Error: no 
> property 'tupleof' for type 
> 'const(HashSet!(string[immutable(Insanity)][])[int][immutable(HashSet!int)])'
> /usr/include/dmd/druntime/import/object.d(3461): Error: no 
> property 'tupleof' for type 
> 'const(HashSet!(string[immutable(Insanity)][])[int][immutable(HashSet!int)])'
> ../../../lib/d/src/thrift/codegen/base.d(466): Error: template 
> instance 
> object.__equals!(const(HashSet!(string[immutable(Insanity)][])[int][immutable(HashSet!int)]),
>  const(HashSet!(string[immutable(Insanity)][])[int][immutable(HashSet!int)])) 
> error instantiating
> /usr/include/dmd/druntime/import/object.d(3461): Error: no 
> property 'tupleof' for type 'const(HashSet!string[int])'
> /usr/include/dmd/druntime/import/object.d(3461): Error: no 
> property 'tupleof' for type 'const(HashSet!string[int])'
> ../../../lib/d/src/thrift/codegen/base.d(466): Error: template 
> instance object.__equals!(const(HashSet!string[int]), 
> const(HashSet!string[int])) error instantiating
> Makefile:803: recipe for target 'thrift_test_client' failed
> make[5]: *** [thrift_test_client] Error 1
> make[5]: *** Waiting for unfinished jobs
> /usr/include/dmd/druntime/import/object.d(3461): Error: no 
> property 'tupleof' for type 
> 'const(HashSet!(string[immutable(Insanity)][])[int][immutable(HashSet!int)])'
> /usr/include/dmd/druntime/import/object.d(3461): Error: no 
> property 'tupleof' for type 
> 

[jira] [Commented] (THRIFT-4478) Thrift will not build with dlang 2.078 or later

2018-06-07 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/THRIFT-4478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16505620#comment-16505620
 ] 

ASF GitHub Bot commented on THRIFT-4478:


jeking3 closed pull request #1559: THRIFT-4478 Thrift will not build with dlang 
2.078 or later
URL: https://github.com/apache/thrift/pull/1559
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/LANGUAGES.md b/LANGUAGES.md
index 779d9b6bbd..ef3bee299f 100644
--- a/LANGUAGES.md
+++ b/LANGUAGES.md
@@ -101,7 +101,7 @@ The Language/Library Levels indicate the minimum and 
maximum versions that are u
 Dlang
 0.9.0
 
-2.073.22.077.1
+2.073.22.080.0
 
 
 
diff --git a/build/docker/README.md b/build/docker/README.md
index cae4577b93..324921ead7 100644
--- a/build/docker/README.md
+++ b/build/docker/README.md
@@ -143,7 +143,7 @@ Last updated: October 1, 2017
 | c_glib| 2.48.2| 2.54.0|   |
 | cl (sbcl) |   | 1.4.5 |   |
 | cocoa |   |   | Not in CI |
-| d | 2.073.2   | 2.077.1   |   |
+| d | 2.073.2   | 2.080.0   |   |
 | dart  | 1.22.1| 1.24.3|   |
 | delphi|   |   | Not in CI |
 | dotnet| 2.1.4 | 2.1.4 | v2.1.4 SDK uses v2.0.5 Runtime |
diff --git a/build/docker/ubuntu-artful/Dockerfile 
b/build/docker/ubuntu-artful/Dockerfile
index d712becaa5..153ce61e0c 100644
--- a/build/docker/ubuntu-artful/Dockerfile
+++ b/build/docker/ubuntu-artful/Dockerfile
@@ -18,8 +18,8 @@
 # - dart: does not come with Ubuntu
 # - dotnet: does not come with Ubuntu
 # - haxe: version 3.4.2 that comes with Ubuntu cores in our CI build
-# - go: xenial comes with 1.8, we want the latest (supported)
-# - nodejs: want v8, Ubuntu comes with v6
+# - go: artful comes with 1.9, we want the latest (supported)
+# - nodejs: want v8, artful comes with v6
 #
 
 FROM buildpack-deps:artful-scm
@@ -103,8 +103,8 @@ RUN \
 sbcl --version && \
 rm -rf sbcl*
 
-ENV D_VERSION 2.077.1
-ENV DMD_DEB   dmd_2.077.1-0_amd64.deb
+ENV D_VERSION 2.080.0
+ENV DMD_DEB   dmd_2.080.0-0_amd64.deb
 RUN \
 `# D dependencies` \
 wget -q http://downloads.dlang.org/releases/2.x/${D_VERSION}/${DMD_DEB} && 
\
diff --git a/lib/d/src/thrift/async/socket.d b/lib/d/src/thrift/async/socket.d
index 6de13d9167..a08f51db08 100644
--- a/lib/d/src/thrift/async/socket.d
+++ b/lib/d/src/thrift/async/socket.d
@@ -18,6 +18,7 @@
  */
 module thrift.async.socket;
 
+import core.stdc.errno: ECONNRESET;
 import core.thread : Fiber;
 import core.time : dur, Duration;
 import std.array : empty;
diff --git a/lib/d/src/thrift/server/transport/base.d 
b/lib/d/src/thrift/server/transport/base.d
index da165d3d32..704e16d21e 100644
--- a/lib/d/src/thrift/server/transport/base.d
+++ b/lib/d/src/thrift/server/transport/base.d
@@ -95,16 +95,7 @@ class TServerTransportException : TException {
 
   ///
   this(Type type, string file = __FILE__, size_t line = __LINE__, Throwable 
next = null) {
-string msg = "TTransportException: ";
-switch (type) {
-  case Type.UNKNOWN: msg ~= "Unknown server transport exception"; break;
-  case Type.NOT_LISTENING: msg ~= "Server transport not listening"; break;
-  case Type.ALREADY_LISTENING: msg ~= "Server transport already 
listening"; break;
-  case Type.RESOURCE_FAILED: msg ~= "An underlying resource failed"; break;
-  default: msg ~= "(Invalid exception type)"; break;
-}
-
-this(msg, type, file, line, next);
+this(errorMsg(type), type, file, line, next);
   }
 
   ///
@@ -129,5 +120,18 @@ class TServerTransportException : TException {
 
 protected:
   Type type_;
+
+private:
+  string errorMsg(Type type) {
+string msg = "TTransportException: ";
+switch (type) {
+  case Type.UNKNOWN: msg ~= "Unknown server transport exception"; break;
+  case Type.NOT_LISTENING: msg ~= "Server transport not listening"; break;
+  case Type.ALREADY_LISTENING: msg ~= "Server transport already 
listening"; break;
+  case Type.RESOURCE_FAILED: msg ~= "An underlying resource failed"; break;
+  default: msg ~= "(Invalid exception type)"; break;
+}
+return msg;
+  }
 }
 
diff --git a/lib/d/src/thrift/transport/file.d 
b/lib/d/src/thrift/transport/file.d
index aac728938f..fe88e73066 100644
--- a/lib/d/src/thrift/transport/file.d
+++ b/lib/d/src/thrift/transport/file.d
@@ -37,7 +37,8 @@ import std.array : empty;
 import std.algorithm : min, max;
 import std.concurrency;
 import std.conv : to;
-import std.datetime : AutoStart, dur, Duration, StopWatch;
+import std.datetime : dur, Duration;
+import std.datetime.stopwatch : AutoStart, 

[jira] [Commented] (THRIFT-4478) Thrift will not build with dlang 2.078 or later

2018-06-07 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/THRIFT-4478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16505615#comment-16505615
 ] 

ASF GitHub Bot commented on THRIFT-4478:


jeking3 commented on issue #1559: THRIFT-4478 Thrift will not build with dlang 
2.078 or later
URL: https://github.com/apache/thrift/pull/1559#issuecomment-395627285
 
 
   I need to update the LANGUAGES.md and docker README to reflect the new 
uppper limit on dlang and check the lib/d README as well to be sure it doesn't 
still show a limit.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Thrift will not build with dlang 2.078 or later
> ---
>
> Key: THRIFT-4478
> URL: https://issues.apache.org/jira/browse/THRIFT-4478
> Project: Thrift
>  Issue Type: Bug
>  Components: D - Library
>Affects Versions: 0.11.0
>Reporter: James E. King III
>Assignee: Aki Sukegawa
>Priority: Critical
>
> I tried to move the ubuntu-artful dlang version up from 2.076.0 to 2.078.1 
> and the build failed here:
> {noformat}
> dmd -L-fuse-ld=gold -L-levent ../libthriftd-event.a -L-fuse-ld=gold -L-lssl 
> -L-lcrypto ../libthriftd-ssl.a -w -wi -O -release -inline 
> -I../../../lib/d/src -Igen-d ../../../lib/d/libthriftd.a 
> -ofserialization_benchmark serialization_benchmark.d 
> gen-d/DebugProtoTest_types.d
> thrift_test_client.d(128): Deprecation: struct 
> std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.
> thrift_test_client.d(128): Deprecation: struct 
> std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.
> serialization_benchmark.d(16): Deprecation: alias 
> std.datetime.AutoStart is deprecated - Use std.datetime.stopwatch.AutoStart.
> serialization_benchmark.d(16): Deprecation: alias 
> std.datetime.AutoStart is deprecated - Use std.datetime.stopwatch.AutoStart.
> serialization_benchmark.d(16): Deprecation: struct 
> std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.
> serialization_benchmark.d(16): Deprecation: struct 
> std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.
> thrift_test_client.d(338): Deprecation: struct 
> std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.
> thrift_test_client.d(338): Deprecation: alias 
> std.datetime.AutoStart is deprecated - Use std.datetime.stopwatch.AutoStart.
> thrift_test_client.d(338): Deprecation: struct 
> std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.
> serialization_benchmark.d(42): Deprecation: struct 
> std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.
> serialization_benchmark.d(60): Deprecation: struct 
> std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.
> /usr/include/dmd/druntime/import/object.d(3461): Error: no 
> property 'tupleof' for type 
> 'const(HashSet!(string[immutable(Insanity)][])[int][immutable(HashSet!int)])'
> /usr/include/dmd/druntime/import/object.d(3461): Error: no 
> property 'tupleof' for type 
> 'const(HashSet!(string[immutable(Insanity)][])[int][immutable(HashSet!int)])'
> ../../../lib/d/src/thrift/codegen/base.d(466): Error: template 
> instance 
> object.__equals!(const(HashSet!(string[immutable(Insanity)][])[int][immutable(HashSet!int)]),
>  const(HashSet!(string[immutable(Insanity)][])[int][immutable(HashSet!int)])) 
> error instantiating
> /usr/include/dmd/druntime/import/object.d(3461): Error: no 
> property 'tupleof' for type 'const(HashSet!string[int])'
> /usr/include/dmd/druntime/import/object.d(3461): Error: no 
> property 'tupleof' for type 'const(HashSet!string[int])'
> ../../../lib/d/src/thrift/codegen/base.d(466): Error: template 
> instance object.__equals!(const(HashSet!string[int]), 
> const(HashSet!string[int])) error instantiating
> Makefile:803: recipe for target 'thrift_test_client' failed
> make[5]: *** [thrift_test_client] Error 1
> make[5]: *** Waiting for unfinished jobs
> /usr/include/dmd/druntime/import/object.d(3461): Error: no 
> property 'tupleof' for type 
> 'const(HashSet!(string[immutable(Insanity)][])[int][immutable(HashSet!int)])'
> /usr/include/dmd/druntime/import/object.d(3461): Error: no 
> property 'tupleof' for type 
> 'const(HashSet!(string[immutable(Insanity)][])[int][immutable(HashSet!int)])'

[jira] [Commented] (THRIFT-4478) Thrift will not build with dlang 2.078 or later

2018-06-07 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/THRIFT-4478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16504779#comment-16504779
 ] 

ASF GitHub Bot commented on THRIFT-4478:


nsuke commented on issue #1559: THRIFT-4478 Thrift will not build with dlang 
2.078 or later
URL: https://github.com/apache/thrift/pull/1559#issuecomment-395452778
 
 
   @jeking3 thanks, looks like the part depending on libevent was left out.
   Fixed the build error, but haven't touch the warnings.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Thrift will not build with dlang 2.078 or later
> ---
>
> Key: THRIFT-4478
> URL: https://issues.apache.org/jira/browse/THRIFT-4478
> Project: Thrift
>  Issue Type: Bug
>  Components: D - Library
>Affects Versions: 0.11.0
>Reporter: James E. King III
>Assignee: Aki Sukegawa
>Priority: Critical
>
> I tried to move the ubuntu-artful dlang version up from 2.076.0 to 2.078.1 
> and the build failed here:
> {noformat}
> dmd -L-fuse-ld=gold -L-levent ../libthriftd-event.a -L-fuse-ld=gold -L-lssl 
> -L-lcrypto ../libthriftd-ssl.a -w -wi -O -release -inline 
> -I../../../lib/d/src -Igen-d ../../../lib/d/libthriftd.a 
> -ofserialization_benchmark serialization_benchmark.d 
> gen-d/DebugProtoTest_types.d
> thrift_test_client.d(128): Deprecation: struct 
> std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.
> thrift_test_client.d(128): Deprecation: struct 
> std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.
> serialization_benchmark.d(16): Deprecation: alias 
> std.datetime.AutoStart is deprecated - Use std.datetime.stopwatch.AutoStart.
> serialization_benchmark.d(16): Deprecation: alias 
> std.datetime.AutoStart is deprecated - Use std.datetime.stopwatch.AutoStart.
> serialization_benchmark.d(16): Deprecation: struct 
> std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.
> serialization_benchmark.d(16): Deprecation: struct 
> std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.
> thrift_test_client.d(338): Deprecation: struct 
> std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.
> thrift_test_client.d(338): Deprecation: alias 
> std.datetime.AutoStart is deprecated - Use std.datetime.stopwatch.AutoStart.
> thrift_test_client.d(338): Deprecation: struct 
> std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.
> serialization_benchmark.d(42): Deprecation: struct 
> std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.
> serialization_benchmark.d(60): Deprecation: struct 
> std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.
> /usr/include/dmd/druntime/import/object.d(3461): Error: no 
> property 'tupleof' for type 
> 'const(HashSet!(string[immutable(Insanity)][])[int][immutable(HashSet!int)])'
> /usr/include/dmd/druntime/import/object.d(3461): Error: no 
> property 'tupleof' for type 
> 'const(HashSet!(string[immutable(Insanity)][])[int][immutable(HashSet!int)])'
> ../../../lib/d/src/thrift/codegen/base.d(466): Error: template 
> instance 
> object.__equals!(const(HashSet!(string[immutable(Insanity)][])[int][immutable(HashSet!int)]),
>  const(HashSet!(string[immutable(Insanity)][])[int][immutable(HashSet!int)])) 
> error instantiating
> /usr/include/dmd/druntime/import/object.d(3461): Error: no 
> property 'tupleof' for type 'const(HashSet!string[int])'
> /usr/include/dmd/druntime/import/object.d(3461): Error: no 
> property 'tupleof' for type 'const(HashSet!string[int])'
> ../../../lib/d/src/thrift/codegen/base.d(466): Error: template 
> instance object.__equals!(const(HashSet!string[int]), 
> const(HashSet!string[int])) error instantiating
> Makefile:803: recipe for target 'thrift_test_client' failed
> make[5]: *** [thrift_test_client] Error 1
> make[5]: *** Waiting for unfinished jobs
> /usr/include/dmd/druntime/import/object.d(3461): Error: no 
> property 'tupleof' for type 
> 'const(HashSet!(string[immutable(Insanity)][])[int][immutable(HashSet!int)])'
> /usr/include/dmd/druntime/import/object.d(3461): Error: no 
> property 'tupleof' for type 
> 'const(HashSet!(string[immutable(Insanity)][])[int][immutable(HashSet!int)])'
> 

[jira] [Commented] (THRIFT-4478) Thrift will not build with dlang 2.078 or later

2018-06-07 Thread James E. King III (JIRA)


[ 
https://issues.apache.org/jira/browse/THRIFT-4478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16504670#comment-16504670
 ] 

James E. King III commented on THRIFT-4478:
---

Unable to install dlang 2.077.1 on Ubuntu Bionic, missing library.  So 
compatibility with dlang 2.080.0 is needed in order to update the CI build 
image to 18.04 LTS.

> Thrift will not build with dlang 2.078 or later
> ---
>
> Key: THRIFT-4478
> URL: https://issues.apache.org/jira/browse/THRIFT-4478
> Project: Thrift
>  Issue Type: Bug
>  Components: D - Compiler
>Affects Versions: 0.11.0
>Reporter: James E. King III
>Priority: Critical
>
> I tried to move the ubuntu-artful dlang version up from 2.076.0 to 2.078.1 
> and the build failed here:
> {noformat}
> dmd -L-fuse-ld=gold -L-levent ../libthriftd-event.a -L-fuse-ld=gold -L-lssl 
> -L-lcrypto ../libthriftd-ssl.a -w -wi -O -release -inline 
> -I../../../lib/d/src -Igen-d ../../../lib/d/libthriftd.a 
> -ofserialization_benchmark serialization_benchmark.d 
> gen-d/DebugProtoTest_types.d
> thrift_test_client.d(128): Deprecation: struct 
> std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.
> thrift_test_client.d(128): Deprecation: struct 
> std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.
> serialization_benchmark.d(16): Deprecation: alias 
> std.datetime.AutoStart is deprecated - Use std.datetime.stopwatch.AutoStart.
> serialization_benchmark.d(16): Deprecation: alias 
> std.datetime.AutoStart is deprecated - Use std.datetime.stopwatch.AutoStart.
> serialization_benchmark.d(16): Deprecation: struct 
> std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.
> serialization_benchmark.d(16): Deprecation: struct 
> std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.
> thrift_test_client.d(338): Deprecation: struct 
> std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.
> thrift_test_client.d(338): Deprecation: alias 
> std.datetime.AutoStart is deprecated - Use std.datetime.stopwatch.AutoStart.
> thrift_test_client.d(338): Deprecation: struct 
> std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.
> serialization_benchmark.d(42): Deprecation: struct 
> std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.
> serialization_benchmark.d(60): Deprecation: struct 
> std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.
> /usr/include/dmd/druntime/import/object.d(3461): Error: no 
> property 'tupleof' for type 
> 'const(HashSet!(string[immutable(Insanity)][])[int][immutable(HashSet!int)])'
> /usr/include/dmd/druntime/import/object.d(3461): Error: no 
> property 'tupleof' for type 
> 'const(HashSet!(string[immutable(Insanity)][])[int][immutable(HashSet!int)])'
> ../../../lib/d/src/thrift/codegen/base.d(466): Error: template 
> instance 
> object.__equals!(const(HashSet!(string[immutable(Insanity)][])[int][immutable(HashSet!int)]),
>  const(HashSet!(string[immutable(Insanity)][])[int][immutable(HashSet!int)])) 
> error instantiating
> /usr/include/dmd/druntime/import/object.d(3461): Error: no 
> property 'tupleof' for type 'const(HashSet!string[int])'
> /usr/include/dmd/druntime/import/object.d(3461): Error: no 
> property 'tupleof' for type 'const(HashSet!string[int])'
> ../../../lib/d/src/thrift/codegen/base.d(466): Error: template 
> instance object.__equals!(const(HashSet!string[int]), 
> const(HashSet!string[int])) error instantiating
> Makefile:803: recipe for target 'thrift_test_client' failed
> make[5]: *** [thrift_test_client] Error 1
> make[5]: *** Waiting for unfinished jobs
> /usr/include/dmd/druntime/import/object.d(3461): Error: no 
> property 'tupleof' for type 
> 'const(HashSet!(string[immutable(Insanity)][])[int][immutable(HashSet!int)])'
> /usr/include/dmd/druntime/import/object.d(3461): Error: no 
> property 'tupleof' for type 
> 'const(HashSet!(string[immutable(Insanity)][])[int][immutable(HashSet!int)])'
> ../../../lib/d/src/thrift/codegen/base.d(466): Error: template 
> instance 
> object.__equals!(const(HashSet!(string[immutable(Insanity)][])[int][immutable(HashSet!int)]),
>  const(HashSet!(string[immutable(Insanity)][])[int][immutable(HashSet!int)])) 
> error instantiating
> /usr/include/dmd/druntime/import/object.d(3461): Error: no 
> property 'tupleof' for type 'const(HashSet!string[int])'
> /usr/include/dmd/druntime/import/object.d(3461): Error: no 
> property 'tupleof' 

[jira] [Commented] (THRIFT-4478) Thrift will not build with dlang 2.078 or later

2018-06-02 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/THRIFT-4478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16499291#comment-16499291
 ] 

ASF GitHub Bot commented on THRIFT-4478:


nsuke opened a new pull request #1559: THRIFT-4478 Thrift will not build with 
dlang 2.078 or later
URL: https://github.com/apache/thrift/pull/1559
 
 
   This fixes build errors and deprecation warnings on dmd v2.080.0.
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Thrift will not build with dlang 2.078 or later
> ---
>
> Key: THRIFT-4478
> URL: https://issues.apache.org/jira/browse/THRIFT-4478
> Project: Thrift
>  Issue Type: Bug
>  Components: D - Compiler
>Affects Versions: 0.11.0
>Reporter: James E. King III
>Priority: Critical
>
> I tried to move the ubuntu-artful dlang version up from 2.076.0 to 2.078.1 
> and the build failed here:
> {noformat}
> dmd -L-fuse-ld=gold -L-levent ../libthriftd-event.a -L-fuse-ld=gold -L-lssl 
> -L-lcrypto ../libthriftd-ssl.a -w -wi -O -release -inline 
> -I../../../lib/d/src -Igen-d ../../../lib/d/libthriftd.a 
> -ofserialization_benchmark serialization_benchmark.d 
> gen-d/DebugProtoTest_types.d
> thrift_test_client.d(128): Deprecation: struct 
> std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.
> thrift_test_client.d(128): Deprecation: struct 
> std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.
> serialization_benchmark.d(16): Deprecation: alias 
> std.datetime.AutoStart is deprecated - Use std.datetime.stopwatch.AutoStart.
> serialization_benchmark.d(16): Deprecation: alias 
> std.datetime.AutoStart is deprecated - Use std.datetime.stopwatch.AutoStart.
> serialization_benchmark.d(16): Deprecation: struct 
> std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.
> serialization_benchmark.d(16): Deprecation: struct 
> std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.
> thrift_test_client.d(338): Deprecation: struct 
> std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.
> thrift_test_client.d(338): Deprecation: alias 
> std.datetime.AutoStart is deprecated - Use std.datetime.stopwatch.AutoStart.
> thrift_test_client.d(338): Deprecation: struct 
> std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.
> serialization_benchmark.d(42): Deprecation: struct 
> std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.
> serialization_benchmark.d(60): Deprecation: struct 
> std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.
> /usr/include/dmd/druntime/import/object.d(3461): Error: no 
> property 'tupleof' for type 
> 'const(HashSet!(string[immutable(Insanity)][])[int][immutable(HashSet!int)])'
> /usr/include/dmd/druntime/import/object.d(3461): Error: no 
> property 'tupleof' for type 
> 'const(HashSet!(string[immutable(Insanity)][])[int][immutable(HashSet!int)])'
> ../../../lib/d/src/thrift/codegen/base.d(466): Error: template 
> instance 
> object.__equals!(const(HashSet!(string[immutable(Insanity)][])[int][immutable(HashSet!int)]),
>  const(HashSet!(string[immutable(Insanity)][])[int][immutable(HashSet!int)])) 
> error instantiating
> /usr/include/dmd/druntime/import/object.d(3461): Error: no 
> property 'tupleof' for type 'const(HashSet!string[int])'
> /usr/include/dmd/druntime/import/object.d(3461): Error: no 
> property 'tupleof' for type 'const(HashSet!string[int])'
> ../../../lib/d/src/thrift/codegen/base.d(466): Error: template 
> instance object.__equals!(const(HashSet!string[int]), 
> const(HashSet!string[int])) error instantiating
> Makefile:803: recipe for target 'thrift_test_client' failed
> make[5]: *** [thrift_test_client] Error 1
> make[5]: *** Waiting for unfinished jobs
> /usr/include/dmd/druntime/import/object.d(3461): Error: no 
> property 'tupleof' for type 
> 'const(HashSet!(string[immutable(Insanity)][])[int][immutable(HashSet!int)])'
> /usr/include/dmd/druntime/import/object.d(3461): Error: no 
> property 'tupleof' for type 
> 'const(HashSet!(string[immutable(Insanity)][])[int][immutable(HashSet!int)])'
> ../../../lib/d/src/thrift/codegen/base.d(466): Error: template 
> instance 
> 

[jira] [Commented] (THRIFT-4478) Thrift will not build with dlang 2.078 or later

2018-04-03 Thread James E. King, III (JIRA)

[ 
https://issues.apache.org/jira/browse/THRIFT-4478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16424321#comment-16424321
 ] 

James E. King, III commented on THRIFT-4478:


As a result of this, dlang will be disabled in the upcoming bionic dockerfile 
because it won't install properly:
{noformat}
Step 16/43 : RUN `# D dependencies` wget -q 
http://downloads.dlang.org/releases/2.x/${D_VERSION}/${DMD_DEB} && dpkg 
--install ${DMD_DEB} && rm -f ${DMD_DEB} && mkdir -p 
/usr/include/dmd/druntime/import/deimos /usr/include/dmd/druntime/import/C && 
curl -sSL 
https://github.com/D-Programming-Deimos/libevent/archive/master.tar.gz| tar xz 
&& mv libevent-master/deimos/* /usr/include/dmd/druntime/import/deimos/ && mv 
libevent-master/C/* /usr/include/dmd/druntime/import/C/ && rm -rf 
libevent-master && curl -sSL 
https://github.com/D-Programming-Deimos/openssl/archive/master.tar.gz| tar xz 
&& mv openssl-master/deimos/* /usr/include/dmd/druntime/import/deimos/ && mv 
openssl-master/C/* /usr/include/dmd/druntime/import/C/ && rm -rf openssl-master
---> Running in 7323d82d3bc9
Selecting previously unselected package dmd.
(Reading database ... 50152 files and directories currently installed.)
Preparing to unpack dmd_2.077.1-0_amd64.deb ...
Unpacking dmd (2.077.1-0) ...
Processing triggers for mime-support (3.60ubuntu1) ...
dpkg: dependency problems prevent configuration of dmd:
dmd depends on libcurl3; however:
Package libcurl3 is not installed.

dpkg: error processing package dmd (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db (2.8.2-1) ...
Errors were encountered while processing:
dmd
{noformat}

> Thrift will not build with dlang 2.078 or later
> ---
>
> Key: THRIFT-4478
> URL: https://issues.apache.org/jira/browse/THRIFT-4478
> Project: Thrift
>  Issue Type: Bug
>  Components: D - Compiler
>Affects Versions: 0.11.0
>Reporter: James E. King, III
>Priority: Critical
>
> I tried to move the ubuntu-artful dlang version up from 2.076.0 to 2.078.1 
> and the build failed here:
> {noformat}
> dmd -L-fuse-ld=gold -L-levent ../libthriftd-event.a -L-fuse-ld=gold -L-lssl 
> -L-lcrypto ../libthriftd-ssl.a -w -wi -O -release -inline 
> -I../../../lib/d/src -Igen-d ../../../lib/d/libthriftd.a 
> -ofserialization_benchmark serialization_benchmark.d 
> gen-d/DebugProtoTest_types.d
> thrift_test_client.d(128): Deprecation: struct 
> std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.
> thrift_test_client.d(128): Deprecation: struct 
> std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.
> serialization_benchmark.d(16): Deprecation: alias 
> std.datetime.AutoStart is deprecated - Use std.datetime.stopwatch.AutoStart.
> serialization_benchmark.d(16): Deprecation: alias 
> std.datetime.AutoStart is deprecated - Use std.datetime.stopwatch.AutoStart.
> serialization_benchmark.d(16): Deprecation: struct 
> std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.
> serialization_benchmark.d(16): Deprecation: struct 
> std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.
> thrift_test_client.d(338): Deprecation: struct 
> std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.
> thrift_test_client.d(338): Deprecation: alias 
> std.datetime.AutoStart is deprecated - Use std.datetime.stopwatch.AutoStart.
> thrift_test_client.d(338): Deprecation: struct 
> std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.
> serialization_benchmark.d(42): Deprecation: struct 
> std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.
> serialization_benchmark.d(60): Deprecation: struct 
> std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.
> /usr/include/dmd/druntime/import/object.d(3461): Error: no 
> property 'tupleof' for type 
> 'const(HashSet!(string[immutable(Insanity)][])[int][immutable(HashSet!int)])'
> /usr/include/dmd/druntime/import/object.d(3461): Error: no 
> property 'tupleof' for type 
> 'const(HashSet!(string[immutable(Insanity)][])[int][immutable(HashSet!int)])'
> ../../../lib/d/src/thrift/codegen/base.d(466): Error: template 
> instance 
> object.__equals!(const(HashSet!(string[immutable(Insanity)][])[int][immutable(HashSet!int)]),
>  const(HashSet!(string[immutable(Insanity)][])[int][immutable(HashSet!int)])) 
> error instantiating
> /usr/include/dmd/druntime/import/object.d(3461): Error: no 
> property 'tupleof' for type 'const(HashSet!string[int])'
> /usr/include/dmd/druntime/import/object.d(3461):