Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 May 2014 16:46:04 +0300
From:      =?ISO-8859-1?Q?T=F6r=F6k_Edwin?= <edwin@skylable.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/189712: lang/ocaml not installable as a binary package
Message-ID:  <5370D09C.9000000@skylable.com>
Resent-Message-ID: <201405121400.s4CE01X0040067@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         189712
>Category:       ports
>Synopsis:       lang/ocaml not installable as a binary package
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 12 14:00:01 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Torok Edwin
>Release:        FreeBSD 10.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD freebsd10.home.lan 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:
        'pkg install lang/ocaml' doesn't work, although /usr/ports/lang/ocaml exists, and works.
        Trying to install *ANY* ocaml package fails, due to a missing 'lang/ocaml' binary package

        I didn't modify /etc/pkg/FreeBSD.conf:
        # $FreeBSD: release/10.0.0/etc/pkg/FreeBSD.conf 258710 2013-11-28 14:24:26Z gjb $
        FreeBSD: {
          url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest",
          mirror_type: "srv",
          signature_type: "fingerprints",
          fingerprints: "/usr/share/keys/pkg",
          enabled: yes
        }

        Is there something wrong with the mirror, or how did the binary package get lost?
        There are ocaml libraries available as binary packages, so at some point 'lang/ocaml' itself
        must've existed, no?


>How-To-Repeat:
        Install FreeBSD 10 amd64 in a VM using the FreeBSD-10.0-RELEASE-amd64-disc1.iso or FreeBSD-10.0-RELEASE-amd64-bootonly.iso
        Login as root, run /usr/sbin/pkg, tell it to fetch
        # pkg install lang/ocaml
        Updating repository catalogue
        pkg: No packages matching 'lang/ocaml' available in the repositories

>Fix:
        Build it from source:
        portsnap fetch
        portsnap extract
        cd /usr/ports/lang/ocaml
        make install
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5370D09C.9000000>