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

Use opensuse toolchain to build windows binaries for WinRPM package compatibility #11682

Closed
SimonDanisch opened this issue Jun 12, 2015 · 13 comments
Labels
domain:building Build system, or building Julia or its dependencies system:windows Affects only Windows

Comments

@SimonDanisch
Copy link
Contributor

Compilation on windows+cygwin hangs at inference for an infinite amount of time (so far it hasn't stopped)
Maybe connected to a9915ff ?

Compiler log: https://gist.github.com/SimonDanisch/df154b87b932f3b865db#file-compilationlog

Best,
Simon

@SimonDanisch SimonDanisch changed the title compile: hanging in inference.jl compilation: hanging in inference.jl Jun 12, 2015
@KristofferC
Copy link
Sponsor Member

See #10331 (comment) and #11678

@tkelman
Copy link
Contributor

tkelman commented Jun 12, 2015

pull and try again

@tkelman tkelman added the system:windows Affects only Windows label Jun 12, 2015
@SimonDanisch
Copy link
Contributor Author

hmm... "julia.exe stopped working" when i start the binary dist. make cleanall && make && make win-extras && make binary-dist and then installed it without and with copying julia/usr/lib/julia

@SimonDanisch
Copy link
Contributor Author

Interesting, from inside cygwin make test seems to work.
I wonder if I'm doing anything wrong while installing it. But I would not know what. I removed the old installation and installed the new one, like always. There is not that much to do wrong here, right?

@tkelman
Copy link
Contributor

tkelman commented Jun 13, 2015

Had you done make win-extras a while ago and are you re-using the same build? You might need to update the win-extras files via rm -rf dist-extras && make win-extras

@SimonDanisch
Copy link
Contributor Author

this does not seem to fix the issue :(

@tkelman
Copy link
Contributor

tkelman commented Jun 13, 2015

I think this is at the root of the issues on appveyor right now, there was a change in upstream opensuse that may have broken our binaries.

@tkelman
Copy link
Contributor

tkelman commented Jun 13, 2015

While I'm testing things out, if someone on Windows wants to just try downloading the latest nightly https://status.julialang.org/download/win64 and see whether it works properly, let me know. I think it might be broken but am busy working on fixing appveyor right now.

@SimonDanisch
Copy link
Contributor Author

jupp its broken!

@tkelman
Copy link
Contributor

tkelman commented Jun 13, 2015

Thanks. I think the short-term "rescue appveyor" fix is to stop pulling in the gcc dll's from opensuse in the nightly binaries, I'll do that shortly. This may however break IJulia due to zmq depending on libstdc++.

@tkelman
Copy link
Contributor

tkelman commented Jun 13, 2015

Keep an eye on http://buildbot.e.ip.saba.us:8010/builders/package_win8.1-x64/builds/841, and when it's finished I hope we'll have things working again. But any C++ WinRPM packages like zmq, cbc, etc may be broken for a little while.

If anyone wants to help fix this permanently, we'll need to adapt contrib/windows/winrpm.sh to preserve paths from the extracted cpio download, and try to get a build working using the winrpm-downloaded mingw-w64 gcc, g++, and gfortran.

@tkelman
Copy link
Contributor

tkelman commented Jun 13, 2015

The nightly and appveyor are fixed now. If someone wants to try installing the latest nightly and checking if, from a clean package directory, packages like zmq and cbc can work correctly, would be good to know. I'm working on trying to get the mingw-w64 toolchain from opensuse to work. MSYS2 might be easier to bring back support for than cygwin, will see.

@tkelman tkelman changed the title compilation: hanging in inference.jl Use opensuse toolchain to build windows binaries for WinRPM package compatibility Jun 13, 2015
@tkelman tkelman added the domain:building Build system, or building Julia or its dependencies label Jun 13, 2015
@tkelman
Copy link
Contributor

tkelman commented Jun 14, 2015

Closing in favor of #11705, please help review, test, and suggest additions to that.

@tkelman tkelman closed this as completed Jun 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain:building Build system, or building Julia or its dependencies system:windows Affects only Windows
Projects
None yet
Development

No branches or pull requests

3 participants