NetBSD Problem Report #59899

From john@klos.com  Thu Jan  8 21:22:20 2026
Return-Path: <john@klos.com>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
	 client-signature RSA-PSS (2048 bits) client-digest SHA256)
	(Client CN "mail.netbsd.org", Issuer "R13" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 6C0841A923C
	for <gnats-bugs@gnats.NetBSD.org>; Thu,  8 Jan 2026 21:22:20 +0000 (UTC)
Message-Id: <202601082122.608LMAZj010792@bunny.zia.io>
Date: Thu, 8 Jan 2026 21:22:10 GMT
From: john@ziaspace.com
Reply-To: john@ziaspace.com
To: gnats-bugs@NetBSD.org
Subject: www/curl fails on NetBSD 9
X-Send-Pr-Version: 3.95
X-From4GNATS: "john@ziaspace.com via gnats" <gnats-admin@NetBSD.org>

>Number:         59899
>Category:       pkg
>Synopsis:       www/curl fails on NetBSD 9 because of OpenSSL requirement
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    leot
>State:          feedback
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 08 21:25:00 +0000 2026
>Closed-Date:    
>Last-Modified:  Mon Jan 19 19:30:02 +0000 2026
>Originator:     John Klos
>Release:        NetBSD 9.4_STABLE
>Organization:

>Environment:


System: NetBSD bedford.klos.com 9.4_STABLE NetBSD 9.4_STABLE (GENERIC) #0: Wed Jan 22 15:36:40 UTC 2025
patrick@bedford.klos.com:/usr/obj-amd64/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
www/curl fails on NetBSD 9 because of OpenSSL requirement

>How-To-Repeat:
Try to build pkgsrc/www/curl on a NetBSD 9 system that doesn't already have OpenSSL >= 3:

ing for LibreSSL... no
checking for OpenSSL >= v3... configure: error: OpenSSL 3.0.0 or upper required.
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/www/curl
*** Error code 1


openssl version
OpenSSL 1.1.1t  7 Feb 2023

>Fix:


>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->leot
Responsible-Changed-By: hauke@NetBSD.org
Responsible-Changed-When: Thu, 08 Jan 2026 21:28:33 +0000
Responsible-Changed-Why:
Over to maintainer.


From: Leonardo Taccari <leot@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/59899: www/curl fails on NetBSD 9
Date: Fri, 09 Jan 2026 13:12:28 +0100

 Hello John,

 john@ziaspace.com via gnats writes:
 > >Number:         59899
 > >Category:       pkg
 > >Synopsis:       www/curl fails on NetBSD 9 because of OpenSSL requirement
 > >Confidential:   no
 > >Severity:       non-critical
 > >Priority:       low
 > >Responsible:    pkg-manager
 > >State:          open
 > >Class:          sw-bug
 > >Submitter-Id:   net
 > >Arrival-Date:   Thu Jan 08 21:25:00 +0000 2026
 > >Originator:     John Klos
 > >Release:        NetBSD 9.4_STABLE
 > >Organization:
 > 	
 > >Environment:
 > 	
 > 	
 > System: NetBSD bedford.klos.com 9.4_STABLE NetBSD 9.4_STABLE (GENERIC) #0: We
 d Jan 22 15:36:40 UTC 2025
 > patrick@bedford.klos.com:/usr/obj-amd64/sys/arch/amd64/compile/GENERIC amd64
 > Architecture: x86_64
 > Machine: amd64
 > >Description:
 > www/curl fails on NetBSD 9 because of OpenSSL requirement
 > 	
 > >How-To-Repeat:
 > Try to build pkgsrc/www/curl on a NetBSD 9 system that doesn't already have O
 penSSL >= 3:
 >
 > ing for LibreSSL... no
 > checking for OpenSSL >= v3... configure: error: OpenSSL 3.0.0 or upper requir
 ed.
 > *** Error code 1
 >
 > Stop.
 > make[1]: stopped in /usr/pkgsrc/www/curl
 > *** Error code 1
 >
 >
 > openssl version
 > OpenSSL 1.1.1t  7 Feb 2023
 > [...] 	

 Thanks for the PR John!

 I think we will need to add in www/curl/options.mk, for the openssl
 if branch:

  BUILDLINK_API_DEPENDS.openssl+=      openssl>=3.0

 And that should pick up pkgsrc openssl.


 I believe that a recursive revbump is not needed because the package is
 already failing to build but please correct me if I'm wrong!


 I don't have access to build on any netbsd-9 machines right now so if
 anyone would like to try and commit it... feel free to beat me!


 Thanks!

From: "Makoto Fujiwara" <mef@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/59899 CVS commit: pkgsrc/www/curl
Date: Mon, 12 Jan 2026 11:03:55 +0000

 Module Name:	pkgsrc
 Committed By:	mef
 Date:		Mon Jan 12 11:03:55 UTC 2026

 Modified Files:
 	pkgsrc/www/curl: Makefile.common

 Log Message:
 PR pkg/59899 Another Fix for NetBSD/9.4, by BUILDLINK_API_DEPENDS.openssl+

 As suggested by leot@ See:
    https://mail-index.netbsd.org/pkgsrc-changes/2026/01/12/msg337875.html
 Thanks a lot,


 To generate a diff of this commit:
 cvs rdiff -u -r1.32 -r1.33 pkgsrc/www/curl/Makefile.common

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->feedback
State-Changed-By: leot@NetBSD.org
State-Changed-When: Mon, 12 Jan 2026 15:02:47 +0000
State-Changed-Why:
<mef> has fixed it.

John, can you please retest and let us know if it's ok?

Thank you!



From: Leonardo Taccari <leot@NetBSD.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/59899 (www/curl fails on NetBSD 9 because of OpenSSL requirement)
Date: Mon, 12 Jan 2026 19:16:53 +0100

 Also, side-note: no pullup needed because curl in 2025Q4 build
 correctly on netbsd-9, at least according latest bulk builds.

From: "David H. Gutteridge" <gutteridge@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/59899 CVS commit: pkgsrc/www/curl
Date: Mon, 19 Jan 2026 19:25:40 +0000

 Module Name:	pkgsrc
 Committed By:	gutteridge
 Date:		Mon Jan 19 19:25:40 UTC 2026

 Modified Files:
 	pkgsrc/www/curl: Makefile.common buildlink3.mk options.mk

 Log Message:
 curl & libcurl-gnutls: fix BUILDLINK_API_DEPENDS.openssl

 The assignment shouldn't be placed in Makefile.common for more than one
 reason (openssl is a build option, it should be propagated to packages
 that link against libcurl, and, though harmless, makes no sense being
 applied to libcurl-gnutls).

 Related to PR pkg/59899. Also likely related to:
 https://mail-index.netbsd.org/tech-pkg/2026/01/16/msg031893.html


 To generate a diff of this commit:
 cvs rdiff -u -r1.33 -r1.34 pkgsrc/www/curl/Makefile.common
 cvs rdiff -u -r1.69 -r1.70 pkgsrc/www/curl/buildlink3.mk
 cvs rdiff -u -r1.26 -r1.27 pkgsrc/www/curl/options.mk

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.