-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Linux Build Failed With Code 139 #2099
Comments
How did you acquire Mono in this case? Our Jenkins job actually uses a non-released version of mono (we grab CI snapshots) because there are several recent bug fixes we need. This is the script we use to grab drops ourselves for Linux testing: Once that script completes you should be able to run
Those are coming this week, hopefully tomorrow. This is a fairly new scenario for us and we've been trying to figure out the best way to support it ourselves. Now that we've gotten to a good place it's worth documenting the setup we have. The better new is the support should be increasing rather dramatically this week. On my Macbook I can go much further than |
The structure for how my build goes is as follows:
I git everything I can so I have the (latest/buggiest). to play with. In the case of Mono:
|
@Vindicator, can you try with latest mono v4.0.2.4 (https://github.com/mono/mono/releases/latest) if this is still failing? |
This issue is a little stale, so closing it. Feel free to reopen or open a different a issue if you are still running into issues. |
Linux debianSystem 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt7-1 (2015-03-01) x86_64 GNU/Linux
XBuild Engine Version 12.0
Mono, Version 4.1.0.0
$ unzip PortableReferenceAssemblies-2014-04-14.zip
$ mkdir -pv /usr/local/lib/mono/xbuild-frameworks/.NETPortable
$ mv -v PortableReferenceAssemblies-2014-04-14/* /usr/local/lib/mono/xbuild-frameworks/.NETPortable
$ cd roslyn
$ git reset --hard f7917f7
//jenkins shows commit's successful linux build. Wow, that github markdown is neat.
$ mozroots --import --machine --sync
$ certmgr -ssl https://go.microsoft.com
$ certmgr -ssl https://nugetgallery.blob.core.windows.net
$ certmgr -ssl https://nuget.org
$ cp -v cibuild.sh{,.bak}
$ sed "s//v:m//v:diagnostic/" cibuild.sh.bak > cibuild.sh
//Make build output more detailed
$ ./cibuild.sh --mono-path /usr/local 2>&1 | tee cibuild.log
I'm not really seeing any Linux docs for building like with other sources like coreclr.
For example, needing to run ./build/Linux/setup.sh
I'm guessing that it doesn't need to be run if mono is already installed, except the certmgr parts should be run.
I think I would get a 134 crash on builds before I ran certmgr.
The text was updated successfully, but these errors were encountered: