[Mono-dev] Problem with mcs build
Cyd Haselton
chaselton at gmail.com
Mon Sep 19 14:04:51 UTC 2016
I didn't build from repo because I don't have a working mcs. I built from
downloaded tarball of sources.
On Sep 19, 2016 9:00 AM, "Miguel de Icaza" <miguel at microsoft.com> wrote:
> Hello,
>
>
>
> You do not have a clean checkout.
>
>
>
> Miguel.
>
>
>
> *From: *Cyd Haselton <chaselton at gmail.com>
> *Date: *Monday, September 19, 2016 at 8:56 AM
> *To: *Miguel de Icaza <miguel at microsoft.com>
> *Cc: *"mono-devel-list at lists.dot.net" <mono-devel-list at lists.dot.net>
> *Subject: *Re: [Mono-dev] Problem with mcs build
>
>
>
> I ran make distclean, reset some env vars and reran the make, using
> autogen.sh.
>
> This time I got a much different error. Here are the links to the
> config.log and build.log
>
> config.log: http://pastebin.com/Pme5tx4W
> <https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2fpastebin.com%2fPme5tx4W&data=02%7c01%7cmiguel%40microsoft.com%7c1ac3802f4f30468f8ab408d3e08c6921%7c72f988bf86f141af91ab2d7cd011db47%7c1%7c0%7c636098866069382476&sdata=dWJ2EOFGLfi9lx8fx%2b40esvGYQx2h6KVUqL3SMUYJxk%3d>
> build log: http://pastebin.com/puCMusV7
> <https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2fpastebin.com%2fpuCMusV7&data=02%7c01%7cmiguel%40microsoft.com%7c1ac3802f4f30468f8ab408d3e08c6921%7c72f988bf86f141af91ab2d7cd011db47%7c1%7c0%7c636098866069382476&sdata=zZL%2bVUEBkVWT%2f%2bOIyxBxKENz0BxVXmO32jfgev1%2bCWI%3d>
>
>
>
> On Sep 18, 2016 8:32 PM, "Miguel de Icaza" <miguel at microsoft.com> wrote:
>
> 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/cdc251db/attachment.html>
More information about the Mono-devel-list
mailing list