Source: t4kcommon
Version: 0.1.1-10
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ftbfs-20220525 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I..
> -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g
> -DCOMMON_DATA_PREFIX=\"/usr/share/t4k_common\" -DDEBUG -DUSE_T4K_PREFIX=1 -g
> -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
> -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL
> -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -pthread
> -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid
> -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1
> -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/glib-2.0
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2
> -I/usr/include/libpng16 -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL
> -pthread -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0
> -I/usr/include/x86_64-linux-gnu -I/usr/include/libmount -I/usr/include/blkid
> -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/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/libpng16 -I/usr/include/libxml2 -c -o t4k_sdl.lo t4k_sdl.c
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time
> -D_FORTIFY_SOURCE=2 -Wall -g -DCOMMON_DATA_PREFIX=\"/usr/share/t4k_common\"
> -DDEBUG -DUSE_T4K_PREFIX=1 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
> -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1
> -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT
> -I/usr/include/SDL -pthread -I/usr/include/pango-1.0 -I/usr/include/libmount
> -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo
> -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/harfbuzz
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
> -I/usr/include/freetype2 -I/usr/include/libpng16 -D_GNU_SOURCE=1 -D_REENTRANT
> -I/usr/include/SDL -pthread -I/usr/include/librsvg-2.0
> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu
> -I/usr/include/libmount -I/usr/include/blkid -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/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/libpng16 -I/usr/include/libxml2 -c t4k_main.c -fPIC -DPIC -o
> .libs/t4k_main.o
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time
> -D_FORTIFY_SOURCE=2 -Wall -g -DCOMMON_DATA_PREFIX=\"/usr/share/t4k_common\"
> -DDEBUG -DUSE_T4K_PREFIX=1 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
> -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1
> -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT
> -I/usr/include/SDL -pthread -I/usr/include/pango-1.0 -I/usr/include/libmount
> -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo
> -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/harfbuzz
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
> -I/usr/include/freetype2 -I/usr/include/libpng16 -D_GNU_SOURCE=1 -D_REENTRANT
> -I/usr/include/SDL -pthread -I/usr/include/librsvg-2.0
> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu
> -I/usr/include/libmount -I/usr/include/blkid -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/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/libpng16 -I/usr/include/libxml2 -c t4k_convert_utf.c -fPIC
> -DPIC -o .libs/t4k_convert_utf.o
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time
> -D_FORTIFY_SOURCE=2 -Wall -g -DCOMMON_DATA_PREFIX=\"/usr/share/t4k_common\"
> -DDEBUG -DUSE_T4K_PREFIX=1 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
> -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1
> -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT
> -I/usr/include/SDL -pthread -I/usr/include/pango-1.0 -I/usr/include/libmount
> -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo
> -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/harfbuzz
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
> -I/usr/include/freetype2 -I/usr/include/libpng16 -D_GNU_SOURCE=1 -D_REENTRANT
> -I/usr/include/SDL -pthread -I/usr/include/librsvg-2.0
> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu
> -I/usr/include/libmount -I/usr/include/blkid -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/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/libpng16 -I/usr/include/libxml2 -c t4k_linewrap.c -fPIC -DPIC
> -o .libs/t4k_linewrap.o
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time
> -D_FORTIFY_SOURCE=2 -Wall -g -DCOMMON_DATA_PREFIX=\"/usr/share/t4k_common\"
> -DDEBUG -DUSE_T4K_PREFIX=1 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
> -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1
> -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT
> -I/usr/include/SDL -pthread -I/usr/include/pango-1.0 -I/usr/include/libmount
> -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo
> -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/harfbuzz
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
> -I/usr/include/freetype2 -I/usr/include/libpng16 -D_GNU_SOURCE=1 -D_REENTRANT
> -I/usr/include/SDL -pthread -I/usr/include/librsvg-2.0
> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu
> -I/usr/include/libmount -I/usr/include/blkid -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/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/libpng16 -I/usr/include/libxml2 -c t4k_loaders.c -fPIC -DPIC
> -o .libs/t4k_loaders.o
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time
> -D_FORTIFY_SOURCE=2 -Wall -g -DCOMMON_DATA_PREFIX=\"/usr/share/t4k_common\"
> -DDEBUG -DUSE_T4K_PREFIX=1 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
> -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1
> -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT
> -I/usr/include/SDL -pthread -I/usr/include/pango-1.0 -I/usr/include/libmount
> -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo
> -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/harfbuzz
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
> -I/usr/include/freetype2 -I/usr/include/libpng16 -D_GNU_SOURCE=1 -D_REENTRANT
> -I/usr/include/SDL -pthread -I/usr/include/librsvg-2.0
> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu
> -I/usr/include/libmount -I/usr/include/blkid -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/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/libpng16 -I/usr/include/libxml2 -c t4k_audio.c -fPIC -DPIC -o
> .libs/t4k_audio.o
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time
> -D_FORTIFY_SOURCE=2 -Wall -g -DCOMMON_DATA_PREFIX=\"/usr/share/t4k_common\"
> -DDEBUG -DUSE_T4K_PREFIX=1 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
> -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1
> -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT
> -I/usr/include/SDL -pthread -I/usr/include/pango-1.0 -I/usr/include/libmount
> -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo
> -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/harfbuzz
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
> -I/usr/include/freetype2 -I/usr/include/libpng16 -D_GNU_SOURCE=1 -D_REENTRANT
> -I/usr/include/SDL -pthread -I/usr/include/librsvg-2.0
> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu
> -I/usr/include/libmount -I/usr/include/blkid -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/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/libpng16 -I/usr/include/libxml2 -c t4k_pixels.c -fPIC -DPIC
> -o .libs/t4k_pixels.o
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time
> -D_FORTIFY_SOURCE=2 -Wall -g -DCOMMON_DATA_PREFIX=\"/usr/share/t4k_common\"
> -DDEBUG -DUSE_T4K_PREFIX=1 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
> -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1
> -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT
> -I/usr/include/SDL -pthread -I/usr/include/pango-1.0 -I/usr/include/libmount
> -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo
> -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/harfbuzz
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
> -I/usr/include/freetype2 -I/usr/include/libpng16 -D_GNU_SOURCE=1 -D_REENTRANT
> -I/usr/include/SDL -pthread -I/usr/include/librsvg-2.0
> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu
> -I/usr/include/libmount -I/usr/include/blkid -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/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/libpng16 -I/usr/include/libxml2 -c t4k_sdl.c -fPIC -DPIC -o
> .libs/t4k_sdl.o
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time
> -D_FORTIFY_SOURCE=2 -Wall -g -DCOMMON_DATA_PREFIX=\"/usr/share/t4k_common\"
> -DDEBUG -DUSE_T4K_PREFIX=1 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
> -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1
> -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT
> -I/usr/include/SDL -pthread -I/usr/include/pango-1.0 -I/usr/include/libmount
> -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo
> -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/harfbuzz
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
> -I/usr/include/freetype2 -I/usr/include/libpng16 -D_GNU_SOURCE=1 -D_REENTRANT
> -I/usr/include/SDL -pthread -I/usr/include/librsvg-2.0
> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu
> -I/usr/include/libmount -I/usr/include/blkid -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/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/libpng16 -I/usr/include/libxml2 -c t4k_menu.c -fPIC -DPIC -o
> .libs/t4k_menu.o
> t4k_convert_utf.c: In function ‘T4K_ConvertFromUTF8’:
> t4k_convert_utf.c:48:10: warning: variable ‘bytes_converted’ set but not used
> [-Wunused-but-set-variable]
> 48 | size_t bytes_converted;
> | ^~~~~~~~~~~~~~~
> t4k_convert_utf.c: In function ‘T4K_ConvertToUTF8’:
> t4k_convert_utf.c:99:10: warning: variable ‘bytes_converted’ set but not used
> [-Wunused-but-set-variable]
> 99 | size_t bytes_converted;
> | ^~~~~~~~~~~~~~~
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time
> -D_FORTIFY_SOURCE=2 -Wall -g -DCOMMON_DATA_PREFIX=\"/usr/share/t4k_common\"
> -DDEBUG -DUSE_T4K_PREFIX=1 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
> -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1
> -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT
> -I/usr/include/SDL -pthread -I/usr/include/pango-1.0 -I/usr/include/libmount
> -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo
> -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/harfbuzz
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
> -I/usr/include/freetype2 -I/usr/include/libpng16 -D_GNU_SOURCE=1 -D_REENTRANT
> -I/usr/include/SDL -pthread -I/usr/include/librsvg-2.0
> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu
> -I/usr/include/libmount -I/usr/include/blkid -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/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/libpng16 -I/usr/include/libxml2 -c t4k_main.c -o t4k_main.o
> >/dev/null 2>&1
> t4k_menu.c: In function ‘menu_TranslateNode’:
> t4k_menu.c:226:45: warning: pointer targets in passing argument 2 of
> ‘xmlStrcasecmp’ differ in signedness [-Wpointer-sign]
> 226 | if(xmlStrcasecmp(current->name, "title") == 0) {
> | ^~~~~~~
> | |
> | char *
> In file included from /usr/include/libxml2/libxml/tree.h:18,
> from /usr/include/libxml2/libxml/parser.h:16,
> from t4k_menu.c:32:
> /usr/include/libxml2/libxml/xmlstring.h:72:57: note: expected ‘const xmlChar
> *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’
> 72 | const xmlChar *str2);
> | ~~~~~~~~~~~~~~~^~~~
> t4k_menu.c:227:56: warning: pointer targets in passing argument 1 of ‘strdup’
> differ in signedness [-Wpointer-sign]
> 227 | tnode->title = strdup(current->children->content);
> | ~~~~~~~~~~~~~~~~~^~~~~~~~~
> | |
> | xmlChar * {aka
> unsigned char *}
> In file included from t4k_menu.c:30:
> /usr/include/string.h:171:34: note: expected ‘const char *’ but argument is
> of type ‘xmlChar *’ {aka ‘unsigned char *’}
> 171 | extern char *strdup (const char *__s)
> | ~~~~~~~~~~~~^~~
> t4k_menu.c:228:52: warning: pointer targets in passing argument 2 of
> ‘xmlStrcasecmp’ differ in signedness [-Wpointer-sign]
> 228 | } else if(xmlStrcasecmp(current->name, "run") == 0) {
> | ^~~~~
> | |
> | char *
> In file included from /usr/include/libxml2/libxml/tree.h:18,
> from /usr/include/libxml2/libxml/parser.h:16,
> from t4k_menu.c:32:
> /usr/include/libxml2/libxml/xmlstring.h:72:57: note: expected ‘const xmlChar
> *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’
> 72 | const xmlChar *str2);
> | ~~~~~~~~~~~~~~~^~~~
> t4k_menu.c:229:44: warning: pointer targets in passing argument 1 of ‘strcmp’
> differ in signedness [-Wpointer-sign]
> 229 | if(strcmp(current->children->content,
> "RUN_MAIN_MENU") == 0)
> | ~~~~~~~~~~~~~~~~~^~~~~~~~~
> | |
> | xmlChar * {aka unsigned
> char *}
> In file included from t4k_menu.c:30:
> /usr/include/string.h:140:32: note: expected ‘const char *’ but argument is
> of type ‘xmlChar *’ {aka ‘unsigned char *’}
> 140 | extern int strcmp (const char *__s1, const char *__s2)
> | ~~~~~~~~~~~~^~~~
> t4k_menu.c:233:56: warning: pointer targets in passing argument 1 of
> ‘strcasecmp’ differ in signedness [-Wpointer-sign]
> 233 | if(strcasecmp(current->children->content,
> activities[i]) == 0)
> | ~~~~~~~~~~~~~~~~~^~~~~~~~~
> | |
> | xmlChar * {aka
> unsigned char *}
> In file included from /usr/include/string.h:446,
> from t4k_menu.c:30:
> /usr/include/strings.h:116:36: note: expected ‘const char *’ but argument is
> of type ‘xmlChar *’ {aka ‘unsigned char *’}
> 116 | extern int strcasecmp (const char *__s1, const char *__s2)
> | ~~~~~~~~~~~~^~~~
> t4k_menu.c:235:52: warning: pointer targets in passing argument 2 of
> ‘xmlStrcasecmp’ differ in signedness [-Wpointer-sign]
> 235 | } else if(xmlStrcasecmp(current->name, "param") == 0) {
> | ^~~~~~~
> | |
> | char *
> In file included from /usr/include/libxml2/libxml/tree.h:18,
> from /usr/include/libxml2/libxml/parser.h:16,
> from t4k_menu.c:32:
> /usr/include/libxml2/libxml/xmlstring.h:72:57: note: expected ‘const xmlChar
> *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’
> 72 | const xmlChar *str2);
> | ~~~~~~~~~~~~~~~^~~~
> t4k_menu.c:236:54: warning: pointer targets in passing argument 1 of ‘atoi’
> differ in signedness [-Wpointer-sign]
> 236 | tnode->param = atoi(current->children->content);
> | ~~~~~~~~~~~~~~~~~^~~~~~~~~
> | |
> | xmlChar * {aka
> unsigned char *}
> In file included from /usr/include/features.h:472,
> from
> /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
> from /usr/include/stdio.h:27,
> from t4k_menu.c:28:
> /usr/include/stdlib.h:361:1: note: expected ‘const char *’ but argument is of
> type ‘xmlChar *’ {aka ‘unsigned char *’}
> 361 | __NTH (atoi (const char *__nptr))
> | ^~~~~
> t4k_menu.c:237:52: warning: pointer targets in passing argument 2 of
> ‘xmlStrcasecmp’ differ in signedness [-Wpointer-sign]
> 237 | } else if(xmlStrcasecmp(current->name, "desc") == 0) {
> | ^~~~~~
> | |
> | char *
> In file included from /usr/include/libxml2/libxml/tree.h:18,
> from /usr/include/libxml2/libxml/parser.h:16,
> from t4k_menu.c:32:
> /usr/include/libxml2/libxml/xmlstring.h:72:57: note: expected ‘const xmlChar
> *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’
> 72 | const xmlChar *str2);
> | ~~~~~~~~~~~~~~~^~~~
> t4k_menu.c:238:55: warning: pointer targets in passing argument 1 of ‘strdup’
> differ in signedness [-Wpointer-sign]
> 238 | tnode->desc = strdup(current->children->content);
> | ~~~~~~~~~~~~~~~~~^~~~~~~~~
> | |
> | xmlChar * {aka
> unsigned char *}
> In file included from t4k_menu.c:30:
> /usr/include/string.h:171:34: note: expected ‘const char *’ but argument is
> of type ‘xmlChar *’ {aka ‘unsigned char *’}
> 171 | extern char *strdup (const char *__s)
> | ~~~~~~~~~~~~^~~
> t4k_menu.c:239:52: warning: pointer targets in passing argument 2 of
> ‘xmlStrcasecmp’ differ in signedness [-Wpointer-sign]
> 239 | } else if(xmlStrcasecmp(current->name, "sprite") == 0) {
> | ^~~~~~~~
> | |
> | char *
> In file included from /usr/include/libxml2/libxml/tree.h:18,
> from /usr/include/libxml2/libxml/parser.h:16,
> from t4k_menu.c:32:
> /usr/include/libxml2/libxml/xmlstring.h:72:57: note: expected ‘const xmlChar
> *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’
> 72 | const xmlChar *str2);
> | ~~~~~~~~~~~~~~~^~~~
> t4k_menu.c:240:60: warning: pointer targets in passing argument 1 of ‘strdup’
> differ in signedness [-Wpointer-sign]
> 240 | tnode->icon_name = strdup(current->children->content);
> | ~~~~~~~~~~~~~~~~~^~~~~~~~~
> | |
> | xmlChar *
> {aka unsigned char *}
> In file included from t4k_menu.c:30:
> /usr/include/string.h:171:34: note: expected ‘const char *’ but argument is
> of type ‘xmlChar *’ {aka ‘unsigned char *’}
> 171 | extern char *strdup (const char *__s)
> | ~~~~~~~~~~~~^~~
> t4k_menu.c:241:52: warning: pointer targets in passing argument 2 of
> ‘xmlStrcasecmp’ differ in signedness [-Wpointer-sign]
> 241 | } else if(xmlStrcasecmp(current->name, "entries") == 0) {
> | ^~~~~~~~~
> | |
> | char *
> In file included from /usr/include/libxml2/libxml/tree.h:18,
> from /usr/include/libxml2/libxml/parser.h:16,
> from t4k_menu.c:32:
> /usr/include/libxml2/libxml/xmlstring.h:72:57: note: expected ‘const xmlChar
> *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’
> 72 | const xmlChar *str2);
> | ~~~~~~~~~~~~~~~^~~~
> t4k_menu.c:245:61: warning: pointer targets in passing argument 1 of ‘atoi’
> differ in signedness [-Wpointer-sign]
> 245 | tnode->submenu_size =
> atoi(current->children->content);
> | ~~~~~~~~~~~~~~~~~^~~~~~~~~
> | |
> | xmlChar *
> {aka unsigned char *}
> In file included from /usr/include/features.h:472,
> from
> /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
> from /usr/include/stdio.h:27,
> from t4k_menu.c:28:
> /usr/include/stdlib.h:361:1: note: expected ‘const char *’ but argument is of
> type ‘xmlChar *’ {aka ‘unsigned char *’}
> 361 | __NTH (atoi (const char *__nptr))
> | ^~~~~
> t4k_menu.c:252:38: warning: pointer targets in passing argument 2 of
> ‘xmlStrcasecmp’ differ in signedness [-Wpointer-sign]
> 252 | if(xmlStrcasecmp(node->name, "menu") == 0) {
> | ^~~~~~
> | |
> | char *
> In file included from /usr/include/libxml2/libxml/tree.h:18,
> from /usr/include/libxml2/libxml/parser.h:16,
> from t4k_menu.c:32:
> /usr/include/libxml2/libxml/xmlstring.h:72:57: note: expected ‘const xmlChar
> *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’
> 72 | const xmlChar *str2);
> | ~~~~~~~~~~~~~~~^~~~
> t4k_menu.c:254:23: warning: assignment to ‘xmlAttr *’ {aka ‘struct _xmlAttr
> *’} from incompatible pointer type ‘struct _xmlNode *’
> [-Wincompatible-pointer-types]
> 254 | for(child = node->children; child; child = child->next) {
> | ^
> t4k_menu.c:256:62: warning: passing argument 1 of ‘menu_TranslateNode’ from
> incompatible pointer type [-Wincompatible-pointer-types]
> 256 | tnode->submenu[i++] = menu_TranslateNode(child);
> | ^~~~~
> | |
> | xmlAttr
> * {aka struct _xmlAttr *}
> t4k_menu.c:217:39: note: expected ‘xmlNode *’ {aka ‘struct _xmlNode *’} but
> argument is of type ‘xmlAttr *’ {aka ‘struct _xmlAttr *’}
> 217 | MenuNode *menu_TranslateNode(xmlNode *node) {
> | ~~~~~~~~~^~~~
> t4k_menu.c: In function ‘T4K_LoadMenu’:
> t4k_menu.c:372:32: warning: passing argument 1 of ‘menu_LoadFile’ discards
> ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
> 372 | menus[index] = menu_LoadFile(fn);
> | ^~
> t4k_menu.c:265:31: note: expected ‘char *’ but argument is of type ‘const
> char *’
> 265 | MenuNode *menu_LoadFile(char *file) {
> | ~~~~~~^~~~
> t4k_menu.c: In function ‘T4K_RunMenu’:
> t4k_menu.c:446:31: warning: passing argument 1 of
> ‘internal_res_switch_handler’ from incompatible pointer type
> [-Wincompatible-pointer-types]
> 446 | internal_res_switch_handler(&T4K_PrerenderAll);
> | ^~~~~~~~~~~~~~~~~
> | |
> | void (*)(void)
> In file included from t4k_menu.c:35:
> t4k_globals.h:76:52: note: expected ‘ResSwitchCallback’ {aka ‘void (*)(int,
> int)’} but argument is of type ‘void (*)(void)’
> 76 | void internal_res_switch_handler(ResSwitchCallback callback);
> | ~~~~~~~~~~~~~~~~~~^~~~~~~~
> t4k_menu.c:877:24: warning: comparison with string literal results in
> unspecified behavior [-Waddress]
> 877 | if (desc != "")
> | ^~
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time
> -D_FORTIFY_SOURCE=2 -Wall -g -DCOMMON_DATA_PREFIX=\"/usr/share/t4k_common\"
> -DDEBUG -DUSE_T4K_PREFIX=1 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
> -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1
> -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT
> -I/usr/include/SDL -pthread -I/usr/include/pango-1.0 -I/usr/include/libmount
> -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo
> -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/harfbuzz
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
> -I/usr/include/freetype2 -I/usr/include/libpng16 -D_GNU_SOURCE=1 -D_REENTRANT
> -I/usr/include/SDL -pthread -I/usr/include/librsvg-2.0
> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu
> -I/usr/include/libmount -I/usr/include/blkid -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/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/libpng16 -I/usr/include/libxml2 -c t4k_audio.c -o t4k_audio.o
> >/dev/null 2>&1
> t4k_menu.c: At top level:
> t4k_menu.c:1264:6: error: conflicting types for ‘set_font_size’; have
> ‘void(_Bool)’
> 1264 | void set_font_size(bool uniform)
> | ^~~~~~~~~~~~~
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time
> -D_FORTIFY_SOURCE=2 -Wall -g -DCOMMON_DATA_PREFIX=\"/usr/share/t4k_common\"
> -DDEBUG -DUSE_T4K_PREFIX=1 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
> -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1
> -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT
> -I/usr/include/SDL -pthread -I/usr/include/pango-1.0 -I/usr/include/libmount
> -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo
> -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/harfbuzz
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
> -I/usr/include/freetype2 -I/usr/include/libpng16 -D_GNU_SOURCE=1 -D_REENTRANT
> -I/usr/include/SDL -pthread -I/usr/include/librsvg-2.0
> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu
> -I/usr/include/libmount -I/usr/include/blkid -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/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/libpng16 -I/usr/include/libxml2 -c t4k_convert_utf.c -o
> t4k_convert_utf.o >/dev/null 2>&1
> t4k_menu.c:1265:1: note: an argument type that has a default promotion cannot
> match an empty parameter name list declaration
> 1265 | {
> | ^
> t4k_menu.c:154:17: note: previous declaration of ‘set_font_size’ with type
> ‘void()’
> 154 | void set_font_size();
> | ^~~~~~~~~~~~~
> t4k_sdl.c: In function ‘T4K_TransWipe’:
> t4k_sdl.c:761:7: warning: variable ‘frame’ set but not used
> [-Wunused-but-set-variable]
> 761 | int frame;
> | ^~~~~
> make[4]: *** [Makefile:607: t4k_menu.lo] Error 1
The full build log is available from:
http://qa-logs.debian.net/2022/05/25/t4kcommon_0.1.1-10_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220525;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220525&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.