Source: openssh
Version: 1:10.2p1-4
Severity: important
Tags: patch

Hello,

openssh is currently made by debian/rules to link against libcrypt to
get res_query(), but:

- res_query() used to be in libresolv, not libcrypt
- ./configure already checks for res_query being in libresolv
- res_query() was moved to libc in GNU/Hurd like on GNU/Linux
- libcrypt is not provided by libc any more since recently, thus the
FTBFS that appeared recently.

so could you apply the attached patch to drop the tweak, fixing the
build?

Thanks,
Samuel

-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 
'testing-debug'), (500, 'stable-security'), (500, 'stable-debug'), (500, 
'proposed-updates'), (500, 'oldstable-debug'), (500, 'oldoldstable'), (500, 
'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 
'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64

Kernel: Linux 6.19.0 (SMP w/22 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-- 
Samuel
Fatal Error: Found [MS-Windows] System -> Repartitioning Disk for Linux...
(By [email protected], Christopher Browne)
--- debian/rules.original       2026-02-19 08:19:34.000000000 +0000
+++ debian/rules        2026-02-19 09:03:02.000000000 +0000
@@ -60,11 +60,6 @@
 confflags += --with-privsep-path=/run/sshd
 confflags += --with-pid-dir=/run
 
-# The Hurd needs libcrypt for res_query et al.
-ifeq ($(DEB_HOST_ARCH_OS),hurd)
-confflags += --with-libs=-lcrypt
-endif
-
 # Always use the internal mkdtemp; see https://bugs.debian.org/1001186.
 confflags += ac_cv_func_mkdtemp=no
 

Reply via email to