-
-
Notifications
You must be signed in to change notification settings - Fork 347
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
Downgrade to building on Mono 5.20 #2976
Conversation
(@DasSkelett, I'm crediting you with co-development of this in the changelog rather than just review because you took care of testing the 5.20 builds and replacing them in the release assets.) |
We probably can't build on Mono 5 forever, so it would be good to get Mono 6 builds working. Documenting further investigation here because it's the only place where the problems for both Windows and Mono are presented, and I'm still not completely sure that we can solve this ourselves...
Interesting discoveries:
|
Continuing some of the above thought process, this explanation seems to fit the observations thus far:
I.e., in the change from Mono 5 to 6, the defaulting for a missing Also it should be fine that our |
Inspecting Mono 6's Checking the same file on Windows, there is no mention of Possibly useful info here: |
Deleting these lines (in several files) makes a Mono 6 build run in Windows! Lines 138 to 140 in 4f08f2a
Still need to test on Mono 5. |
I can't even find the
... it might be design-time only? For the GUI in Visual Studio to set which locale is currently being edited, so translators can work without editing XML files. |
Found a mention in the Mono code:
Not sure what to do with this though 😄 |
I think that's saying the same thing I said above regarding design-time and translators' work flow:
Serializing a control turns the in-memory representation of it into a |
Problem
The latest release (1.26.8) on Windows:
The latest release on Ubuntu with Mono 5:
Neither of these appears to be due to anything CKAN itself is doing: note the exception is 20+ levels deep in the stack trace, and building on Windows produces a binary that works fine everywhere.
Cause
In #2964 we changed the Mono version for the net-core builds from
latest
to6.6.0
to work around a problem with Cake on Mono 6.8.0.We also updated versions of Mono and other packages for the regular builds since we hadn't done that in a while, since later versions of software are supposed to have fixes and improvements and we would like to take advantage of those. However, Mono 6.8.0 apparently is not the only release with problems; it looks like Mono 6 can't build an EXE that works on Windows or Mono 5.
Changes
Now we use the build from Mono 5.20.1. @DasSkelett has tested ckan.exe built with Mono 5.20 and confirmed that it works on Windows.
Fixes #2972.
Fixes #2974.