Bug 48681 - Mono build fails on Linux.
Summary: Mono build fails on Linux.
Alias: None
Product: Runtime
Classification: Mono
Component: General ()
Version: master
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Jo Shields
Depends on:
Reported: 2016-12-02 04:00 UTC by Maxim
Modified: 2016-12-21 18:56 UTC (History)
4 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Maxim 2016-12-02 04:00:36 UTC
Compilation flags: --prefix=/usr --sysconfdir=/etc --bindir=/usr/bin --sbindir=/usr/bin --disable-quiet-build --disable-system-aot --with-mcs-docs=yes

Error: /usr/bin/install -c -c -m 755 /home/me/temp/mono-git/src/mono/external/roslyn-binaries/Microsoft.Net.Compilers/Microsoft.Net.Compilers.1.3.2/tools//csc.exe.so /home/me/temp/mono-git/pkg/mono/usr/lib/mono/4.5
/usr/bin/install: cannot stat '/home/me/temp/mono-git/src/mono/external/roslyn-binaries/Microsoft.Net.Compilers/Microsoft.Net.Compilers.1.3.2/tools//csc.exe.so': No such file or directory

Steps to reproduce: 
1) git clone --recursive https://github.com/mono/mono
2) ./autogen.sh --prefix=/usr --sysconfdir=/etc --bindir=/usr/bin --sbindir=/usr/bin --disable-quiet-build --disable-system-aot --with-mcs-docs=yes
3) make
4) sudo make install
OS: ArchLinux (Linux kernel 4.8.11-1-ARCH).
OS architecture: x86_64.
Comment 1 Jo Shields 2016-12-02 10:13:51 UTC
Try without the --disable-system-aot flag?
Comment 2 Maxim 2016-12-03 13:56:38 UTC
Yes. It builds without the --disable-system-aot.
Comment 3 Maxim 2016-12-07 02:57:46 UTC
But why it not builds with the --disable-system-aot flag?
Comment 4 Zoltan Varga 2016-12-21 18:56:54 UTC
This should be fixed by ba6c212d3208b828900a0642afe17c6d13013b33.