Bug 58649 - [make] Need to hit enter key when doing "make all" to pass 'FSharp.Core.fsproj' builds
Summary: [make] Need to hit enter key when doing "make all" to pass 'FSharp.Core.fspr...
Status: RESOLVED NOT_REPRODUCIBLE
Alias: None
Product: iOS
Classification: Xamarin
Component: Infrastructure (internal) ()
Version: master
Hardware: PC Mac OS
: Normal normal
Target Milestone: Xcode9
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-08-08 21:23 UTC by Vincent Dondain [MSFT]
Modified: 2017-08-09 22:26 UTC (History)
3 users (show)

Tags:
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 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:
Status:
RESOLVED NOT_REPRODUCIBLE

Description Vincent Dondain [MSFT] 2017-08-08 21:23:49 UTC
When doing a "make all -j8" in xamarin-macios/xcode9 with a clean repo (make git-clean-all).

The build won't finish if you don't hit the "enter" key multiple times around the time it's building the F# projects.

https://gist.github.com/VincentDondain/eef77da140118e7734c137ca53e0a47b --> needs enter to continue.
Comment 1 Vincent Dondain [MSFT] 2017-08-08 21:50:45 UTC
Current environment: https://gist.github.com/VincentDondain/88df0a062fa84eb4143aed04076acfdc
Comment 2 Sebastien Pouliot 2017-08-09 01:39:09 UTC
Done a build from clean and I fail like wrench. That's another issue, but you should have faced it with beta 5 when building for devices (it seems only sim builds were fixed in the bump PR).

[8:33:45] ld: warning: object file (/Users/builder/data/lanes/5024/1bfd5ae4/source/xamarin-macios/builds/llvm/usr/lib/libLLVMSupport.a(regstrlcpy.o)) was built for newer OSX version (10.12) than being linked (10.7)
[8:33:45] ld: weak import of symbol '_futimens' not supported because of option: -no_weak_imports for architecture x86_64
[8:33:45] clang: error: linker command failed with exit code 1 (use -v to see invocation)
[8:33:45] ld: weak import of symbol '_futimens' not supported because of option: -no_weak_imports for architecture i386
[8:33:45] clang: error: linker command failed with exit code 1 (use -v to see invocation)
[8:33:45] make[7]: *** [mono-sgen] Error 1
[8:33:45] make[6]: *** [all] Error 2
[8:33:45] make[5]: *** [all-recursive] Error 1
[8:33:45] make[4]: *** [.stamp-build-cross64] Error 2
Comment 3 Rolf Bjarne Kvinge [MSFT] 2017-08-09 05:43:17 UTC
For the "enter" key issue, please try executing "kill -QUIT <pid>" to the process waiting for stdin. That should print a managed stack trace to the terminal. The problem here is figuring out <pid>, but it might be possible using the Activity Monitor and make it view all processes hierarchically, or use a pstree script like the following: https://apple.stackexchange.com/a/137355.
Comment 4 Vincent Dondain [MSFT] 2017-08-09 22:26:01 UTC
I think Sebastien's comment is addressed by https://github.com/xamarin/xamarin-macios/commit/656249cf323697839b636fe0c8df5b1db262a1d1 and I tried today to re-reproduce this issue (latest Xcode9 hash so https://github.com/xamarin/xamarin-macios/commit/a222b69dbb87547f7ffe42975c5982e10e908198) and couldn't repro.

I'll close this bug for now and re-open it (with the requested information) if it happens again.