Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Dec 2010 19:07:55 GMT
From:      Anatoly Borodin <anatoly.borodin@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/153128: graphics/ocaml-lablgl fails to build
Message-ID:  <201012131907.oBDJ7ssk097079@red.freebsd.org>
Resent-Message-ID: <201012131910.oBDJA9Nt072956@freefall.freebsd.org>

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

>Number:         153128
>Category:       ports
>Synopsis:       graphics/ocaml-lablgl fails to build
>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 Dec 13 19:10:08 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Anatoly Borodin
>Release:        
>Organization:
>Environment:
FreeBSD hp.home 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #0: Fri Dec 10 18:00:43 CET 2010     anatoly.borodin@gmail.com:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
graphics/ocaml-lablgl fails to build.

PS I don't know, but could tk86 be a reason?
>How-To-Repeat:
# cd /usr/ports/graphics/ocaml-lablgl && make
===>  License check disabled, port has not defined LICENSE
===>  Extracting for ocaml-lablgl-1.04
=> SHA256 Checksum OK for lablgl-1.04.tar.gz.
===>   ocaml-lablgl-1.04 depends on file: /usr/local/bin/ocamlc - found
===>  Patching for ocaml-lablgl-1.04
===>   ocaml-lablgl-1.04 depends on file: /usr/local/bin/ocamlc - found
===>  Applying FreeBSD patches for ocaml-lablgl-1.04
===>   ocaml-lablgl-1.04 depends on file: /usr/local/bin/ocamlc - found
===>   ocaml-lablgl-1.04 depends on executable: gmake - found
===>   ocaml-lablgl-1.04 depends on shared library: tk86 - found
===>   ocaml-lablgl-1.04 depends on shared library: glut.3 - found
===>  Configuring for ocaml-lablgl-1.04
===>  Building for ocaml-lablgl-1.04
cd src && gmake all LIBDIR="/usr/local/lib/ocaml"
gmake[1]: Entering directory `/usr/obj/usr/ports/graphics/ocaml-lablgl/work/lablGL-1.04/src'
ocamlc -pp camlp4o var2def.ml -o var2def
ocamlc -pp camlp4o var2switch.ml -o var2switch
ocamlrun ../src/var2def < gl_tags.var > gl_tags.h
ocamlrun ../src/var2switch -table GL_ < gl_tags.var > gl_tags.c
ocamlc -c -w s -ccopt "-c -O2 -pipe -march=native -fno-strict-aliasing  -I/usr/local/include" ml_gl.c
ml_gl.c: In function 'ml_glGetString':
ml_gl.c:225: warning: pointer targets in passing argument 1 of 'lablgl_copy_string_check' differ in signedness
ml_gl.c: In function 'ml_glGenTextures':
ml_gl.c:674: warning: pointer targets in passing argument 2 of 'glGenTextures' differ in signedness
ocamlrun ../src/var2def < glu_tags.var > glu_tags.h
ocamlrun ../src/var2switch GLU_ < glu_tags.var > glu_tags.c
ocamlc -c -w s -ccopt "-c -O2 -pipe -march=native -fno-strict-aliasing  -I/usr/local/include" ml_glu.c
ml_glu.c: In function 'ml_gluGetString':
ml_glu.c:96: warning: pointer targets in passing argument 1 of 'lablgl_copy_string_check' differ in signedness
ocamlrun ../src/var2def < raw_tags.var > raw_tags.h
ocamlc -c -w s -ccopt "-c -O2 -pipe -march=native -fno-strict-aliasing  -I/usr/local/include" ml_raw.c
ocamlc -c -w s -ccopt "-c -O2 -pipe -march=native -fno-strict-aliasing  -I/usr/local/include" ml_glarray.c
ocamlc -c -w s -ccopt "-c -O2 -pipe -march=native -fno-strict-aliasing  -I/usr/local/include" ml_glutess.c
ocamlc -c -w s -I +labltk raw.mli
ocamlc -c -w s -I +labltk raw.ml
ocamlc -c -w s -I +labltk gl.mli
ocamlc -c -w s -I +labltk gl.ml
ocamlc -c -w s -I +labltk glLight.mli
ocamlc -c -w s -I +labltk glLight.ml
ocamlc -c -w s -I +labltk glList.mli
ocamlc -c -w s -I +labltk glList.ml
ocamlc -c -w s -I +labltk glMap.mli
ocamlc -c -w s -I +labltk glMap.ml
ocamlc -c -w s -I +labltk glMat.mli
ocamlc -c -w s -I +labltk glMat.ml
ocamlc -c -w s -I +labltk glMisc.mli
ocamlc -c -w s -I +labltk glMisc.ml
ocamlc -c -w s -I +labltk glPix.mli
ocamlc -c -w s -I +labltk glPix.ml
ocamlc -c -w s -I +labltk glClear.mli
ocamlc -c -w s -I +labltk glClear.ml
ocamlc -c -w s -I +labltk glTex.mli
ocamlc -c -w s -I +labltk glTex.ml
ocamlc -c -w s -I +labltk glDraw.mli
ocamlc -c -w s -I +labltk glDraw.ml
ocamlc -c -w s -I +labltk glFunc.mli
ocamlc -c -w s -I +labltk glFunc.ml
ocamlc -c -w s -I +labltk gluMisc.mli
ocamlc -c -w s -I +labltk gluMisc.ml
ocamlc -c -w s -I +labltk gluNurbs.mli
ocamlc -c -w s -I +labltk gluNurbs.ml
ocamlc -c -w s -I +labltk gluQuadric.mli
ocamlc -c -w s -I +labltk gluQuadric.ml
ocamlc -c -w s -I +labltk gluTess.mli
ocamlc -c -w s -I +labltk gluTess.ml
ocamlc -c -w s -I +labltk gluMat.mli
ocamlc -c -w s -I +labltk gluMat.ml
ocamlc -c -w s -I +labltk glArray.mli
ocamlc -c -w s -I +labltk glArray.ml
ocamlmklib -o lablgl ml_gl.o    ml_glu.o        ml_raw.o ml_glarray.o ml_glutess.o raw.cmo gl.cmo               glLight.cmo     glList.cmo      glMap.cmo glMat.cmo     glMisc.cmoglPix.cmo        glClear.cmo glTex.cmo   glDraw.cmo      glFunc.cmo      gluMisc.cmo gluNurbs.cmo        gluQuadric.cmo  gluTess.cmo     gluMat.cmo glArray.cmo -lGL -lGLU -L/usr/local/lib -lXext -lXmu -lX11
gmake[1]: Leaving directory `/usr/obj/usr/ports/graphics/ocaml-lablgl/work/lablGL-1.04/src'
cd Togl/src && gmake all
gmake[1]: Entering directory `/usr/obj/usr/ports/graphics/ocaml-lablgl/work/lablGL-1.04/Togl/src'
ocamlc -c -w s -I +labltk -I ../../src togl.mli
File "togl.mli", line 4, characters 14-29:
Error: Unbound type constructor Widget.widget
gmake[1]: *** [togl.cmi] Error 2
gmake[1]: Leaving directory `/usr/obj/usr/ports/graphics/ocaml-lablgl/work/lablGL-1.04/Togl/src'
gmake: *** [togl] Error 2
*** Error code 1

Stop in /usr/ports/graphics/ocaml-lablgl.

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



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