From nobody@FreeBSD.org  Sat Feb 15 03:42:50 2014
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id 3D7B37C7
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 15 Feb 2014 03:42:50 +0000 (UTC)
Received: from newred.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 0E04717CF
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 15 Feb 2014 03:42:50 +0000 (UTC)
Received: from cgiserv.freebsd.org ([127.0.1.6])
	by newred.freebsd.org (8.14.7/8.14.7) with ESMTP id s1F3gn3N057223
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 15 Feb 2014 03:42:49 GMT
	(envelope-from nobody@cgiserv.freebsd.org)
Received: (from nobody@localhost)
	by cgiserv.freebsd.org (8.14.7/8.14.7/Submit) id s1F3gne7057209;
	Sat, 15 Feb 2014 03:42:49 GMT
	(envelope-from nobody)
Message-Id: <201402150342.s1F3gne7057209@cgiserv.freebsd.org>
Date: Sat, 15 Feb 2014 03:42:49 GMT
From: freethread <pe.freethread@live.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: lang/mono port does not compile
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         186786
>Category:       ports
>Synopsis:       lang/mono port does not compile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    mono
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 15 03:50:00 UTC 2014
>Closed-Date:    Sun Feb 23 12:18:58 UTC 2014
>Last-Modified:  Sun Feb 23 12:18:58 UTC 2014
>Originator:     freethread
>Release:        10.0-RELEASE
>Organization:
>Environment:
FreeBSD gamma.xxxxxx.xxx 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
The two files listed in /usr/ports/lang/mono/distinfo have wrong byte count and size, and more, while downloading that files portmaster display this:


===>>> Waiting on fetch & checksum for lang/mono <<<===
    this status.  The following enables this feature on the host system:
    # echo "jail_sysvipc_allow=\"YES\"" >> /etc/rc.conf

   * Some process information are acceded through /proc (e.g. when using
    NUnit) and procfs(5) has to be mounted for these features to work:
    # echo "proc            /proc   procfs  rw 0 0" >> /etc/fstab
*****************************************************************************

that is part of the /usr/ports/lang/mono/pkg-message file (the end).

The OS runs in a VirtualBox VM.
>How-To-Repeat:
cd /usr/ports/lang/mono
make install clean
>Fix:
I downloaded the two files listed in /usr/ports/lang/mono/distinfo 'by hand' with the browser (trying to download the file d2cc22580898df5d4a15e0f99ab513e1570a6082.patch with fetch give me an error about wrong site certificate), then copied both into /usr/ports/distfiles directory (changing owner and permissions).

Compiled a new distinfo files and copied over the original with this content

SIZE (mono-3.2.3.tar.bz2) = 81810387
SHA256 (d2cc22580898df5d4a15e0f99ab513e1570a6082.patch) = e2b7378ca6154853468613502f5533c4ed12b121e09e5956d2e0eb6baae4253b
SIZE (d2cc22580898df5d4a15e0f99ab513e1570a6082.patch) = 3553

Compiled the port with portmaster

# portmaster lang/mono

I don't know if only changing /usr/ports/lang/mono/distinfo the process download the files, compile and install the port, don't tested whole process, I'm in a hurry. Anyhow, I got a lot of warning during compilation (clang), but finally mono was installed, I tested some of my C# scripts (running with a mono program http://csscript.net) and it seems to work.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->mono 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sat Feb 15 03:50:18 UTC 2014 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=186786 
State-Changed-From-To: open->closed 
State-Changed-By: romain 
State-Changed-When: Sun Feb 23 12:18:58 UTC 2014 
State-Changed-Why:  
Mono has been updated to 3.2.8.  Problem should be fixed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=186786 
>Unformatted:
