[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [request for help] lablgl && xorg



On Fri, Jul 29, 2005 at 08:57:46PM +0200, Julien Cristau wrote:
> I didn't see anything in lablgl which would require libXxf86vm. Do you
> have a build log with the problem?

I haven't a log of when I tried it, but right now, on my i386 unstable I
can reproduce the problem, log of an attempted build of a few minutes
ago is attached.

> While I was at it, I tried replacing the build-dep on xlibs-dev. The
> following works for me:

Great! Could you please commit them to svn?

-- 
Stefano Zacchiroli -*- Computer Science PhD student @ Uny Bologna, Italy
zack@{cs.unibo.it,debian.org,bononia.it} -%- http://www.bononia.it/zack/
If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. -!-
$ apt-get source lablgl
Reading package lists... Done
Building dependency tree... Done
Need to get 397kB of source archives.
Get:1 http://ftp.bononia.it unstable/main lablgl 1.01-4 (dsc) [744B]
Get:2 http://ftp.bononia.it unstable/main lablgl 1.01-4 (tar) [391kB]
Get:3 http://ftp.bononia.it unstable/main lablgl 1.01-4 (diff) [5188B]
Fetched 397kB in 3s (106kB/s)
dpkg-source: extracting lablgl in lablgl-1.01
dpkg-source: unpacking lablgl_1.01.orig.tar.gz
dpkg-source: applying ./lablgl_1.01-4.diff.gz
$ cd lablgl-1.01/
$ debuild
dpkg-buildpackage: source package is lablgl
dpkg-buildpackage: source version is 1.01-4
dpkg-buildpackage: source changed by Sven Luther <luther@debian.org>
dpkg-buildpackage: host architecture i386
 fakeroot debian/rules clean
dpatch  deapply-all  
rm -rf patch-stamp patch-stampT debian/patched
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
/usr/bin/make clean
make[1]: Entering directory `/tmp/lablgl-1.01'
Makefile:7: Makefile.config: No such file or directory
make[1]: *** No rule to make target `Makefile.config'.  Stop.
make[1]: Leaving directory `/tmp/lablgl-1.01'
make: [clean] Error 2 (ignored)
dh_clean Makefile.config
 dpkg-source -b lablgl-1.01
dpkg-source: building lablgl using existing lablgl_1.01.orig.tar.gz
dpkg-source: building lablgl in lablgl_1.01-4.diff.gz
dpkg-source: building lablgl in lablgl_1.01-4.dsc
 debian/rules build
test -d debian/patched || install -d debian/patched
dpatch  apply-all  
dpatch  cat-all  >>patch-stampT
mv -f patch-stampT patch-stamp
dh_testdir
# Add here commands to configure the package.
cp debian/Makefile.config .
touch configure-stamp
dh_testdir
# Add here commands to compile the package.
/usr/bin/make
make[1]: Entering directory `/tmp/lablgl-1.01'
cd src && /usr/bin/make all LIBDIR="`ocamlc -where`"
make[2]: Entering directory `/tmp/lablgl-1.01/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 -O  -I/usr/X11R6/include" ml_gl.c
ml_gl.c: In function ‘ml_glGetString’:
ml_gl.c:218: warning: pointer targets in passing argument 1 of ‘lablgl_copy_string_check’ differ in signedness
ml_gl.c: In function ‘ml_glHint’:
ml_gl.c:223: warning: ‘targ’ may be used uninitialized in this function
ml_gl.c: In function ‘ml_glMap1d’:
ml_gl.c:327: warning: unused variable ‘i’
ml_gl.c:327: warning: ‘ustride’ may be used uninitialized in this function
ml_gl.c:328: warning: ‘targ’ may be used uninitialized in this function
ml_gl.c: In function ‘ml_glMap2d’:
ml_gl.c:358: warning: ‘ustride’ may be used uninitialized in this function
ml_gl.c:359: warning: ‘targ’ may be used uninitialized in this function
ml_gl.c: In function ‘ml_glReadPixels’:
ml_gl.c:534: warning: control reaches end of non-void function
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 -O  -I/usr/X11R6/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
ml_glu.c: In function ‘ml_gluNurbsCurve’:
ml_glu.c:123: warning: ‘ustride’ may be used uninitialized in this function
ml_glu.c:122: warning: ‘targ’ may be used uninitialized in this function
ml_glu.c: In function ‘ml_gluNurbsSurface’:
ml_glu.c:180: warning: ‘sStride’ may be used uninitialized in this function
ml_glu.c:179: warning: ‘type’ may be used uninitialized in this function
ml_glu.c: In function ‘ml_gluPwlCurve’:
ml_glu.c:257: warning: ‘stride’ may be used uninitialized in this function
ml_glu.c:256: warning: ‘type’ may be used uninitialized in this function
ocamlrun ../src/var2def < raw_tags.var > raw_tags.h
ocamlc -c -w s -ccopt "-c -O  -I/usr/X11R6/include" ml_raw.c
ml_raw.c: In function ‘ml_raw_write_string’:
ml_raw.c:173: warning: unused variable ‘ret’
ocamlc -c -w s -ccopt "-c -O  -I/usr/X11R6/include" ml_glarray.c
ocamlc -c -w s -ccopt "-c -O  -I/usr/X11R6/include" ml_glutess.c
ocamlmklib -o lablgl ml_gl.o	ml_glu.o	ml_raw.o ml_glarray.o ml_glutess.o -lGL -lGLU -L/usr/X11R6/lib -lXext -lXmu -lX11
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 raw.cmo gl.cmo		glLight.cmo	glList.cmo	glMap.cmo glMat.cmo	glMisc.cmo	glPix.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/X11R6/lib -lXext -lXmu -lX11
make[2]: Leaving directory `/tmp/lablgl-1.01/src'
cd Togl/src && /usr/bin/make all
make[2]: Entering directory `/tmp/lablgl-1.01/Togl/src'
ocamlrun ../../src/var2def < togl_tags.var > togl_tags.h
ocamlrun ../../src/var2switch TOGL_ < togl_tags.var > togl_tags.c
ocamlc -c -w s -ccopt "-c -O -I../../src -ITogl -I/usr/include/tcl8.4 -I.  -I/usr/X11R6/include" ml_togl.c
ml_togl.c: In function ‘ml_Togl_Init’:
ml_togl.c:39: warning: pointer/integer type mismatch in conditional expression
ml_togl.c: In function ‘ml_Togl_LoadBitmapFont’:
ml_togl.c:104: warning: ‘fontname’ may be used uninitialized in this function
cd Togl && /usr/bin/make togl.o CC="ocamlc" CFLAGS='-c -ccopt "-c -O -I../../src -ITogl -I/usr/include/tcl8.4 -I.  -I/usr/X11R6/include "'
make[3]: Entering directory `/tmp/lablgl-1.01/Togl/src/Togl'
ocamlc -c -ccopt "-c -O -I../../src -ITogl -I/usr/include/tcl8.4 -I.  -I/usr/X11R6/include " togl.c
togl.c: In function ‘Togl_Init’:
togl.c:715: warning: passing argument 3 of ‘Tcl_CreateCommand’ from incompatible pointer type
togl.c: In function ‘Togl_Configure’:
togl.c:946: warning: passing argument 5 of ‘Tk_ConfigureWidget’ from incompatible pointer type
togl.c: In function ‘Togl_Cmd’:
togl.c:1085: warning: ‘main’ is usually a function
togl.c:1165: warning: passing argument 3 of ‘Tcl_CreateCommand’ from incompatible pointer type
togl.c: In function ‘generateEPS’:
togl.c:2890: warning: operation on ‘i’ may be undefined
togl.c:2890: warning: operation on ‘i’ may be undefined
togl.c:2892: warning: operation on ‘i’ may be undefined
togl.c:2892: warning: operation on ‘i’ may be undefined
togl.c:2894: warning: operation on ‘i’ may be undefined
togl.c:2894: warning: operation on ‘i’ may be undefined
togl.c:2896: warning: operation on ‘i’ may be undefined
togl.c:2896: warning: operation on ‘i’ may be undefined
togl.c:2898: warning: operation on ‘i’ may be undefined
togl.c:2898: warning: operation on ‘i’ may be undefined
togl.c:2900: warning: operation on ‘i’ may be undefined
togl.c:2900: warning: operation on ‘i’ may be undefined
togl.c:2902: warning: operation on ‘i’ may be undefined
togl.c:2902: warning: operation on ‘i’ may be undefined
togl.c:2904: warning: operation on ‘i’ may be undefined
togl.c:2904: warning: operation on ‘i’ may be undefined
make[3]: Leaving directory `/tmp/lablgl-1.01/Togl/src/Togl'
ocamlmklib -o togl ml_togl.o	Togl/togl.o -lGL -lGLU -ltk8.4 -ltcl8.4 -L/usr/X11R6/lib -lXext -lXmu -lX11
ocamlc -c -w s -I +labltk -I ../../src togl.mli
ocamlc -c -w s -I +labltk -I ../../src togl.ml
ocamlmklib -o togl togl.cmo -lGL -lGLU -ltk8.4 -ltcl8.4 -L/usr/X11R6/lib -lXext -lXmu -lX11
ocamlmktop  -I . -I +labltk -I ../../src -o lablgltop \
  labltk.cma lablgl.cma togl.cma
Error on dynamically loaded library: ./dlltogl.so: undefined symbol: XF86VidModeQueryVersion
make[2]: *** [lablgltop] Error 2
make[2]: Leaving directory `/tmp/lablgl-1.01/Togl/src'
make[1]: *** [togl] Error 2
make[1]: Leaving directory `/tmp/lablgl-1.01'
make: *** [build-stamp] Error 2
debuild: fatal error at line 765:
dpkg-buildpackage failed!
$

Attachment: signature.asc
Description: Digital signature


Reply to: