Bug 1793562 - glusterfs fails to build with gcc 10: multiple definition of `cli_ten_minutes_timeout' and others
Summary: glusterfs fails to build with gcc 10: multiple definition of `cli_ten_minutes...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: glusterfs
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kaleb KEITHLEY
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F32FTBFS PYTHON39 GCC10
TreeView+ depends on / blocked
 
Reported: 2020-01-21 15:06 UTC by Miro Hrončok
Modified: 2020-01-22 23:06 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-01-22 18:58:40 UTC
Type: Bug


Attachments (Terms of Use)

Description Miro Hrončok 2020-01-21 15:06:52 UTC
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.

Comment 1 Kaleb KEITHLEY 2020-01-21 15:14:27 UTC
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.

Comment 2 Miro Hrončok 2020-01-21 15:26:24 UTC
Thanks. Given the timing of the mass rebuild, having it fixed by then is more than enough for our use case.

Comment 3 Kaleb KEITHLEY 2020-01-22 18:58:40 UTC
there won't be a minor release of glusterfs-7 before the mass rebuild.

fixed with a patch in glusterfs-7.2-2.fc32

Comment 4 Miro Hrončok 2020-01-22 23:06:59 UTC
Thanks.


Note You need to log in before you can comment on or make changes to this bug.