[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1015562: marked as done (onboard: ftbfs with LTO (link time optimization) enabled)



Your message dated Wed, 03 Apr 2024 17:34:21 +0000
with message-id <E1rs4VB-00606t-Ne@fasolo.debian.org>
and subject line Bug#1015562: fixed in onboard 1.4.1-6
has caused the Debian Bug report #1015562,
regarding onboard: ftbfs with LTO (link time optimization) enabled
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1015562: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1015562
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:onboard
Version: 1.4.1-5
Severity: minor
Tags: sid bookworm
User: debian-gcc@lists.debian.org
Usertags: ftbfs-lto

This package currently fails to build (at least on the amd64
architecture) with link time optimizations enabled.  For a background
for LTO please see

https://wiki.debian.org/ToolChain/LTO

The goal is to enable this optimization by default in an upcoming
Debian release in dpkg-buildflags for 64bit architectures.  The goal
is to get this package to build with link time optimizations, or to
explicitly disable link time optimizations for this package build.

To reproduce the build failure, enable the lto optimization in
testing/unstable by adding "optimize=+lto" to DEB_BUILD_MAINT_OPTIONS
in the debian/rules file, or if this macro is unset, just set it:

export DEB_BUILD_MAINT_OPTIONS = optimize=+lto

Please try to fix the build with lto enabled, fixing the packaging or
forwarding the issue upstream. If the issue cannot be fixed,
explicitly disallow building the package with lto by adding to your
rules file:

export DEB_BUILD_MAINT_OPTIONS = optimize=-lto

or adding that string to your existing setting of DEB_BUILD_MAINT_OPTIONS.

The full build log can be found at:
http://qa-logs.debian.net/2022/06/09/dpkglto/onboard_1.4.1-5_unstable_dpkglto.log
The last lines of the build log are at the end of this report.

[...]
      |         ^~
In file included from /usr/include/gtk-3.0/gdk/gdk.h:50,
                 from /usr/include/gtk-3.0/gdk/gdkx.h:28,
                 from Onboard/osk/osk_util.c:26:
/usr/include/gtk-3.0/gdk/gdkmain.h:73:32: note: declared here
   73 | G_GNUC_WARN_UNUSED_RESULT gint gdk_error_trap_pop         (void);
      |                                ^~~~~~~~~~~~~~~~~~
Onboard/osk/osk_util.c: In function ‘get_window_name’:
Onboard/osk/osk_util.c:493:5: warning: ‘gdk_error_trap_push’ is deprecated: Use 'gdk_x11_display_error_trap_push' instead [-Wdeprecated-declarations]
  493 |     gdk_error_trap_push ();
      |     ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gdk/gdk.h:50,
                 from /usr/include/gtk-3.0/gdk/gdkx.h:28,
                 from Onboard/osk/osk_util.c:26:
/usr/include/gtk-3.0/gdk/gdkmain.h:70:32: note: declared here
   70 | void                           gdk_error_trap_push        (void);
      |                                ^~~~~~~~~~~~~~~~~~~
Onboard/osk/osk_util.c:498:5: warning: ‘gdk_error_trap_pop_ignored’ is deprecated: Use 'gdk_x11_display_error_trap_pop_ignored' instead [-Wdeprecated-declarations]
  498 |     gdk_error_trap_pop_ignored ();
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gdk/gdk.h:50,
                 from /usr/include/gtk-3.0/gdk/gdkx.h:28,
                 from Onboard/osk/osk_util.c:26:
/usr/include/gtk-3.0/gdk/gdkmain.h:75:32: note: declared here
   75 | void                           gdk_error_trap_pop_ignored (void);
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DMAJOR_VERSION=0 -DMINOR_VERSION=4 -DMICRO_VERSION=0 -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/dconf -I/usr/include/freetype2 -I/usr/include/fribidi -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/include/gtk-3.0 -I/usr/include/harfbuzz -I/usr/include/hunspell -I/usr/include/libmount -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/x86_64-linux-gnu -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/python3.10 -c Onboard/osk/osk_virtkey.c -o build/temp.linux-x86_64-3.10/Onboard/osk/osk_
 virtkey.o -Wsign-compare -Wdeclaration-after-statement -Werror=declaration-after-statement
In file included from /usr/include/string.h:519,
                 from /usr/include/glib-2.0/glib/galloca.h:33,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/gtk-3.0/gdk/gdkconfig.h:13,
                 from /usr/include/gtk-3.0/gdk/gdk.h:30,
                 from Onboard/osk/osk_virtkey.c:23:
In function ‘strncpy’,
    inlined from ‘virtkey_get_label_from_keysym’ at Onboard/osk/osk_virtkey.c:1095:21:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:95:10: warning: ‘__strncpy_chk’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
   95 |   return __builtin___strncpy_chk (__dest, __src, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   96 |                                   __glibc_objsize (__dest));
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/x86_64-linux-gnu/glib-2.0/include/glibconfig.h:9,
                 from /usr/include/glib-2.0/glib/gtypes.h:32,
                 from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/gtk-3.0/gdk/gdkconfig.h:13,
                 from /usr/include/gtk-3.0/gdk/gdk.h:30,
                 from Onboard/osk/osk_virtkey.c:23:
Onboard/osk/osk_virtkey.c: In function ‘virtkey_get_label_from_keysym’:
Onboard/osk/osk_virtkey.c:1094:36: note: length computed here
 1094 |                     size_t l = MIN(strlen(name), sizeof(buf)-1);
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DMAJOR_VERSION=0 -DMINOR_VERSION=4 -DMICRO_VERSION=0 -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/dconf -I/usr/include/freetype2 -I/usr/include/fribidi -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/include/gtk-3.0 -I/usr/include/harfbuzz -I/usr/include/hunspell -I/usr/include/libmount -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/x86_64-linux-gnu -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/python3.10 -c Onboard/osk/osk_virtkey_wayland.c -o build/temp.linux-x86_64-3.10/Onboard/
 osk/osk_virtkey_wayland.o -Wsign-compare -Wdeclaration-after-statement -Werror=declaration-after-statement
Onboard/osk/osk_virtkey_wayland.c: In function ‘get_gdk_keymap’:
Onboard/osk/osk_virtkey_wayland.c:68:5: warning: ‘gdk_keymap_get_default’ is deprecated: Use 'gdk_keymap_get_for_display' instead [-Wdeprecated-declarations]
   68 |     return gdk_keymap_get_default();
      |     ^~~~~~
In file included from /usr/include/gtk-3.0/gdk/gdk.h:48,
                 from Onboard/osk/osk_virtkey_wayland.c:26:
/usr/include/gtk-3.0/gdk/gdkkeys.h:84:12: note: declared here
   84 | GdkKeymap* gdk_keymap_get_default     (void);
      |            ^~~~~~~~~~~~~~~~~~~~~~
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DMAJOR_VERSION=0 -DMINOR_VERSION=4 -DMICRO_VERSION=0 -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/dconf -I/usr/include/freetype2 -I/usr/include/fribidi -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/include/gtk-3.0 -I/usr/include/harfbuzz -I/usr/include/hunspell -I/usr/include/libmount -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/x86_64-linux-gnu -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/python3.10 -c Onboard/osk/osk_virtkey_x.c -o build/temp.linux-x86_64-3.10/Onboard/osk/os
 k_virtkey_x.o -Wsign-compare -Wdeclaration-after-statement -Werror=declaration-after-statement
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 -flto=auto -ffat-lto-objects -specs=/usr/share/dpkg/no-pie-link.specs -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.10/Onboard/osk/osk_audio.o build/temp.linux-x86_64-3.10/Onboard/osk/osk_click_mapper.o build/temp.linux-x86_64-3.10/Onboard/osk/osk_dconf.o build/temp.linux-x86_64-3.10/Onboard/osk/osk_devices.o build/temp.linux-x86_64-3.10/Onboard/osk/osk_hunspell.o build/temp.linux-x86_64-3.10/Onboard/osk/osk_module.o build/temp.linux-x86_64-3.10/Onboard/osk/osk_struts.o build/temp.linux-x86_64-3.10/Onboard/osk/osk_udev.o build/temp.linux-x86_64-3.10/Onboard/osk/osk_uinput.o build/temp.linux-x86_64-3.10/Onboard/osk/osk_util.o build/temp.linux-x86_64-3.10/Onboard/osk/osk_virtkey.o build/temp.li
 nux-x86_64-3.10/Onboard/osk/osk_virtkey_wayland.o build/temp.linux-x86_64-3.10/Onboard/osk/osk_virtkey_x.o -lX11 -lXi -lXtst -lcairo -lcairo-gobject -lcanberra -ldconf -lgdk-3 -lgdk_pixbuf-2.0 -lgio-2.0 -lglib-2.0 -lgobject-2.0 -lharfbuzz -lhunspell-1.7 -lpango-1.0 -lpangocairo-1.0 -ludev -lxkbfile -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_onboard/build/Onboard/osk.cpython-310-x86_64-linux-gnu.so -D_REENTRANT -pthread
/usr/bin/ld: /tmp/cc2G90yp.ltrans0.ltrans.o: relocation R_X86_64_32S against undefined symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: failed to set dynamic section sizes: bad value
collect2: error: ld returned 1 exit status
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
E: pybuild pybuild:369: build: plugin distutils failed with: exit code=1: /usr/bin/python3 setup.py build 
dh_auto_build: error: pybuild --build -i python{version} -p "3.9 3.10" returned exit code 13
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: onboard
Source-Version: 1.4.1-6
Done: Mike Gabriel <sunweaver@debian.org>

We believe that the bug you reported is fixed in the latest version of
onboard, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1015562@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mike Gabriel <sunweaver@debian.org> (supplier of updated onboard package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 03 Apr 2024 18:11:22 +0200
Source: onboard
Architecture: source
Version: 1.4.1-6
Distribution: unstable
Urgency: medium
Maintainer: Debian+Ubuntu MATE Packaging Team <debian-mate@lists.debian.org>
Changed-By: Mike Gabriel <sunweaver@debian.org>
Closes: 948635 992264 1015562 1048852 1057442
Changes:
 onboard (1.4.1-6) unstable; urgency=medium
 .
   [ Bo YU ]
   * debian/patches:
     + Add 1004-fix-ftbfs-python3-12.patch. Fix ftbfs on python3.12. (Closes:
       #1057442)
 .
   [ Mike Gabriel ]
   * debian/upstream/metadata:
     + Add file. Comply with DEP-12.
   * debian/patches:
     + Add Forwarded: key to patches 1001, 1002, 1003 and 1004. Upstream has
       been MIA since 2017.
     + Add patches 1005, 1006, 1007 and 1008 to fix various problems during
       unit tests. Mostly syntax fixes. (patch 1006 -> Closes: #948635).
     + Add 1010_arctica-greeter.patch. Optimize for running in Arctica Greeter
       rather than Unity Greeter.
     + Add patches 2001 and 2002. Remove test_gui.py and test_dbus.py. Both fail
       for various reasons. Deeper investigation needed.
     + Add 1011_python-distutils-byebye.patch. Migrated from distutils to
       setuptools.
   * debian/copyright:
     + Update copyright attributions.
   * debian/rules:
     + Add several file clean-ups to dh_auto_clean override. (Closes: #1048852).
     + Prepare a proper test-bed for running onboard unit tests.
     + Update buildflags. Build with LTO optimization (no code change needed).
       (Closes: #1015562).
   * debian/control:
     + Bump DH compat level to version 13.
     + Update B-D for (really!) running unit tests after build.
     + Bump Standards-Version: to 4.6.2. No changes needed.
     + Improve LONG_DESCRIPTIONs. (Closes: #992264).
Checksums-Sha1:
 3b3ec71e9d0e26a34c35516999fd9a522ea95b59 2839 onboard_1.4.1-6.dsc
 860baad7f144983c5a93051dc584a5f27c11bd91 30924 onboard_1.4.1-6.debian.tar.xz
 db7a92988f66f6f3a8f7e762b315e7b27cdcd201 18302 onboard_1.4.1-6_source.buildinfo
Checksums-Sha256:
 9dd67fd10374650f13cd4c88da7c78972d316dc8a6d5c9c728c695eb55f55b6f 2839 onboard_1.4.1-6.dsc
 db4290a6ee420374d37fa8e460e5fa66bf6345be96821718677fb43af94f5291 30924 onboard_1.4.1-6.debian.tar.xz
 08c03baab240b2042bf351cd6bc16b0322af843d7972b82b7ba892cd5fd3304d 18302 onboard_1.4.1-6_source.buildinfo
Files:
 0da16db80169779bf6625a42a649f6f4 2839 gnome optional onboard_1.4.1-6.dsc
 2c5804131f61d5e2cef534220385d3e7 30924 gnome optional onboard_1.4.1-6.debian.tar.xz
 f980572c112e703b4758a7a0b43ad94c 18302 gnome optional onboard_1.4.1-6_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJJBAEBCAAzFiEEm/uu6GwKpf+/IgeCmvRrMCV3GzEFAmYNkDgVHHN1bndlYXZl
ckBkZWJpYW4ub3JnAAoJEJr0azAldxsxsngP/3eJD6kflJzvw/aUqk7qlmrcwAZe
SjViWFwmBy41Jzke8nopZsvAgWQDdp1hQgOQYAAgt5Sd0ZvnHtOJ6CcyjpoNgfmI
nbzCvqoE2yeaSsr+fFDrIHdqb5TGug+gdAUWZAVa+Xt6c6fJcGW37N6wV2ZxF7W4
lvw5mCwN6NxLMHQwjjkt2la7ERN4JTIErS0hxSz6dIJ+vvKo8Vj1crXdxUwwoK78
VTspPcoJhgquMj9mE8aB/qK6teyZDxu5oXVBfvIvvIWGoEpc41ukKcmcs8ZZA7Y8
NBaPpjLgBCMeKcVE4+Qia5KNCy/qM7KEYMFaySfubj/CkEEmZelx0mbolIgUktXY
mNwbixXtcA4AoyILzVo29STAr5zJ8AZ98Rjw0Bp9w39f9wP+HLeVws5t+bfWI2PS
NtTlNuAeksP6X5+kCKWDODrbYxEkqE2isAcdme1q0yEKarIUE6TejaG8qIC3Qwlw
2FMZZ2lJM/yFdE8cv8b7WVVY9+dKAzPwkPwcX47HDBPV14Mfp1Lx560Z9ghovsfj
dxx9Oym+p2RYhr0V5c+2IAMD3ng4PztN+kbqyvmu+WCVOjBJQu6Z/Hx1ehxXcgc4
SjReJLDPZHDBSH6tC/+YKt0pysUDukr2uDSG2/Zf402hdcgHMIPiyECmPayuZwpB
NLPTCip+EcOxbrVN
=LEXN
-----END PGP SIGNATURE-----

Attachment: pgpNWRJ97O1NT.pgp
Description: PGP signature


--- End Message ---

Reply to: