Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Aug 2010 10:46:30 +0200 (CEST)
From:      Lapo Luchini <lapo@lapo.it>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Stanislav Sedov <stas@FreeBSD.org>, Lapo Luchini <lapo@lapo.it>
Subject:   ports/149958: x11-toolkits/ocaml-lablgtk2's varcc should (maybe) be executable
Message-ID:  <201008250846.o7P8kUJK065363@lapo.andxor.it>
Resent-Message-ID: <201008250850.o7P8o1RF050029@freefall.freebsd.org>

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

>Number:         149958
>Category:       ports
>Synopsis:       x11-toolkits/ocaml-lablgtk2's varcc should (maybe) be executable
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 25 08:50:00 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Lapo Luchini
>Release:        FreeBSD 8.1-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD lapo.andxor.it 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64

>Description:

I'm not really sure this is the correct solution (I know very little about OCaml or lablgtk), but while upgrading devel/monotone-viz to use system lablgtk2 instead of the contained one, I get the following error:

[...]
ocamlopt.opt  -I /usr/local/lib/ocaml/lablgtk2 -I glib  -c query.ml
ocamlopt.opt  -I /usr/local/lib/ocaml/lablgtk2 -I glib  -c app.ml
ocamlopt.opt  -I /usr/local/lib/ocaml/lablgtk2 -I glib  -c main.ml
cd glib ; /usr/local/lib/ocaml/lablgtk2/varcc -static gspawn_tags.var
/usr/local/lib/ocaml/lablgtk2/varcc: Permission denied
gmake: *** [glib/gspawn_tags.c] Error 126
*** Error code 1

>How-To-Repeat:

Compile devel/monotone-viz with
CONFIGURE_ARGS+=	--without-local-lablgtk

>Fix:

Temporary fix:
# chmod +x /usr/local/lib/ocaml/lablgtk2/varcc

Permanent fix: up to the maintainer or lablgtk2, but I guess some hacking of the lablgtk2 port.
>Release-Note:
>Audit-Trail:
>Unformatted:



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