FS#79568 - [openssh] FTBFS

Attached to Project: Arch Linux
Opened by Levi Zim (kxxt) - Tuesday, 05 September 2023, 07:17 GMT
Last edited by David Runge (dvzrv) - Tuesday, 05 September 2023, 10:52 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Lukas Fleischer (lfleischer)
David Runge (dvzrv)
Levente Polyak (anthraxx)
Giancarlo Razzolini (grazzolini)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Openssh's zlib version detector is buggy and can't detect zlib 1.3.
Upstream fixed it in https://github.com/openssh/openssh-portable/commit/cb4ed12ffc332d1f72d054ed92655b5f1c38f621

Solution:
1. apply commit cb4ed12ffc332d1f72d054ed92655b5f1c38f621
2. run autoreconf

Logs:

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.
==> ERROR: A failure occurred in build().
Aborting...


Additional info:
* package version(s) 9.4p1-2
* link to upstream bug report, if any: https://www.mail-archive.com/openssh-bugs%40mindrot.org/msg17113.html
This task depends upon

Closed by  David Runge (dvzrv)
Tuesday, 05 September 2023, 10:52 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed with 9.4p1-3
Comment by David Runge (dvzrv) - Tuesday, 05 September 2023, 10:23 GMT
@kxxt: Thanks for the ticket!

I already ran into this yesterday trying to look around for a fix to the ldns ticket (https://bugs.archlinux.org/task/76779).

I'll likely disable the zlib check because it's not really useful to us and it should not prevent openssh from compiling.