NetBSD Problem Report #32527
From www@netbsd.org Sat Jan 14 23:09:14 2006
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
id 5EBCD63B88B; Sat, 14 Jan 2006 23:09:14 +0000 (UTC)
Message-Id: <20060114230914.5EBCD63B88B@narn.netbsd.org>
Date: Sat, 14 Jan 2006 23:09:14 +0000 (UTC)
From: jl+netbsd@lists.wasmer.ca
Reply-To: jl+netbsd@lists.wasmer.ca
To: gnats-bugs@netbsd.org
Subject: Error build binary package for Sendmail
X-Send-Pr-Version: www-1.0
>Number: 32527
>Category: pkg
>Synopsis: Error build binary package for Sendmail
>Confidential: no
>Severity: critical
>Priority: low
>Responsible: adrianp
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jan 14 23:10:00 +0000 2006
>Closed-Date: Wed Jan 18 21:22:44 +0000 2006
>Last-Modified: Wed Jan 18 21:22:44 +0000 2006
>Originator: Jean-Luc Wasmer
>Release: 3
>Organization:
>Environment:
NetBSD 3.99.15 (GENERIC)
>Description:
The last step in a "make package" fails:
===> Building binary package for sendmail-8.13.5
Creating package /usr/pkgsrc/packages/All/sendmail-8.13.5.tgz
Using SrcDir value of /usr/pkg
Registering depends: cyrus-sasl>=2.1.17nb3 openldap>=2.3.11nb2.
Registering conflicts: postfix-[0-9]* fastforward>=0.51nb2.
pkg_create: can't stat `/usr/pkg/bin/hoststat'
pkg_create: can't stat `/usr/pkg/bin/mailq'
pkg_create: can't stat `/usr/pkg/bin/newaliases'
pkg_create: can't stat `/usr/pkg/bin/purgestat'
pkg_create: can't stat `/usr/pkg/libexec/sendmail/sendmail'
pkg_create: can't stat `/usr/pkg/man/cat1/mailq.0'
pkg_create: can't stat `/usr/pkg/man/cat1/newaliases.0'
pkg_create: can't stat `/usr/pkg/man/cat5/aliases.0'
pkg_create: can't stat `/usr/pkg/man/cat8/sendmail.0'
tar: Unable to access bin/hoststat (No such file or directory)
tar: Unable to access bin/mailq (No such file or directory)
tar: Unable to access bin/newaliases (No such file or directory)
tar: Unable to access bin/purgestat (No such file or directory)
tar: Unable to access libexec/sendmail/sendmail (No such file or directory)
tar: Unable to access man/cat1/mailq.0 (No such file or directory)
tar: Unable to access man/cat1/newaliases.0 (No such file or directory)
tar: Unable to access man/cat5/aliases.0 (No such file or directory)
tar: Unable to access man/cat8/sendmail.0 (No such file or directory)
tar: WARNING! These file names were not selected:
bin/hoststat
bin/mailq
bin/newaliases
bin/purgestat
libexec/sendmail/sendmail
man/cat1/mailq.0
man/cat1/newaliases.0
man/cat5/aliases.0
man/cat8/sendmail.0
pkg_create: tar command failed with code 1
(pkg_create: exitcode 2)
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/mail/sendmail
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/mail/sendmail
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/mail/sendmail
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->adrianp
Responsible-Changed-By: cube@netbsd.org
Responsible-Changed-When: Sun, 15 Jan 2006 21:15:03 +0000
Responsible-Changed-Why:
adrianp is the maintainer.
From: Adrian Portelli <adrianp@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: jl+netbsd@lists.wasmer.ca
Subject: Re: pkg/32527 (Error build binary package for Sendmail)
Date: Sun, 15 Jan 2006 21:45:45 +0000
Hi,
Are you running pkgsrc from -HEAD or from a -stable branch ?
Also, are there any options in your mk.conf that would impact the
sendmail build (i.e. PKG_OPTIONS.sendmail+= etc.)
thanks,
adrian.
From: Jean-Luc Wasmer <jl+netbsd@lists.wasmer.ca>
To: Adrian Portelli <adrianp@NetBSD.org>
Cc: gnats-bugs@NetBSD.org
Subject: Re: pkg/32527 (Error build binary package for Sendmail)
Date: Mon, 16 Jan 2006 11:02:20 -0500
I'm running pkgsrc from HEAD. After having the error, I did an update
just to make sure it was not already fixed.
And as for the options (sorry, I forgot to mention that) :
PKG_OPTIONS.sendmail+= ldap sasl starttls
Jean-Luc
From: Adrian Portelli <adrianp@NetBSD.org>
To: Jean-Luc Wasmer <jl+netbsd@lists.wasmer.ca>
Cc: gnats-bugs@NetBSD.org
Subject: Re: pkg/32527 (Error build binary package for Sendmail)
Date: Mon, 16 Jan 2006 18:52:56 +0000
Hi,
Try the following patch and let me know how you get on:
ftp://ftp.netbsd.org/pub/NetBSD/misc/adrianp/sendmail.diff
It should work OK but I'm just testing it myself now to make sure it
does not do anything too nasty.
adrian.
From: Jean-Luc Wasmer <jl+netbsd@lists.wasmer.ca>
To: Adrian Portelli <adrianp@NetBSD.org>
Cc: gnats-bugs@NetBSD.org
Subject: Re: pkg/32527 (Error build binary package for Sendmail)
Date: Mon, 16 Jan 2006 18:20:36 -0500
Hi,
I can create the binary package now.
It seems valid since I can install the package using the file created by
"make package".
I haven't tested the installed package itself though.
Thanks,
Jean-Luc
From: Adrian Portelli <adrianp@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: PR/32527 CVS commit: pkgsrc/mail/sendmail
Date: Wed, 18 Jan 2006 21:00:48 +0000 (UTC)
Module Name: pkgsrc
Committed By: adrianp
Date: Wed Jan 18 21:00:48 UTC 2006
Modified Files:
pkgsrc/mail/sendmail: Makefile distinfo
Added Files:
pkgsrc/mail/sendmail/patches: patch-ai patch-aj patch-ak patch-al
Log Message:
Fix build on -HEAD
Identified by Jean-Luc Wasmer in PR# 32527
Fixes from -HEAD by christos@ (setuserenv -> setuserenviron)
Bump to nb1
To generate a diff of this commit:
cvs rdiff -r1.81 -r1.82 pkgsrc/mail/sendmail/Makefile
cvs rdiff -r1.25 -r1.26 pkgsrc/mail/sendmail/distinfo
cvs rdiff -r0 -r1.4 pkgsrc/mail/sendmail/patches/patch-ai
cvs rdiff -r0 -r1.1 pkgsrc/mail/sendmail/patches/patch-aj \
pkgsrc/mail/sendmail/patches/patch-ak \
pkgsrc/mail/sendmail/patches/patch-al
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: adrianp@netbsd.org
State-Changed-When: Wed, 18 Jan 2006 21:22:44 +0000
State-Changed-Why:
patches committed to fix the build on -HEAD.
Thanks for the PR!
>Unformatted:
(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.