Bug#957578: nautilus-python: ftbfs with GCC-10

Matthias Klose doko at debian.org
Fri Apr 17 12:06:50 BST 2020


Package: src:nautilus-python
Version: 1.2.3-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/nautilus-python_1.2.3-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

[...]
checking for headers required to compile python extensions... found
checking for libraries required to embed python... yes
checking for NAUTILUS_PYTHON... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating examples/Makefile
config.status: creating src/Makefile
config.status: creating nautilus-python.pc
config.status: WARNING:  '../../nautilus-python.pc.in' seems to ignore the --datarootdir setting
config.status: creating docs/Makefile
config.status: creating docs/reference/entities.docbook
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --disable-maintainer-mode

 nautilus-python 1.2.3

    Nautilus Prefix: /usr
  PyGObject Version: pygobject-3.0
     Python Library: /usr/lib/x86_64-linux-gnu/python3.7m
      Documentation: no

make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# build for Python 2
PYTHON_VERSION="2.7" PYTHON="python2.7" \
	dh_auto_build --builddirectory=debian/python-nautilus-build
	cd debian/python-nautilus-build && make -j4
make[2]: Entering directory '/<<PKGBUILDDIR>>/debian/python-nautilus-build'
make  all-recursive
make[3]: Entering directory '/<<PKGBUILDDIR>>/debian/python-nautilus-build'
Making all in src
make[4]: Entering directory '/<<PKGBUILDDIR>>/debian/python-nautilus-build/src'
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../src -I..  -DG_LOG_DOMAIN=\"Nautilus-Python\" -DDATADIR=\"/usr/share\" -DLIBDIR=\"/usr/lib/x86_64-linux-gnu\" -I../../.. -I..  -pthread -I/usr/include/pygobject-3.0 -I/usr/include/nautilus -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DPYTHON_VERSION=\"2.7\" -DPY_LIB_LOC="\"/usr/lib/x86_64-linux-gnu\"" -DPY_LIB_NAME="\"python2.7\"" -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu/python2.7 -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o nautilus-python.lo ../../../src/nautilus-python.c
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../src -I..  -DG_LOG_DOMAIN=\"Nautilus-Python\" -DDATADIR=\"/usr/share\" -DLIBDIR=\"/usr/lib/x86_64-linux-gnu\" -I../../.. -I..  -pthread -I/usr/include/pygobject-3.0 -I/usr/include/nautilus -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DPYTHON_VERSION=\"2.7\" -DPY_LIB_LOC="\"/usr/lib/x86_64-linux-gnu\"" -DPY_LIB_NAME="\"python2.7\"" -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu/python2.7 -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o nautilus-python-object.lo ../../../src/nautilus-python-object.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../src -I.. -DG_LOG_DOMAIN=\"Nautilus-Python\" -DDATADIR=\"/usr/share\" -DLIBDIR=\"/usr/lib/x86_64-linux-gnu\" -I../../.. -I.. -pthread -I/usr/include/pygobject-3.0 -I/usr/include/nautilus -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DPYTHON_VERSION=\"2.7\" -DPY_LIB_LOC=\"/usr/lib/x86_64-linux-gnu\" -DPY_LIB_NAME=\"python2.7\" -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu/python2.7 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c ../../../src/nautilus-python.c  -fPIC -DPIC -o .libs/nautilus-python.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../src -I.. -DG_LOG_DOMAIN=\"Nautilus-Python\" -DDATADIR=\"/usr/share\" -DLIBDIR=\"/usr/lib/x86_64-linux-gnu\" -I../../.. -I.. -pthread -I/usr/include/pygobject-3.0 -I/usr/include/nautilus -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DPYTHON_VERSION=\"2.7\" -DPY_LIB_LOC=\"/usr/lib/x86_64-linux-gnu\" -DPY_LIB_NAME=\"python2.7\" -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu/python2.7 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c ../../../src/nautilus-python-object.c  -fPIC -DPIC -o .libs/nautilus-python-object.o
../../../src/nautilus-python-object.c: In function ‘nautilus_python_object_info_provider_iface_init’:
../../../src/nautilus-python-object.c:447:29: warning: assignment to ‘NautilusOperationResult (*)(NautilusInfoProvider *, NautilusFileInfo *, GClosure *, NautilusOperationHandle **)’ {aka ‘NautilusOperationResult (*)(struct _NautilusInfoProvider *, struct _NautilusFileInfo *, struct _GClosure *, struct _NautilusOperationHandle **)’} from incompatible pointer type ‘NautilusOperationResult (*)(NautilusInfoProvider *, NautilusFile *, GClosure *, NautilusOperationHandle **)’ {aka ‘NautilusOperationResult (*)(struct _NautilusInfoProvider *, NautilusFile *, struct _GClosure *, struct _NautilusOperationHandle **)’} [-Wincompatible-pointer-types]
  447 |     iface->update_file_info = nautilus_python_object_update_file_info;
      |                             ^
/bin/bash ../libtool  --tag=CC   --mode=link gcc  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -module -avoid-version -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--as-needed -o libnautilus-python.la -rpath /usr/lib/x86_64-linux-gnu/nautilus/extensions-3.0 nautilus-python.lo nautilus-python-object.lo -lnautilus-extension -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lpython2.7 -lpthread -ldl  -lutil -lm  
libtool: link: gcc -shared  -fPIC -DPIC  .libs/nautilus-python.o .libs/nautilus-python-object.o   -lnautilus-extension -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lpython2.7 -lpthread -ldl -lutil -lm  -g -O2 -fstack-protector-strong -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--as-needed   -Wl,-soname -Wl,libnautilus-python.so -o .libs/libnautilus-python.so
/usr/bin/ld: .libs/nautilus-python-object.o:./debian/python-nautilus-build/src/../../../src/nautilus-python.h:76: multiple definition of `_PyNautilusOperationHandle_Type'; .libs/nautilus-python.o:./debian/python-nautilus-build/src/../../../src/nautilus-python.h:76: first defined here
/usr/bin/ld: .libs/nautilus-python-object.o:/usr/include/pygobject-3.0/pygobject.h:230: multiple definition of `_PyGObject_API'; .libs/nautilus-python.o:/usr/include/pygobject-3.0/pygobject.h:230: first defined here
/usr/bin/ld: .libs/nautilus-python-object.o:./debian/python-nautilus-build/src/../../../src/nautilus-python.h:70: multiple definition of `_PyNautilusPropertyPage_Type'; .libs/nautilus-python.o:./debian/python-nautilus-build/src/../../../src/nautilus-python.h:70: first defined here
/usr/bin/ld: .libs/nautilus-python-object.o:./debian/python-nautilus-build/src/../../../src/nautilus-python.h:64: multiple definition of `_PyNautilusMenuItem_Type'; .libs/nautilus-python.o:./debian/python-nautilus-build/src/../../../src/nautilus-python.h:64: first defined here
/usr/bin/ld: .libs/nautilus-python-object.o:./debian/python-nautilus-build/src/../../../src/nautilus-python.h:49: multiple definition of `_PyNautilusColumn_Type'; .libs/nautilus-python.o:./debian/python-nautilus-build/src/../../../src/nautilus-python.h:49: first defined here
/usr/bin/ld: .libs/nautilus-python-object.o:./debian/python-nautilus-build/src/../../../src/nautilus-python.h:46: multiple definition of `_PyGtkWidget_Type'; .libs/nautilus-python.o:./debian/python-nautilus-build/src/../../../src/nautilus-python.h:46: first defined here
/usr/bin/ld: .libs/nautilus-python-object.o:./debian/python-nautilus-build/src/../../../src/nautilus-python.h:73: multiple definition of `_PyNautilusPropertyPageProvider_Type'; .libs/nautilus-python.o:./debian/python-nautilus-build/src/../../../src/nautilus-python.h:73: first defined here
/usr/bin/ld: .libs/nautilus-python-object.o:./debian/python-nautilus-build/src/../../../src/nautilus-python.h:58: multiple definition of `_PyNautilusLocationWidgetProvider_Type'; .libs/nautilus-python.o:./debian/python-nautilus-build/src/../../../src/nautilus-python.h:58: first defined here
/usr/bin/ld: .libs/nautilus-python-object.o:./debian/python-nautilus-build/src/../../../src/nautilus-python.h:67: multiple definition of `_PyNautilusMenuProvider_Type'; .libs/nautilus-python.o:./debian/python-nautilus-build/src/../../../src/nautilus-python.h:67: first defined here
/usr/bin/ld: .libs/nautilus-python-object.o:./debian/python-nautilus-build/src/../../../src/nautilus-python.h:52: multiple definition of `_PyNautilusColumnProvider_Type'; .libs/nautilus-python.o:./debian/python-nautilus-build/src/../../../src/nautilus-python.h:52: first defined here
/usr/bin/ld: .libs/nautilus-python-object.o:./debian/python-nautilus-build/src/../../../src/nautilus-python.h:55: multiple definition of `_PyNautilusInfoProvider_Type'; .libs/nautilus-python.o:./debian/python-nautilus-build/src/../../../src/nautilus-python.h:55: first defined here
/usr/bin/ld: .libs/nautilus-python-object.o:./debian/python-nautilus-build/src/../../../src/nautilus-python.h:61: multiple definition of `_PyNautilusMenu_Type'; .libs/nautilus-python.o:./debian/python-nautilus-build/src/../../../src/nautilus-python.h:61: first defined here
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:453: libnautilus-python.la] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/debian/python-nautilus-build/src'
make[3]: *** [Makefile:491: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/python-nautilus-build'
make[2]: *** [Makefile:398: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/debian/python-nautilus-build'
dh_auto_build: error: cd debian/python-nautilus-build && make -j4 returned exit code 2
make[1]: *** [debian/rules:19: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:7: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the pkg-gnome-maintainers mailing list