Bug#896566: gummi: FTBFS against new libsyntex
Sebastian Ramacher
sramacher at debian.org
Sun Apr 22 12:17:48 BST 2018
Source: gummi
Version: 0.6.6-4
Severity: serious
Justification: fails to build from source (but built successfully in the past)
Tags: sid buster
gummi fails to build against the new version of libsyntex in unstable:
| gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/fribidi -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -I/usr/include/gtksourceview-2.0 -I/usr/include/libxml2 -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/fribidi -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -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 -pthread -I/usr/include/gtkspell-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/fribidi -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/synctex -export-dynamic -Wall -O2 -DGUMMI_LIBS=\"/usr/lib/x86_64-linux-gnu/gummi\" -DGUMMI_DATA=\"/usr/share/gummi\" -DGUMMI_LOCALES=\"/usr/share/locale\" -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o gui/gui-preview.o gui/gui-preview.c
| gui/gui-preview.c: In function 'synctex_run_parser':
| gui/gui-preview.c:1044:5: error: unknown type name 'synctex_scanner_t'; use 'struct' keyword to refer to the type
| synctex_scanner_t sync_scanner = synctex_scanner_new_with_output_file(pc->uri, C_TMPDIR, 1);
| ^~~~~~~~~~~~~~~~~
| struct
| gui/gui-preview.c:1044:38: warning: initialization makes integer from pointer without a cast [-Wint-conversion]
| synctex_scanner_t sync_scanner = synctex_scanner_new_with_output_file(pc->uri, C_TMPDIR, 1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| gui/gui-preview.c:1048:30: warning: passing argument 1 of 'synctex_display_query' makes pointer from integer without a cast [-Wint-conversion]
| if(synctex_display_query(sync_scanner, tex_file, line, column)>0) {
| ^~~~~~~~~~~~
| In file included from gui/gui-preview.c:51: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);
| ^~~~~~~~~~~~~~~~~~~~~
| gui/gui-preview.c:1048:8: error: too few arguments to function 'synctex_display_query'
| if(synctex_display_query(sync_scanner, tex_file, line, column)>0) {
| ^~~~~~~~~~~~~~~~~~~~~
| In file included from gui/gui-preview.c:51: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);
| ^~~~~~~~~~~~~~~~~~~~~
| gui/gui-preview.c:1049:9: error: unknown type name 'synctex_node_t'; use 'struct' keyword to refer to the type
| synctex_node_t node;
| ^~~~~~~~~~~~~~
| struct
| gui/gui-preview.c:1055:24: warning: implicit declaration of function 'synctex_next_result'; did you mean 'synctex_node_height'? [-Wimplicit-function-declaration]
| while ((node = synctex_next_result(sync_scanner))) {
| ^~~~~~~~~~~~~~~~~~~
| synctex_node_height
| gui/gui-preview.c:1059:42: warning: passing argument 1 of 'synctex_node_page' makes pointer from integer without a cast [-Wint-conversion]
| sn->page = synctex_node_page(node) - 1; // syncTeX counts from 1, but poppler from 0
| ^~~~
| In file included from gui/gui-preview.c:51: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);
| ^~~~~~~~~~~~~~~~~
| gui/gui-preview.c:1060:48: warning: passing argument 1 of 'synctex_node_box_visible_h' makes pointer from integer without a cast [-Wint-conversion]
| sn->x = synctex_node_box_visible_h(node);
| ^~~~
| In file included from gui/gui-preview.c:51: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);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| gui/gui-preview.c:1061:48: warning: passing argument 1 of 'synctex_node_box_visible_v' makes pointer from integer without a cast [-Wint-conversion]
| sn->y = synctex_node_box_visible_v(node);
| ^~~~
| In file included from gui/gui-preview.c:51: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);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| gui/gui-preview.c:1062:56: warning: passing argument 1 of 'synctex_node_box_visible_width' makes pointer from integer without a cast [-Wint-conversion]
| sn->width = synctex_node_box_visible_width(node);
| ^~~~
| In file included from gui/gui-preview.c:51: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);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| gui/gui-preview.c:1063:58: warning: passing argument 1 of 'synctex_node_box_visible_height' makes pointer from integer without a cast [-Wint-conversion]
| sn->height = synctex_node_box_visible_height(node);
| ^~~~
| In file included from gui/gui-preview.c:51: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);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| gui/gui-preview.c:1071:26: warning: passing argument 1 of 'synctex_scanner_free' makes pointer from integer without a cast [-Wint-conversion]
| synctex_scanner_free(sync_scanner);
| ^~~~~~~~~~~~
| In file included from gui/gui-preview.c:51: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);
| ^~~~~~~~~~~~~~~~~~~~
| gui/gui-preview.c: In function 'on_button_pressed':
| gui/gui-preview.c:2041:9: error: unknown type name 'synctex_scanner_t'; use 'struct' keyword to refer to the type
| synctex_scanner_t sync_scanner = synctex_scanner_new_with_output_file(pc->uri, C_TMPDIR, 1);
| ^~~~~~~~~~~~~~~~~
| struct
| gui/gui-preview.c:2041:42: warning: initialization makes integer from pointer without a cast [-Wint-conversion]
| synctex_scanner_t sync_scanner = synctex_scanner_new_with_output_file(pc->uri, C_TMPDIR, 1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| gui/gui-preview.c:2043:31: warning: passing argument 1 of 'synctex_edit_query' makes pointer from integer without a cast [-Wint-conversion]
| if(synctex_edit_query(sync_scanner, page+1, x/pc->scale, y/pc->scale)>0) {
| ^~~~~~~~~~~~
| In file included from gui/gui-preview.c:51: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);
| ^~~~~~~~~~~~~~~~~~
| gui/gui-preview.c:2044:13: error: unknown type name 'synctex_node_t'; use 'struct' keyword to refer to the type
| synctex_node_t node;
| ^~~~~~~~~~~~~~
| struct
| gui/gui-preview.c:2052:93: warning: passing argument 1 of 'synctex_node_tag' makes pointer from integer without a cast [-Wint-conversion]
| const gchar *file = synctex_scanner_get_name(sync_scanner, synctex_node_tag(node));
| ^~~~
| In file included from gui/gui-preview.c:51: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);
| ^~~~~~~~~~~~~~~~
| gui/gui-preview.c:2052:62: warning: passing argument 1 of 'synctex_scanner_get_name' makes pointer from integer without a cast [-Wint-conversion]
| const gchar *file = synctex_scanner_get_name(sync_scanner, synctex_node_tag(node));
| ^~~~~~~~~~~~
| In file included from gui/gui-preview.c:51: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);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| gui/gui-preview.c:2053:47: warning: passing argument 1 of 'synctex_node_line' makes pointer from integer without a cast [-Wint-conversion]
| gint line = synctex_node_line(node);
| ^~~~
| In file included from gui/gui-preview.c:51: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);
| ^~~~~~~~~~~~~~~~~
| gui/gui-preview.c:2063:30: warning: passing argument 1 of 'synctex_scanner_free' makes pointer from integer without a cast [-Wint-conversion]
| synctex_scanner_free(sync_scanner);
| ^~~~~~~~~~~~
| In file included from gui/gui-preview.c:51: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);
| ^~~~~~~~~~~~~~~~~~~~
| In file included from ./snippets.h:38:0,
| from ./gui/gui-snippets.h:36,
| from ./gui/gui-main.h:41,
| from gui/gui-preview.c:45:
| gui/gui-preview.c: At top level:
| ./editor.h:110:13: warning: inline function 'editor_scroll_to_cursor' declared but never defined
| inline void editor_scroll_to_cursor (GuEditor* ec);
| ^~~~~~~~~~~~~~~~~~~~~~~
| make[3]: *** [Makefile:507: gui/gui-preview.o] Error 1
Full build log is available at
https://people.debian.org/~sramacher/logs/gummi_amd64-2018-04-22T09:25:54Z.build
Cheers
--
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20180422/1dce35a0/attachment.sig>
More information about the debian-science-maintainers
mailing list