[Debian-on-mobile-maintainers] Bug#1068916: Bug#1068916: phosh: FTBFS on mips64el, riscv64, s390x: 24/26 phosh:tools / check-exported-symbols FAIL 0.03s exit status 1

Guido Günther agx at sigxcpu.org
Sat Apr 13 12:48:46 BST 2024


Hi Sebastian, Matthias,

On Sat, Apr 13, 2024 at 12:38:59PM +0200, Sebastian Ramacher wrote:
[..snip..]
> 00000000000ec388 g    DF .text	00000000000000a4  Base        phosh_arrow_get_progress

Thanks for filing this! The failing test is a symbol visibility check to
check that no unwanted symbols are being exported. Basically we check
that we only export the symbols from `phosh-exported-symbols.txt`) which
looks like:

{
   phosh_shell_get_default;

   …

   gtk_filter_list_model_*;
   gtk_sort_list_model_*;
};

Matthias do you have an idea why all the symbols are visible on the
above three architectures but not on others although we don't use
`--export-dynamic`?

This is the relevant linker line from the log at:

https://buildd.debian.org/status/fetch.php?pkg=phosh&arch=mips64el&ver=0.37.1-1&stamp=1712010515&raw=0

> [485/1929] cc  -o src/phosh src/phosh.p/meson-generated_.._.._subprojects_libcall-ui_src_cui-enums.c.o src/phosh.p/meson-generated_.._phosh-enums.c.o src/phosh.p/meson-generated_.._phosh-marshalers.c.o src/phosh.p/meson-generated_.._phosh-resources.c.o src/phosh.p/meson-generated_.._dbus_iio-sensor-proxy-dbus.c.o src/phosh.p/meson-generated_.._dbus_hostname1-dbus.c.o src/phosh.p/meson-generated_.._dbus_portal-dbus.c.o src/phosh.p/meson-generated_.._dbus_login1-manager-dbus.c.o src/phosh.p/meson-generated_.._dbus_login1-session-dbus.c.o src/phosh.p/meson-generated_.._dbus_gsd-color-dbus.c.o src/phosh.p/meson-generated_.._dbus_gnome-session-dbus.c.o src/phosh.p/meson-generated_.._dbus_phosh-gnome-shell-dbus.c.o src/phosh.p/meson-generated_.._dbus_phosh-display-dbus.c.o src/phosh.p/meson-generated_.._dbus_phosh-screen-saver-dbus.c.o src/phosh.p/meson-generated_.._dbus_phosh-screenshot-dbus.c.o src/phosh.p/meson-generated_.._dbus_phosh-end-session-dialog-dbus.c.o src/phosh.p/meson-generated_.._dbus_phosh-gtk-mountoperation-dbus.c.o src/phosh.p/meson-generated_.._dbus_geoclue-manager-dbus.c.o src/phosh.p/meson-generated_.._dbus_phosh-wwan-mm-dbus.c.o src/phosh.p/meson-generated_.._dbus_calls-dbus.c.o src/phosh.p/meson-generated_.._dbus_calls-emergency-dbus.c.o src/phosh.p/meson-generated_.._dbus_gnome-session-client-private-dbus.c.o src/phosh.p/meson-generated_.._dbus_gnome-session-presence-dbus.c.o src/phosh.p/meson-generated_.._dbus_gsd-rfkill-dbus.c.o src/phosh.p/meson-generated_.._dbus_mpris-dbus.c.o src/phosh.p/meson-generated_.._dbus_phosh-wwan-ofono-dbus.c.o src/phosh.p/meson-generated_.._dbus_phosh-osk0-dbus.c.o src/phosh.p/meson-generated_.._dbus_geoclue-agent-dbus.c.o src/phosh.p/meson-generated_.._dbus_notify-dbus.c.o src/phosh.p/meson-generated_.._dbus_phosh-idle-dbus.c.o src/phosh.p/meson-generated_.._.._protocol_xdg-shell-protocol.c.o src/phosh.p/meson-generated_.._.._protocol_ext-idle-notify-v1-protocol.c.o src/phosh.p/meson-generated_.._.._protocol_xdg-output-unstable-v1-protocol.c.o src/phosh.p/meson-generated_.._.._protocol_input-method-unstable-v2-protocol.c.o src/phosh.p/meson-generated_.._.._protocol_phoc-device-state-unstable-v1-protocol.c.o src/phosh.p/meson-generated_.._.._protocol_phoc-layer-shell-effects-unstable-v1-protocol.c.o src/phosh.p/meson-generated_.._.._protocol_phosh-private-protocol.c.o src/phosh.p/meson-generated_.._.._protocol_virtual-keyboard-unstable-v1-protocol.c.o src/phosh.p/meson-generated_.._.._protocol_wlr-foreign-toplevel-management-unstable-v1-protocol.c.o src/phosh.p/meson-generated_.._.._protocol_wlr-gamma-control-unstable-v1-protocol.c.o src/phosh.p/meson-generated_.._.._protocol_wlr-layer-shell-unstable-v1-protocol.c.o src/phosh.p/meson-generated_.._.._protocol_wlr-output-management-unstable-v1-protocol.c.o src/phosh.p/meson-generated_.._.._protocol_wlr-output-power-management-unstable-v1-protocol.c.o src/phosh.p/meson-generated_.._.._protocol_wlr-screencopy-unstable-v1-protocol.c.o src/phosh.p/main.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group src/libphosh.a src/libphosh-tool.a subprojects/gmobile/src/libgmobile.a subprojects/libcall-ui/src/libcall-ui.a subprojects/gvc/libgvc.a -Wl,--dynamic-list=/<<PKGBUILDDIR>>/src/phosh-exported-symbols.txt /usr/lib/mips64el-linux-gnuabi64/libfribidi.so /usr/lib/mips64el-linux-gnuabi64/libgcr-ui-3.so /usr/lib/mips64el-linux-gnuabi64/libgcr-base-3.so /usr/lib/mips64el-linux-gnuabi64/libgck-1.so /usr/lib/mips64el-linux-gnuabi64/libp11-kit.so /usr/lib/mips64el-linux-gnuabi64/libgtk-3.so /usr/lib/mips64el-linux-gnuabi64/libgdk-3.so /usr/lib/mips64el-linux-gnuabi64/libz.so /usr/lib/mips64el-linux-gnuabi64/libpangocairo-1.0.so /usr/lib/mips64el-linux-gnuabi64/libpango-1.0.so /usr/lib/mips64el-linux-gnuabi64/libharfbuzz.so /usr/lib/mips64el-linux-gnuabi64/libatk-1.0.so /usr/lib/mips64el-linux-gnuabi64/libcairo-gobject.so /usr/lib/mips64el-linux-gnuabi64/libcairo.so /usr/lib/mips64el-linux-gnuabi64/libgdk_pixbuf-2.0.so /usr/lib/mips64el-linux-gnuabi64/libgio-2.0.so /usr/lib/mips64el-linux-gnuabi64/libgobject-2.0.so /usr/lib/mips64el-linux-gnuabi64/libglib-2.0.so /usr/lib/mips64el-linux-gnuabi64/libgmodule-2.0.so -pthread /usr/lib/mips64el-linux-gnuabi64/libjson-glib-1.0.so -lm -lrt /usr/lib/mips64el-linux-gnuabi64/libgnome-desktop-3.so /usr/lib/mips64el-linux-gnuabi64/libcallaudio-0.1.so /usr/lib/mips64el-linux-gnuabi64/libhandy-1.so /usr/lib/mips64el-linux-gnuabi64/libgudev-1.0.so /usr/lib/mips64el-linux-gnuabi64/libfeedback-0.0.so /usr/lib/mips64el-linux-gnuabi64/libpulse.so /usr/lib/mips64el-linux-gnuabi64/libpulse-mainloop-glib.so /usr/lib/mips64el-linux-gnuabi64/libnm.so /usr/lib/mips64el-linux-gnuabi64/libpolkit-agent-1.so /usr/lib/mips64el-linux-gnuabi64/libpolkit-gobject-1.so /usr/lib/mips64el-linux-gnuabi64/libsystemd.so /usr/lib/mips64el-linux-gnuabi64/libsecret-1.so /usr/lib/mips64el-linux-gnuabi64/libupower-glib.so /usr/lib/mips64el-linux-gnuabi64/libwayland-client.so -lpam -lpam -lpam -Wl,--end-group

Cheers,
 -- Guido



More information about the Debian-on-mobile-maintainers mailing list