[Bug 2049552] Re: [noble] ftbfs with new zlib 1.3

Miriam EspaƱa Acebal 2049552 at bugs.launchpad.net
Wed Jan 17 20:48:27 UTC 2024


Successful building with the fix as patch suggested by Andreas:

https://launchpad.net/~mirespace/+archive/ubuntu/openssh-
lp2049552-ftbfs-with-zlib/+sourcepub/15701298/+listing-archive-extra

Running tests...

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/2049552

Title:
  [noble] ftbfs with new zlib 1.3

Status in openssh package in Ubuntu:
  In Progress

Bug description:
  The zlib detection code seems faulty:

  checking for possibly buggy zlib... yes
  configure: error: *** zlib too old - check config.log ***
  Your reported zlib version has known security problems.  It's possible your
  vendor has fixed these problems without changing the version number.  If you
  are sure this is the case, you can disable the check by running
  "./configure --without-zlib-version-check".
  If you are in doubt, upgrade zlib to version 1.2.3 or greater.
  See http://www.gzip.org/zlib/ for details.

  | #include <stdio.h>
  | #include <stdlib.h>
  | #include <zlib.h>
  |
  | int
  | main (void)
  | {
  |
  |   int a=0, b=0, c=0, d=0, n, v;
  |   n = sscanf(ZLIB_VERSION, "%d.%d.%d.%d", &a, &b, &c, &d);
  |   if (n != 3 && n != 4)
  |       exit(1);
  |   v = a*1000000 + b*10000 + c*100 + d;
  |   fprintf(stderr, "found zlib version %s (%d)\n", ZLIB_VERSION, v);
  |
  |   /* 1.1.4 is OK */
  |   if (a == 1 && b == 1 && c >= 4)
  |       exit(0);
  |
  |   /* 1.2.3 and up are OK */
  |   if (v >= 1020300)
  |       exit(0);
  |
  |   exit(2);
  |
  |   ;
  |   return 0;
  | }

  Upstream bug report: https://bugzilla.mindrot.org/show_bug.cgi?id=3604

  Upstream fix (untested): https://github.com/openssh/openssh-
  portable/commit/cb4ed12ffc332d1f72d054ed92655b5f1c38f621

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/2049552/+subscriptions




More information about the foundations-bugs mailing list