From owner-freebsd-mono@FreeBSD.ORG Mon Jun 15 06:20:31 2015 Return-Path: Delivered-To: mono@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AC17039D for ; Mon, 15 Jun 2015 06:20:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9505BC23 for ; Mon, 15 Jun 2015 06:20:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5F6KVpn072149 for ; Mon, 15 Jun 2015 06:20:31 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: mono@FreeBSD.org Subject: [Bug 200690] lang/mono: Update to 4.0.1.44 Date: Mon, 15 Jun 2015 06:20:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-patch, needs-qa, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: mono@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: short_desc keywords cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-mono@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Mono and C# applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jun 2015 06:20:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200690 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[lang/mono] Update mono to |lang/mono: Update to |4.0.1.44 |4.0.1.44 Keywords| |needs-patch, needs-qa, | |patch CC| |koobs@FreeBSD.org --- Comment #1 from Kubilay Kocak --- Hi Marcin, As per bug 200783, can you please include your patch as an attachment in this issue, as a unified diff against the latest version (head) of the lang mono port. Please also include QA results (again as attachments), in particular poudriere results. For more information, see: https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/testing.html -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-mono@FreeBSD.ORG Mon Jun 15 06:22:52 2015 Return-Path: Delivered-To: mono@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 34FC6411 for ; Mon, 15 Jun 2015 06:22:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1F060D13 for ; Mon, 15 Jun 2015 06:22:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5F6MpOZ077123 for ; Mon, 15 Jun 2015 06:22:51 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: mono@FreeBSD.org Subject: [Bug 200783] lang/mono: Don't require /proc Date: Mon, 15 Jun 2015 06:22:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: easy, needs-patch, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: mono@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-mono@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Mono and C# applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jun 2015 06:22:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200783 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |koobs@FreeBSD.org --- Comment #4 from Kubilay Kocak --- Thanks Marcin, though changesets proposed for the ports need to be against our repository (ie; the port) not the upstream sources in order to progress. In order to progress, this issue needs those patches against the ports tree and QA results as per comment 1 -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-mono@FreeBSD.ORG Mon Jun 15 21:57:28 2015 Return-Path: Delivered-To: mono@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id ADED5533 for ; Mon, 15 Jun 2015 21:57:28 +0000 (UTC) (envelope-from anonymous@ip-173-201-34-172.ip.secureserver.net) Received: from p3plsmtpp1ded04.prod.phx3.secureserver.net (p3plsmtpp1ded04.prod.phx3.secureserver.net [208.109.80.2]) by mx1.freebsd.org (Postfix) with ESMTP id 854FB97A for ; Mon, 15 Jun 2015 21:57:28 +0000 (UTC) (envelope-from anonymous@ip-173-201-34-172.ip.secureserver.net) Received: from ip-173-201-34-172.ip.secureserver.net ([173.201.34.172]) by p3plsmtpp1ded04.prod.phx3.secureserver.net with : DED : id gluL1q0063iqBPR01luLzE; Mon, 15 Jun 2015 14:54:20 -0700 x-originating-ip: 173.201.34.172 x_spam_cmae: v=2.1 cv=Hpr4GijS c=1 sm=1 tr=0 p=vQiH5P36G9EaZ0m_auUA:9 a=FMyW0kg+zVcjUcIoJjcbSA==:117 a=TZb1taSUAAAA:8 a=XAFQembCKUMA:10 a=CjuIK1q_8ugA:10 a=6UGJeFYqvEwA:10 a=XmFdg1MbWNkA:10 a=esjF1DwdGWAA:10 a=ZqSh61-i7TQwI0D2qS0A:9 a=IKIoO-ieCDEA:10 Received: (qmail 5866 invoked by uid 10001); 15 Jun 2015 14:54:20 -0700 To: mono@FreeBSD.org Subject: Notice to appear in Court #0000547147 Date: Mon, 15 Jun 2015 15:54:20 -0600 From: "State Court" Reply-To: "State Court" Message-ID: <7218f5edca1e8acbfcab27d5fd18b725@ip-173-201-34-172.ip.secureserver.net> X-Priority: 3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-mono@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Mono and C# applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jun 2015 21:57:28 -0000 Notice to Appear, This is to inform you to appear in the Court on the June 22 for your case hearing. Please, prepare all the documents relating to the case and bring them to Court on the specified date. Note: The case may be heard by the judge in your absence if you do not come. The Court Notice is attached to this email. Kind regards, Ralph Hartley, Clerk of Court. From owner-freebsd-mono@FreeBSD.ORG Wed Jun 17 18:19:40 2015 Return-Path: Delivered-To: mono@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A73ED6DE for ; Wed, 17 Jun 2015 18:19:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 88AD9BAB for ; Wed, 17 Jun 2015 18:19:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5HIJeY8098331 for ; Wed, 17 Jun 2015 18:19:40 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: mono@FreeBSD.org Subject: maintainer-feedback requested: [Bug 200937] lang/mono: [patch] mono-sgen SIGSEGV during build Date: Wed, 17 Jun 2015 18:19:40 +0000 X-Bugzilla-Type: request Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-mono@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Mono and C# applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2015 18:19:40 -0000 Thomas Hurst has reassigned Bugzilla Automation 's request for maintainer-feedback to mono@FreeBSD.or= g: Bug 200937: lang/mono: [patch] mono-sgen SIGSEGV during build https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D200937 --- Description --- Created attachment 157839 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D157839&action= =3Dedit Patch: increase _WAPI_PRIVATE_MAX_SLOTS System: FreeBSD 10.1-STABLE #0 r283969: Wed Jun 3 22:59:38 BST 2015 Dual hex-core Westmere Xeon, 155GB RAM. For a while now lang/mono's been segfaulting during build: ------------------------------------------------------------------------ Making all in runtime gmake[3]: Entering directory '/usr/obj/usr/ports/lang/mono/work/mono-4.0.1/runtime' if test -w /usr/obj/usr/ports/lang/mono/work/mono-4.0.1/mcs; then :; else c= hmod -R +w /usr/obj/usr/ports/lang/mono/work/mono-4.0.1/mcs; fi cd /usr/obj/usr/ports/lang/mono/work/mono-4.0.1/mcs && gmake --no-print-directory -s NO_DIR_CHECK=3D1 PROFILES=3D'binary_reference_assem= blies net_4_5 xbuild_12 xbuild_14 ' CC=3D'cc' all-profiles gmake[7]: mcs: Command not found build/profiles/basic.make:93: recipe for target 'build/deps/basic-profile-check.exe' failed gmake[7]: *** [build/deps/basic-profile-check.exe] Error 127 *** The compiler 'mcs' doesn't appear to be usable. *** Trying the 'monolite' directory. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Got a SIGSEGV while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D build/profiles/basic.make:93: recipe for target 'build/deps/basic-profile-check.exe' failed gmake[9]: *** [build/deps/basic-profile-check.exe] Abort trap (core dumped) *** The contents of your 'monolite' directory may be out-of-date *** You may want to try 'make get-monolite-latest' build/profiles/basic.make:77: recipe for target 'do-profile-check-monolite' failed gmake[9]: *** [do-profile-check-monolite] Error 1 build/profiles/basic.make:60: recipe for target 'do-profile-check' failed gmake[8]: *** [do-profile-check] Error 2 build/profiles/basic.make:85: recipe for target 'do-profile-check-monolite' failed gmake[7]: *** [do-profile-check-monolite] Error 2 build/profiles/basic.make:60: recipe for target 'do-profile-check' failed gmake[6]: *** [do-profile-check] Error 2 Makefile:44: recipe for target 'profile-do--basic--all' failed gmake[5]: *** [profile-do--basic--all] Error 2 Makefile:40: recipe for target 'profiles-do--all' failed gmake[4]: *** [profiles-do--all] Error 2 Makefile:555: recipe for target 'all-local' failed gmake[3]: *** [all-local] Error 2 gmake[3]: Leaving directory '/usr/obj/usr/ports/lang/mono/work/mono-4.0.1/runtime' Makefile:522: recipe for target 'all-recursive' failed gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory '/usr/obj/usr/ports/lang/mono/work/mono-4.0.1' Makefile:449: recipe for target 'all' failed gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory '/usr/obj/usr/ports/lang/mono/work/mono-4.0.1' *** Error code 1 ------------------------------------------------------------------------ I can't reproduce it on a 24GB 10.1-RELEASE system. I'm guessing it's a high-memory/tuning issue. mono-sgen.core reveals the following backtrace: #0 0x00000008012eacaa in thr_kill () from /lib/libc.so.7 #1 0x00000008012eac16 in raise () from /lib/libc.so.7 #2 0x00000008012e9409 in abort () from /lib/libc.so.7 #3 0x00000000004b1903 in mono_handle_native_sigsegv (signal=3D, ctx=3D, info=3D) at mini-exceptions.c:2386 #4 0x000000000041eeac in mono_sigsegv_signal_handler (_dummy=3D11, _info=3D0x7fffffffd2b0, context=3D0x7fffffffcf40) at mini.c:6771 #5 0x0000000800f8f997 in pthread_sigmask () from /lib/libthr.so.3 #6 0x0000000800f8f1a8 in pthread_getspecific () from /lib/libthr.so.3 #7 #8 0x0000000000607f83 in wapi_init () at handles.c:278 #9 0x00000000005a41d5 in mono_init_internal (filename=3D0x7fffffffdb82 ".//class/lib/monolite/basic.exe", exe_filename=3D0x7fffffffdb82 ".//class/lib/monolite/basic.exe", runtime_version=3D0x0) at domain.c:504 #10 0x000000000041f846 in mini_init (filename=3D, runtime_version=3D) at mini.c:7404 #11 0x0000000000484b4c in mono_main (argc=3D8, argv=3D0x7fffffffd628) at driver.c:1921 #12 0x000000000041600f in _start () Turns out this line in mono/io-layer/handles.c immediately before the segfa= ult is failing, returning -1: _wapi_global_signal_handle =3D _wapi_handle_new (WAPI_HANDLE_EVENT, NUL= L); Drilling down, I see the array's running out of slots, as defined in mono/io-layer/handles-private.h:25 #define _WAPI_PRIVATE_MAX_SLOTS (1024 * 16) Increasing this to 1024 * 17 fixes the build. Patch to drop into files/ attached.= From owner-freebsd-mono@FreeBSD.ORG Wed Jun 17 18:19:40 2015 Return-Path: Delivered-To: mono@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DF6966DF for ; Wed, 17 Jun 2015 18:19:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C11C3BAC for ; Wed, 17 Jun 2015 18:19:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5HIJeRg098334 for ; Wed, 17 Jun 2015 18:19:40 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: mono@FreeBSD.org Subject: [Bug 200937] lang/mono: [patch] mono-sgen SIGSEGV during build Date: Wed, 17 Jun 2015 18:19:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tom@hur.st X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: mono@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-mono@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Mono and C# applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2015 18:19:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200937 Bug ID: 200937 Summary: lang/mono: [patch] mono-sgen SIGSEGV during build Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: patch Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: mono@FreeBSD.org Reporter: tom@hur.st Assignee: mono@FreeBSD.org Keywords: patch Flags: maintainer-feedback?(mono@FreeBSD.org) Created attachment 157839 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=157839&action=edit Patch: increase _WAPI_PRIVATE_MAX_SLOTS System: FreeBSD 10.1-STABLE #0 r283969: Wed Jun 3 22:59:38 BST 2015 Dual hex-core Westmere Xeon, 155GB RAM. For a while now lang/mono's been segfaulting during build: ------------------------------------------------------------------------ Making all in runtime gmake[3]: Entering directory '/usr/obj/usr/ports/lang/mono/work/mono-4.0.1/runtime' if test -w /usr/obj/usr/ports/lang/mono/work/mono-4.0.1/mcs; then :; else chmod -R +w /usr/obj/usr/ports/lang/mono/work/mono-4.0.1/mcs; fi cd /usr/obj/usr/ports/lang/mono/work/mono-4.0.1/mcs && gmake --no-print-directory -s NO_DIR_CHECK=1 PROFILES='binary_reference_assemblies net_4_5 xbuild_12 xbuild_14 ' CC='cc' all-profiles gmake[7]: mcs: Command not found build/profiles/basic.make:93: recipe for target 'build/deps/basic-profile-check.exe' failed gmake[7]: *** [build/deps/basic-profile-check.exe] Error 127 *** The compiler 'mcs' doesn't appear to be usable. *** Trying the 'monolite' directory. ================================================================= Got a SIGSEGV while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application. ================================================================= build/profiles/basic.make:93: recipe for target 'build/deps/basic-profile-check.exe' failed gmake[9]: *** [build/deps/basic-profile-check.exe] Abort trap (core dumped) *** The contents of your 'monolite' directory may be out-of-date *** You may want to try 'make get-monolite-latest' build/profiles/basic.make:77: recipe for target 'do-profile-check-monolite' failed gmake[9]: *** [do-profile-check-monolite] Error 1 build/profiles/basic.make:60: recipe for target 'do-profile-check' failed gmake[8]: *** [do-profile-check] Error 2 build/profiles/basic.make:85: recipe for target 'do-profile-check-monolite' failed gmake[7]: *** [do-profile-check-monolite] Error 2 build/profiles/basic.make:60: recipe for target 'do-profile-check' failed gmake[6]: *** [do-profile-check] Error 2 Makefile:44: recipe for target 'profile-do--basic--all' failed gmake[5]: *** [profile-do--basic--all] Error 2 Makefile:40: recipe for target 'profiles-do--all' failed gmake[4]: *** [profiles-do--all] Error 2 Makefile:555: recipe for target 'all-local' failed gmake[3]: *** [all-local] Error 2 gmake[3]: Leaving directory '/usr/obj/usr/ports/lang/mono/work/mono-4.0.1/runtime' Makefile:522: recipe for target 'all-recursive' failed gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory '/usr/obj/usr/ports/lang/mono/work/mono-4.0.1' Makefile:449: recipe for target 'all' failed gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory '/usr/obj/usr/ports/lang/mono/work/mono-4.0.1' *** Error code 1 ------------------------------------------------------------------------ I can't reproduce it on a 24GB 10.1-RELEASE system. I'm guessing it's a high-memory/tuning issue. mono-sgen.core reveals the following backtrace: #0 0x00000008012eacaa in thr_kill () from /lib/libc.so.7 #1 0x00000008012eac16 in raise () from /lib/libc.so.7 #2 0x00000008012e9409 in abort () from /lib/libc.so.7 #3 0x00000000004b1903 in mono_handle_native_sigsegv (signal=, ctx=, info=) at mini-exceptions.c:2386 #4 0x000000000041eeac in mono_sigsegv_signal_handler (_dummy=11, _info=0x7fffffffd2b0, context=0x7fffffffcf40) at mini.c:6771 #5 0x0000000800f8f997 in pthread_sigmask () from /lib/libthr.so.3 #6 0x0000000800f8f1a8 in pthread_getspecific () from /lib/libthr.so.3 #7 #8 0x0000000000607f83 in wapi_init () at handles.c:278 #9 0x00000000005a41d5 in mono_init_internal (filename=0x7fffffffdb82 ".//class/lib/monolite/basic.exe", exe_filename=0x7fffffffdb82 ".//class/lib/monolite/basic.exe", runtime_version=0x0) at domain.c:504 #10 0x000000000041f846 in mini_init (filename=, runtime_version=) at mini.c:7404 #11 0x0000000000484b4c in mono_main (argc=8, argv=0x7fffffffd628) at driver.c:1921 #12 0x000000000041600f in _start () Turns out this line in mono/io-layer/handles.c immediately before the segfault is failing, returning -1: _wapi_global_signal_handle = _wapi_handle_new (WAPI_HANDLE_EVENT, NULL); Drilling down, I see the array's running out of slots, as defined in mono/io-layer/handles-private.h:25 #define _WAPI_PRIVATE_MAX_SLOTS (1024 * 16) Increasing this to 1024 * 17 fixes the build. Patch to drop into files/ attached. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-mono@FreeBSD.ORG Fri Jun 19 09:27:07 2015 Return-Path: Delivered-To: mono@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E5F76D72 for ; Fri, 19 Jun 2015 09:27:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D40F980B for ; Fri, 19 Jun 2015 09:27:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5J9R7UN049562 for ; Fri, 19 Jun 2015 09:27:07 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: mono@FreeBSD.org Subject: maintainer-feedback requested: [Bug 200966] lang/mono: failed to build port (4.0.1.28) Date: Fri, 19 Jun 2015 09:27:07 +0000 X-Bugzilla-Type: request Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-mono@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Mono and C# applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jun 2015 09:27:08 -0000 sergey.v.brunov@gmail.com has reassigned Bugzilla Automation 's request for maintainer-feedback to mono@FreeBSD.org: Bug 200966: lang/mono: failed to build port (4.0.1.28) https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200966 --- Description --- The build is failed with the following error: mkdir -p -- build/deps gmake[7]: mcs: Command not found build/profiles/basic.make:93: recipe for target 'build/deps/basic-profile-check.exe' failed gmake[7]: *** [build/deps/basic-profile-check.exe] Error 127 *** The compiler 'mcs' doesn't appear to be usable. The same error is described here: https://www.mail-archive.com/freebsd-ports@freebsd.org/msg64911.html. Best regards, Sergey Brunov. From owner-freebsd-mono@FreeBSD.ORG Fri Jun 19 09:27:08 2015 Return-Path: Delivered-To: mono@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4EA1AD74 for ; Fri, 19 Jun 2015 09:27:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3898A80D for ; Fri, 19 Jun 2015 09:27:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5J9R8Iv049568 for ; Fri, 19 Jun 2015 09:27:08 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: mono@FreeBSD.org Subject: [Bug 200966] lang/mono: failed to build port (4.0.1.28) Date: Fri, 19 Jun 2015 09:27:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: sergey.v.brunov@gmail.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: mono@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-mono@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Mono and C# applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jun 2015 09:27:08 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200966 Bug ID: 200966 Summary: lang/mono: failed to build port (4.0.1.28) Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: mono@FreeBSD.org Reporter: sergey.v.brunov@gmail.com Flags: maintainer-feedback?(mono@FreeBSD.org) Assignee: mono@FreeBSD.org The build is failed with the following error: mkdir -p -- build/deps gmake[7]: mcs: Command not found build/profiles/basic.make:93: recipe for target 'build/deps/basic-profile-check.exe' failed gmake[7]: *** [build/deps/basic-profile-check.exe] Error 127 *** The compiler 'mcs' doesn't appear to be usable. The same error is described here: https://www.mail-archive.com/freebsd-ports@freebsd.org/msg64911.html. Best regards, Sergey Brunov. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-mono@FreeBSD.ORG Fri Jun 19 09:32:06 2015 Return-Path: Delivered-To: mono@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CEDC3DFB for ; Fri, 19 Jun 2015 09:32:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B8E54A13 for ; Fri, 19 Jun 2015 09:32:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5J9W6Dm057527 for ; Fri, 19 Jun 2015 09:32:06 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: mono@FreeBSD.org Subject: [Bug 200966] lang/mono: failed to build port (4.0.1.28) Date: Fri, 19 Jun 2015 09:32:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: sergey.v.brunov@gmail.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: mono@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: cc flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-mono@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Mono and C# applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jun 2015 09:32:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200966 sergey.v.brunov@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sergey.v.brunov@gmail.com Flags|maintainer-feedback?(mono@F |maintainer-feedback+ |reeBSD.org) | -- You are receiving this mail because: You are the assignee for the bug.