[Mono-dev] Problem with mcs build
Miguel de Icaza
miguel at microsoft.com
Mon Sep 19 01:32:38 UTC 2016
Hello,
Try “make V=1” at the toplevel to get more data.
You might also want to post the full build logs somewhere (not the list) and send a link to it.
Migue.
From: Mono-devel-list <mono-devel-list-bounces at lists.dot.net> on behalf of Cyd Haselton <chaselton at gmail.com>
Date: Saturday, September 17, 2016 at 6:05 PM
To: "mono-devel-list at lists.dot.net" <mono-devel-list at lists.dot.net>
Subject: [Mono-dev] Problem with mcs build
I'm currently building mono on Android using Termux and I keep running into the same cryptic error when the mcs build starts.
Making all in runtime make[2]: Entering directory '/data/data/com.termux/files/pkg/ps/mono-4.6.0/runtime'
if test -w /data/data/com.termux/files/pkg/ps/mono-4.6.0/mcs; then :; else chmod -R +w /data/data/com.termux/files/pkg/ps/mono-4.6.0/mcs; fi
cd /data/data/com.termux/files/pkg/ps/mono-4.6.0/mcs && make -s PROFILES='binary_reference_assemblies net_4_x xbuild_12 xbuild_14 ' CC='gcc' all-profiles
make[3]: Entering directory '/data/data/com.termux/files/pkg/ps/mono-4.6.0/mcs'
make[4]: Entering directory '/data/data/com.termux/files/pkg/ps/mono-4.6.0/mcs'
make[5]: Entering directory '/data/data/com.termux/files/pkg/ps/mono-4.6.0/mcs'
make[6]: Entering directory '/data/data/com.termux/files/pkg/ps/mono-4.6.0/mcs'
NOTE: I added some echo statements in order to output var values…this is one of them
MONO_PATH=.//class/lib/monolite: /data/data/com.termux/files/pkg/ps/mono-4.6.0/runtime/mono-wrapper --verbose .//class/lib/monolite/basic.exe .//build/deps/basic-profile-check.exe Bootstrap compiler: Mono C# compiler version 4.6.0.0 make[6]: Leaving directory '/data/data/com.termux/files/pkg/ps/mono-4.6.0/mcs'
make[6]: Entering directory '/data/data/com.termux/files/pkg/ps/mono-4.6.0/mcs/build'
make[6]: Leaving directory '/data/data/com.termux/files/pkg/ps/mono-4.6.0/mcs/build'
make[6]: Entering directory '/data/data/com.termux/files/pkg/ps/mono-4.6.0/mcs/jay'
make[6]: Leaving directory '/data/data/com.termux/files/pkg/ps/mono-4.6.0/mcs/jay'
NOTE: the jay executable builds successfully.
make[6]: Entering directory '/data/data/com.termux/files/pkg/ps/mono-4.6.0/mcs/mcs'
make[7]: Entering directory '/data/data/com.termux/files/pkg/ps/mono-4.6.0/mcs/mcs'
warning CS8001: SDK path could not be resolved warning CS1685: The predefined type `System.Security.Permissions.HostProtectionAttribute' is defined multiple times. Using definition from `mscorlib.dll' /data/data/com.termux/files/pkg/ps/mono-4.6.0/mcs/class/lib/monolite/mscorlib.dll (Location of the symbol related to previous warning) /data/data/com.termux/files/pkg/ps/mono-4.6.0/mcs/class/lib/monolite/System.dll (Location of the symbol related to previous warning)
Here's where it errors out.
make[7]: *** [../build/executable.make:116: ../class/lib/basic/basic.exe]
Error 1
make[7]: Leaving directory '/data/data/com.termux/files/pkg/ps/mono-4.6.0/mcs/mcs'
make[6]: *** [../build/rules.make:221: do-all] Error 2
make[6]: Leaving directory '/data/data/com.termux/files/pkg/ps/mono-4.6.0/mcs/mcs'
make[5]: *** [build/rules.make:248: all-recursive] Error 1
make[5]: Leaving directory '/data/data/com.termux/files/pkg/ps/mono-4.6.0/mcs'
make[4]: *** [Makefile:49: profile-do--basic--all] Error 2
make[4]: Leaving directory '/data/data/com.termux/files/pkg/ps/mono-4.6.0/mcs'
make[3]: *** [Makefile:45: profiles-do--all] Error 2
make[3]: Leaving directory '/data/data/com.termux/files/pkg/ps/mono-4.6.0/mcs'
make[2]: *** [Makefile:543: all-local] Error 2 make[2]: Leaving directory '/data/data/com.termux/files/pkg/ps/mono-4.6.0/runtime'
make[1]: *** [Makefile:512: all-recursive] Error 1 make[1]: Leaving directory '/data/data/com.termux/files/pkg/ps/mono-4.6.0'
make: *** [Makefile:441: all] Error 2
I've upped the debug level of make, added a --verbose flag to mono-wrapper…no additional error output is printed to the console.
Has anyone seen this before?
CJH
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dot.net/pipermail/mono-devel-list/attachments/20160919/3942cabe/attachment.html>
More information about the Mono-devel-list
mailing list