[SRU] nfs-ganesha FTBFS on Hirsute and above with a version mismatch

Bug #1927752 reported by Chris MacNaughton
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nfs-ganesha (Ubuntu)
Fix Released
Undecided
Unassigned
Hirsute
Fix Released
Undecided
Unassigned
Impish
Fix Released
Undecided
Unassigned

Bug Description

[Impact]

In file included from /<<PKGBUILDDIR>>/src/FSAL/FSAL_RGW/up.c:40:
/<<PKGBUILDDIR>>/src/FSAL/FSAL_RGW/internal.h:50:2: error: #error rados/rgw_file.h version unsupported (require >= 1.1.1)
   50 | #error rados/rgw_file.h version unsupported (require >= 1.1.1)
      | ^~~~~

The version detecting code in Ganesha is incorrect and has been patched upstream (https://github.com/nfs-ganesha/nfs-ganesha/commit/7dfacf4293d2f392caa25b9ec3df4bb7f4c8e45e)

[Test Plan]

Reproducing the bug is as easy as attempting to build the package:

pull-lp-source nfs-ganesha hirsute
sbuild -A -d groovy-amd64 nfs-ganesha_3.4-1.dsc

[Where problems could occur]

There should be no functional change as a result of this change, it is limited to enabling compilation against the version of librgw-dev. As the change has been accepted upstream, it should be low risk.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nfs-ganesha - 3.4-1ubuntu1

---------------
nfs-ganesha (3.4-1ubuntu1) impish; urgency=medium

  * d/nfs-ganesha-ceph.install: Include shared libraries for RADOS URLs
    and recovery (LP: #1927208).
  * d/p/resolve-ceph-rgw-version-check.patch: FSAL_Fix RGW version
    check (LP: #1927752).

 -- Chris MacNaughton <email address hidden> Wed, 05 May 2021 11:26:35 +0000

Changed in nfs-ganesha (Ubuntu Impish):
status: New → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Chris, or anyone else affected,

Accepted nfs-ganesha into hirsute-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/nfs-ganesha/3.4-1ubuntu0.21.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-hirsute to verification-done-hirsute. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-hirsute. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in nfs-ganesha (Ubuntu Hirsute):
status: New → Fix Committed
tags: added: verification-needed verification-needed-hirsute
Revision history for this message
Brian Murray (brian-murray) wrote :

Hello Chris, or anyone else affected,

Accepted nfs-ganesha into hirsute-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/nfs-ganesha/3.4-1ubuntu0.21.04.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-hirsute to verification-done-hirsute. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-hirsute. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
Chris MacNaughton (chris.macnaughton) wrote :

The build logs from Launchpad (https://launchpad.net/ubuntu/+source/nfs-ganesha/3.4-1ubuntu0.21.04.2/+build/21630486) confirm that the package now builds correctly. Additional functional verification of this package has been done under https://bugs.launchpad.net/ubuntu/+source/nfs-ganesha/+bug/1927207

tags: added: verification-done verification-done-hirsute
removed: verification-needed verification-needed-hirsute
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nfs-ganesha - 3.4-1ubuntu0.21.04.2

---------------
nfs-ganesha (3.4-1ubuntu0.21.04.2) hirsute; 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.4-1ubuntu0.21.04.1) hirsute; urgency=medium

  * d/nfs-ganesha-ceph.install: Include shared libraries for RADOS URLs
    and recovery (LP: #1927208).
  * d/p/resolve-ceph-rgw-version-check.patch: FSAL_Fix RGW version
    check (LP: #1927752).
  * d/control: Update Maintainer.

 -- Chris MacNaughton <email address hidden> Fri, 14 May 2021 12:31:11 +0000

Changed in nfs-ganesha (Ubuntu Hirsute):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for nfs-ganesha has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.