Source: emacs-pdf-tools
Version: 0.80-1
Severity: serious
Justification: fails to build from source (but built successfully in the past)
Tags: sid buster

emacs-pdf-tools FTBFS against the latest libsynctex available in unstable:
| gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall 
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
-I/usr/include/poppler/glib -I/usr/include/poppler -I/usr/include/cairo 
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
-I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 
-I/usr/include/libpng16 -I/usr/include/poppler -I/usr/include/libpng16 -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -MT epdfinfo-epdfinfo.o -MD -MP -MF 
.deps/epdfinfo-epdfinfo.Tpo -c -o epdfinfo-epdfinfo.o `test -f 'epdfinfo.c' || 
echo './'`epdfinfo.c
| epdfinfo.c: In function 'cmd_synctex_forward_search':
| epdfinfo.c:2974:3: error: unknown type name 'synctex_scanner_t'; use 'struct' 
keyword to refer to the type
|    synctex_scanner_t scanner = NULL;
|    ^~~~~~~~~~~~~~~~~
|    struct 
| epdfinfo.c:2974:31: warning: initialization makes integer from pointer 
without a cast [-Wint-conversion]
|    synctex_scanner_t scanner = NULL;
|                                ^~~~
| epdfinfo.c:2975:3: error: unknown type name 'synctex_node_t'; use 'struct' 
keyword to refer to the type
|    synctex_node_t node;
|    ^~~~~~~~~~~~~~
|    struct 
| epdfinfo.c:2981:11: warning: assignment makes integer from pointer without a 
cast [-Wint-conversion]
|    scanner = synctex_scanner_new_with_output_file (doc->filename, NULL, 1);
|            ^
| In file included from epdfinfo.c:43:0:
| epdfinfo.c:2985:41: warning: passing argument 1 of 'synctex_display_query' 
makes pointer from integer without a cast [-Wint-conversion]
|    perror_if_not (synctex_display_query (scanner, source, line, column)
|                                          ^
| epdfinfo.h:123:12: note: in definition of macro 'perror_if_not'
|      if (! (expr))                               \
|             ^~~~
| In file included from epdfinfo.c:42:0:
| /usr/include/synctex/synctex_parser.h:202:22: note: expected 
'synctex_scanner_p {aka struct synctex_scanner_t *}' but argument is of type 
'int'
|      synctex_status_t synctex_display_query(synctex_scanner_p scanner,const 
char *  name,int line,int column, int page_hint);
|                       ^~~~~~~~~~~~~~~~~~~~~
| In file included from epdfinfo.c:43:0:
| epdfinfo.c:2985:18: error: too few arguments to function 
'synctex_display_query'
|    perror_if_not (synctex_display_query (scanner, source, line, column)
|                   ^
| epdfinfo.h:123:12: note: in definition of macro 'perror_if_not'
|      if (! (expr))                               \
|             ^~~~
| In file included from epdfinfo.c:42:0:
| /usr/include/synctex/synctex_parser.h:202:22: note: declared here
|      synctex_status_t synctex_display_query(synctex_scanner_p scanner,const 
char *  name,int line,int column, int page_hint);
|                       ^~~~~~~~~~~~~~~~~~~~~
| In file included from epdfinfo.c:43:0:
| epdfinfo.c:2986:28: warning: implicit declaration of function 
'synctex_next_result'; did you mean 'synctex_node_height'? 
[-Wimplicit-function-declaration]
|                  && (node = synctex_next_result (scanner)),
|                             ^
| epdfinfo.h:123:12: note: in definition of macro 'perror_if_not'
|      if (! (expr))                               \
|             ^~~~
| epdfinfo.c:2989:27: warning: passing argument 1 of 'synctex_node_page' makes 
pointer from integer without a cast [-Wint-conversion]
|    pn = synctex_node_page (node);
|                            ^~~~
| In file included from epdfinfo.c:42:0:
| /usr/include/synctex/synctex_parser.h:293:9: note: expected 'synctex_node_p 
{aka struct synctex_node_t *}' but argument is of type 'int'
|      int synctex_node_page(synctex_node_p node);
|          ^~~~~~~~~~~~~~~~~
| epdfinfo.c:2992:37: warning: passing argument 1 of 
'synctex_node_box_visible_h' makes pointer from integer without a cast 
[-Wint-conversion]
|    x1 =  synctex_node_box_visible_h (node);
|                                      ^~~~
| In file included from epdfinfo.c:42:0:
| /usr/include/synctex/synctex_parser.h:239:11: note: expected 'synctex_node_p 
{aka struct synctex_node_t *}' but argument is of type 'int'
|      float synctex_node_box_visible_h(synctex_node_p node);
|            ^~~~~~~~~~~~~~~~~~~~~~~~~~
| epdfinfo.c:2993:37: warning: passing argument 1 of 
'synctex_node_box_visible_v' makes pointer from integer without a cast 
[-Wint-conversion]
|    y1 =  synctex_node_box_visible_v (node)
|                                      ^~~~
| In file included from epdfinfo.c:42:0:
| /usr/include/synctex/synctex_parser.h:240:11: note: expected 'synctex_node_p 
{aka struct synctex_node_t *}' but argument is of type 'int'
|      float synctex_node_box_visible_v(synctex_node_p node);
|            ^~~~~~~~~~~~~~~~~~~~~~~~~~
| epdfinfo.c:2994:44: warning: passing argument 1 of 
'synctex_node_box_visible_height' makes pointer from integer without a cast 
[-Wint-conversion]
|          - synctex_node_box_visible_height (node);
|                                             ^~~~
| In file included from epdfinfo.c:42:0:
| /usr/include/synctex/synctex_parser.h:242:11: note: expected 'synctex_node_p 
{aka struct synctex_node_t *}' but argument is of type 'int'
|      float synctex_node_box_visible_height(synctex_node_p node);
|            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| epdfinfo.c:2995:40: warning: passing argument 1 of 
'synctex_node_box_visible_width' makes pointer from integer without a cast 
[-Wint-conversion]
|    x2 = synctex_node_box_visible_width (node) + x1;
|                                         ^~~~
| In file included from epdfinfo.c:42:0:
| /usr/include/synctex/synctex_parser.h:241:11: note: expected 'synctex_node_p 
{aka struct synctex_node_t *}' but argument is of type 'int'
|      float synctex_node_box_visible_width(synctex_node_p node);
|            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| epdfinfo.c:2996:40: warning: passing argument 1 of 
'synctex_node_box_visible_depth' makes pointer from integer without a cast 
[-Wint-conversion]
|    y2 = synctex_node_box_visible_depth (node)
|                                         ^~~~
| In file included from epdfinfo.c:42:0:
| /usr/include/synctex/synctex_parser.h:243:11: note: expected 'synctex_node_p 
{aka struct synctex_node_t *}' but argument is of type 'int'
|      float synctex_node_box_visible_depth(synctex_node_p node);
|            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| epdfinfo.c:2997:43: warning: passing argument 1 of 
'synctex_node_box_visible_height' makes pointer from integer without a cast 
[-Wint-conversion]
|         + synctex_node_box_visible_height (node) + y1;
|                                            ^~~~
| In file included from epdfinfo.c:42:0:
| /usr/include/synctex/synctex_parser.h:242:11: note: expected 'synctex_node_p 
{aka struct synctex_node_t *}' but argument is of type 'int'
|      float synctex_node_box_visible_height(synctex_node_p node);
|            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| epdfinfo.c:3010:38: warning: passing argument 1 of 'synctex_scanner_free' 
makes pointer from integer without a cast [-Wint-conversion]
|    if (scanner) synctex_scanner_free (scanner);
|                                       ^~~~~~~
| In file included from epdfinfo.c:42:0:
| /usr/include/synctex/synctex_parser.h:120:9: note: expected 
'synctex_scanner_p {aka struct synctex_scanner_t *}' but argument is of type 
'int'
|      int synctex_scanner_free(synctex_scanner_p scanner);
|          ^~~~~~~~~~~~~~~~~~~~
| epdfinfo.c: In function 'cmd_synctex_backward_search':
| epdfinfo.c:3029:3: error: unknown type name 'synctex_scanner_t'; use 'struct' 
keyword to refer to the type
|    synctex_scanner_t scanner = NULL;
|    ^~~~~~~~~~~~~~~~~
|    struct 
| epdfinfo.c:3029:31: warning: initialization makes integer from pointer 
without a cast [-Wint-conversion]
|    synctex_scanner_t scanner = NULL;
|                                ^~~~
| epdfinfo.c:3032:3: error: unknown type name 'synctex_node_t'; use 'struct' 
keyword to refer to the type
|    synctex_node_t node;
|    ^~~~~~~~~~~~~~
|    struct 
| epdfinfo.c:3036:11: warning: assignment makes integer from pointer without a 
cast [-Wint-conversion]
|    scanner = synctex_scanner_new_with_output_file (doc->filename, NULL, 1);
|            ^
| epdfinfo.c:3046:29: warning: passing argument 1 of 'synctex_edit_query' makes 
pointer from integer without a cast [-Wint-conversion]
|    if (! synctex_edit_query (scanner, pn, x, y)
|                              ^~~~~~~
| In file included from epdfinfo.c:42:0:
| /usr/include/synctex/synctex_parser.h:203:22: note: expected 
'synctex_scanner_p {aka struct synctex_scanner_t *}' but argument is of type 
'int'
|      synctex_status_t synctex_edit_query(synctex_scanner_p scanner,int 
page,float h,float v);
|                       ^~~~~~~~~~~~~~~~~~
| epdfinfo.c:3049:66: warning: passing argument 1 of 'synctex_node_tag' makes 
pointer from integer without a cast [-Wint-conversion]
|              synctex_scanner_get_name (scanner, synctex_node_tag (node))))
|                                                                   ^~~~
| In file included from epdfinfo.c:42:0:
| /usr/include/synctex/synctex_parser.h:283:9: note: expected 'synctex_node_p 
{aka struct synctex_node_t *}' but argument is of type 'int'
|      int synctex_node_tag(synctex_node_p node);
|          ^~~~~~~~~~~~~~~~
| epdfinfo.c:3049:39: warning: passing argument 1 of 'synctex_scanner_get_name' 
makes pointer from integer without a cast [-Wint-conversion]
|              synctex_scanner_get_name (scanner, synctex_node_tag (node))))
|                                        ^~~~~~~
| In file included from epdfinfo.c:42:0:
| /usr/include/synctex/synctex_parser.h:323:18: note: expected 
'synctex_scanner_p {aka struct synctex_scanner_t *}' but argument is of type 
'int'
|      const char * synctex_scanner_get_name(synctex_scanner_p scanner,int tag);
|                   ^~~~~~~~~~~~~~~~~~~~~~~~
| epdfinfo.c:3055:29: warning: passing argument 1 of 'synctex_node_line' makes 
pointer from integer without a cast [-Wint-conversion]
|    line = synctex_node_line (node);
|                              ^~~~
| In file included from epdfinfo.c:42:0:
| /usr/include/synctex/synctex_parser.h:284:9: note: expected 'synctex_node_p 
{aka struct synctex_node_t *}' but argument is of type 'int'
|      int synctex_node_line(synctex_node_p node);
|          ^~~~~~~~~~~~~~~~~
| epdfinfo.c:3056:33: warning: passing argument 1 of 'synctex_node_column' 
makes pointer from integer without a cast [-Wint-conversion]
|    column = synctex_node_column (node);
|                                  ^~~~
| In file included from epdfinfo.c:42:0:
| /usr/include/synctex/synctex_parser.h:286:9: note: expected 'synctex_node_p 
{aka struct synctex_node_t *}' but argument is of type 'int'
|      int synctex_node_column(synctex_node_p node);
|          ^~~~~~~~~~~~~~~~~~~
| epdfinfo.c:3065:38: warning: passing argument 1 of 'synctex_scanner_free' 
makes pointer from integer without a cast [-Wint-conversion]
|    if (scanner) synctex_scanner_free (scanner);
|                                       ^~~~~~~
| In file included from epdfinfo.c:42:0:
| /usr/include/synctex/synctex_parser.h:120:9: note: expected 
'synctex_scanner_p {aka struct synctex_scanner_t *}' but argument is of type 
'int'
|      int synctex_scanner_free(synctex_scanner_p scanner);
|          ^~~~~~~~~~~~~~~~~~~~
| make[4]: *** [Makefile:519: epdfinfo-epdfinfo.o] Error 1

Full build log can be found at
https://people.debian.org/~sramacher/logs/emacs-pdf-tools_amd64-2018-04-22T09:24:38Z.build

Cheers
-- 
Sebastian Ramacher

Attachment: signature.asc
Description: PGP signature

Reply via email to