[Bug 1927750] Re: [SRU] FTBFS nfs-ganesha fails to build from source on Ubuntu Groovy (gcc-10)

Chris MacNaughton 1927750 at bugs.launchpad.net
Fri May 7 15:15:12 UTC 2021


** Also affects: nfs-ganesha (Ubuntu Groovy)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to nfs-ganesha in Ubuntu.
https://bugs.launchpad.net/bugs/1927750

Title:
  [SRU] FTBFS nfs-ganesha fails to build from source on Ubuntu Groovy
  (gcc-10)

Status in nfs-ganesha package in Ubuntu:
  New
Status in nfs-ganesha source package in Groovy:
  New

Bug description:
  [Impact]

  When trying to build nfs-ganesha, it fails to build with many
  instances of:

  > /usr/bin/ld: CMakeFiles/MainServices.dir/nfs_rpc_dispatcher_thread.c.o:./src/obj-x86_64-linux-gnu/MainNFSD/./src/include/nfs_init.h:53: multiple definition of `gsh_dbus_thrid'; CMakeFiles/MainServices.dir/nfs_worker_thread.c.o:./src/obj-x86_64-linux-gnu/MainNFSD/./src/include/nfs_init.h:53: first defined here
  > /usr/bin/ld: CMakeFiles/MainServices.dir/nfs_init.c.o:./src/obj-x86_64-linux-gnu/MainNFSD/./src/include/nfs_init.h:53: multiple definition of `gsh_dbus_thrid'; CMakeFiles/MainServices.dir/nfs_worker_thread.c.o:./src/obj-x86_64-linux-gnu/MainNFSD/./src/include/nfs_init.h:53: first defined here

  Debian has already landed a fix at https://salsa.debian.org/debian
  /nfs-ganesha/-/commit/2aaca7a4e59d092218705e192910b4d8bfb3169e

  The fix linked above is an upstream patch to resolve the build on
  gcc-10

  [Test Plan]
  Reproducing the bug is as easy as attempting to build the package:

  pull-lp-source nfs-ganesha groovy
  sbuild -A -d groovy-amd64 nfs-ganesha_3.2-2ubuntu1.dsc

  [Where problems could occur]

  The SRU shouldn't change the current behaviour as it's just aligning
  compiler support to gcc-10.

  Upstream nfs-ganesha and Debian have already included this patch so I
  expect the risk to be low.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-ganesha/+bug/1927750/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list