Bug 192944 - building x11-toolkits/ocaml-lablgtk2 fails
Summary: building x11-toolkits/ocaml-lablgtk2 fails
Status: Closed Not A Bug
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Many People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-23 14:17 UTC by TsurutaniNaoki
Modified: 2014-08-24 01:35 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description TsurutaniNaoki 2014-08-23 14:17:56 UTC
building x11-toolkits/ocaml-lablgtk2 fails.

How-To-Repeat:
% make
	...
	===>  License LGPL21 accepted by the user
	===>  Found saved configuration for ocaml-lablgtk2-2.16.0_1
	===>   ocaml-lablgtk2-2.16.0_1 depends on file: /usr/local/sbin/pkg - found
	===> Fetching all distfiles required by ocaml-lablgtk2-2.16.0_1 for building
	===>  Extracting for ocaml-lablgtk2-2.16.0_1
	=> SHA256 Checksum OK for lablgtk-2.16.0.tar.gz.
	===>   ocaml-lablgtk2-2.16.0_1 depends on file: /usr/local/bin/ocamlc - found
	===>  Patching for ocaml-lablgtk2-2.16.0_1
	===>   ocaml-lablgtk2-2.16.0_1 depends on file: /usr/local/bin/ocamlc - found
	===>  Applying FreeBSD patches for ocaml-lablgtk2-2.16.0_1
	===>   ocaml-lablgtk2-2.16.0_1 depends on executable: lablgl - found
	===>   ocaml-lablgtk2-2.16.0_1 depends on file: /usr/local/bin/ocamlc - found
	===>   ocaml-lablgtk2-2.16.0_1 depends on file: /usr/local/bin/ocamlfind - found
	===>   ocaml-lablgtk2-2.16.0_1 depends on executable: gmake - found
	===>   ocaml-lablgtk2-2.16.0_1 depends on executable: pkgconf - found
	===>   ocaml-lablgtk2-2.16.0_1 depends on file: /usr/local/libdata/pkgconfig/gnome-mime-data-2.0.pc - found
	===>   ocaml-lablgtk2-2.16.0_1 depends on file: /usr/local/bin/intltool-extract - found
	===>   ocaml-lablgtk2-2.16.0_1 depends on shared library: libgtkgl-2.0.so - found (/usr/local/lib/libgtkgl-2.0.so.1.0.1)
	===>   ocaml-lablgtk2-2.16.0_1 depends on shared library: libgtkspell.so - found (/usr/local/lib/libgtkspell.so.0.0.0)
	===>   ocaml-lablgtk2-2.16.0_1 depends on shared library: libatk-1.0.so - found (/usr/local/lib/libatk-1.0.so.0)
	===>   ocaml-lablgtk2-2.16.0_1 depends on shared library: libesd.so - found (/usr/local/lib/libesd.so.2.0.0)
	===>   ocaml-lablgtk2-2.16.0_1 depends on shared library: libgconf-2.so - found (/usr/local/lib/libgconf-2.so.4)
	===>   ocaml-lablgtk2-2.16.0_1 depends on shared library: libglib-2.0.so - found (/usr/local/lib/libglib-2.0.so.0)
	===>   ocaml-lablgtk2-2.16.0_1 depends on shared library: libpcre.so - found (/usr/local/lib/libpcre.so.3)
	===>   ocaml-lablgtk2-2.16.0_1 depends on shared library: libgnomevfs-2.so - found (/usr/local/lib/libgnomevfs-2.so.0.2400.4)
	===>   ocaml-lablgtk2-2.16.0_1 depends on shared library: libgtk-x11-2.0.so - found (/usr/local/lib/libgtk-x11-2.0.so.0.2400.22)
	===>   ocaml-lablgtk2-2.16.0_1 depends on shared library: libgtksourceview-2.0.so - found (/usr/local/lib/libgtksourceview-2.0.so.0.0.0)
	===>   ocaml-lablgtk2-2.16.0_1 depends on shared library: libart_lgpl_2.so - found (/usr/local/lib/libart_lgpl_2.so.5)
	===>   ocaml-lablgtk2-2.16.0_1 depends on shared library: libbonobo-2.so - found (/usr/local/lib/libbonobo-2.so.0.0.0)
	===>   ocaml-lablgtk2-2.16.0_1 depends on shared library: libbonoboui-2.so - found (/usr/local/lib/libbonoboui-2.so.0.0.0)
	===>   ocaml-lablgtk2-2.16.0_1 depends on shared library: libglade-2.0.so - found (/usr/local/lib/libglade-2.0.so.0.0.7)
	===>   ocaml-lablgtk2-2.16.0_1 depends on shared library: libgnome-2.so - found (/usr/local/lib/libgnome-2.so.0.3200.0)
	===>   ocaml-lablgtk2-2.16.0_1 depends on shared library: libgnomecanvas-2.so - found (/usr/local/lib/libgnomecanvas-2.so.0.3000.3)
	===>   ocaml-lablgtk2-2.16.0_1 depends on shared library: libgnomeui-2.so - found (/usr/local/lib/libgnomeui-2.so.0.2400.4)
	===>   ocaml-lablgtk2-2.16.0_1 depends on shared library: libgsf-1.so - found (/usr/local/lib/libgsf-1.so.114)
	===>   ocaml-lablgtk2-2.16.0_1 depends on shared library: libIDL-2.so - found (/usr/local/lib/libIDL-2.so.0.0.0)
	===>   ocaml-lablgtk2-2.16.0_1 depends on shared library: librsvg-2.so - found (/usr/local/lib/librsvg-2.so.2.36.4)
	===>   ocaml-lablgtk2-2.16.0_1 depends on shared library: libxml2.so - found (/usr/local/lib/libxml2.so.2.9.1)
	===>   ocaml-lablgtk2-2.16.0_1 depends on shared library: libORBit-2.so - found (/usr/local/lib/libORBit-2.so.0.1.0)
	===>   ocaml-lablgtk2-2.16.0_1 depends on shared library: libpango-1.0.so - found (/usr/local/lib/libpango-1.0.so.0.3400.1)
	===>  Configuring for ocaml-lablgtk2-2.16.0_1
	checking for ocamlc... ocamlc
	ocaml version is 4.01.0
	ocaml library path is /usr/local/lib/ocaml
	Install dirs are : /usr/local/lib/ocaml/lablgtk2 and /usr/local/lib/ocaml/stublibs
	        Compile with
	                ocamlc -I /usr/local/lib/ocaml/lablgtk2
	        and add /usr/local/lib/ocaml/stublibs either to OCAMLLIB/ld.conf or
	        to CAML_LD_LIBRARY_PATH
	checking for ocamlopt... ocamlopt
	checking ocamlopt version... ok
	checking for ocamlc.opt... ocamlc.opt
	checking ocamlc.opt version... ok
	checking for ocamlopt.opt... ocamlopt.opt
	checking ocamlc.opt version... ok
	checking for ocamlrun... ocamlrun
	checking for ocamldep... ocamldep
	checking for ocamldoc... ocamldoc
	checking for ocamllex... ocamllex
	checking for ocamlyacc... ocamlyacc
	checking for ocamlmktop... ocamlmktop
	checking for ocamlmklib... ocamlmklib
	checking for camlp4o... camlp4 pa_o.cmo pa_op.cmo pr_dump.cmo
	checking for ocamlfind... ocamlfind
	ocamlfind library path is /usr/local/lib/ocaml/site-lib
	ocamlfind ldconf path is /usr/local/lib/ocaml/ld.conf
	checking for ocaml threads... use system threads
	checking for ocaml dll support... yes
	checking for ranlib... ranlib
	checking for gcc... cc
	checking whether the C compiler works... yes
	checking for C compiler default output file name... a.out
	checking for suffix of executables...
	checking whether we are cross compiling... no
	checking for suffix of object files... o
	checking whether we are using the GNU C compiler... yes
	checking whether cc accepts -g... yes
	checking for cc option to accept ISO C89... none needed
	checking platform... Unix
	checking native dynlink... checking for pkg-config... /usr/local/bin/pkg-config
	checking for GTK+ - version >= 2.0.0... yes (version 2.24.22)
	checking pkg-config is at least version 0.9.0... yes
	checking for GTKGL... yes
	checking lablGL directory... configure: error: gtkgl enforced but lablGL not found
	===>  Script "configure" failed unexpectedly.
	Please report the problem to bf@FreeBSD.org [maintainer] and attach the
	"/usr/ports/x11-toolkits/ocaml-lablgtk2/work/lablgtk-2.16.0/config.log"
	including the output of the failure of your make command. Also, it might be
	a good idea to provide an overview of all packages installed on your system
	(e.g. a /usr/local/sbin/pkg-static info -g -Ea).
	*** Error code 1
	 
	Stop in /usr/ports/x11-toolkits/ocaml-lablgtk2.
	*** Error code 1
	 
	Stop in /usr/ports/x11-toolkits/ocaml-lablgtk2.

Fix:
i have no idea.
Comment 1 John Marino freebsd_committer freebsd_triage 2014-08-23 19:56:41 UTC
My guess is that a dependency is missing or it's the wrong version.

Is there a later version of the software available? Maybe it just needs to be updated to the latest release.

I'm not going to assign this to the maintainer (bf@) as he has been rather scarce, but I will put him in CC  and open it.

If you want to kick-start this, I might try updating to the latest and providing a patch to this PR if it works.
Comment 2 TsurutaniNaoki 2014-08-24 01:35:27 UTC
re-installation of ocaml-lablgl solved the problem.
please close this.