* Package: dev-ml/lablgl-1.06-r1  * Repository: gentoo  * USE: abi_x86_64 amd64 elibc_glibc glut kernel_linux ocamlopt userland_GNU  * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking lablgl-1.06.tar.gz to /var/tmp/portage/dev-ml/lablgl-1.06-r1/work >>> Source unpacked in /var/tmp/portage/dev-ml/lablgl-1.06-r1/work >>> Preparing source in /var/tmp/portage/dev-ml/lablgl-1.06-r1/work/lablgl-1.06 ... * Applying lablgl-1.06-makefile.patch ...  [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-ml/lablgl-1.06-r1/work/lablgl-1.06 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-ml/lablgl-1.06-r1/work/lablgl-1.06 ... make -j8 -l4 lib cd src && make all LIBDIR="`ocamlc -where`" make[1]: Entering directory '/var/tmp/portage/dev-ml/lablgl-1.06-r1/work/lablgl-1.06/src' ocamlc -c -w s -I +labltk var2def.ml ocamlc -c -w s -I +labltk var2switch.ml ocamlc var2def.cmo -o var2def ocamlc var2switch.cmo -o var2switch make lablgl.cma make[2]: Entering directory '/var/tmp/portage/dev-ml/lablgl-1.06-r1/work/lablgl-1.06/src' ocamlrun ../src/var2def < gl_tags.var > gl_tags.h ocamlrun ../src/var2switch -table GL_ < gl_tags.var > gl_tags.c ocamlrun ../src/var2def < glu_tags.var > glu_tags.h ocamlc -c -w s -I +labltk raw.mli ocamlc -c -w s -I +labltk gl.mli ocamlc -c -w s -ccopt "-c -O -O2 -pipe -march=core-avx2 " ml_shader.c ocamlc -c -w s -I +labltk gluQuadric.mli ocamlc -c -w s -I +labltk glList.mli ocamlc -c -w s -I +labltk gluMat.mli ocamlc -c -w s -I +labltk gluTess.mli ocamlc -c -w s -I +labltk glShader.mli ocamlc -c -w s -ccopt "-c -O -O2 -pipe -march=core-avx2 " ml_glarray.c ocamlc -c -w s -I +labltk gl.ml ocamlc -c -w s -I +labltk glLight.mli ocamlc -c -w s -I +labltk glList.ml ocamlc -c -w s -I +labltk glMap.mli ocamlc -c -w s -I +labltk glMat.mli ocamlc -c -w s -I +labltk glMisc.mli ocamlc -c -w s -I +labltk glPix.mli In file included from ml_shader.c:19: ml_shader.c: In function ‘ml_glgetshaderinfolog’: /usr/lib64/ocaml/caml/mlvalues.h:265:24: warning: passing argument 4 of ‘glGetShaderInfoLog’ discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ ml_shader.c:1217:85: note: in expansion of macro ‘String_val’ 1217 | og(Shader_object_val(shader), infologLength, &charsWritten, String_val(infoLog)); | ^~~~~~~~~~ In file included from /usr/include/GL/gl.h:2050, from ml_shader.c:14: /usr/include/GL/glext.h:766:98: note: expected ‘GLchar *’ {aka ‘char *’} but argument is of type ‘const char *’ 766 | Log (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); | ~~~~~~~~^~~~~~~ In file included from ml_shader.c:19: ml_shader.c: In function ‘ml_glgetprograminfolog’: /usr/lib64/ocaml/caml/mlvalues.h:265:24: warning: passing argument 4 of ‘glGetProgramInfoLog’ discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ ml_shader.c:1241:88: note: in expansion of macro ‘String_val’ 1241 | (Shader_program_val(program), infologLength, &charsWritten, String_val(infoLog)); | ^~~~~~~~~~ In file included from /usr/include/GL/gl.h:2050, from ml_shader.c:14: /usr/include/GL/glext.h:764:100: note: expected ‘GLchar *’ {aka ‘char *’} but argument is of type ‘const char *’ 764 | og (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); | ~~~~~~~~^~~~~~~ ml_glarray.c:18:10: fatal error: raw_tags.h: No such file or directory 18 | #include "raw_tags.h" | ^~~~~~~~~~~~ compilation terminated. make[2]: *** [../Makefile.common:57: ml_glarray.o] Error 2 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/var/tmp/portage/dev-ml/lablgl-1.06-r1/work/lablgl-1.06/src' make[1]: *** [Makefile:28: all] Error 2 make[1]: Leaving directory '/var/tmp/portage/dev-ml/lablgl-1.06-r1/work/lablgl-1.06/src' make: *** [Makefile:12: lib] Error 2 * ERROR: dev-ml/lablgl-1.06-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-ml/lablgl-1.06-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-ml/lablgl-1.06-r1::gentoo'`. * The complete build log is located at '/var/log/elog/dev-ml:lablgl-1.06-r1:20220310-003721.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-ml/lablgl-1.06-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-ml/lablgl-1.06-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-ml/lablgl-1.06-r1/work/lablgl-1.06' * S: '/var/tmp/portage/dev-ml/lablgl-1.06-r1/work/lablgl-1.06'