[Pkg-ayatana-devel] Bug#957822: snapd-glib: ftbfs with GCC-10

Matthias Klose doko at debian.org
Fri Apr 17 12:11:10 BST 2020


Package: src:snapd-glib
Version: 1.54-1
Severity: normal
Tags: sid bullseye
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-10

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-10/g++-10, but succeeds to build with gcc-9/g++-9. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc10-20200225/snapd-glib_1.54-1_unstable_gcc10.log
The last lines of the build log are at the end of this report.

To build with GCC 10, either set CC=gcc-10 CXX=g++-10 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-10/porting_to.html

[...]
Installing /<<PKGBUILDDIR>>/snapd-qt/Snapd/WrappedObject to /<<PKGBUILDDIR>>/debian/tmp/usr/include/snapd-qt/Snapd
Installing /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/snapd-glib.pc to /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/pkgconfig
Installing /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/snapd-glib.deps to /<<PKGBUILDDIR>>/debian/tmp/usr/share/vala/vapi
Installing /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/snapd-qt.pc to /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/pkgconfig
Installing /<<PKGBUILDDIR>>/snapd-qt/qmldir to /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/qt5/qml/Snapd
Installing /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/snapd-qt/SnapdConfig.cmake to /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/cmake/Snapd
Installing /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/snapd-qt/SnapdConfigVersion.cmake to /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/cmake/Snapd
Installing /<<PKGBUILDDIR>>/snapd-qt/qmldir to /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/qt5/qml/Snapd
Installing /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/test-glib.test to /<<PKGBUILDDIR>>/debian/tmp/usr/share/installed-tests/snapd-glib
Installing /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/test-markdown-glib.test to /<<PKGBUILDDIR>>/debian/tmp/usr/share/installed-tests/snapd-glib
Installing /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/test-qt.test to /<<PKGBUILDDIR>>/debian/tmp/usr/share/installed-tests/snapd-glibBuilding documentation for snapd-glib
html/SnapdAlias.html:211: warning: no link for: "NULL:CAPS" -> (<code class="literal">NULL</code>).
html/SnapdApp.html:122: warning: no link for: "GStrv" -> (<span class="type">GStrv</span>).
html/SnapdApp.html:251: warning: no link for: "TRUE:CAPS" -> (<code class="literal">TRUE</code>).
html/SnapdChange.html:148: warning: no link for: "GDateTime" -> (<span class="type">GDateTime</span>).
html/SnapdChange.html:172: warning: no link for: "GPtrArray" -> (<span class="type">GPtrArray</span>).
html/SnapdClient.html:1400: warning: no link for: "GCancellable" -> (<span class="type">GCancellable</span>).
html/SnapdClient.html:1416: warning: no link for: "GObject" -> (<span class="type">GObject</span>).
html/SnapdClient.html:1650: warning: no link for: "GSocket" -> (<span class="type">GSocket</span>).
html/SnapdClient.html:1827: warning: no link for: "GError" -> (<span class="type">GError</span>).
html/SnapdClient.html:1869: warning: no link for: "GAsyncReadyCallback" -> (<span class="type">GAsyncReadyCallback</span>).
html/SnapdClient.html:1912: warning: no link for: "GAsyncResult" -> (<span class="type">GAsyncResult</span>).
html/SnapdClient.html:3737: warning: no link for: "GHashTable" -> (<span class="type">GHashTable</span>).
html/SnapdClient.html:4558: warning: no link for: "FALSE:CAPS" -> (<code class="literal">FALSE</code>).
html/SnapdClient.html:6596: warning: no link for: "GInputStream" -> (<span class="type">GInputStream</span>).
html/SnapdConnection.html:411: warning: no link for: "g-strfreev" -> (<code class="function">g_strfreev()</code>).
html/SnapdIcon.html:73: warning: no link for: "GBytes" -> (<span class="type">GBytes</span>).
html/snapd-glib-Errors.html:95: warning: no link for: "GQuark" -> (<span class="type">GQuark</span>).


Installing /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/test-markdown-qt.test to /<<PKGBUILDDIR>>/debian/tmp/usr/share/installed-tests/snapd-glib
Running custom install script '/usr/bin/meson --internal gtkdoc --sourcedir=/<<PKGBUILDDIR>> --builddir=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu --subdir=doc/reference --headerdirs=/<<PKGBUILDDIR>>/snapd-glib@@/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/snapd-glib --mainfile=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/doc/reference/snapd-glib-docs.xml --modulename=snapd-glib --moduleversion= --mode=auto --gtkdoc-scan=/usr/bin/gtkdoc-scan --gtkdoc-scangobj=/usr/bin/gtkdoc-scangobj --gtkdoc-mkdb=/usr/bin/gtkdoc-mkdb --gtkdoc-mkhtml=/usr/bin/gtkdoc-mkhtml --gtkdoc-fixxref=/usr/bin/gtkdoc-fixxref --scanargs=--deprecated-guards="SNAPD_DISABLE_DEPRECATED"@@--rebuild-types --fixxrefargs=--html-dir=/usr/share/gtk-doc/html@@--extra-dir=/usr/share/gtk-doc/html/glib@@--extra-dir=/usr/share/gtk-doc/html/gobject@@--extra-dir=/usr/share/gtk-doc/html/gio --content-files= --ignore-headers=mock-snapd.h@@snapd-json.h --cc=cc --ld=cc --cflags=-I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/snapd-glib/.. -I/<<PKGBUILDDIR>>/snapd-glib/.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/json-glib-1.0 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 --ldflags=-L/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/snapd-glib -Wl,-rpath,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/snapd-glib -lsnapd-glib -lglib-2.0 -lgio-2.0 -lgobject-2.0 -lsoup-2.4 -ljson-glib-1.0 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now'
   dh_install
   dh_installdocs
   dh_installchangelogs
   dh_perl
   dh_link
   dh_strip_nondeterminism
   dh_compress
   dh_fixperms
   dh_missing
   dh_strip
   debian/rules override_dh_makeshlibs
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_makeshlibs -V -- -c4
dpkg-gensymbols: error: some new symbols appeared in the symbols file: see diff output below
dpkg-gensymbols: warning: debian/libsnapd-qt1/DEBIAN/symbols doesn't match completely debian/libsnapd-qt1.symbols
--- debian/libsnapd-qt1.symbols (libsnapd-qt1_1.54-1_amd64)
+++ dpkg-gensymbolshogfPW	2020-02-26 12:34:58.570301152 +0000
@@ -427,7 +427,14 @@
  (c++|regex)"^typeinfo for .*@Base$" 0
  (c++|regex)"^typeinfo name for .*@Base$" 0
  (c++|regex)"^vtable for .*$" 0
+ _ZN12QWeakPointerI7QObjectED1Ev at Base 1.54-1
+ _ZN12QWeakPointerI7QObjectED2Ev at Base 1.54-1
+ _ZN15QtSharedPointer20ExternalRefCountDataD1Ev at Base 1.54-1
+ _ZN15QtSharedPointer20ExternalRefCountDataD2Ev at Base 1.54-1
+ _ZN5QHashI7QString11QStringListED1Ev at Base 1.54-1
+ _ZN5QHashI7QString11QStringListED2Ev at Base 1.54-1
+ _ZN5QHashI7QString8QVariantE13detach_helperEv at Base 1.54-1
  (c++)"login(QString const&, QString const&)@Base" 1.8
  (c++)"login(QString const&, QString const&, QString const&)@Base" 0
  (optional)stream_wrapper_get_type at Base 1.9
- (c++|optional)"void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char const*>(char const*, char const*, std::forward_iterator_tag)@Base" 1.44
+#MISSING: 1.54-1# (c++|optional)"void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char const*>(char const*, char const*, std::forward_iterator_tag)@Base" 1.44
dh_makeshlibs: error: failing due to earlier errors
make[1]: *** [debian/rules:9: override_dh_makeshlibs] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:6: binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2



More information about the Pkg-ayatana-devel mailing list