Bug 60163 - MTouch error on compile
Summary: MTouch error on compile
Alias: None
Product: iOS
Classification: Xamarin
Component: General ()
Version: XI 11.4 (d15-5)
Hardware: PC Mac OS
: High blocker
Target Milestone: 15.5
Assignee: Rolf Bjarne Kvinge [MSFT]
Depends on:
Reported: 2017-10-12 20:20 UTC by kkurz
Modified: 2017-11-06 19:43 UTC (History)
5 users (show)

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

Diagnostic build logs (3.91 MB, text/plain)
2017-10-12 20:20 UTC, kkurz
Updated build logs (235.60 KB, text/plain)
2017-10-13 16:06 UTC, kkurz
Logs (4.29 KB, application/zip)
2017-11-03 09:26 UTC, Swati Gangrade

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 Developer Community or GitHub 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 kkurz 2017-10-12 20:20:13 UTC
Created attachment 25293 [details]
Diagnostic build logs

Back again with another build error on today's Alpha release. Seems very similar to https://bugzilla.xamarin.com/show_bug.cgi?id=58063, which was fixed in 15.4. Diagnostic logs attached. My guess is you can still use the project attached to the referenced bug and see this (we haven't changed that much in our build system).
Comment 1 kkurz 2017-10-12 20:23:12 UTC
FYI, stable still builds. So this is new in 15.5
Comment 2 Rolf Bjarne Kvinge [MSFT] 2017-10-13 06:42:14 UTC
It seems the build log is truncated; can you build from the command line instead? That would ensure the log isn't truncated by the IDE.
Comment 3 kkurz 2017-10-13 16:06:14 UTC
Created attachment 25304 [details]
Updated build logs
Comment 4 Alex Soto [MSFT] 2017-10-13 16:10:15 UTC
*** Bug 60176 has been marked as a duplicate of this bug. ***
Comment 5 Rolf Bjarne Kvinge [MSFT] 2017-10-16 10:56:44 UTC
I can reproduce this.
Comment 6 Rolf Bjarne Kvinge [MSFT] 2017-10-16 11:08:56 UTC
It's because of an out-of-date linker submodule.

d15-5: https://github.com/xamarin/xamarin-macios/pull/2892

This is not a problem in master, where this linker submodule doesn't exist anymore.
Comment 7 Rolf Bjarne Kvinge [MSFT] 2017-10-16 17:01:03 UTC
Fixed: https://github.com/xamarin/xamarin-macios/commit/93a0d270fbbdcd51bfe983ac82366f2c976f7d11

Thanks for using the Alpha builds to find this before releasing 15.5 to stable.
Comment 8 kkurz 2017-10-25 19:50:17 UTC
@Rolf, I was expecting to see this fixed in Monday's Alpha build. It's not. :(
Comment 9 Rolf Bjarne Kvinge [MSFT] 2017-10-26 08:20:25 UTC
It will be in the next 15.5 preview/alpha build (the fix was merged a day too late for the current alpha).
Comment 10 Swati Gangrade 2017-11-03 09:26:07 UTC
Created attachment 25549 [details]

Bug is retested and verified in below build env-

Visual Studio Enterprise 2017 for Mac (Preview) Version 7.3 Preview (7.3 build 708)
Mono (2017-06/c6605763a36) (64-bit)
Xamarin.iOS Version: (Visual Studio Enterprise)
Xamarin.Android Version: (Visual Studio Enterprise)
Xamarin.Mac Version: (Visual Studio Enterprise)
Operating System Mac OS X 10.12.6

Detailed Build Info - https://gist.github.com/gangrade-swati/47d1f48f4f12698d33e288f0e74376ff

Screencast- https://www.screencast.com/t/xdjLkXBaq0f

Build Logs - https://gist.github.com/gangrade-swati/7f2d6fc284462b1efb00c773c810932c

Hence marking bug as verified
Comment 11 kkurz 2017-11-06 19:43:15 UTC
Can confirm, using today's Alpha, I can build. Woot.

=== Visual Studio Professional 2017 for Mac (Preview) ===

Version 7.3 Preview (7.3 build 740)
Installation UUID: e59fb8b4-2d92-4cf1-aade-c9483696b3ee
	Mono (2017-06/e66d9abbb27) (64-bit)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 504010007

=== NuGet ===


=== .NET Core ===

Runtime: Not installed
SDK: Not installed
MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/5.4.1/lib/mono/msbuild/15.0/bin/Sdks

=== Xamarin.Profiler ===

Version: 1.6.0
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

=== Apple Developer Tools ===

Xcode 9.1 (13532)
Build 9B55

=== Xamarin.iOS ===

Version: (Visual Studio Professional)
Hash: 25c6ba1e
Branch: d15-5
Build date: 2017-10-27 12:04:54-0400

=== Xamarin.Android ===

Version: (Visual Studio Professional)
Android SDK: /Users/kkurz/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		5.0 (API level 21)
		5.1 (API level 22)
		6.0 (API level 23)
		7.0 (API level 24)
		7.1 (API level 25)
		8.0 (API level 26)

SDK Tools Version: 26.1.1
SDK Platform Tools Version: 26.0.1
SDK Build Tools Version: 26.0.2

Java SDK: /usr
java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)

Android Designer EPL code available here:

=== Xamarin.Mac ===

Version: (Visual Studio Professional)

=== Xamarin Inspector ===

Version: 1.3.2
Hash: 461f09a
Branch: 1.3-release
Build date: Tue, 03 Oct 2017 18:26:57 GMT
Client compatibility: 1

=== Build Information ===

Release ID: 703000740
Git revision: e627d44dfa30d44a55f9a5f67daf10ba11236e96
Build date: 2017-10-27 17:26:45-04
Xamarin addins: a1e6d0fb5813ae35c96027955d4909ffc259b94b
Build lane: monodevelop-lion-d15-5

=== Operating System ===

Mac OS X 10.13.1
Darwin 17.2.0 Darwin Kernel Version 17.2.0
    Fri Sep 29 18:27:05 PDT 2017
    root:xnu-4570.20.62~3/RELEASE_X86_64 x86_64