NetBSD Problem Report #28756

From jukka@himo.salmi.ch  Wed Dec 22 20:00:33 2004
Return-Path: <jukka@himo.salmi.ch>
Received: from mx1.salmi.ch (mx1.salmi.ch [212.254.26.68])
	by narn.netbsd.org (Postfix) with ESMTP id 0610D63B400
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 22 Dec 2004 20:00:33 +0000 (UTC)
Message-Id: <20041222200032.45C7FFDE6@himo.salmi.ch>
Date: Wed, 22 Dec 2004 21:00:32 +0100 (CET)
From: j+nbsd@2004.salmi.ch
Reply-To: j+nbsd@2004.salmi.ch
To: gnats-bugs@netbsd.org
Subject: mail/postfix fails to build
X-Send-Pr-Version: 3.95

>Number:         28756
>Category:       pkg
>Synopsis:       mail/postfix fails to build
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kim
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 22 20:03:00 +0000 2004
>Closed-Date:    Fri Jan 21 22:53:43 +0000 2005
>Last-Modified:  Thu Jan 27 05:15:01 +0000 2005
>Originator:     Jukka Salmi
>Release:        NetBSD 2.99.11
>Organization:

>Environment:
System: NetBSD himo.salmi.ch 2.99.11 NetBSD 2.99.11 (GENERIC) #0: Wed Dec 22 16:41:14 CET 2004 build@himo.salmi.ch:/build/nbsd/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
mail/postfix fails to build if inet6 option is not enabled.
>How-To-Repeat:
$ cd pkgsrc/mail/postfix && make PKG_OPTIONS.postfix= patch
[...]
==========================================================================
===> patch-message [postfix-2.1.5nb2] ===> Patching for postfix-2.1.5nb2
===> do-patch [postfix-2.1.5nb2] ===> Applying distribution patches for postfix-2.1.5nb2
===> do-patch [postfix-2.1.5nb2] ===> Applying pkgsrc patches for postfix-2.1.5nb2
1 out of 1 hunks failed--saving rejects to src/util/inet_addr_list.h.rej
Patch /usr/pkgsrc/mail/postfix/patches/patch-aj failed
==========================================================================
>Fix:
patch-aj applies fine if inet6 is enabled. So this patch should probably be
included conditionally, i.e. only if PKG_OPTIONS has inet6.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->martti
Responsible-Changed-By: ben@netbsd.org
Responsible-Changed-When: Wed, 22 Dec 2004 20:15:02 +0000
Responsible-Changed-Why:
Assigned to package maintainer, martti.


Responsible-Changed-From-To: martti->kim
Responsible-Changed-By: kim@netbsd.org
Responsible-Changed-When: Tue, 28 Dec 2004 16:15:57 +0000
Responsible-Changed-Why:
I'll fix this (I broke it originally, too).


State-Changed-From-To: open->feedback
State-Changed-By: kim@netbsd.org
State-Changed-When: Tue, 28 Dec 2004 16:15:57 +0000
State-Changed-Why:
I've removed patch-aj and reintroduced it as patch-inet6-ni_withscopeid
which is only applied if the inet6 option has been selected.

Please update your pkgsrc and let me know if this works for you.

Thanks,
+ Kim


From: Kimmo Suominen <kim@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/28756 CVS commit: pkgsrc/mail/postfix
Date: Tue, 28 Dec 2004 16:13:28 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	kim
 Date:		Tue Dec 28 16:13:28 UTC 2004

 Modified Files:
 	pkgsrc/mail/postfix: distinfo options.mk
 Added Files:
 	pkgsrc/mail/postfix/files: patch-inet6-ni_withscopeid
 Removed Files:
 	pkgsrc/mail/postfix/patches: patch-aj

 Log Message:
 Apply NI_WITHSCOPEID patch only if the inet6 option is enabled.

 Closes PR pkg/28756


 To generate a diff of this commit:
 cvs rdiff -r1.79 -r1.80 pkgsrc/mail/postfix/distinfo
 cvs rdiff -r1.13 -r1.14 pkgsrc/mail/postfix/options.mk
 cvs rdiff -r0 -r1.1 pkgsrc/mail/postfix/files/patch-inet6-ni_withscopeid
 cvs rdiff -r1.6 -r0 pkgsrc/mail/postfix/patches/patch-aj

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

From: Jukka Salmi <j+nbsd@2004.salmi.ch>
To: kim@netbsd.org
Cc: gnats-bugs@NetBSD.org
Subject: Re: pkg/28756
Date: Fri, 21 Jan 2005 23:07:29 +0100

 kim@netbsd.org wrote:
 > State-Changed-From-To: open->feedback
 [...]
 > State-Changed-By: kim@netbsd.org
 > State-Changed-When: Tue, 28 Dec 2004 16:15:57 +0000
 > State-Changed-Why:
 > I've removed patch-aj and reintroduced it as patch-inet6-ni_withscopeid
 > which is only applied if the inet6 option has been selected.
 > 
 > Please update your pkgsrc and let me know if this works for you.

 Yes, works fine now. Thanks!

 Jukka

 -- 
 bashian roulette:
 $ ((RANDOM%6)) || rm -rf ~

State-Changed-From-To: feedback->closed
State-Changed-By: kim@netbsd.org
State-Changed-When: Fri, 21 Jan 2005 22:53:43 +0000
State-Changed-Why:
Fix confirmed by submitter.


From: Soren Jacobsen <snj@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/28756 CVS commit: [pkgsrc-2004Q4] pkgsrc/mail/postfix
Date: Thu, 27 Jan 2005 05:14:48 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	snj
 Date:		Thu Jan 27 05:14:48 UTC 2005

 Modified Files:
 	pkgsrc/mail/postfix [pkgsrc-2004Q4]: distinfo options.mk
 Added Files:
 	pkgsrc/mail/postfix/files [pkgsrc-2004Q4]: patch-inet6-ni_withscopeid
 Removed Files:
 	pkgsrc/mail/postfix/patches [pkgsrc-2004Q4]: patch-aj

 Log Message:
 Pullup ticket 241 - requested by Kimmo Suominen
 build fix for postfix

 Revisions pulled up:
 - pkgsrc/mail/postfix/distinfo				1.80
 - pkgsrc/mail/postfix/options.mk			1.14
 - pkgsrc/mail/postfix/files/patch-inet6-ni_withscopeid	1.1
 - pkgsrc/mail/postfix/patches/patch-aj			removed

     Module Name:    pkgsrc
     Committed By:   kim
     Date:           Tue Dec 28 16:13:28 UTC 2004

     Modified Files:
             pkgsrc/mail/postfix: distinfo options.mk
     Added Files:
             pkgsrc/mail/postfix/files: patch-inet6-ni_withscopeid
     Removed Files:
             pkgsrc/mail/postfix/patches: patch-aj

     Log Message:
     Apply NI_WITHSCOPEID patch only if the inet6 option is enabled.

     Closes PR pkg/28756


 To generate a diff of this commit:
 cvs rdiff -r1.78 -r1.78.2.1 pkgsrc/mail/postfix/distinfo
 cvs rdiff -r1.13 -r1.13.2.1 pkgsrc/mail/postfix/options.mk
 cvs rdiff -r0 -r1.1.2.1 pkgsrc/mail/postfix/files/patch-inet6-ni_withscopeid
 cvs rdiff -r1.6 -r0 pkgsrc/mail/postfix/patches/patch-aj

 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.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.