NetBSD Problem Report #60070

From mlh@goathill.org  Tue Mar 10 22:51:07 2026
Return-Path: <mlh@goathill.org>
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 "R12" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 6803C1A9239
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 10 Mar 2026 22:51:07 +0000 (UTC)
Message-Id: <20260310224354.0075612C42@chopper.goathill.org>
Date: Tue, 10 Mar 2026 18:43:53 -0400 (EDT)
From: mlh@goathill.org
Reply-To: mlh@goathill.org
To: gnats-bugs@NetBSD.org
Subject: net/samba fails configure
X-Send-Pr-Version: 3.95
X-From4GNATS: "mlh@goathill.org via gnats" <gnats-admin@NetBSD.org>

>Number:         60070
>Category:       pkg
>Synopsis:       net/samba fails configure
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 10 22:55:01 +0000 2026
>Closed-Date:    Wed Sep 02 01:12:30 +0000 2026
>Last-Modified:  Wed Sep 02 01:12:30 +0000 2026
>Originator:     mlh@goathill.org
>Release:        NetBSD 11.99.1
>Organization:
none
>Environment:
System: NetBSD tiamat 11.99.1 NetBSD 11.99.1 (HDMIAUDIO) #0: Mon Aug 11 12:07:26 EDT 2025 xxx:/opt/obj/amd64/opt/src/sys/arch/amd64/compile/HDMIAUDIO amd64
Architecture: x86_64
Machine: amd64
>Description:
net/samba fails to configure with current pkgsrc -
checking for test routines... configure: error: cant find test code. Aborting config
*** Error code 1
>How-To-Repeat:
$ cd /usr/pkgsrc/net/samba
$ make
...
checking for kernel share modes... no
checking for IRIX kernel oplock type definitions... no
checking for sys/capability.h... (cached) no
checking for int16 typedef included by rpc/rpc.h... no
checking for uint16 typedef included by rpc/rpc.h... no
checking for int32 typedef included by rpc/rpc.h... no
checking for uint32 typedef included by rpc/rpc.h... no
checking for conflicting AUTH_ERROR define in rpc/rpc.h... no
checking for test routines... configure: error: cant find test code. Aborting config
*** Error code 1
>Fix:
??

>Release-Note:

>Audit-Trail:
From: "Robert Swindells" <rjs@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/60070 CVS commit: pkgsrc/net/samba
Date: Tue, 21 Jul 2026 21:17:40 +0000

 Module Name:	pkgsrc
 Committed By:	rjs
 Date:		Tue Jul 21 21:17:40 UTC 2026

 Modified Files:
 	pkgsrc/net/samba: distinfo
 	pkgsrc/net/samba/patches: patch-af
 Added Files:
 	pkgsrc/net/samba/patches: patch-include_proto.h
 	    patch-lib_replace_test_strptime.c patch-lib_util__sec.c
 	    patch-smbd_password.c patch-tests_ftruncate.c
 	    patch-tests_getgroups.c patch-tests_readlink.c
 	    patch-tests_shared__mmap.c patch-tests_summary.c
 	    patch-tests_trivial.c

 Log Message:
 net/samba: Make it build on NetBSD-current.

 Fixes PR pkg/60070.


 To generate a diff of this commit:
 cvs rdiff -u -r1.108 -r1.109 pkgsrc/net/samba/distinfo
 cvs rdiff -u -r1.13 -r1.14 pkgsrc/net/samba/patches/patch-af
 cvs rdiff -u -r0 -r1.1 pkgsrc/net/samba/patches/patch-include_proto.h \
     pkgsrc/net/samba/patches/patch-lib_replace_test_strptime.c \
     pkgsrc/net/samba/patches/patch-lib_util__sec.c \
     pkgsrc/net/samba/patches/patch-smbd_password.c \
     pkgsrc/net/samba/patches/patch-tests_ftruncate.c \
     pkgsrc/net/samba/patches/patch-tests_getgroups.c \
     pkgsrc/net/samba/patches/patch-tests_readlink.c \
     pkgsrc/net/samba/patches/patch-tests_shared__mmap.c \
     pkgsrc/net/samba/patches/patch-tests_summary.c \
     pkgsrc/net/samba/patches/patch-tests_trivial.c

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

State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Wed, 02 Sep 2026 01:12:30 +0000
State-Changed-Why:
assuming from the commit that the problem is fixed, let us know if that's not the case.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.