[ebuild U ] dev-python/nautilus-python-1.2.3::gentoo [1.2.2-r1::gentoo] PYTHON_SINGLE_TARGET="python3_7%* -python2_7* -python3_6% -python3_8%" 264 KiB libtool: link: x86_64-pc-linux-gnu-gcc -shared -fPIC -DPIC .libs/nautilus-python.o .libs/nautilus-python-object.o -Wl,--as-needed -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 -lpython3.7m -lcrypt -lpthread -ldl -lutil -lm -O2 -march=x86-64 -g -ggdb -Wl,-O1 -Wl,-soname -Wl,libnautilus-python.so -o .libs/libnautilus-python.so /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/nautilus-python-object.o:/var/tmp/portage/dev-python/nautilus-python-1.2.3/work/nautilus-python-1.2.3/src/nautilus-python.h:76: multiple definition of `_PyNautilusOperationHandle_Type'; .libs/nautilus-python.o:/var/tmp/portage/dev-python/nautilus-python-1.2.3/work/nautilus-python-1.2.3/src/nautilus-python.h:76: first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/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/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/nautilus-python-object.o:/var/tmp/portage/dev-python/nautilus-python-1.2.3/work/nautilus-python-1.2.3/src/nautilus-python.h:70: multiple definition of `_PyNautilusPropertyPage_Type'; .libs/nautilus-python.o:/var/tmp/portage/dev-python/nautilus-python-1.2.3/work/nautilus-python-1.2.3/src/nautilus-python.h:70: first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/nautilus-python-object.o:/var/tmp/portage/dev-python/nautilus-python-1.2.3/work/nautilus-python-1.2.3/src/nautilus-python.h:64: multiple definition of `_PyNautilusMenuItem_Type'; .libs/nautilus-python.o:/var/tmp/portage/dev-python/nautilus-python-1.2.3/work/nautilus-python-1.2.3/src/nautilus-python.h:64: first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/nautilus-python-object.o:/var/tmp/portage/dev-python/nautilus-python-1.2.3/work/nautilus-python-1.2.3/src/nautilus-python.h:49: multiple definition of `_PyNautilusColumn_Type'; .libs/nautilus-python.o:/var/tmp/portage/dev-python/nautilus-python-1.2.3/work/nautilus-python-1.2.3/src/nautilus-python.h:49: first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/nautilus-python-object.o:/var/tmp/portage/dev-python/nautilus-python-1.2.3/work/nautilus-python-1.2.3/src/nautilus-python.h:46: multiple definition of `_PyGtkWidget_Type'; .libs/nautilus-python.o:/var/tmp/portage/dev-python/nautilus-python-1.2.3/work/nautilus-python-1.2.3/src/nautilus-python.h:46: first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/nautilus-python-object.o:/var/tmp/portage/dev-python/nautilus-python-1.2.3/work/nautilus-python-1.2.3/src/nautilus-python.h:73: multiple definition of `_PyNautilusPropertyPageProvider_Type'; .libs/nautilus-python.o:/var/tmp/portage/dev-python/nautilus-python-1.2.3/work/nautilus-python-1.2.3/src/nautilus-python.h:73: first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/nautilus-python-object.o:/var/tmp/portage/dev-python/nautilus-python-1.2.3/work/nautilus-python-1.2.3/src/nautilus-python.h:58: multiple definition of `_PyNautilusLocationWidgetProvider_Type'; .libs/nautilus-python.o:/var/tmp/portage/dev-python/nautilus-python-1.2.3/work/nautilus-python-1.2.3/src/nautilus-python.h:58: first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/nautilus-python-object.o:/var/tmp/portage/dev-python/nautilus-python-1.2.3/work/nautilus-python-1.2.3/src/nautilus-python.h:67: multiple definition of `_PyNautilusMenuProvider_Type'; .libs/nautilus-python.o:/var/tmp/portage/dev-python/nautilus-python-1.2.3/work/nautilus-python-1.2.3/src/nautilus-python.h:67: first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/nautilus-python-object.o:/var/tmp/portage/dev-python/nautilus-python-1.2.3/work/nautilus-python-1.2.3/src/nautilus-python.h:52: multiple definition of `_PyNautilusColumnProvider_Type'; .libs/nautilus-python.o:/var/tmp/portage/dev-python/nautilus-python-1.2.3/work/nautilus-python-1.2.3/src/nautilus-python.h:52: first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/nautilus-python-object.o:/var/tmp/portage/dev-python/nautilus-python-1.2.3/work/nautilus-python-1.2.3/src/nautilus-python.h:55: multiple definition of `_PyNautilusInfoProvider_Type'; .libs/nautilus-python.o:/var/tmp/portage/dev-python/nautilus-python-1.2.3/work/nautilus-python-1.2.3/src/nautilus-python.h:55: first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/nautilus-python-object.o:/var/tmp/portage/dev-python/nautilus-python-1.2.3/work/nautilus-python-1.2.3/src/nautilus-python.h:61: multiple definition of `_PyNautilusMenu_Type'; .libs/nautilus-python.o:/var/tmp/portage/dev-python/nautilus-python-1.2.3/work/nautilus-python-1.2.3/src/nautilus-python.h:61: first defined here collect2: error: ld returned 1 exit status make[2]: *** [Makefile:450: libnautilus-python.la] Error 1 make[2]: Leaving directory '/var/tmp/portage/dev-python/nautilus-python-1.2.3/work/nautilus-python-1.2.3/src' make[1]: *** [Makefile:490: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/dev-python/nautilus-python-1.2.3/work/nautilus-python-1.2.3' make: *** [Makefile:397: all] Error 2 Reproducible: Always
Created attachment 643928 [details] build.log
I think this belongs to this upstream bug: https://gitlab.gnome.org/GNOME/nautilus-python/-/issues/10
Created attachment 655974 [details, diff] Fix compiling with gcc10 Not yet merged patch by Andreas Henriksson (@andhe) https://gitlab.gnome.org/GNOME/nautilus-python/-/merge_requests/7
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03a33031108b8245b2828cda7e8a3a231feaabec commit 03a33031108b8245b2828cda7e8a3a231feaabec Author: Alexandru-Sever Horin <alex.sever.h@gmail.com> AuthorDate: 2020-06-09 15:59:58 +0000 Commit: Conrad Kostecki <conikost@gentoo.org> CommitDate: 2020-08-27 15:36:45 +0000 dev-python/nautilus-python: fix compilation with GCC10 Fixed compilation with GCC10. Closes: https://bugs.gentoo.org/727514 Closes: https://github.com/gentoo/gentoo/pull/16137 Signed-off-by: Alexandru-Sever Horin <alex.sever.h@gmail.com> Signed-off-by: Conrad Kostecki <conikost@gentoo.org> .../nautilus-python-1.2.3-gcc10-fnocommon.patch | 147 +++++++++++++++++++++ .../nautilus-python/nautilus-python-1.2.3.ebuild | 3 + 2 files changed, 150 insertions(+)