Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Haxe compile server reports an error message when compiling the same code base twice #4626

Closed
Atry opened this issue Nov 6, 2015 · 10 comments
Assignees
Milestone

Comments

@Atry
Copy link
Contributor

Atry commented Nov 6, 2015

$ haxe -version
3.2.1
haxe --wait 7777 &
git clone https://github.com/ThoughtWorksInc/json-stream.git &&
cd json-stream &&
"haxe" "-cp" "src/haxe-java" "-cp" "src/haxe" "-cp" "target/scala-2.10/src_managed/haxe-java" "-cp" "target/scala-2.10/src_managed/haxe"  "-cp" "src/haxe"  "-java" "java_output" "--connect" "7777" "-D" "no-compilation" "-lib" "continuation:1.3.2" "-lib" "microbuilder-HUGS:2.0.1" "-dce" "no"  "jsonStream.Plugins" "jsonStream.deserializerPlugin.LowPriorityDynamicDeserializerPlugin" "jsonStream.rpc.IncomingProxyFactory" "jsonStream.JsonSerializer" "jsonStream.rpc.OutgoingProxy" "jsonStream.rpc.Future" "jsonStream.io.TextParser"  "jsonStream.LowPriorityDynamic" "jsonStream.builderPlugin.LowPriorityDynamicBuilderPlugin" "jsonStream.deserializerPlugin.CSharpDeserializerPlugins"  "jsonStream.JsonBuilder" "jsonStream.io.BsonOutput" "jsonStream.unknown.UnknownFieldMap" "jsonStream.rpc.OutgoingProxyFactory" "jsonStream.deserializerPlugin.StmDeserializerPlugins" "jsonStream.io.PrettyTextPrinter"  "jsonStream.JsonDeserializer"  "jsonStream.unknown.UnknownEnumValue" "jsonStream.deserializerPlugin.RawDeserializerPlugin" "jsonStream.deserializerPlugin.ScalaDeserializerPlugins" "jsonStream.deserializerPlugin.GeneratedDeserializerPlugin" "jsonStream.RawJson" "jsonStream.builderPlugin.GeneratedBuilderPlugin" "jsonStream.serializerPlugin.CSharpSerializerPlugins"   "jsonStream.io.BsonWriter" "jsonStream.deserializerPlugin.CrossPlatformDeserializerPlugins" "jsonStream.GeneratorUtilities" "jsonStream.serializerPlugin.RawSerializerPlugin" "jsonStream.serializerPlugin.ScalaSerializerPlugins" "jsonStream.rpc.IncomingProxy"  "jsonStream.serializerPlugin.StmSerializerPlugins"  "jsonStream.rpc.JsonHandler" "jsonStream.testUtil.JsonEquality" "jsonStream.io.BsonInput"  "jsonStream.builderPlugin.PrimitiveBuilderPlugins" "jsonStream.serializerPlugin.LowPriorityDynamicSerializerPlugin" "jsonStream.builderPlugin.RawBuilderPlugin" "jsonStream.io.BsonReader" "jsonStream.rpc.IJsonService" "jsonStream.JsonBuilderFactory" "jsonStream.unknown.UnknownType" "jsonStream.deserializerPlugin.PrimitiveDeserializerPlugins" "jsonStream.serializerPlugin.GeneratedSerializerPlugin" "jsonStream.JsonStream" "jsonStream.serializerPlugin.PrimitiveSerializerPlugins" "jsonStream.testUtil.JsonTestCase" "jsonStream.serializerPlugin.CrossPlatformSerializerPlugins" &&
"haxe" "-cp" "src/haxe-java" "-cp" "src/haxe" "-cp" "target/scala-2.10/src_managed/haxe-java" "-cp" "target/scala-2.10/src_managed/haxe"  "-cp" "src/haxe"  "-java" "java_output" "--connect" "7777" "-D" "no-compilation" "-lib" "continuation:1.3.2" "-lib" "microbuilder-HUGS:2.0.1" "-dce" "no"  "jsonStream.Plugins" "jsonStream.deserializerPlugin.LowPriorityDynamicDeserializerPlugin" "jsonStream.rpc.IncomingProxyFactory" "jsonStream.JsonSerializer" "jsonStream.rpc.OutgoingProxy" "jsonStream.rpc.Future" "jsonStream.io.TextParser"  "jsonStream.LowPriorityDynamic" "jsonStream.builderPlugin.LowPriorityDynamicBuilderPlugin" "jsonStream.deserializerPlugin.CSharpDeserializerPlugins"  "jsonStream.JsonBuilder" "jsonStream.io.BsonOutput" "jsonStream.unknown.UnknownFieldMap" "jsonStream.rpc.OutgoingProxyFactory" "jsonStream.deserializerPlugin.StmDeserializerPlugins" "jsonStream.io.PrettyTextPrinter"  "jsonStream.JsonDeserializer"  "jsonStream.unknown.UnknownEnumValue" "jsonStream.deserializerPlugin.RawDeserializerPlugin" "jsonStream.deserializerPlugin.ScalaDeserializerPlugins" "jsonStream.deserializerPlugin.GeneratedDeserializerPlugin" "jsonStream.RawJson" "jsonStream.builderPlugin.GeneratedBuilderPlugin" "jsonStream.serializerPlugin.CSharpSerializerPlugins"   "jsonStream.io.BsonWriter" "jsonStream.deserializerPlugin.CrossPlatformDeserializerPlugins" "jsonStream.GeneratorUtilities" "jsonStream.serializerPlugin.RawSerializerPlugin" "jsonStream.serializerPlugin.ScalaSerializerPlugins" "jsonStream.rpc.IncomingProxy"  "jsonStream.serializerPlugin.StmSerializerPlugins"  "jsonStream.rpc.JsonHandler" "jsonStream.testUtil.JsonEquality" "jsonStream.io.BsonInput"  "jsonStream.builderPlugin.PrimitiveBuilderPlugins" "jsonStream.serializerPlugin.LowPriorityDynamicSerializerPlugin" "jsonStream.builderPlugin.RawBuilderPlugin" "jsonStream.io.BsonReader" "jsonStream.rpc.IJsonService" "jsonStream.JsonBuilderFactory" "jsonStream.unknown.UnknownType" "jsonStream.deserializerPlugin.PrimitiveDeserializerPlugins" "jsonStream.serializerPlugin.GeneratedSerializerPlugin" "jsonStream.JsonStream" "jsonStream.serializerPlugin.PrimitiveSerializerPlugins" "jsonStream.testUtil.JsonTestCase" "jsonStream.serializerPlugin.CrossPlatformSerializerPlugins"

The first time haxe compilation succeeded and it failed when compiling again with an error message.

Type name  is redefined from module java.lang.Double
@Atry Atry changed the title Haxe compile server report an error message when re-compiling a code base that does not change Haxe compile server report an error message when re-compiling a code base that did not change Nov 6, 2015
@Atry Atry changed the title Haxe compile server report an error message when re-compiling a code base that did not change Haxe compile server report an error message when compiling the same code base twice Nov 6, 2015
@Simn
Copy link
Member

Simn commented Nov 6, 2015

@waneck: That seems familiar, didn't we talk about this before?

@Atry
Copy link
Contributor Author

Atry commented Nov 6, 2015

Looks like #4235

@Simn Simn modified the milestone: 3.3.0-rc1 Feb 23, 2016
@Simn
Copy link
Member

Simn commented Mar 18, 2016

Can you check if this is still a problem?

@Simn
Copy link
Member

Simn commented Mar 22, 2016

I tried checking out the project but I get unrelated errors even on the first compilation. For the time being I'll assume that the original issue has been addressed, let me know if there are still issues.

@Simn Simn closed this as completed Mar 22, 2016
@Simn
Copy link
Member

Simn commented Mar 22, 2016

Turns out the failure was actually a legitimate problem which I isolated and fixed in #4969. With that I can in fact still reproduce the original error.

@Simn Simn reopened this Mar 22, 2016
@Atry
Copy link
Contributor Author

Atry commented Mar 22, 2016

Thank you for your investigation!

@waneck
Copy link
Member

waneck commented Apr 3, 2016

@Simn do you need me to do anything here?

@Simn
Copy link
Member

Simn commented Apr 3, 2016

I'm not sure, this actually looks a lot like #5006 (comment). Nicolas basically says that this shouldn't happen, but for some reason it apparently does.

@Atry Atry changed the title Haxe compile server report an error message when compiling the same code base twice Haxe compile server reports an error message when compiling the same code base twice Apr 3, 2016
@waneck
Copy link
Member

waneck commented Apr 3, 2016

Assigning to Nicolas then

@waneck waneck assigned ncannasse and unassigned waneck Apr 3, 2016
@Simn Simn modified the milestones: 3.4, 3.3.0-rc1 Apr 4, 2016
@Simn
Copy link
Member

Simn commented Sep 28, 2016

I just tried again and can no longer reproduce this problem.

@Simn Simn closed this as completed Sep 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants