On Wed, Jun 24, 2020 at 08:34:03AM -0700, Adam Williamson wrote:
> On Mon, 2020-06-15 at 06:51 +0200, Adrian Reber wrote:
> > I prepared a protobuf update for rawhide to 3.12. It requires a rebuild
> > of all dependencies and of the 55 dependencies currently 10 fail to
> > rebuild. The following packages are failing:
> > 
> > clementine
> > closure-compiler
> > fawkes
> > gazebo
> > hidviz
> > kismet
> > libgadu
> > mir
> > mozc
> > pokerth
> > 
> > and the failures do not seem to be protobuf related. See
> > 
> > https://copr.fedorainfracloud.org/coprs/adrian/protobuf-3-12/
> > 
> > I requested a side-tag to do the rebuilds.
> 
> A side note here: one thing that got rebuilt for the new protobuf was
> libphonenumber. Either the new protobuf or the rebuild of
> libphonenumber or the combination of the two seems to have somehow
> caused problems for evolution-data-server, even though e-d-s does not
> use protobuf directly and the libphonenumber soname did not change.
> 
> I was trying to rebuild evolution, and building with the new protobuf
> and rebuilt libphonenumber, it failed due to an unresolved reference in
> a library from e-d-s:
> 
> [ 45%] Building C object src/smime/lib/CMakeFiles/essmime.dir/e-cert-trust.c.o
> cd /builddir/build/BUILD/evolution-3.37.2/_build/src/smime/lib && 
> /usr/bin/gcc -DGDK_VERSION_MAX_ALLOWED=GDK_VERSION_3_22 
> -DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_22 
> -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_46 
> -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_46 -DG_LOG_DOMAIN=\"essmime\" 
> -DLDAP_DEPRECATED -DSOUP_VERSION_MAX_ALLOWED=SOUP_VERSION_2_42 
> -DSOUP_VERSION_MIN_REQUIRED=SOUP_VERSION_2_42 -Dessmime_EXPORTS 
> -I/builddir/build/BUILD/evolution-3.37.2/_build 
> -I/builddir/build/BUILD/evolution-3.37.2/_build/src 
> -I/builddir/build/BUILD/evolution-3.37.2/src 
> -I/builddir/build/BUILD/evolution-3.37.2/_build/src/smime/lib 
> -I/usr/include/evolution-data-server -I/usr/include/glib-2.0 
> -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid 
> -I/usr/include/nss3 -I/usr/include/nspr4 -I/usr/include/libsecret-1 
> -I/usr/include/libxml2 -I/usr/include/libsoup-2.4 -I/usr/include/gtk-3.0 
> -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 
> -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/cairo 
> -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 
> -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 
> -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 
> -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 
> -I/usr/include/gail-3.0 -I/usr/include/gcr-3 -I/usr/include/gck-1 
> -I/usr/include/p11-kit-1 -I/usr/include/gnome-desktop-3.0 
> -I/usr/include/gsettings-desktop-schemas -I/usr/include/webkitgtk-4.0 
> -I/builddir/build/BUILD/evolution-3.37.2 
> -I/builddir/build/BUILD/evolution-3.37.2/_build/src/e-util 
> -I/usr/include/gnome-autoar-0 -I/usr/include/enchant-2 
> -I/usr/include/gspell-1 
> -I/builddir/build/BUILD/evolution-3.37.2/_build/src/libgnomecanvas 
> -I/builddir/build/BUILD/evolution-3.37.2/src/libgnomecanvas -Wnested-externs 
> -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers 
> -Wdeclaration-after-statement -Werror-implicit-function-declaration 
> -Wno-deprecated-declarations -fno-strict-aliasing -Wno-cast-function-type 
> -Wwrite-strings -Wundef -Wredundant-decls -Wpointer-arith -Wmissing-noreturn 
> -Wmissing-declarations -Winit-self -Wformat-security -Wformat -O2 
> -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security 
> -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS 
> -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong 
> -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -mtune=generic 
> -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC 
> -DLDAP_DEPRECATED -Wno-sign-compare -Wno-deprecated-declarations -fPIC 
> -I/usr/include/evolution-data-server -I/usr/include/glib-2.0 
> -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid 
> -I/usr/include/nss3 -I/usr/include/nspr4 -I/usr/include/libsecret-1 
> -I/usr/include/libxml2 -I/usr/include/libsoup-2.4 -I/usr/include/gtk-3.0 
> -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 
> -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/cairo 
> -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 
> -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 
> -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 
> -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -pthread 
> -I/usr/include/gail-3.0 -I/usr/include/gcr-3 -I/usr/include/gck-1 
> -I/usr/include/p11-kit-1 -I/usr/include/gnome-desktop-3.0 
> -I/usr/include/gsettings-desktop-schemas -I/usr/include/webkitgtk-4.0 
> -I/usr/include/gnome-autoar-0 -I/usr/include/enchant-2 
> -I/usr/include/gspell-1 -o CMakeFiles/essmime.dir/e-cert-trust.c.o -c 
> /builddir/build/BUILD/evolution-3.37.2/src/smime/lib/e-cert-trust.c
> /usr/bin/ld: /usr/lib64/libebook-contacts-1.2.so: undefined reference to 
> `i18n::phonenumbers::PhoneNumber::PhoneNumber()'
> collect2: error: ld returned 1 exit status
> 
> The fix for this turned out to be to rebuild e-d-s against the new
> libphonenumber and protobuf first, then evolution rebuilt against the
> new e-d-s successfully.
> 
> I later noticed an openQA failure in yesterday's Rawhide which seems to
> have had the same cause. We have a test which tries to launch every app
> on the menus in GNOME (and KDE) and check they all at least run. On
> yesterday's Rawhide, the GNOME 'Contacts' app did not launch
> successfully in this test. Examining the logs, the cause is again an
> undefined reference in libebook-contacts:
> 
> Jun 23 10:43:36 ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com 
> gnome-contacts[2436]: /usr/bin/gnome-contacts: symbol lookup error: 
> /lib64/libebook-contacts-1.2.so.3: undefined symbol: 
> _ZN4i18n12phonenumbers11PhoneNumberC1Ev
> 
> I can also see from the logs that the same error affected startup of
> the Evolution calendar 'factory', so I assume that was broken too until
> I rebuilt Evolution.
> 
> Not sure if there's any action anyone can take in response to this
> (aside from remembering we might need to rebuild e-d-s in similar
> situations in future), but thought it was worth noting.

Thanks for letting me know. I will try to remember that for the next
protobuf update.

                Adrian
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to