From nobody@FreeBSD.org  Mon Feb 10 11:57:40 2014
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id 5A04B829
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 10 Feb 2014 11:57:40 +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 4559815C8
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 10 Feb 2014 11:57:40 +0000 (UTC)
Received: from cgiserv.freebsd.org ([127.0.1.6])
	by newred.freebsd.org (8.14.7/8.14.7) with ESMTP id s1ABvdrT048410
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 10 Feb 2014 11:57:39 GMT
	(envelope-from nobody@cgiserv.freebsd.org)
Received: (from nobody@localhost)
	by cgiserv.freebsd.org (8.14.7/8.14.7/Submit) id s1ABvdux048409;
	Mon, 10 Feb 2014 11:57:39 GMT
	(envelope-from nobody)
Message-Id: <201402101157.s1ABvdux048409@cgiserv.freebsd.org>
Date: Mon, 10 Feb 2014 11:57:39 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:         186627
>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:   Mon Feb 10 12:00:01 UTC 2014
>Closed-Date:    Sun Feb 23 12:18:35 UTC 2014
>Last-Modified:  Sun Feb 23 12:18:35 UTC 2014
>Originator:     freethread
>Release:        FreeBSD 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 port doesn't compile. The patch file cannot be downloaded. Downloading it with fetch give the following error:

# fetch https://github.com/mono/mono/commit/d2cc22580898df5d4a15e0f99ab513e1570a6082.patch
Certificate verification failed for /C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance EV CA-1
34380826280:error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed:/usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/s3_clnt.c:1168:
fetch: https://github.com/mono/mono/commit/d2cc22580898df5d4a15e0f99ab513e1570a6082.patch: Authentication error

The mono tarball seems to have wrong byte count respect to what expected by fetch command, it's always downloaded also if it's already in /usr/ports/distfiles directory and this happens for the patch file too. Manually downloading them from their respective sites, are not recognized by the buil system (ports) that always refetch them.

This also happens on FreeBSD 9.2-RELEASE p3 machines, in VirtualBox (Windows host) and on real machines.
>How-To-Repeat:
make -C /usr/ports/lang/mono install

or

portmaster lang/mono
>Fix:


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

http://www.freebsd.org/cgi/query-pr.cgi?pr=186627 
State-Changed-From-To: open->closed 
State-Changed-By: romain 
State-Changed-When: Sun Feb 23 12:18:34 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=186627 
>Unformatted:
