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

Launchpad Bug Tracker 1927750 at bugs.launchpad.net
Tue Jun 29 20:38:15 UTC 2021


This bug was fixed in the package nfs-ganesha - 3.2-2ubuntu3

---------------
nfs-ganesha (3.2-2ubuntu3) groovy; urgency=medium

  * d/nfs-ganesha-ceph.install: Remove duplicate shared libraries for
    RADOS URLs and recovery. Already provided by nfs-ganesha.install
    (LP: #1927208).

nfs-ganesha (3.2-2ubuntu2) groovy; urgency=medium

  * d/nfs-ganesha-ceph.install: Include shared libraries for RADOS URLs
    and recovery (LP: #1927208).
  * d/p/fix-FTBFS-gcc-10.patch: fix FTBFS with gcc-10 (LP: #1927750).

 -- Chris MacNaughton <chris.macnaughton at ubuntu.com>  Fri, 14 May 2021
12:31:11 +0000

** Changed in: nfs-ganesha (Ubuntu Groovy)
       Status: Fix Committed => Fix Released

-- 
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 Released

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