NetBSD Problem Report #29255

From www@netbsd.org  Sun Feb  6 21:20:50 2005
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
	id 3636963B400; Sun,  6 Feb 2005 21:20:50 +0000 (UTC)
Message-Id: <20050206212050.3636963B400@narn.netbsd.org>
Date: Sun,  6 Feb 2005 21:20:50 +0000 (UTC)
From: michael@nosflow.com
Reply-To: michael@nosflow.com
To: gnats-bugs@netbsd.org
Subject: mail/spamassassin needs to be run twice after makefile is rebuilt
X-Send-Pr-Version: www-1.0

>Number:         29255
>Category:       pkg
>Synopsis:       mail/spamassassin needs to be run twice after makefile is rebuilt
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    heinz
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 06 21:21:00 +0000 2005
>Closed-Date:    Sun Jun 19 21:51:04 +0000 2005
>Last-Modified:  Sun Jun 19 21:51:04 +0000 2005
>Originator:     Michael Wolfson
>Release:        2.0_STABLE
>Organization:
>Environment:
NetBSD sbd 2.0_STABLE NetBSD 2.0_STABLE (SBD) #0: Thu Dec 23 14:42:16 PST 2004  mw@sbd:/usr/src/sys/arch/i386/compile/SBD i386

>Description:
the makefile gets rebuilt, and spamassassin says you need to run "make" a second time.

[...]
===> Building for spamassassin-3.0.2
Makefile out-of-date with respect to Makefile.PL
Cleaning current config before rebuilding Makefile...
/usr/bin/make -f Makefile.old clean > /dev/null 2>&1 || /bin/sh -c true
/usr/pkg/bin/perl Makefile.PL "ENABLE_SSL=yes" "RUN_NET_TESTS=no" "PERL_WARN=yes
" "PERL_TAINT=yes" "RUN_AWL_SQL_TESTS=no" "RUN_BAYES_SQL_TESTS=no" "SYSCONFDIR=/
usr/pkg/etc/spamassassin" "LOCALRULESDIR=/usr/pkg/etc/spamassassin" "DEFRULESDIR
=/usr/pkg/share/spamassassin" "CONTACT_ADDRESS=postmaster" "INSTALLDIRS=site"
Checking if your kit is complete...
Looks good
Writing Makefile for Mail::SpamAssassin
Makefile written by ExtUtils::MakeMaker 6.17
==> Your Makefile has been rebuilt. <==
==> Please rerun the make command.  <==
false
*** Error code 1

>How-To-Repeat:
cd mail/spamassassin;make;make
>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->heinz
Responsible-Changed-By: heinz@netbsd.org
Responsible-Changed-When: Mon, 07 Feb 2005 20:19:07 +0000
Responsible-Changed-Why:
Going to investigate this.


From: Klaus Heinz <heinz@NetBSD.org>
To: gnats-bugs@netbsd.org
Cc: michael@nosflow.com
Subject: Re: pkg/29255: mail/spamassassin needs to be run twice after makefile is rebuilt
Date: Sun, 13 Feb 2005 19:50:42 +0100

 michael@nosflow.com wrote:
 > ===> Building for spamassassin-3.0.2
 > Makefile out-of-date with respect to Makefile.PL

 Obviously, "Makefile.PL" is newer than "Makefile". If you look at the files
 in work/Mail-SpamAssassin-3.0.2/ with "ls -1t Makefile*", you
 will see them in the order

   Makefile.PL
   Makefile
   Makefile.PL.orig

 Can you tell me the output you get from 
   stat -f '%m'  Makefile Makefile.PL
 ?

 My guess is. the modification time differs at least 1 second between the
 two files. For me, there is no difference and that's why I didn't see
 the problem before. "make" seems to need at least a difference of 1
 second to detect that "Makefile" is outdated.

 ciao
      Klaus

State-Changed-From-To: open->analyzed
State-Changed-By: heinz@netbsd.org
State-Changed-When: Sun, 13 Feb 2005 18:55:29 +0000
State-Changed-Why:
Cause of the problem probably found


State-Changed-From-To: analyzed->feedback
State-Changed-By: heinz@netbsd.org
State-Changed-When: Fri, 18 Feb 2005 20:58:31 +0000
State-Changed-Why:
Requested a bit more information.


From: Klaus Heinz <k.heinz.maer.fuenf@onlinehome.de>
To: gnats-bugs@netbsd.org, michael@nosflow.com
Cc: 
Subject: Re: pkg/29255: mail/spamassassin needs to be run twice after makefile is rebuilt
Date: Mon, 28 Mar 2005 14:24:51 +0200

 Does the problem still occur?

 ciao
      Klaus

State-Changed-From-To: feedback->closed
State-Changed-By: heinz@netbsd.org
State-Changed-When: Sun, 19 Jun 2005 21:51:04 +0000
State-Changed-Why:
Problem probably solved but no feedback for more than two months.


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