* Package: app-text/llpp-30 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux ocamlopt userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking llpp-30.tar.gz to /var/tmp/portage/app-text/llpp-30/work >>> Source unpacked in /var/tmp/portage/app-text/llpp-30/work >>> Preparing source in /var/tmp/portage/app-text/llpp-30/work/llpp-30 ... * Applying llpp-30-keysym.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-text/llpp-30/work/llpp-30 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/app-text/llpp-30/work/llpp-30 ... make -j1 -j1 VERSION=30 CC=x86_64-pc-linux-gnu-gcc LIBDIR=/usr/lib64 ocamlopt -c -o utils.cmx -g -w +a -safe-string -I +lablGL utils.ml ocamlopt -c -o keys.cmx -g -w +a -safe-string -I +lablGL keys.ml ocamlopt -c -o wsi.cmi -g -w +a -safe-string -I +lablGL wsi.mli ocamlopt -c -o wsi.cmx -g -w +a -safe-string -I +lablGL wsi/x11/wsi.ml sh genconfstr.sh >confstruct.ml ocamlopt -c -o confstruct.cmx -g -w +a -safe-string -I +lablGL confstruct.ml ocamlopt -c -o parser.cmx -g -w +a -safe-string -I +lablGL parser.ml ocamlopt -c -o config.cmx -g -w +a -safe-string -I +lablGL config.ml ocamlopt -c -o ffi.cmx -g -w +a -safe-string -I +lablGL ffi.ml ocamlopt -c -o glutils.cmx -g -w +a -safe-string -I +lablGL glutils.ml ocamlopt -c -o help.cmi -g -w +a -safe-string -I +lablGL help.mli ocamlopt -c -o help.cmx -g -w +a -safe-string -I +lablGL help.ml ocamlopt -c -o utf8syms.cmx -g -w +a -safe-string -I +lablGL utf8syms.ml ocamlopt -c -o listview.cmx -g -w +a -safe-string -I +lablGL listview.ml ocamlopt -c -o main.cmx -g -w +a -safe-string -I +lablGL -thread main.ml ocamlopt -c -o cutils.o -g -w +a -safe-string -I +lablGL -cc x86_64-pc-linux-gnu-gcc -ccopt '-O2 -pipe -march=native -std=c99 -pedantic -Wall -Wextra -Wshadow -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openjpeg-2.3 -D_GNU_SOURCE -DFFP' cutils.c ocamlopt -c -o keysym2ucs.o -g -w +a -safe-string -I +lablGL -cc x86_64-pc-linux-gnu-gcc -ccopt '-O2 -pipe -march=native -std=c99 -pedantic -Wall -Wextra -Wshadow -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openjpeg-2.3 -D_GNU_SOURCE -DFFP' wsi/x11/keysym2ucs.c ocamlopt -c -o link.o -g -w +a -safe-string -I +lablGL -cc x86_64-pc-linux-gnu-gcc -ccopt '-O2 -pipe -march=native -std=c99 -pedantic -Wall -Wextra -Wshadow -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openjpeg-2.3 -D_GNU_SOURCE -DFFP' link.c link.c:122:9: error: unknown type name ‘fz_annot’ 122 | fz_annot *annot; | ^~~~~~~~ link.c:128:5: error: unknown type name ‘fz_annot’ 128 | fz_annot *annot; | ^~~~~~~~ link.c: In function ‘ensureannots’: link.c:1983:5: error: unknown type name ‘fz_annot’; did you mean ‘pdf_annot’? 1983 | fz_annot *annot; | ^~~~~~~~ | pdf_annot link.c:1991:18: warning: implicit declaration of function ‘fz_first_annot’; did you mean ‘pdf_first_annot’? [-Wimplicit-function-declaration] 1991 | for (annot = fz_first_annot (state.ctx, page->fzpage); | ^~~~~~~~~~~~~~ | pdf_first_annot link.c:1991:16: warning: assignment to ‘int *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 1991 | for (annot = fz_first_annot (state.ctx, page->fzpage); | ^ link.c:1993:18: warning: implicit declaration of function ‘fz_next_annot’; did you mean ‘pdf_next_annot’? [-Wimplicit-function-declaration] 1993 | annot = fz_next_annot (state.ctx, annot)) { | ^~~~~~~~~~~~~ | pdf_next_annot link.c:1993:16: warning: assignment to ‘int *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 1993 | annot = fz_next_annot (state.ctx, annot)) { | ^ link.c:2004:20: warning: assignment to ‘int *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2004 | for (annot = fz_first_annot (state.ctx, page->fzpage), i = 0; | ^ link.c:2006:20: warning: assignment to ‘int *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2006 | annot = fz_next_annot (state.ctx, annot), i++) { | ^ link.c:2009:20: warning: implicit declaration of function ‘fz_bound_annot’; did you mean ‘pdf_bound_annot’? [-Wimplicit-function-declaration] 2009 | rect = fz_bound_annot (state.ctx, annot); | ^~~~~~~~~~~~~~ | pdf_bound_annot link.c:2009:20: error: incompatible types when assigning to type ‘fz_rect’ {aka ‘struct fz_rect_s’} from type ‘int’ link.c: In function ‘ensureslinks’: link.c:2070:20: error: incompatible types when assigning to type ‘fz_rect’ {aka ‘struct fz_rect_s’} from type ‘int’ 2070 | rect = fz_bound_annot (state.ctx, page->annots[j].annot); | ^~~~~~~~~~~~~~ link.c: In function ‘getannot’: link.c:2377:20: error: incompatible types when assigning to type ‘fz_rect’ {aka ‘struct fz_rect_s’} from type ‘int’ 2377 | rect = fz_bound_annot (state.ctx, a->annot); | ^~~~~~~~~~~~~~ link.c: In function ‘setuppbo’: link.c:3558:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 3558 | #define GPA(n) (*(uintptr_t *) &state.n = (uintptr_t) wsigladdr (#n)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3559 | state.bo_usable = GPA (glBindBufferARB) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ link.c:3559:23: note: in expansion of macro ‘GPA’ 3559 | state.bo_usable = GPA (glBindBufferARB) | ^~~ link.c:3558:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 3558 | #define GPA(n) (*(uintptr_t *) &state.n = (uintptr_t) wsigladdr (#n)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3559 | state.bo_usable = GPA (glBindBufferARB) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3560 | && GPA (glUnmapBufferARB) | ~~~~~~~~~~~~~~~~~~~~~~~~ link.c:3560:12: note: in expansion of macro ‘GPA’ 3560 | && GPA (glUnmapBufferARB) | ^~~ link.c:3558:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 3558 | #define GPA(n) (*(uintptr_t *) &state.n = (uintptr_t) wsigladdr (#n)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3559 | state.bo_usable = GPA (glBindBufferARB) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3560 | && GPA (glUnmapBufferARB) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 3561 | && GPA (glMapBufferARB) | ~~~~~~~~~~~~~~~~~~~~~~ link.c:3561:12: note: in expansion of macro ‘GPA’ 3561 | && GPA (glMapBufferARB) | ^~~ link.c:3558:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 3558 | #define GPA(n) (*(uintptr_t *) &state.n = (uintptr_t) wsigladdr (#n)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3559 | state.bo_usable = GPA (glBindBufferARB) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3560 | && GPA (glUnmapBufferARB) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 3561 | && GPA (glMapBufferARB) | ~~~~~~~~~~~~~~~~~~~~~~~ 3562 | && GPA (glBufferDataARB) | ~~~~~~~~~~~~~~~~~~~~~~~ link.c:3562:12: note: in expansion of macro ‘GPA’ 3562 | && GPA (glBufferDataARB) | ^~~ link.c:3558:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 3558 | #define GPA(n) (*(uintptr_t *) &state.n = (uintptr_t) wsigladdr (#n)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3559 | state.bo_usable = GPA (glBindBufferARB) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3560 | && GPA (glUnmapBufferARB) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 3561 | && GPA (glMapBufferARB) | ~~~~~~~~~~~~~~~~~~~~~~~ 3562 | && GPA (glBufferDataARB) | ~~~~~~~~~~~~~~~~~~~~~~~~ 3563 | && GPA (glGenBuffersARB) | ~~~~~~~~~~~~~~~~~~~~~~~ link.c:3563:12: note: in expansion of macro ‘GPA’ 3563 | && GPA (glGenBuffersARB) | ^~~ link.c:3558:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 3558 | #define GPA(n) (*(uintptr_t *) &state.n = (uintptr_t) wsigladdr (#n)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3559 | state.bo_usable = GPA (glBindBufferARB) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3560 | && GPA (glUnmapBufferARB) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 3561 | && GPA (glMapBufferARB) | ~~~~~~~~~~~~~~~~~~~~~~~ 3562 | && GPA (glBufferDataARB) | ~~~~~~~~~~~~~~~~~~~~~~~~ 3563 | && GPA (glGenBuffersARB) | ~~~~~~~~~~~~~~~~~~~~~~~~ 3564 | && GPA (glDeleteBuffersARB); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ link.c:3564:12: note: in expansion of macro ‘GPA’ 3564 | && GPA (glDeleteBuffersARB); | ^~~ link.c: In function ‘ml_addannot’: link.c:3678:9: warning: implicit declaration of function ‘pdf_set_text_annot_position’ [-Wimplicit-function-declaration] 3678 | pdf_set_text_annot_position (state.ctx, annot, p); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ make: *** [Makefile:62: link.o] Error 2 * ERROR: app-text/llpp-30::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-text/llpp-30::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-text/llpp-30::gentoo'`. * The complete build log is located at '/var/log/portage/app-text:llpp-30:20191105-140320.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-text/llpp-30/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-text/llpp-30/temp/environment'. * Working directory: '/var/tmp/portage/app-text/llpp-30/work/llpp-30' * S: '/var/tmp/portage/app-text/llpp-30/work/llpp-30'