[Debian-zh-dev] Bug#1094166: iptux FTBFS with LTO enabled
Sudip Mukherjee
sudipm.mukherjee at gmail.com
Sat Jan 25 13:16:58 GMT 2025
Source: iptux
Version: 0.9.3-2
Severity: wishlist
Tags: ftbfs patch
X-Debbugs-Cc: sudipm.mukherjee at gmail.com
Dear Maintainer,
Debian has not yet enabled LTO, but in Ubuntu the builds are failing with
the following error if LTO is enabled:
----------------------------------- stderr -----------------------------------
(process:79102): GLib-GObject-CRITICAL **: 13:07:02.302: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(process:79102): GLib-GObject-CRITICAL **: 13:07:02.303: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(process:79102): GLib-GObject-CRITICAL **: 13:07:02.303: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(process:79102): Gtk-WARNING **: 13:07:02.303: ../../../gtk/gtktextbuffer.c:1600: no tag with name 'pal-color'!
(process:79102): Gtk-WARNING **: 13:07:02.303: ../../../gtk/gtktextbuffer.c:1600: no tag with name 'pal-color'!
(process:79102): Gtk-CRITICAL **: 13:07:02.303: _gtk_css_lookup_resolve: assertion '(((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((provider)); GType __t = ((_gtk_style_provider_private_get_type ())); gboolean __r; if (!__inst) __r = (0); else if (__inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))' failed
(process:79102): GLib-GObject-CRITICAL **: 13:07:02.303: g_object_set_data_full: assertion 'G_IS_OBJECT (object)' failed
(process:79102): Gtk-ERROR **: 13:07:02.303: Can't create a GtkStyleContext without a display connection
==============================================================================
==================================== 4/4 =====================================
test: validate metainfo file
start time: 13:07:02
duration: 0.01s
result: exit status 0
command: ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 MALLOC_PERTURB_=131 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /usr/bin/appstreamcli validate --no-net --pedantic share/metainfo/io.github.iptux_src.iptux.metainfo.xml
----------------------------------- stdout -----------------------------------
I: io.github.iptux_src.iptux:31: description-first-para-too-short
iptux is an “IP Messenger” client. The features of iptux include:
I: io.github.iptux_src.iptux:~: developer-info-missing
✔ Validation was successful: infos: 2
==============================================================================
Summary of Failures:
3/4 iptux ui unit test FAIL 0.02s killed by signal 5 SIGTRAP
Ok: 3
Expected Fail: 0
Fail: 1
Unexpected Pass: 0
Skipped: 0
Timeout: 0
It will be really appreciated if the following diff can be added to iptux
to disable LTO please.
diff --git a/debian/rules b/debian/rules
index 9ad4245..6189ad7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@
# export DH_VERBOSE=1
# see FEATURE AREAS in dpkg-buildflags(1)
-export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=-lto
%:
dh $@
--
Regards
Sudip
More information about the Chinese-developers
mailing list