Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 May 2014 13:59:03 GMT
From:      Török Edwin <edwin@skylable.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/189711: lang/ocaml not installable as a binary package
Message-ID:  <201405121359.s4CDx3rj081170@cgiserv.freebsd.org>
Resent-Message-ID: <201405121400.s4CE000N039986@freefall.freebsd.org>

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

>Number:         189711
>Category:       ports
>Synopsis:       lang/ocaml not installable as a binary package
>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:   Mon May 12 14:00:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Török Edwin
>Release:        FreeBSD 10.0-RELEASE amd64
>Organization:
Skylable Ltd.
>Environment:
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?

[I tried to submit this using send-pr, and then via my email client, but it didn't get an automated acknowledgment email (although I did for another PR I sent), so I'm sending this again via the web-interface. Sorry if this results in a duplicate PR]
>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?201405121359.s4CDx3rj081170>