Bug#964680: ibus-pinyin: FTBFS: lmyoslib.c:68:36: error: expected ‘)’ before ‘LUA_QS’
Source: ibus-pinyin
Version: 1.5.0-6
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200709 ftbfs-bullseye
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 -pthread -I/usr/include/ibus-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/lua5.4 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c -o libpylua_la-lmyoslib.lo `test -f 'lmyoslib.c' || echo './'`lmyoslib.c
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/ibus-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/lua5.4 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c lua-plugin.c -fPIC -DPIC -o .libs/libpylua_la-lua-plugin.o
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/ibus-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/lua5.4 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c lua-plugin-init.c -fPIC -DPIC -o .libs/libpylua_la-lua-plugin-init.o
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/ibus-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/lua5.4 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c lmyoslib.c -fPIC -DPIC -o .libs/libpylua_la-lmyoslib.o
> lua-ext-console.c: In function ‘main’:
> lua-ext-console.c:104:3: warning: ‘g_type_init’ is deprecated [-Wdeprecated-declarations]
> 104 | g_type_init();
> | ^~~~~~~~~~~
> In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
> from /usr/include/glib-2.0/gobject/gbinding.h:29,
> from /usr/include/glib-2.0/glib-object.h:22,
> from lua-plugin.h:30,
> from lua-ext-console.c:28:
> /usr/include/glib-2.0/gobject/gtype.h:691:23: note: declared here
> 691 | void g_type_init (void);
> | ^~~~~~~~~~~
> lua-ext-console.c:129:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
> 129 | if ( 0 == strcmp("i", strs[0]) )
> | ^~
> lua-ext-console.c:131:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
> 131 | break;
> | ^~~~~
> lmyoslib.c: In function ‘getfield’:
> lmyoslib.c:68:36: error: expected ‘)’ before ‘LUA_QS’
> 68 | return luaL_error(L, "field " LUA_QS " missing in date table", key);
> | ^~~~~~~
> | )
> make[3]: *** [Makefile:798: libpylua_la-lmyoslib.lo] Error 1
The full build log is available from:
http://qa-logs.debian.net/2020/07/09/ibus-pinyin_1.5.0-6_unstable.log
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!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
Reply to: