glusterfs fails to build with gcc 10:
/usr/bin/ld: registry.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:43: multiple definition of `cli_ten_minutes_timeout'; cli.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:43: first defined here
/usr/bin/ld: registry.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:42: multiple definition of `cli_default_conn_timeout'; cli.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:42: first defined here
/usr/bin/ld: input.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:43: multiple definition of `cli_ten_minutes_timeout'; cli.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:43: first defined here
/usr/bin/ld: input.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:42: multiple definition of `cli_default_conn_timeout'; cli.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:42: first defined here
/usr/bin/ld: cli-cmd.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:42: multiple definition of `cli_default_conn_timeout'; cli.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:42: first defined here
/usr/bin/ld: cli-cmd.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:43: multiple definition of `cli_ten_minutes_timeout'; cli.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:43: first defined here
/usr/bin/ld: cli-rl.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:43: multiple definition of `cli_ten_minutes_timeout'; cli.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:43: first defined here
/usr/bin/ld: cli-rl.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:42: multiple definition of `cli_default_conn_timeout'; cli.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:42: first defined here
/usr/bin/ld: cli-cmd-global.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:43: multiple definition of `cli_ten_minutes_timeout'; cli.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:43: first defined here
/usr/bin/ld: cli-cmd-global.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:42: multiple definition of `cli_default_conn_timeout'; cli.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:42: first defined here
/usr/bin/ld: cli-cmd-volume.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:43: multiple definition of `cli_ten_minutes_timeout'; cli.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:43: first defined here
/usr/bin/ld: cli-cmd-volume.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:42: multiple definition of `cli_default_conn_timeout'; cli.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:42: first defined here
/usr/bin/ld: cli-cmd-peer.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:43: multiple definition of `cli_ten_minutes_timeout'; cli.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:43: first defined here
/usr/bin/ld: cli-cmd-peer.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:42: multiple definition of `cli_default_conn_timeout'; cli.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:42: first defined here
/usr/bin/ld: cli-rpc-ops.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:42: multiple definition of `cli_default_conn_timeout'; cli.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:42: first defined here
/usr/bin/ld: cli-rpc-ops.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:43: multiple definition of `cli_ten_minutes_timeout'; cli.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:43: first defined here
/usr/bin/ld: cli-cmd-parser.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:43: multiple definition of `cli_ten_minutes_timeout'; cli.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:43: first defined here
/usr/bin/ld: cli-cmd-parser.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:42: multiple definition of `cli_default_conn_timeout'; cli.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:42: first defined here
/usr/bin/ld: cli-cmd-system.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:43: multiple definition of `cli_ten_minutes_timeout'; cli.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:43: first defined here
/usr/bin/ld: cli-cmd-system.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:42: multiple definition of `cli_default_conn_timeout'; cli.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:42: first defined here
/usr/bin/ld: cli-cmd-misc.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:43: multiple definition of `cli_ten_minutes_timeout'; cli.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:43: first defined here
/usr/bin/ld: cli-cmd-misc.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:42: multiple definition of `cli_default_conn_timeout'; cli.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:42: first defined here
/usr/bin/ld: cli-xml-output.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:43: multiple definition of `cli_ten_minutes_timeout'; cli.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:43: first defined here
/usr/bin/ld: cli-xml-output.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:42: multiple definition of `cli_default_conn_timeout'; cli.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:42: first defined here
/usr/bin/ld: cli-quotad-client.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:43: multiple definition of `cli_ten_minutes_timeout'; cli.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:43: first defined here
/usr/bin/ld: cli-quotad-client.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:42: multiple definition of `cli_default_conn_timeout'; cli.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:42: first defined here
/usr/bin/ld: cli-cmd-snapshot.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:43: multiple definition of `cli_ten_minutes_timeout'; cli.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:43: first defined here
/usr/bin/ld: cli-cmd-snapshot.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:42: multiple definition of `cli_default_conn_timeout'; cli.o:/builddir/build/BUILD/glusterfs-7.2/cli/src/cli.h:42: 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.
Side note: This has been fixed upstream according to the thread, I am opening this to track it - our Python 3.9 automation otherwise insists on notifying me about this over and over.
As indicated on the mailing list this is already fixed upstream and will be addressed in the next minor release if it's released before the mass rebuild, or by respinning the current release with a patch.