FTBFS with gcc-10 'multiple definition of'
nautilus-python fails to compile with gcc-10
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 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lpython3.8 -lcrypt -lpthread -ldl -lutil -lm -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname -Wl,libnautilus-python.so -o .libs/libnautilus-python.so
/usr/bin/ld: .libs/nautilus-python-object.o:/builddir/build/BUILD/nautilus-python-1.2.3/src/nautilus-python.h:76: multiple definition of `_PyNautilusOperationHandle_Type'; .libs/nautilus-python.o:/builddir/build/BUILD/nautilus-python-1.2.3/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:/builddir/build/BUILD/nautilus-python-1.2.3/src/nautilus-python.h:70: multiple definition of `_PyNautilusPropertyPage_Type'; .libs/nautilus-python.o:/builddir/build/BUILD/nautilus-python-1.2.3/src/nautilus-python.h:70: first defined here
/usr/bin/ld: .libs/nautilus-python-object.o:/builddir/build/BUILD/nautilus-python-1.2.3/src/nautilus-python.h:64: multiple definition of `_PyNautilusMenuItem_Type'; .libs/nautilus-python.o:/builddir/build/BUILD/nautilus-python-1.2.3/src/nautilus-python.h:64: first defined here
/usr/bin/ld: .libs/nautilus-python-object.o:/builddir/build/BUILD/nautilus-python-1.2.3/src/nautilus-python.h:49: multiple definition of `_PyNautilusColumn_Type'; .libs/nautilus-python.o:/builddir/build/BUILD/nautilus-python-1.2.3/src/nautilus-python.h:49: first defined here
/usr/bin/ld: .libs/nautilus-python-object.o:/builddir/build/BUILD/nautilus-python-1.2.3/src/nautilus-python.h:46: multiple definition of `_PyGtkWidget_Type'; .libs/nautilus-python.o:/builddir/build/BUILD/nautilus-python-1.2.3/src/nautilus-python.h:46: first defined here
/usr/bin/ld: .libs/nautilus-python-object.o:/builddir/build/BUILD/nautilus-python-1.2.3/src/nautilus-python.h:73: multiple definition of `_PyNautilusPropertyPageProvider_Type'; .libs/nautilus-python.o:/builddir/build/BUILD/nautilus-python-1.2.3/src/nautilus-python.h:73: first defined here
/usr/bin/ld: .libs/nautilus-python-object.o:/builddir/build/BUILD/nautilus-python-1.2.3/src/nautilus-python.h:58: multiple definition of `_PyNautilusLocationWidgetProvider_Type'; .libs/nautilus-python.o:/builddir/build/BUILD/nautilus-python-1.2.3/src/nautilus-python.h:58: first defined here
/usr/bin/ld: .libs/nautilus-python-object.o:/builddir/build/BUILD/nautilus-python-1.2.3/src/nautilus-python.h:67: multiple definition of `_PyNautilusMenuProvider_Type'; .libs/nautilus-python.o:/builddir/build/BUILD/nautilus-python-1.2.3/src/nautilus-python.h:67: first defined here
/usr/bin/ld: .libs/nautilus-python-object.o:/builddir/build/BUILD/nautilus-python-1.2.3/src/nautilus-python.h:52: multiple definition of `_PyNautilusColumnProvider_Type'; .libs/nautilus-python.o:/builddir/build/BUILD/nautilus-python-1.2.3/src/nautilus-python.h:52: first defined here
/usr/bin/ld: .libs/nautilus-python-object.o:/builddir/build/BUILD/nautilus-python-1.2.3/src/nautilus-python.h:55: multiple definition of `_PyNautilusInfoProvider_Type'; .libs/nautilus-python.o:/builddir/build/BUILD/nautilus-python-1.2.3/src/nautilus-python.h:55: first defined here
/usr/bin/ld: .libs/nautilus-python-object.o:/builddir/build/BUILD/nautilus-python-1.2.3/src/nautilus-python.h:61: multiple definition of `_PyNautilusMenu_Type'; .libs/nautilus-python.o:/builddir/build/BUILD/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