pkg/60562: build failure for security/libssh

"[email protected] via gnats" <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.bugs
Message-ID <[email protected]>
>Number:         60562
>Category:       pkg
>Synopsis:       build failure for security/libssh
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 09 10:15:00 +0000 2026
>Originator:     Paul Goyette
>Release:        NetBSD 11.99.6
>Organization:
+---------------------+--------------------------+----------------------+
| Paul Goyette (.sig) | PGP Key fingerprint:     | E-mail addresses:    |
| (Retired)           | 1B11 1849 721C 56C8 F63A | [email protected]    |
| Software Developer  | 6E2E 05FD 15CE 9F2D 5102 | [email protected]  |
| & Network Engineer  |                          | [email protected] |
+---------------------+--------------------------+----------------------+
>Environment:
$ sysctl user.osrevision
user.osrevision = 1199000600
$
	
	
System: NetBSD speedy.whooppee.com 11.99.6 NetBSD 11.99.6 (SPEEDY 2026-07-10 19:57:03 UTC) #0: Sat Jul 11 17:39:09 UTC 2026 [email protected]:/build/netbsd-local/obj/amd64/sys/arch/amd64/compile/SPEEDY amd64
Architecture: x86_64
Machine: amd64
>Description:
Building into a clean sandbox, with pkgsrc updated Sat Aug  8 23:24:53 PDT 2026
	


...
[ 97%] Building C object src/CMakeFiles/ssh.dir/bind_config.c.o
[ 98%] Building C object src/CMakeFiles/ssh.dir/dh-gex.c.o
/tmp/pkgs/security/libssh/work/libssh-0.12.1/src/mlkem_crypto.c:31:10: fatal error: openssl/ml_kem.h: No such file or directory
   31 | #include <openssl/ml_kem.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
--- src/CMakeFiles/ssh.dir/mlkem_crypto.c.o ---
*** [src/CMakeFiles/ssh.dir/mlkem_crypto.c.o] Error code 1

make[2]: stopped making "src/CMakeFiles/ssh.dir/build" in /tmp/pkgs/security/libssh/work/libssh-0.12.1/cmake-pkgsrc-build
In file included from /usr/include/ctype.h:100,
                 from /tmp/pkgs/security/libssh/work/libssh-0.12.1/src/bind_config.c:28:
/tmp/pkgs/security/libssh/work/libssh-0.12.1/src/bind_config.c: In function 'ssh_bind_config_parse_line':
/tmp/pkgs/security/libssh/work/libssh-0.12.1/src/bind_config.c:328:24: warning: array subscript has type 'char' [-Wchar-subscripts]
  328 |         if (! isspace(s[len])) {
      |                        ^
In file included from /usr/include/ctype.h:100,
                 from /tmp/pkgs/security/libssh/work/libssh-0.12.1/src/sftp_common.c:29:
/tmp/pkgs/security/libssh/work/libssh-0.12.1/src/sftp_common.c: In function 'sftp_parse_longname':
/tmp/pkgs/security/libssh/work/libssh-0.12.1/src/sftp_common.c:478:21: warning: array subscript has type 'char' [-Wchar-subscripts]
  478 |         if (isspace(*p)) {
      |                     ^
/tmp/pkgs/security/libssh/work/libssh-0.12.1/src/sftp_common.c:481:42: warning: array subscript has type 'char' [-Wchar-subscripts]
  481 |             while (*p != '\0' && isspace(*p)) {
      |                                          ^
/tmp/pkgs/security/libssh/work/libssh-0.12.1/src/sftp_common.c:495:35: warning: array subscript has type 'char' [-Wchar-subscripts]
  495 |     while (*q != '\0' && !isspace(*q)) {
      |                                   ^
make[2]: 1 error

make[2]: stopped making "src/CMakeFiles/ssh.dir/build" in /tmp/pkgs/security/libssh/work/libssh-0.12.1/cmake-pkgsrc-build
--- src/CMakeFiles/ssh.dir/all ---
*** [src/CMakeFiles/ssh.dir/all] Error code 2

make[1]: stopped making "all" in /tmp/pkgs/security/libssh/work/libssh-0.12.1/cmake-pkgsrc-build
make[1]: 1 error

make[1]: stopped making "all" in /tmp/pkgs/security/libssh/work/libssh-0.12.1/cmake-pkgsrc-build
*** [all] Error code 2

make: stopped making "all" in /tmp/pkgs/security/libssh/work/libssh-0.12.1/cmake-pkgsrc-build
make: 1 error

make: stopped making "all" in /tmp/pkgs/security/libssh/work/libssh-0.12.1/cmake-pkgsrc-build
*** Error code 2

Stop.
make[1]: stopped making "install" in /build/pkgsrc/security/libssh
*** Error code 1

Stop.
make: stopped making "install" in /build/pkgsrc/security/libssh

>How-To-Repeat:
	
>Fix:
	

>Unformatted:
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.