ports/186786: lang/mono port does not compile

freethread pe.freethread at live.com
Sat Feb 15 03:50:01 UTC 2014


>Number:         186786
>Category:       ports
>Synopsis:       lang/mono port does not compile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 15 03:50:00 UTC 2014
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:


More information about the freebsd-ports-bugs mailing list