Bug 1794288 - nfs-ganesha fails to build with gcc 10: multiple definition of ...
Summary: nfs-ganesha fails to build with gcc 10: multiple definition of ...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: nfs-ganesha
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-23 08:09 UTC by Miro Hrončok
Modified: 2020-01-23 12:35 UTC (History)
6 users (show)

Fixed In Version: nfs-ganesha-3.2-2.fc32
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-01-23 12:35:44 UTC
Type: Bug


Attachments (Terms of Use)

Description Miro Hrončok 2020-01-23 08:09:37 UTC
nfs-ganesha fails to build with gcc 10:

...
CMakeFiles/MainServices.dir/nfs_init.c.o:/builddir/build/BUILD/nfs-ganesha-3.2/src/include/FSAL/fsal_commonlib.h:105: first defined here
/usr/bin/ld: ../FSAL/Stackable_FSALs/FSAL_MDCACHE/CMakeFiles/fsalmdcache.dir/mdcache_helpers.c.o:/builddir/build/BUILD/nfs-ganesha-3.2/src/include/FSAL/fsal_commonlib.h:103: multiple definition of `posix_file_systems'; CMakeFiles/MainServices.dir/nfs_init.c.o:/builddir/build/BUILD/nfs-ganesha-3.2/src/include/FSAL/fsal_commonlib.h:103: first defined here
/usr/bin/ld: ../FSAL/Stackable_FSALs/FSAL_MDCACHE/CMakeFiles/fsalmdcache.dir/mdcache_helpers.c.o:/builddir/build/BUILD/nfs-ganesha-3.2/src/include/FSAL/fsal_commonlib.h:101: multiple definition of `avl_dev'; CMakeFiles/MainServices.dir/nfs_init.c.o:/builddir/build/BUILD/nfs-ganesha-3.2/src/include/FSAL/fsal_commonlib.h:101: first defined here
/usr/bin/ld: ../FSAL/Stackable_FSALs/FSAL_MDCACHE/CMakeFiles/fsalmdcache.dir/mdcache_helpers.c.o:/builddir/build/BUILD/nfs-ganesha-3.2/src/include/FSAL/fsal_commonlib.h:100: multiple definition of `avl_fsid'; CMakeFiles/MainServices.dir/nfs_init.c.o:/builddir/build/BUILD/nfs-ganesha-3.2/src/include/FSAL/fsal_commonlib.h:100: first defined here
/usr/bin/ld: ../FSAL/Stackable_FSALs/FSAL_MDCACHE/CMakeFiles/fsalmdcache.dir/mdcache_lru.c.o:/builddir/build/BUILD/nfs-ganesha-3.2/src/include/FSAL/fsal_commonlib.h:105: multiple definition of `fs_lock'; CMakeFiles/MainServices.dir/nfs_init.c.o:/builddir/build/BUILD/nfs-ganesha-3.2/src/include/FSAL/fsal_commonlib.h:105: first defined here
/usr/bin/ld: ../FSAL/Stackable_FSALs/FSAL_MDCACHE/CMakeFiles/fsalmdcache.dir/mdcache_lru.c.o:/builddir/build/BUILD/nfs-ganesha-3.2/src/include/FSAL/fsal_commonlib.h:103: multiple definition of `posix_file_systems'; CMakeFiles/MainServices.dir/nfs_init.c.o:/builddir/build/BUILD/nfs-ganesha-3.2/src/include/FSAL/fsal_commonlib.h:103: first defined here
/usr/bin/ld: ../FSAL/Stackable_FSALs/FSAL_MDCACHE/CMakeFiles/fsalmdcache.dir/mdcache_lru.c.o:/builddir/build/BUILD/nfs-ganesha-3.2/src/include/FSAL/fsal_commonlib.h:101: multiple definition of `avl_dev'; CMakeFiles/MainServices.dir/nfs_init.c.o:/builddir/build/BUILD/nfs-ganesha-3.2/src/include/FSAL/fsal_commonlib.h:101: first defined here
/usr/bin/ld: ../FSAL/Stackable_FSALs/FSAL_MDCACHE/CMakeFiles/fsalmdcache.dir/mdcache_lru.c.o:/builddir/build/BUILD/nfs-ganesha-3.2/src/include/FSAL/fsal_commonlib.h:100: multiple definition of `avl_fsid'; CMakeFiles/MainServices.dir/nfs_init.c.o:/builddir/build/BUILD/nfs-ganesha-3.2/src/include/FSAL/fsal_commonlib.h:100: first defined here
/usr/bin/ld: ../FSAL/Stackable_FSALs/FSAL_MDCACHE/CMakeFiles/fsalmdcache.dir/mdcache_lru.c.o:/builddir/build/BUILD/nfs-ganesha-3.2/src/include/nfs_init.h:53: multiple definition of `gsh_dbus_thrid'; CMakeFiles/MainServices.dir/nfs_worker_thread.c.o:/builddir/build/BUILD/nfs-ganesha-3.2/src/include/nfs_init.h:53: first defined here
/usr/bin/ld: ../dbus/CMakeFiles/gshdbus.dir/dbus_server.c.o:/builddir/build/BUILD/nfs-ganesha-3.2/src/include/nfs_init.h:53: multiple definition of `gsh_dbus_thrid'; CMakeFiles/MainServices.dir/nfs_worker_thread.c.o:/builddir/build/BUILD/nfs-ganesha-3.2/src/include/nfs_init.h:53: first defined here
collect2: error: ld returned 1 exit status



This blocks the Python 3.9 rebuild.

This is fixed upstream and opened here to track it.

See https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/M2RZLG6YEQIFQOFVC2AP5ZKAEDV5PL54/

Comment 1 Kaleb KEITHLEY 2020-01-23 12:35:44 UTC
there won't be a new release with the fix in time for the mass rebuild. I've respun with a patch that fixes it.


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