gplugin fails to build with gcc 10: [130/137] cc -o python/gplugin-python.so 'python/11a4a60@@gplugin-python@sha/gplugin-python-core.c.o' 'python/11a4a60@@gplugin-python@sha/gplugin-python-loader.c.o' 'python/11a4a60@@gplugin-python@sha/gplugin-python-plugin.c.o' 'python/11a4a60@@gplugin-python@sha/gplugin-python-utils.c.o' -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,gplugin-python.so -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -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 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld gplugin/libgplugin.so.0.1.0 /usr/lib64/libpython3.9.so /usr/lib64/libgobject-2.0.so /usr/lib64/libglib-2.0.so -Wl,--end-group '-Wl,-rpath,$ORIGIN/../gplugin' -Wl,-rpath-link,/builddir/build/BUILD/gplugin-0.29.0/x86_64-redhat-linux-gnu/gplugin FAILED: python/gplugin-python.so cc -o python/gplugin-python.so 'python/11a4a60@@gplugin-python@sha/gplugin-python-core.c.o' 'python/11a4a60@@gplugin-python@sha/gplugin-python-loader.c.o' 'python/11a4a60@@gplugin-python@sha/gplugin-python-plugin.c.o' 'python/11a4a60@@gplugin-python@sha/gplugin-python-utils.c.o' -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,gplugin-python.so -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -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 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld gplugin/libgplugin.so.0.1.0 /usr/lib64/libpython3.9.so /usr/lib64/libgobject-2.0.so /usr/lib64/libglib-2.0.so -Wl,--end-group '-Wl,-rpath,$ORIGIN/../gplugin' -Wl,-rpath-link,/builddir/build/BUILD/gplugin-0.29.0/x86_64-redhat-linux-gnu/gplugin /usr/bin/ld: python/11a4a60@@gplugin-python@sha/gplugin-python-plugin.c.o:/usr/include/pygobject-3.0/pygobject.h:230: multiple definition of `_PyGObject_API'; python/11a4a60@@gplugin-python@sha/gplugin-python-loader.c.o:/usr/include/pygobject-3.0/pygobject.h:230: first defined here collect2: error: ld returned 1 exit status This blocks the Python 3.9 rebuild of the package. See https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/RYVPP45PMWPXYBBDKXO3CI7YGL7CDQG6/ and https://gcc.gnu.org/gcc-10/porting_to.html#common for more information about the failure.
This bug appears to have been reported against 'rawhide' during the Fedora 32 development cycle. Changing version to 32.
Dear Maintainer, your package has not been built successfully in 32. Action is required from you. If you can fix your package to build, perform a build in koji, and either create an update in bodhi, or close this bug without creating an update, if updating is not appropriate [1]. If you are working on a fix, set the status to ASSIGNED to acknowledge this. Following the latest policy for such packages [2], your package will be orphaned if this bug remains in NEW state more than 8 weeks. A week before the mass branching of Fedora 33 according to the schedule [3], any packages not successfully rebuilt at least on Fedora 31 will be retired regardless of the status of this bug. [1] https://fedoraproject.org/wiki/Updates_Policy [2] https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/ [3] https://fedoraproject.org/wiki/Releases/33/Schedule
You can fetch the fix for this from upstream; it's rather simple. https://bitbucket.org/gplugin/gplugin/commits/a9a1381feea9e42d3c358b140c4e58a0503d6c68
Dear Maintainer, your package has an open Fails To Build From Source bug for Fedora 32. Action is required from you. If you can fix your package to build, perform a build in koji, and either create an update in bodhi, or close this bug without creating an update, if updating is not appropriate [1]. If you are working on a fix, set the status to ASSIGNED to acknowledge this. If you have already fixed this issue, please close this Bugzilla report. Following the policy for such packages [2], your package will be orphaned if this bug remains in NEW state more than 8 weeks (that's on 2020-03-26). A week before the mass branching of Fedora 33 according to the schedule [3], any packages not successfully rebuilt at least on Fedora 31 will be retired regardless of the status of this bug. [1] https://fedoraproject.org/wiki/Updates_Policy [2] https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/ [3] https://fedorapeople.org/groups/schedule/f-33/f-33-key-tasks.html
According to the policy, this package in orphaned. If you wish to unorphan it, claim it via the web interface at https://src.fedoraproject.org/ (bottom part of the left column when viewing the package). When you do, don't forget to also change this bug's status. (This comment is mass posted to all affected packages and I am not subscribed to all of the bugzillas. If you wish to ask me something please add me to CC and/or use a Bugzilla needinfo. Thanks.)