https://launchpadlibrarian.net/418305550/buildlog_ubuntu-cosmic-s390x.ibus_1.5.19-1ubuntu1_BUILDING.txt.gz
this is different than the ftbfs in disco (LP: #1823423):
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src -include ../../config.h -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -pthread -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/s390x-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/libdrm -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -DG_LOG_DOMAIN=\"IBUS\" -DBINDIR=\"/usr/bin\" -DPKGDATADIR=\"/usr/share/ibus\" -DIBUS_DISABLE_DEPRECATED -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-function -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c -o keybindingmanager.o keybindingmanager.c
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src -include ../../config.h -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -pthread -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/s390x-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/libdrm -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -DG_LOG_DOMAIN=\"IBUS\" -DBINDIR=\"/usr/bin\" -DPKGDATADIR=\"/usr/share/ibus\" -DIBUS_DISABLE_DEPRECATED -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-function -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c -o panel.o panel.c
In file included from ../../src/ibusobject.h:41,
from ../../src/ibus.h:31,
from panel.c:30:
../../src/ibusdebug.h:49:31: warning: ISO C does not permit named variadic macros [-Wvariadic-macros]
#define ibus_warning(msg, args...) \
^~~
In file included from ../../src/ibusobject.h:41,
from ../../src/ibus.h:31,
from keybindingmanager.c:19:
../../src/ibusdebug.h:49:31: warning: ISO C does not permit named variadic macros [-Wvariadic-macros]
#define ibus_warning(msg, args...) \
^~~
keybindingmanager.c: In function ‘_vala_XIGrabModifiers_array_free’:
keybindingmanager.c:812:6: warning: statement with no effect [-Wunused-value]
(&array[i]);
~^~~~~~~~~~
keybindingmanager.c: In function ‘keybinding_manager_grab_keycode’:
keybindingmanager.c:1039:4: warning: statement with no effect [-Wunused-value]
(&evmask);
~^~~~~~~~
keybindingmanager.c: At top level:
keybindingmanager.c:1460:1: warning: data definition has no type or storage class
ing_manager_type_id__volatile;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
keybindingmanager.c:1460:1: warning: type defaults to ‘int’ in declaration of ‘ing_manager_type_id__volatile’ [-Wimplicit-int]
keybindingmanager.c:1461:1: error: expected identifier or ‘(’ before ‘}’ token
}
^
panel.c: In function ‘panel_init_status_icon’:
panel.c:1796:2: warning: ‘gtk_status_icon_new’ is deprecated [-Wdeprecated-declarations]
_tmp0_ = gtk_status_icon_new ();
^~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:275,
from panel.c:32:
Thank you for the report but Cosmic build issues are low priority at this point, tagging as rls-cc-notfixing , that doesn't stop fixing those problems but they are not going to be tracked as rls issues