librabbitmq: Fail to build against OpenSSL 3.0

Bug #1945812 reported by Simon Chopin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
librabbitmq (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Hello,

As part of a rebuild against OpenSSL3, this package failed to build on one or
several architectures. You can find the details of the rebuild at

https://people.canonical.com/~schopin/rebuilds/openssl-3.0.0-impish.html

or for the amd64 failed build, directly at

https://launchpad.net/~schopin/+archive/ubuntu/openssl-3.0.0/+build/22098642/+files/buildlog_ubuntu-impish-amd64.librabbitmq_0.10.0-1.0~ssl3ppa1.1_BUILDING.txt.gz

We're planning to transition to OpenSSL 3.0 for the 22.04 release, and consider
this issue as blocking for this transition.

You can find general migration informations at
https://www.openssl.org/docs/manmaster/man7/migration_guide.html
For your tests, you can build against libssl-dev as found in the PPA
schopin/openssl-3.0.0

This issue appears to have been fixed upstream, see
https://github.com/alanxz/rabbitmq-c/commit/23856b8cce06d0ed0a4e65f46bde27df409fe9f6

Note that this commit is part of the 0.11 release.

Revision history for this message
Simon Chopin (schopin) wrote :

A patched version has been uploaded both to

https://launchpad.net/~schopin/+archive/ubuntu/test-ppa/+packages (build against libssl1.1)
and
https://launchpad.net/~schopin/+archive/ubuntu/foundation-openssl3/+packages (build against libssl3)

Revision history for this message
Simon Chopin (schopin) wrote : Re: [Bug 1945812] Re: librabbitmq: Fail to build against OpenSSL 3.0

ANd it seems the patch found upstream doesn't work as intended. :-/

tags: added: patch
Revision history for this message
Simon Chopin (schopin) wrote :

Just retried the patch in a new build against -proposed, it worked fine. I'm guessing the previous failure was due to a dependency that wasn't compatible with OpenSSL 3 at the time, or just that -proposed was broken at the time?

In any case, I've refreshed the version in https://launchpad.net/~schopin/+archive/ubuntu/test-ppa/+packages which has now picked up the OpenSSL 3 present in -proposed, and am officially looking for a sponsor :)

Revision history for this message
William Wilson (jawn-smith) wrote :

jawn-smith@desktop:~/package-source$ dput librabbitmq_0.10.0-1ubuntu1_source.changes
Trying to upload package to ubuntu
Checking signature on .changes
gpg: /home/jawn-smith/package-source/librabbitmq_0.10.0-1ubuntu1_source.changes: Valid signature from 4916D7AB1D7A3804
Checking signature on .dsc
gpg: /home/jawn-smith/package-source/librabbitmq_0.10.0-1ubuntu1.dsc: Valid signature from 4916D7AB1D7A3804
Package includes an .orig.tar.gz file although the debian revision suggests
that it might not be required. Multiple uploads of the .orig.tar.gz may be
rejected by the upload queue management software.
Uploading to ubuntu (via ftp to upload.ubuntu.com):
  Uploading librabbitmq_0.10.0-1ubuntu1.dsc: done.
  Uploading librabbitmq_0.10.0.orig.tar.gz: done.
  Uploading librabbitmq_0.10.0-1ubuntu1.debian.tar.xz: done.
  Uploading librabbitmq_0.10.0-1ubuntu1_source.buildinfo: done.
  Uploading librabbitmq_0.10.0-1ubuntu1_source.changes: done.
Successfully uploaded packages.

Mathew Hodson (mhodson)
Changed in librabbitmq (Ubuntu):
importance: Undecided → High
Changed in librabbitmq (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package librabbitmq - 0.10.0-1ubuntu1

---------------
librabbitmq (0.10.0-1ubuntu1) jammy; urgency=medium

  * d/p/ssl-remove-reference-to-FIPS_set_mode.patch: backported
    to fix the build against OpenSSL 3.0 (LP: #1945812)

 -- Simon Chopin <email address hidden> Wed, 17 Nov 2021 14:22:23 +0100

Changed in librabbitmq (Ubuntu):
status: Fix Committed → Fix Released
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.