From owner-freebsd-mono@FreeBSD.ORG Mon Feb 4 11:07:37 2013 Return-Path: Delivered-To: mono@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E256EBE6 for ; Mon, 4 Feb 2013 11:07:37 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id A1D2DDB1 for ; Mon, 4 Feb 2013 11:07:37 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r14B7bOZ029859 for ; Mon, 4 Feb 2013 11:07:37 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r14B7bfZ029857 for mono@FreeBSD.org; Mon, 4 Feb 2013 11:07:37 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 4 Feb 2013 11:07:37 GMT Message-Id: <201302041107.r14B7bfZ029857@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: mono@FreeBSD.org Subject: Current problem reports assigned to mono@FreeBSD.org X-BeenThere: freebsd-mono@freebsd.org X-Mailman-Version: 2.1.14 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, 04 Feb 2013 11:07:38 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/175518 mono lang/mono is not configured correctly when building a ports/175312 mono devel/monodevelop does not build a ports/144224 mono [PATCH] lang/mono Fix build with new GCC 3 problems total. From owner-freebsd-mono@FreeBSD.ORG Mon Feb 4 12:49:58 2013 Return-Path: Delivered-To: mono@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id DDC6AAC2; Mon, 4 Feb 2013 12:49:58 +0000 (UTC) (envelope-from romain@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id B1BCB1A01; Mon, 4 Feb 2013 12:49:58 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r14Cnwcd050665; Mon, 4 Feb 2013 12:49:58 GMT (envelope-from romain@freefall.freebsd.org) Received: (from romain@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r14Cnwgm050661; Mon, 4 Feb 2013 12:49:58 GMT (envelope-from romain) Date: Mon, 4 Feb 2013 12:49:58 GMT Message-Id: <201302041249.r14Cnwgm050661@freefall.freebsd.org> To: jack.pappas@tidepowerd.com, romain@FreeBSD.org, mono@FreeBSD.org From: romain@FreeBSD.org Subject: Re: ports/175518: lang/mono is not configured correctly when building X-BeenThere: freebsd-mono@freebsd.org X-Mailman-Version: 2.1.14 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, 04 Feb 2013 12:49:58 -0000 Synopsis: lang/mono is not configured correctly when building State-Changed-From-To: open->analyzed State-Changed-By: romain State-Changed-When: Mon Feb 4 12:48:12 UTC 2013 State-Changed-Why: lang/mono does not build after applying this patch: running the autohell chain require some files not provided in the source tarball. Patching configure directly may work. I am compiling ATM and if the results are okay, I'll commit this change. http://www.freebsd.org/cgi/query-pr.cgi?pr=175518 From owner-freebsd-mono@FreeBSD.ORG Mon Feb 4 20:08:58 2013 Return-Path: Delivered-To: mono@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 0192677F for ; Mon, 4 Feb 2013 20:08:58 +0000 (UTC) (envelope-from jack.pappas@tidepowerd.com) Received: from mail-ve0-f179.google.com (mail-ve0-f179.google.com [209.85.128.179]) by mx1.freebsd.org (Postfix) with ESMTP id B5A2AA44 for ; Mon, 4 Feb 2013 20:08:57 +0000 (UTC) Received: by mail-ve0-f179.google.com with SMTP id da11so3980023veb.38 for ; Mon, 04 Feb 2013 12:08:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tidepowerd.com; s=mail; h=x-received:from:references:in-reply-to:mime-version:x-mailer :thread-index:date:message-id:subject:to:content-type; bh=LfzJBllkm5hu60IIkpOG4kg3FHz3b2LIhTIE7yMiLrQ=; b=WfiNh7lmeblbRbxKydkkWTUeYATRP/WKmGJnFYkAXNxfJwIlGfSM4/FVJrm7myYln1 R1P9aXvNPi38vradUuNjiZuwcGy/A5TAf5x/oRgN4saBTNxt1TFU86grZo+1sKxp9Io8 q8xTGhu5G5FIgKQA4x2XhEMMlLrDPkEaXeo6A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:references:in-reply-to:mime-version:x-mailer :thread-index:date:message-id:subject:to:content-type :x-gm-message-state; bh=LfzJBllkm5hu60IIkpOG4kg3FHz3b2LIhTIE7yMiLrQ=; b=LUztlJE2j2m/M3DFiONHdRSJ8ogW3QjQHUr7c0JDbJk0FUwh6L/vSa3Id8ADBpuH5g phZLpbzs0JoIyuzzoiUyL6ddhXzqqh+wU8ne4fo0mwUTu59hKM0DIUYDItxDeRrvflHV m9bNbj8ENudM+FsLCYBgyTPkbeTa7tiJocnDKi5Uplth75AB/RssJ5dsa1y/kk9BSqOb dhCC1CHzBATcd5bSXnnrj97uXg+lHjQcjIaUeu1NAPDabx7jvzbx5Sb96We+N9lkBcu5 w2MVNOzeUi4Zi1BdtZMdno+3DbSEacR6NsP29E0CvZRb8bs9FDroC8RijdwRwxIrTTNf 2nfw== X-Received: by 10.58.8.82 with SMTP id p18mr20008771vea.54.1360008536766; Mon, 04 Feb 2013 12:08:56 -0800 (PST) From: Jack Pappas References: <201302041249.r14Cnwgm050661@freefall.freebsd.org> In-Reply-To: <201302041249.r14Cnwgm050661@freefall.freebsd.org> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQETU6eVnH0mPt5nNh+NZJgnYz4eGZnffP6A Date: Mon, 4 Feb 2013 15:08:56 -0500 Message-ID: <426bf9ae6b14bb96178dc64f04a2a8bc@mail.gmail.com> Subject: RE: ports/175518: lang/mono is not configured correctly when building To: romain@freebsd.org, mono@freebsd.org Content-Type: multipart/mixed; boundary=089e013c5d6cb9b80004d4eba90c X-Gm-Message-State: ALoCoQkzrX7WA4cvZF20hghKh/1JuhMSv9x5gNbEbIUUzgv9R6Ed7FRffYvPvgBYd/qJcpy+s55l X-BeenThere: freebsd-mono@freebsd.org X-Mailman-Version: 2.1.14 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, 04 Feb 2013 20:08:58 -0000 --089e013c5d6cb9b80004d4eba90c Content-Type: text/plain; charset=ISO-8859-1 Ah, sorry about that. It looks like there's a difference between the source in Mono's 3.0.3 tag on GitHub, and the source they released in the "official" 3.0.3 tarball (which is what the ports makefile uses). One of the Mono developers renamed a few files around the time 3.0.3 was released, but the autogen.sh in the official tarball didn't get updated to match. I've attached an updated patch which should fix the problem and allow you to build Mono correctly (i.e., "make install clean"). Note that it creates another new file (files/patch-autogen.sh) which'll need to be added to SVN. -----Original Message----- From: romain@FreeBSD.org [mailto:romain@FreeBSD.org] Sent: Monday, February 04, 2013 7:50 AM To: jack.pappas@tidepowerd.com; romain@FreeBSD.org; mono@FreeBSD.org Subject: Re: ports/175518: lang/mono is not configured correctly when building Synopsis: lang/mono is not configured correctly when building State-Changed-From-To: open->analyzed State-Changed-By: romain State-Changed-When: Mon Feb 4 12:48:12 UTC 2013 State-Changed-Why: lang/mono does not build after applying this patch: running the autohell chain require some files not provided in the source tarball. Patching configure directly may work. I am compiling ATM and if the results are okay, I'll commit this change. http://www.freebsd.org/cgi/query-pr.cgi?pr=175518 --089e013c5d6cb9b80004d4eba90c Content-Type: text/plain; charset=US-ASCII; name="mono.diff.txt" Content-Disposition: attachment; filename="mono.diff.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: ef1e5bba41dd7ae2_0.1 SW5kZXg6IE1ha2VmaWxlCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIE1ha2VmaWxlCShyZXZpc2lvbiAzMTA4MzUp CisrKyBNYWtlZmlsZQkod29ya2luZyBjb3B5KQpAQCAtMTcsMTEgKzE3LDE0IEBACiBVU0VfR05P TUU9CWdub21laGFjayBnbGliMjAKIFVTRV9HTUFLRT0JeWVzCiBVU0VfUEVSTDVfQlVJTEQ9eWVz Ci1HTlVfQ09ORklHVVJFPQl5ZXMKK0hBU19DT05GSUdVUkU9CXllcwogVVNFX0xEQ09ORklHPQl5 ZXMKIFVTRV9HRVRURVhUPQl5ZXMKIE1BS0VfSk9CU19VTlNBRkU9eWVzCiAKKyMgQ2FsbCBhdXRv Z2VuLnNoLCB3aGljaCBjYWxscyBsaWJ0b29sLCBhdXRvY29uZiwgZXRjLgorQ09ORklHVVJFX1ND UklQVD0gYXV0b2dlbi5zaAorCiAjIE1vb25saWdodCBpcyBpbnN0YWxsZWQgYXMgcGFydCBvZiB3 d3cvbW9vbmxpZ2h0CiBDT05GSUdVUkVfQVJHUz0JLS13aXRoLW1vb25saWdodD1ubwogCkluZGV4 OiBmaWxlcy9wYXRjaC1hdXRvZ2VuLnNoCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIGZpbGVzL3BhdGNoLWF1dG9n ZW4uc2ggICAgICAocmV2aXNpb24gMCkKKysrIGZpbGVzL3BhdGNoLWF1dG9nZW4uc2ggICAgICAo d29ya2luZyBjb3B5KQpAQCAtMCwwICsxLDEyIEBACistLS0gLi9hdXRvZ2VuLnNoLm9yaWcgIDIw MTMtMDEtMDggMTM6NDE6MTAuMDAwMDAwMDAwIC0wNTAwCisrKysgLi9hdXRvZ2VuLnNoICAgICAg IDIwMTMtMDEtMjIgMTc6NTc6MzYuMDAwMDAwMDAwIC0wNTAwCitAQCAtMTE3LDkgKzExNyw2IEBA CisgICAgICAgcHVzaGQgLi4vbW9uby1leHRlbnNpb25zL3NjcmlwdHMKKyAgICAgICBzaCAuL3By ZXBhcmUtcmVwby5zaCB8fCBleGl0IDEKKyAgICAgICBwb3BkCistZWxzZQorLSAgICAgIGNhdCBt b25vL21pbmkvTWFrZWZpbGUuYW0uaW4gPiBtb25vL21pbmkvTWFrZWZpbGUuYW0KKy0gICAgICBj YXQgbW9uby9tZXRhZGF0YS9NYWtlZmlsZS5hbS5pbiA+IG1vbm8vbWV0YWRhdGEvTWFrZWZpbGUu YW0KKyBmaQorCisKSW5kZXg6IGZpbGVzL3BhdGNoLWNvbmZpZ3VyZS5pbgo9PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0t LSBmaWxlcy9wYXRjaC1jb25maWd1cmUuaW4JKHJldmlzaW9uIDApCisrKyBmaWxlcy9wYXRjaC1j b25maWd1cmUuaW4JKHdvcmtpbmcgY29weSkKQEAgLTAsMCArMSwxMyBAQAorLS0tIC4vY29uZmln dXJlLmluLm9yaWcJMjAxMi0xMi0yMSAxNToyMDo0Ni4wMDAwMDAwMDAgLTA1MDAKKysrKyAuL2Nv bmZpZ3VyZS5pbgkyMDEyLTEyLTIxIDE1OjIxOjEwLjAwMDAwMDAwMCAtMDUwMAorQEAgLTE3Mywx MCArMTczLDYgQEAKKyAJCWxpYmdjX3RocmVhZHM9cHRocmVhZHMKKyAJCSMgVGhpcyBkb2Vzbid0 IHNlZW0gdG8gd29yayBhcyBvZiA3LjAgb24gYW1kNjQKKyAJCXdpdGhfc2lnYWx0c3RhY2s9bm8K Ky0jIFRMUyBpcyBvbmx5IHBhcnRpYWxseSBpbXBsZW1lbnRlZCBvbiAtQ1VSUkVOVCAoY29tcGls ZXIgc3VwcG9ydAorLSMgYnV0IE5PVCBsaWJyYXJ5IHN1cHBvcnQpCistIworLQkJd2l0aF90bHM9 cHRocmVhZAorIAkJdXNlX3NpZ3Bvc2l4PXllcworIAkJOzsKKyAJKi0qLSpvcGVuYnNkKikK --089e013c5d6cb9b80004d4eba90c-- From owner-freebsd-mono@FreeBSD.ORG Mon Feb 4 20:20:02 2013 Return-Path: Delivered-To: mono@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8FDAFB60 for ; Mon, 4 Feb 2013 20:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 6A29EAD2 for ; Mon, 4 Feb 2013 20:20:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r14KK1tN035982 for ; Mon, 4 Feb 2013 20:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r14KK1l2035981; Mon, 4 Feb 2013 20:20:01 GMT (envelope-from gnats) Date: Mon, 4 Feb 2013 20:20:01 GMT Message-Id: <201302042020.r14KK1l2035981@freefall.freebsd.org> To: mono@FreeBSD.org From: Romain =?iso-8859-1?Q?Tarti=E8re?= Subject: Re: ports/175518: lang/mono is not configured correctly when building X-BeenThere: freebsd-mono@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Romain =?iso-8859-1?Q?Tarti=E8re?= List-Id: Mono and C# applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Feb 2013 20:20:02 -0000 The following reply was made to PR ports/175518; it has been noted by GNATS. From: Romain =?iso-8859-1?Q?Tarti=E8re?= To: bug-followup@FreeBSD.org, jack.pappas@tidepowerd.com Cc: Subject: Re: ports/175518: lang/mono is not configured correctly when building Date: Mon, 4 Feb 2013 21:17:43 +0100 --neYutvxvOLaeuPCA Content-Type: multipart/mixed; boundary="x+6KMIRAuhnl3hBn" Content-Disposition: inline --x+6KMIRAuhnl3hBn Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello I could build lang/mono with just patching the configure script (attached) and `mono --gc=3Dsgen` seems ok. However, you say that mono is not configured correctly without running autogen.sh. Can you please provide more details about what is different if you run it and if you directly use configure (assuming both are patched to remove 'with_tls=3Dpthread') ? Or maybe you just wanted to avoid to patch this generated 'configure' file ? We do this because we try to avoit to bring-in all autotools dependencies (the port would require adding these extra dependencies to the Makefile using: USE_AUTOTOOLS=3D libtool:env automake:env autoconf:env aclocal:env ). --=20 Romain Tarti=E8re http://romain.blogreen.org/ pgp: 8234 9A78 E7C0 B807 0B59 80FF BA4D 1D95 5112 336F (ID: 0x5112336F) (plain text =3Dnon-HTML=3D PGP/GPG encrypted/signed e-mail much appreciated) --x+6KMIRAuhnl3hBn Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=patch-configure $FreeBSD$ --- configure.orig +++ configure @@ -3995,10 +3995,6 @@ libgc_threads=pthreads # This doesn't seem to work as of 7.0 on amd64 with_sigaltstack=no -# TLS is only partially implemented on -CURRENT (compiler support -# but NOT library support) -# - with_tls=pthread use_sigposix=yes ;; *-*-*openbsd*) --x+6KMIRAuhnl3hBn-- --neYutvxvOLaeuPCA Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQGcBAEBAgAGBQJREBdnAAoJELpNHZVREjNvxIsMAJCFepid0dqCaZ3HswrRQjFN Lzu/Sy2o/xKscV1VfxZBupU+m4HpNsOFYf4EGPM38SrwIRC7P7ID5IJZdxRBbXNq 6m4iB9B+LP3+Ux5DnZ+SMn3D2c7ka5D+6rnwMKHWuq/R9sThxjVmH09g7TEz3n3s z3Z7uK8MgUhoCq41YwbsAk81VsjCZH59xGBFO2HroNDaatzFztIVyXgFYRDp6c7u BIzcs9YRKniveZhHkzMyHBcxRxWr2GnhemStPVrE2pGnt+SJXdqrtAa2NZ+EkHXU +u/eoLBialZMhHzloVHXFrAUn8bg/1S8idPHgUmo5y70usDXQb7JoQfN2ulk9Pl+ GiZr1hr1byGcHd5QOB6pAPq4fuxMJ97b3UZveNTBfo5ik2ie3o9xGUXpqem9Brnq /zQDU9dOey95WCClPoGKjOJ0Aeccjuz2veQKBg5iRCYPOn2W5oN7JG5vyZOje4hS Zj07527HVzX78Zlwk921R9u4ReS4LMJLYLraoWMk5g== =+3Ru -----END PGP SIGNATURE----- --neYutvxvOLaeuPCA-- From owner-freebsd-mono@FreeBSD.ORG Mon Feb 4 21:10:02 2013 Return-Path: Delivered-To: mono@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 6A6786AF for ; Mon, 4 Feb 2013 21:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 44EB9F44 for ; Mon, 4 Feb 2013 21:10:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r14LA2w5046259 for ; Mon, 4 Feb 2013 21:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r14LA2GH046258; Mon, 4 Feb 2013 21:10:02 GMT (envelope-from gnats) Date: Mon, 4 Feb 2013 21:10:02 GMT Message-Id: <201302042110.r14LA2GH046258@freefall.freebsd.org> To: mono@FreeBSD.org From: Jack Pappas Subject: RE: ports/175518: lang/mono is not configured correctly when building X-BeenThere: freebsd-mono@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Jack Pappas List-Id: Mono and C# applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Feb 2013 21:10:02 -0000 The following reply was made to PR ports/175518; it has been noted by GNATS. From: Jack Pappas To: =?ISO-8859-1?Q?Romain_Tarti=E8re?= , bug-followup@freebsd.org Cc: Subject: RE: ports/175518: lang/mono is not configured correctly when building Date: Mon, 4 Feb 2013 16:05:17 -0500 Hi Romain, According to the Mono README (https://github.com/mono/mono/blob/master/README), the autogen.sh is only needed when building from a snapshot; for official tarballs (like the one used in the lang/mono port), it's not. However, the reason I wanted to use autogen.sh was because after I'd patched the configure.in file (and added the patch to the 'files' directory), I found that when I ran "make install clean", the patch wouldn't work -- Mono would still compile correctly, but it would still use the pthread API for thread-local storage (TLS) instead of the __thread qualifier. It was only after changing the makefile to call autogen.sh that Mono compiled successfully and used the __thread TLS. You said you were able to build lang/mono by just patching the configure script -- did you also install it after building? If so, you can run "mono -V" to see what kind of thread-local storage Mono was compiled with. If your installation of Mono is using the __thread TLS, then let's use your method of patching just the 'configure' file. Regards, Jack -----Original Message----- From: Romain Tarti=E8re [mailto:romain@blogreen.org] Sent: Monday, February 04, 2013 3:18 PM To: bug-followup@FreeBSD.org; jack.pappas@tidepowerd.com Subject: Re: ports/175518: lang/mono is not configured correctly when building Hello I could build lang/mono with just patching the configure script (attached) and `mono --gc=3Dsgen` seems ok. However, you say that mono is not configured correctly without running autogen.sh. Can you please provide more details about what is different if you run it and if you directly use configure (assuming both are patched to remove 'with_tls=3Dpthread') ? Or maybe you just wanted to avoid to patch this generated 'configure' file ? We do this because we try to avoit to bring-in all autotools dependencies (the port would require adding these extra dependencies to the Makefile using: USE_AUTOTOOLS=3D libtool:env automake:env autoconf:env aclocal:env ). -- Romain Tarti=E8re http://romain.blogreen.org/ pgp: 8234 9A78 E7C0 B807 0B59 80FF BA4D 1D95 5112 336F (ID: 0x5112336F) (plain text =3Dnon-HTML=3D PGP/GPG encrypted/signed e-mail much appreciated= ) From owner-freebsd-mono@FreeBSD.ORG Mon Feb 4 21:50:02 2013 Return-Path: Delivered-To: mono@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 1A51DB6B for ; Mon, 4 Feb 2013 21:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 0CBC523A for ; Mon, 4 Feb 2013 21:50:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r14Lo1GD053868 for ; Mon, 4 Feb 2013 21:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r14Lo10G053867; Mon, 4 Feb 2013 21:50:01 GMT (envelope-from gnats) Date: Mon, 4 Feb 2013 21:50:01 GMT Message-Id: <201302042150.r14Lo10G053867@freefall.freebsd.org> To: mono@FreeBSD.org From: Romain =?iso-8859-1?Q?Tarti=E8re?= Subject: Re: ports/175518: lang/mono is not configured correctly when building X-BeenThere: freebsd-mono@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Romain =?iso-8859-1?Q?Tarti=E8re?= List-Id: Mono and C# applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Feb 2013 21:50:02 -0000 The following reply was made to PR ports/175518; it has been noted by GNATS. From: Romain =?iso-8859-1?Q?Tarti=E8re?= To: Jack Pappas Cc: bug-followup@freebsd.org Subject: Re: ports/175518: lang/mono is not configured correctly when building Date: Mon, 4 Feb 2013 22:46:09 +0100 --zYM0uCDKw75PZbzx Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 04, 2013 at 04:05:17PM -0500, Jack Pappas wrote: > According to the Mono README > (https://github.com/mono/mono/blob/master/README), the autogen.sh is only > needed when building from a snapshot; for official tarballs (like the one > used in the lang/mono port), it's not. >=20 > However, the reason I wanted to use autogen.sh was because after I'd > patched the configure.in file (and added the patch to the 'files' > directory), I found that when I ran "make install clean", the patch > wouldn't work -- Mono would still compile correctly, but it would still > use the pthread API for thread-local storage (TLS) instead of the __thread > qualifier. It was only after changing the makefile to call autogen.sh that > Mono compiled successfully and used the __thread TLS. The 'configure' script is generated by the autotools from the 'configure.in' file. So modifying the 'configure.in' file require you to run all the autotools chain to regenerate the 'configure' script before continuing. This is the reason you had to run 'autogen.sh'. When the mono folks release a new mono tarball, they include the generated 'configure' script in it so we have to either patch 'configure.in' and re-r= un the whole autotools chain, or patch the generated 'configure' which avoids = us all the mess that commes with the autotools if we have to change something there. > You said you were able to build lang/mono by just patching the configure > script -- did you also install it after building? If so, you can run "mono > -V" to see what kind of thread-local storage Mono was compiled with. If > your installation of Mono is using the __thread TLS, then let's use your > method of patching just the 'configure' file. I get: JIT compiler version 3.0.3 (tarball Mon Feb 4 14:30:00 CET 2013) Copyright (C) 2002-2012 Novell, Inc, Xamarin Inc and Contributors. www.mono= -project.com TLS: __thread SIGSEGV: normal Notification: kqueue Architecture: amd64 Disabled: none Misc: softdebug=20 LLVM: supported, not enabled. GC: Included Boehm (with typed GC and Parallel Mark) which is what you are expecting, right ? Then I guess I can commit this change. Romain --=20 Romain Tarti=E8re http://romain.blogreen.org/ pgp: 8234 9A78 E7C0 B807 0B59 80FF BA4D 1D95 5112 336F (ID: 0x5112336F) (plain text =3Dnon-HTML=3D PGP/GPG encrypted/signed e-mail much appreciated) --zYM0uCDKw75PZbzx Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQGcBAEBAgAGBQJRECwhAAoJELpNHZVREjNvz7AL/0XCnuj9qUPqkh4Q3e7ZoBSs IydqxJMSDo7O5VMmXSvRCQpWCB1laBV2lxidc96qGwASK2/coiIcuho3/aLV0TUp AfRvdujhL4bNOaJFWpuUUU/qz6L3R6XyjaVxGAyo5qJ5n4z1NiH/xkH1hD/NkTJk ViWWssF/fc5tynFbU2sflMBTQTZz5lAdXvvyaW+nCV7PZGbEW0PJO3gLA3QlhB90 nC7Ioby8YF91oXZXzxX+mqXFlHXAwhmi+J8lXb7Mrw6DMoYlZuSnVSs6D7zfGV7K /GKjXx8vwAYL8a5/1pAONtloB3XqQ0R1Gd2PgO0DQ0/Fmbcl86SafBf1MjA0LtN6 R4zNbcy9+fy/vA8pkAJPzg9nSPG1L0lH5D7VjrapuKJ9SXfLSIdZDXKbFJpEmCH7 oHgFxm6B0jNxzsVO8A5XFuy95JF/m5OJUM3cBncHme56WNnUqDtPJUP2nxZXX0u0 DZw/088+N9rZcy7mzKvXTGxKJH6yP85YkYyCZsZQyw== =I0Dw -----END PGP SIGNATURE----- --zYM0uCDKw75PZbzx-- From owner-freebsd-mono@FreeBSD.ORG Mon Feb 4 21:58:21 2013 Return-Path: Delivered-To: mono@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C0852F2A; Mon, 4 Feb 2013 21:58:21 +0000 (UTC) (envelope-from romain@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 989E3293; Mon, 4 Feb 2013 21:58:21 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r14LwL0r055527; Mon, 4 Feb 2013 21:58:21 GMT (envelope-from romain@freefall.freebsd.org) Received: (from romain@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r14LwLZ1055523; Mon, 4 Feb 2013 21:58:21 GMT (envelope-from romain) Date: Mon, 4 Feb 2013 21:58:21 GMT Message-Id: <201302042158.r14LwLZ1055523@freefall.freebsd.org> To: jack.pappas@tidepowerd.com, romain@FreeBSD.org, mono@FreeBSD.org From: romain@FreeBSD.org Subject: Re: ports/175518: lang/mono is not configured correctly when building X-BeenThere: freebsd-mono@freebsd.org X-Mailman-Version: 2.1.14 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, 04 Feb 2013 21:58:21 -0000 Synopsis: lang/mono is not configured correctly when building State-Changed-From-To: analyzed->closed State-Changed-By: romain State-Changed-When: Mon Feb 4 21:58:21 UTC 2013 State-Changed-Why: Committed, with minor changes. Thanks! http://www.freebsd.org/cgi/query-pr.cgi?pr=175518 From owner-freebsd-mono@FreeBSD.ORG Mon Feb 4 22:00:02 2013 Return-Path: Delivered-To: mono@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 03E96147 for ; Mon, 4 Feb 2013 22:00:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id EB86F2A7 for ; Mon, 4 Feb 2013 22:00:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r14M01Ph055662 for ; Mon, 4 Feb 2013 22:00:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r14M01Wq055661; Mon, 4 Feb 2013 22:00:01 GMT (envelope-from gnats) Date: Mon, 4 Feb 2013 22:00:01 GMT Message-Id: <201302042200.r14M01Wq055661@freefall.freebsd.org> To: mono@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Subject: Re: ports/175518: commit references a PR X-BeenThere: freebsd-mono@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: dfilter service List-Id: Mono and C# applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Feb 2013 22:00:02 -0000 The following reply was made to PR ports/175518; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/175518: commit references a PR Date: Mon, 4 Feb 2013 21:58:04 +0000 (UTC) Author: romain Date: Mon Feb 4 21:57:56 2013 New Revision: 311650 URL: http://svnweb.freebsd.org/changeset/ports/311650 Log: Enable sgen. PR: ports/175518 Submitted by: Jack Pappas Added: head/lang/mono/files/patch-configure (contents, props changed) Modified: head/lang/mono/Makefile Modified: head/lang/mono/Makefile ============================================================================== --- head/lang/mono/Makefile Mon Feb 4 21:53:59 2013 (r311649) +++ head/lang/mono/Makefile Mon Feb 4 21:57:56 2013 (r311650) @@ -3,6 +3,7 @@ PORTNAME= mono PORTVERSION= 3.0.3 +PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= http://download.mono-project.com/sources/${PORTNAME}/ Added: head/lang/mono/files/patch-configure ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/mono/files/patch-configure Mon Feb 4 21:57:56 2013 (r311650) @@ -0,0 +1,16 @@ + +$FreeBSD$ + +--- configure.orig ++++ configure +@@ -3995,10 +3995,6 @@ + libgc_threads=pthreads + # This doesn't seem to work as of 7.0 on amd64 + with_sigaltstack=no +-# TLS is only partially implemented on -CURRENT (compiler support +-# but NOT library support) +-# +- with_tls=pthread + use_sigposix=yes + ;; + *-*-*openbsd*) _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org" From owner-freebsd-mono@FreeBSD.ORG Mon Feb 4 22:00:03 2013 Return-Path: Delivered-To: mono@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 10601148 for ; Mon, 4 Feb 2013 22:00:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id E89032A8 for ; Mon, 4 Feb 2013 22:00:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r14M02DT055668 for ; Mon, 4 Feb 2013 22:00:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r14M02jk055667; Mon, 4 Feb 2013 22:00:02 GMT (envelope-from gnats) Date: Mon, 4 Feb 2013 22:00:02 GMT Message-Id: <201302042200.r14M02jk055667@freefall.freebsd.org> To: mono@FreeBSD.org From: Jack Pappas Subject: RE: ports/175518: lang/mono is not configured correctly when building X-BeenThere: freebsd-mono@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Jack Pappas List-Id: Mono and C# applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Feb 2013 22:00:03 -0000 The following reply was made to PR ports/175518; it has been noted by GNATS. From: Jack Pappas To: =?ISO-8859-1?Q?Romain_Tarti=E8re?= Cc: bug-followup@freebsd.org Subject: RE: ports/175518: lang/mono is not configured correctly when building Date: Mon, 4 Feb 2013 16:55:19 -0500 HI Romain, Yes, that's the output I was expecting, so you can commit the change whenever you're ready. Thank you for the explanation about the 'configure' script -- it does make a lot of sense for Mono to package the sources like that now that you mention it. Regards, Jack -----Original Message----- From: Romain Tarti=E8re [mailto:romain@blogreen.org] Sent: Monday, February 04, 2013 4:46 PM To: Jack Pappas Cc: bug-followup@freebsd.org Subject: Re: ports/175518: lang/mono is not configured correctly when building On Mon, Feb 04, 2013 at 04:05:17PM -0500, Jack Pappas wrote: > According to the Mono README > (https://github.com/mono/mono/blob/master/README), the autogen.sh is > only needed when building from a snapshot; for official tarballs (like > the one used in the lang/mono port), it's not. > > However, the reason I wanted to use autogen.sh was because after I'd > patched the configure.in file (and added the patch to the 'files' > directory), I found that when I ran "make install clean", the patch > wouldn't work -- Mono would still compile correctly, but it would > still use the pthread API for thread-local storage (TLS) instead of > the __thread qualifier. It was only after changing the makefile to > call autogen.sh that Mono compiled successfully and used the __thread TLS. The 'configure' script is generated by the autotools from the 'configure.in' file. So modifying the 'configure.in' file require you to run all the autotools chain to regenerate the 'configure' script before continuing. This is the reason you had to run 'autogen.sh'. When the mono folks release a new mono tarball, they include the generated 'configure' script in it so we have to either patch 'configure.in' and re-run the whole autotools chain, or patch the generated 'configure' which avoids us all the mess that commes with the autotools if we have to change something there. > You said you were able to build lang/mono by just patching the > configure script -- did you also install it after building? If so, you > can run "mono -V" to see what kind of thread-local storage Mono was > compiled with. If your installation of Mono is using the __thread TLS, > then let's use your method of patching just the 'configure' file. I get: JIT compiler version 3.0.3 (tarball Mon Feb 4 14:30:00 CET 2013) Copyright (C) 2002-2012 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com TLS: __thread SIGSEGV: normal Notification: kqueue Architecture: amd64 Disabled: none Misc: softdebug LLVM: supported, not enabled. GC: Included Boehm (with typed GC and Parallel Mark) which is what you are expecting, right ? Then I guess I can commit this change. Romain -- Romain Tarti=E8re http://romain.blogreen.org/ pgp: 8234 9A78 E7C0 B807 0B59 80FF BA4D 1D95 5112 336F (ID: 0x5112336F) (plain text =3Dnon-HTML=3D PGP/GPG encrypted/signed e-mail much appreciated= ) From owner-freebsd-mono@FreeBSD.ORG Thu Feb 7 08:33:17 2013 Return-Path: Delivered-To: mono@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 0F27F965 for ; Thu, 7 Feb 2013 08:33:17 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from portsmonj.FreeBSD.org (portsmonj.freebsd.org [69.147.83.46]) by mx1.freebsd.org (Postfix) with ESMTP id E7819CE6 for ; Thu, 7 Feb 2013 08:33:16 +0000 (UTC) Received: from portsmonj.freebsd.org (portsmonj.freebsd.org [69.147.83.46]) by portsmonj.FreeBSD.org (8.14.5/8.14.4) with ESMTP id r178SRHI034156 for ; Thu, 7 Feb 2013 08:28:27 GMT (envelope-from linimon@FreeBSD.org) Date: Thu, 7 Feb 2013 08:28:27 GMT Message-Id: <201302070828.r178SRHI034156@portsmonj.FreeBSD.org> From: linimon@FreeBSD.org To: mono@FreeBSD.org Subject: FreeBSD ports that you maintain which are currently marked broken X-BeenThere: freebsd-mono@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: portmgr-feedback@FreeBSD.org List-Id: Mono and C# applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Feb 2013 08:33:17 -0000 Dear FreeBSD port maintainer: As part of an ongoing effort to reduce the number of problems in the FreeBSD ports system, we periodically notify users of ports that are marked as "broken" in their Makefiles. In many cases these ports are failing to compile on some subset of the FreeBSD build environments. The most common problem is that recent versions of -CURRENT include gcc4.2, which is much stricter than older versions. The next most common problem is that compiles succeed on the i386 architecture (e.g. the common Intel PC), but fail on one or more of the other architectures due to assumptions about things such as size of various types, byte-alignment issues, and so forth. In occasional cases we see that the same port may have different errors in different build environments. The script that runs on the build cluster uses heuristics to try to 'guess' the error type to help you isolate problems, but it is only a rough guide. One more note: on occasion, there are transient build errors seen on the build farm. Unfortunately, there is not yet any way for this algorithm to tell the difference (humans are much, much better at this kind of thing.) The errors are listed below. In the case where the same problem exists on more than one build environment, the URL points to the latest errorlog for that type. (By 'build environment' here we mean 'combination of 7.x/8.x/9.x/-current with target architecture'.) (Note: the dates are included to help you to gauge whether or not the error still applies to the latest version. The program that generates this report is not yet able to determine this automatically.) portname: devel/mono-tools broken because: does not build build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=devel&portname=mono-tools portname: devel/monodevelop-java broken because: does not build build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=devel&portname=monodevelop-java portname: devel/monodevelop-vala broken because: does not build build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=devel&portname=monodevelop-vala portname: irc/smuxi broken because: Does not build build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=irc&portname=smuxi portname: lang/boo broken because: does not build build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=lang&portname=boo If these errors are ones that you are already aware of, please accept our apologies and ignore this message. On the other hand, if you no longer wish to maintain this port (or ports), please reply with a message stating that, and accept our thanks for your efforts in the past. Every effort has been made to make sure that these error reports really do correspond to a port that you maintain. However, due to the fact that this is an automated process, it may indeed generate false matches. If one of these errors fits that description, please forward this email to the author of this software, Mark Linimon , so that he can attempt to fix the problem in the future. Thanks for your efforts to help improve FreeBSD. From owner-freebsd-mono@FreeBSD.ORG Thu Feb 7 08:34:12 2013 Return-Path: Delivered-To: mono@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 07EB4B8A for ; Thu, 7 Feb 2013 08:34:12 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from portsmonj.FreeBSD.org (portsmonj.freebsd.org [69.147.83.46]) by mx1.freebsd.org (Postfix) with ESMTP id F16EFD42 for ; Thu, 7 Feb 2013 08:34:11 +0000 (UTC) Received: from portsmonj.freebsd.org (portsmonj.freebsd.org [69.147.83.46]) by portsmonj.FreeBSD.org (8.14.5/8.14.4) with ESMTP id r178TMsf039748 for ; Thu, 7 Feb 2013 08:29:22 GMT (envelope-from linimon@FreeBSD.org) Date: Thu, 7 Feb 2013 08:29:22 GMT Message-Id: <201302070829.r178TMsf039748@portsmonj.FreeBSD.org> From: linimon@FreeBSD.org To: mono@FreeBSD.org Subject: FreeBSD ports that you maintain which are currently scheduled for deletion X-BeenThere: freebsd-mono@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: portmgr-feedback@FreeBSD.org List-Id: Mono and C# applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Feb 2013 08:34:12 -0000 Dear FreeBSD port maintainer: As part of an ongoing effort to reduce the number of problems in the FreeBSD ports system, we periodically schedule removal of ports that have been judged to have outlived their usefulness. Often, this is due to a better alternative having become available and/or the cessation of development on the existing port. In some cases, ports are marked for removal because they fail to build and install correctly from their sources, or otherwise fail in operation. The ports, and the reason and date that they have been scheduled for removal, are listed below. If no one has stepped forward before that time to propose a way to fix the problems (such as via a PR), the ports will be deleted. portname: lang/boo description: A CLI-targeted programming language similar to Python maintainer: mono@FreeBSD.org status: BROKEN deprecated because: BROKEN for more than 6 month expiration date: 2012-05-10 build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=lang&portname=boo If this problem is one that you are already aware of, please accept our apologies and ignore this message. On the other hand, if you no longer wish to maintain this port (or ports), please reply with a message stating that, and accept our thanks for your efforts in the past. Thanks for your efforts to help improve FreeBSD.