FTBFS against openssl 3.0

Bug #1959622 reported by Dan Bungert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
hydra (Debian)
Fix Released
Unknown
hydra (Ubuntu)
Fix Released
Undecided
Simon Chopin

Bug Description

Hydra will FTBFS when building against openssl 3.0 for want of a INT_MAX definition.

In file included from hydra-mod.c:8:
/usr/include/openssl/err.h: In function ‘ERR_GET_LIB’:
/usr/include/openssl/err.h:243:9: error: ‘INT_MAX’ undeclared
(first use in this function)
243 | if (ERR_SYSTEM_ERROR(errcode))
/usr/include/openssl/err.h:31:1: note: ‘INT_MAX’ is defined in header
‘<limits.h>’; did you forget to ‘#include <limits.h>’?

limits.h does get included, but a conflict between the hydra configure file and the de-facto package layout of libmemcached-dev means that the wrong limits.h file, then one from memcached, is included.

Dan Bungert (dbungert)
description: updated
Revision history for this message
Dan Bungert (dbungert) wrote :
Changed in hydra (Ubuntu):
status: New → Confirmed
Changed in hydra (Debian):
status: Unknown → New
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "hydra-1_9.2-1build1_9.2-1ubuntu1.debdiff" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]

tags: added: patch
Simon Chopin (schopin)
Changed in hydra (Ubuntu):
assignee: nobody → Simon Chopin (schopin)
Revision history for this message
Simon Chopin (schopin) wrote :

Uploaded, thanks!

Changed in hydra (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package hydra - 9.2-1ubuntu1

---------------
hydra (9.2-1ubuntu1) jammy; urgency=medium

  * Adjust include directory for memcached so as to not shadow the
    /usr/include/limits.h file for the one in memcached (LP: #1959622).

 -- Dan Bungert <email address hidden> Mon, 31 Jan 2022 14:45:43 -0700

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