NetBSD Problem Report #25175

Received: (qmail 26694 invoked by uid 605); 13 Apr 2004 23:06:34 -0000
Message-Id: <200404132306.i3DN6UmN023804@mofo.grunta.com>
Date: Wed, 14 Apr 2004 09:06:30 +1000 (EST)
From: grant@NetBSD.org
Sender: gnats-bugs-owner@NetBSD.org
To: gnats-bugs@gnats.NetBSD.org
Subject: postfix build failure on Linux (db lossage)
X-Send-Pr-Version: 3.95

>Number:         25175
>Category:       pkg
>Synopsis:       postfix build failure on Linux (db lossage)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 13 23:07:00 +0000 2004
>Closed-Date:    Wed Apr 14 12:09:27 +0000 2004
>Last-Modified:  Wed Apr 14 17:25:01 +0000 2004
>Originator:     grant beattie
>Release:        Linux 2.4.22
>Organization:
>Environment:
System: Linux liz 2.4.22 #7 Fri Feb 27 09:34:15 EST 2004 i686 unknown unknown GNU/Linux
Architecture: i386
Machine: i386
>Description:

postfix fails to build on my Slackware 9.1 box because -I/include/db2
is being passed which is wrong. it should be -I/usr/include/db2.

gcc -DDEF_CONFIG_DIR=\"/usr/pkg/etc/postfix\" -DDEF_SENDMAIL_PATH=\"/usr/pkg/sbin/sendmail\" -DDEF_MAILQ_PATH=\"/usr/pkg/bin/mailq\" -DDEF_NEWALIAS_PATH=\"/usr/pkg/bin/newaliases\" -DDEF_COMMAND_DIR=\"/usr/pkg/sbin\" -DDEF_DAEMON_DIR=\"/usr/pkg/libexec/postfix\" -DNO_PCRE -I/include/db2 -g -O2 -I/usr/pkg/include -I. -DLINUX2 -c dict_db.c
dict_db.c:63:16: db.h: No such file or directory
dict_db.c:111: syntax error before "DB"

I don't know whether this is related to pkgsrc-wide db changes or if
this is a pkg specific problem, and I'm mostly send-pr'ing this as a
self-reminder.

>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:

From: "Jeremy C. Reed" <reed@reedmedia.net>
To: grant@NetBSD.org
Cc: gnats-bugs@gnats.NetBSD.org
Subject: Re: pkg/25175: postfix build failure on Linux (db lossage)
Date: Tue, 13 Apr 2004 16:31:05 -0700 (PDT)

 This may be partially related to pkg/23296.

 (I never tested pkg/23296 even if it was closed.)

    Jeremy C. Reed
    http://www.reedmedia.net/


From: Min Sik Kim <minskim@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/25175 CVS commit: pkgsrc/mail/postfix
Date: Wed, 14 Apr 2004 04:28:39 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	minskim
 Date:		Wed Apr 14 04:28:39 UTC 2004

 Modified Files:
 	pkgsrc/mail/postfix: Makefile

 Log Message:
 Correct variable names for BUILDLINK_PREFIX.db*; BUILDLINK_PREFIX.db
 is only valid with buildlink2, but not with buildlink3.

 This fixes PR pkg/25175.


 To generate a diff of this commit:
 cvs rdiff -r1.126 -r1.127 pkgsrc/mail/postfix/Makefile

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


From: grant beattie <grant@NetBSD.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: Re: pkg/25175: postfix build failure on Linux (db lossage)
Date: Wed, 14 Apr 2004 15:13:43 +1000

 On Wed, Apr 14, 2004 at 09:06:30AM +1000, grant@NetBSD.org wrote:

 > postfix fails to build on my Slackware 9.1 box because -I/include/db2
 > is being passed which is wrong. it should be -I/usr/include/db2.

 this has been fixed (thanks minskim!), and now it fails in the same
 way postfix-current does in PR pkg/25176.

State-Changed-From-To: open->closed 
State-Changed-By: minskim 
State-Changed-When: Wed Apr 14 12:08:34 UTC 2004 
State-Changed-Why:  
Fixed. 

From: grant beattie <grant@NetBSD.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: minskim@NetBSD.org, pkg-manager@NetBSD.org
Subject: Re: pkg/25175
Date: Thu, 15 Apr 2004 03:24:12 +1000

 On Wed, Apr 14, 2004 at 12:09:26PM -0000, minskim@netbsd.org wrote:

 > Fixed.

 thanks! I wasn't actually expecting anyone to look at those PRs, as
 they were mainly a reminder for myself that things were broken. Thanks
 for the pleasant surprise :-)

 grant.

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