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

Chris MacNaughton 1927750 at bugs.launchpad.net
Tue Jun 22 14:48:59 UTC 2021


Log from the build:

+------------------------------------------------------------------------------+
| Summary                                                                      |
+------------------------------------------------------------------------------+

Build Architecture: amd64
Build Type: binary
Build-Space: 164440
Build-Time: 115
Distribution: groovy-amd64
Host Architecture: amd64
Install-Time: 127
Job: nfs-ganesha_3.2-2ubuntu3.dsc
Lintian: warn
Machine Architecture: amd64
Package: nfs-ganesha
Package-Time: 304
Source-Version: 3.2-2ubuntu3
Space: 164440
Status: successful
Version: 3.2-2ubuntu3


** Tags removed: verification-needed verification-needed-groovy
** Tags added: verification-done verification-done-groovy

-- 
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:
  Fix Committed

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