NetBSD Problem Report #29726

From buhrow@lothlorien.nfbcal.org  Thu Mar 17 18:00:50 2005
Return-Path: <buhrow@lothlorien.nfbcal.org>
Received: from lothlorien.nfbcal.org (ns.NFBCAL.ORG [157.22.230.125])
	by narn.netbsd.org (Postfix) with ESMTP id 00AF663B11C
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 17 Mar 2005 18:00:50 +0000 (UTC)
Message-Id: <200503171800.j2HI0hoN004272@lothlorien.nfbcal.org>
Date: Thu, 17 Mar 2005 10:00:43 -0800 (PST)
From: Brian Buhrow <buhrow@lothlorien.nfbcal.org>
Reply-To: buhrow@lothlorien.nfbcal.org
To: gnats-bugs@netbsd.org
Subject: clamav-0.83 fails to build with pkgsrc-2004Q4
X-Send-Pr-Version: 3.95

>Number:         29726
>Category:       pkg
>Synopsis:       Clamav-0.83 fails to build with pkgsrc srcs taken from pkg-src-2004Q4
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    grant
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 17 18:01:00 +0000 2005
>Closed-Date:    Tue Jun 20 15:48:39 +0000 2006
>Last-Modified:  Tue Jun 20 15:48:39 +0000 2006
>Originator:     Brian Buhrow
>Release:        NetBSD 2.0
>Organization:

>Environment:


System: NetBSD 2.0 NetBSD 2.0 (NFBNETBSD) #0: Tue Jan 4 10:03:02 PST 2005 buhrow@lothlorien.nfbcal.org:/usr/src/sys/arch/i386/compile/NFBNETBSD i386
Architecture: i386
Machine: i386
>Description:

	After updating my pkgsrc tree with CVS using:
cvs update -Dp -rpkgsrc-2004Q4
I find that I cannot build the mail/clamav package.
Reverting to pkgsrc-2004Q3 works fine, with clamav-0.80. 

	Errors look like:

make: "../../mk/../../mk/bsd.prefs.mk" line 322: Malformed conditional (empty(_OPSYS_HAS_INET6:M[nN][oO]) && !defined(USE_SOCKS))
make: "../../mk/../../mk/bsd.prefs.mk" line 489: warning: Couldn't read shell's output for "cd /usr/pkgsrc/mail/clamav/../.. && "
make: "../../mk/../../mk/bsd.prefs.mk" line 509: warning: Couldn't read shell's output for "cd /usr/pkgsrc/mail/clamav && "
-n: not found
curl: (6) Couldn't resolve host 'milter'
make: "../../mk/../../mk/bsd.options.mk" line 180: warning: Couldn't read shell's output for " curl milter |  -n 1 | "
inet6: not found
-n: not found
make: "../../mk/../../mk/bsd.options.mk" line 183: warning: Couldn't read shell's output for " inet6 inet6 curl milter |  -n 1 | "
-n: not found
curl: (6) Couldn't resolve host 'milter'
make: "../../mk/../../mk/bsd.options.mk" line 186: warning: Couldn't read shell's output for "  curl milter |  -n 1 | "
make: "../../mail/libmilter/../../mk/../../mail/libmilter/../../mk/pthread.buildlink3.mk" line 125: Malformed conditional (exists(/usr/include/pthread.h) &&  !empty(PREFER_NATIVE_PTHREADS:M[yY][eE][sS]))
make: "/usr/pkgsrc/mail/clamav/Makefile" line 73: if-less else
make: "/usr/pkgsrc/mail/clamav/Makefile" line 73: Need an operator
make: "/usr/pkgsrc/mail/clamav/Makefile" line 78: if-less endif
make: "/usr/pkgsrc/mail/clamav/Makefile" line 78: Need an operator
make: "../../mk/../../mk/pthread.buildlink3.mk" line 125: Malformed conditional (exists(/usr/include/pthread.h) &&  !empty(PREFER_NATIVE_PTHREADS:M[yY][eE][sS]))
make: "../../mk/../../mk/pthread.buildlink3.mk" line 127: if-less else
make: "../../mk/../../mk/pthread.buildlink3.mk" line 127: Need an operator
make: "../../mk/../../mk/pthread.buildlink3.mk" line 145: if-less endif
make: "../../mk/../../mk/pthread.buildlink3.mk" line 145: Need an operator
make: "../../mk/../../mk/bsd.pkg.mk" line 41: Malformed conditional (empty(PKGSRC_SHOW_BUILD_DEFS:M[yY][eE][sS]))
make: "../../mk/../../mk/bsd.pkg.mk" line 41: Missing dependency operator
make: "../../mk/../../mk/bsd.pkg.mk" line 43: if-less elif
make: "../../mk/../../mk/bsd.pkg.mk" line 68: if-less endif
make: "../../mk/../../mk/bsd.pkg.mk" line 68: Need an operator
NO: not found
make: "../../mk/../../mk/bsd.pkg.mk" line 287: warning: "if PKG_DBDIR= /pkg_admin  pmatch 'perl>=5.0' perl-5.0 2>/dev/null; then   "YES";						 else								  "NO";						 fi" returned non-zero status
/usr/pkgsrc/mail/clamav/patches/patch-aa: permission denied
YES: not found
make: "../../mk/../../mk/bsd.pkg.mk" line 503: warning: "if [ -d /usr/pkgsrc/mail/clamav/patches ]; then  if [ "` /usr/pkgsrc/mail/clamav/patches/patch-*`" != "/usr/pkgsrc/mail/clamav/patches/patch-*" ]; then   YES;  else   NO;  fi  else   NO;  fi" returned non-zero status
make: "../../mk/../../mk/bsd.pkg.mk" line 577: Malformed conditional (empty(PKGSRC_SHOW_PATCH_ERRORMSG:M[yY][eE][sS]))
make: "../../mk/../../mk/bsd.pkg.mk" line 577: Missing dependency operator
make: "../../mk/../../mk/bsd.pkg.mk" line 579: if-less else
make: "../../mk/../../mk/bsd.pkg.mk" line 579: Need an operator
make: "../../mk/../../mk/bsd.pkg.mk" line 589: if-less endif
make: "../../mk/../../mk/bsd.pkg.mk" line 589: Need an operator
make: "../../mk/../../mk/bsd.pkg.mk" line 836: Malformed conditional (!empty(PKGSRC_RUN_TEST:M[yY][eE][sS]))
make: "../../mk/../../mk/bsd.pkg.mk" line 838: if-less else
make: "../../mk/../../mk/bsd.pkg.mk" line 838: Need an operator
make: "../../mk/../../mk/bsd.pkg.mk" line 840: if-less endif
make: "../../mk/../../mk/bsd.pkg.mk" line 840: Need an operator
make: "../../mk/../../mk/bsd.pkg.mk" line 1097: Malformed conditional ((${PKGSRC_LOCKTYPE} == "sleep" || ${PKGSRC_LOCKTYPE} == "once"))
make: "../../mk/../../mk/bsd.pkg.mk" line 1097: Missing dependency operator
make: "../../mk/../../mk/bsd.pkg.mk" line 1104: if-less endif
make: "../../mk/../../mk/bsd.pkg.mk" line 1104: Need an operator
make: "../../mk/../../mk/bsd.pkg.mk" line 1160: Malformed conditional (!empty(PKG_SYSCONFBASE:M${PREFIX}) ||  !empty(PKG_SYSCONFBASE:M${PREFIX}/*))
make: "../../mk/../../mk/bsd.pkg.mk" line 1166: warning: extra else
make: "../../mk/../../mk/bsd.pkg.mk" line 1170: if-less endif
make: "../../mk/../../mk/bsd.pkg.mk" line 1170: Need an operator
0: not found
make: "../../mk/compiler/../../mk/compiler/gcc.mk" line 43: warning: "( /usr/bin/cc -v 2>&1 |  'gcc version' ) 2>/dev/null ||  0" returned non-zero status
NO: not found
make: "../../mk/compiler/../../mk/compiler/gcc.mk" line 88: warning: "if PKG_DBDIR= /pkg_admin  pmatch 'gcc>=2.8.0' gcc-2.8.0 2>/dev/null; then   "YES";						 else								  "NO";						 fi" returned non-zero status
YES: not found
make: "../../mk/compiler/../../mk/compiler/gcc.mk" line 260: warning: "if PKG_DBDIR= /pkg_admin  pmatch 'gcc3-c>=none' gcc3-c-3.4.3 2>/dev/null; then   "NO";						 else								  "YES";						 fi" returned non-zero status
/pkg_info: not found
_GCC_SUBPREFIX_not_found/: not found
make: "../../mk/compiler/../../mk/compiler/gcc.mk" line 308: warning: "if PKG_DBDIR= /pkg_info  -qe gcc3-c; then			 PKG_DBDIR= /pkg_info  -f gcc3-c |			  "File:.*bin/gcc" |				  -e "s/.*File: *//;s/bin\/gcc.*//;q";		 else								 case /usr/bin/cc in						 /usr/pkg/*)						 subprefix="/usr";  case "${subprefix}" in				 "")	 "${subprefix}" ;;		 *)	 "${subprefix}/" ;;		 esac;						 ;;						 *)							  "_GCC_SUBPREFIX_not_found/";		 ;;						 esac;							 fi" returned non-zero status
_GCC_ARCHDIR_not_found: not found
make: "../../mk/compiler/../../mk/compiler/gcc.mk" line 315: warning: "if [ -x /usr/pkg/bin/gcc ]; then				  `/usr/pkg/bin/gcc  -print-libgcc-file-name 2>/dev/null`;  else								  "_GCC_ARCHDIR_not_found";			 fi" returned non-zero status
make: "../../mk/../../mk/bsd.pkg.mk" line 1213: Could not find ../../mk/wrapper/bsd.wrapper.mk
make: "../../mk/../../mk/bsd.pkg.mk" line 1904: Malformed conditional (${PKGSRC_LOCKTYPE} == "none")
make: "../../mk/../../mk/bsd.pkg.mk" line 1904: Need an operator
make: "../../mk/../../mk/bsd.pkg.mk" line 1907: if-less else
make: "../../mk/../../mk/bsd.pkg.mk" line 1907: Need an operator
make: "../../mk/../../mk/bsd.pkg.mk" line 1940: if-less endif
make: "../../mk/../../mk/bsd.pkg.mk" line 1940: Need an operator
make: "../../mk/../../mk/bsd.pkg.mk" line 1944: Malformed conditional (${PKGSRC_LOCKTYPE} == "sleep" || ${PKGSRC_LOCKTYPE} == "once")
make: "../../mk/../../mk/bsd.pkg.mk" line 1944: Need an operator
make: "../../mk/../../mk/bsd.pkg.mk" line 1949: if-less endif
make: "../../mk/../../mk/bsd.pkg.mk" line 1949: Need an operator
make: "../../mk/../../mk/bsd.pkg.mk" line 2689: Malformed conditional (${_DO_SHLIB_CHECKS} == "yes")
make: "../../mk/../../mk/bsd.pkg.mk" line 2689: Need an operator
make: "../../mk/../../mk/bsd.pkg.mk" line 2694: if-less endif
make: "../../mk/../../mk/bsd.pkg.mk" line 2694: Need an operator
make: "../../mk/../../mk/bsd.pkg.mk" line 3014: Malformed conditional (${_OPSYS_SHLIB_TYPE} == "ELF/a.out")
make: "../../mk/../../mk/bsd.pkg.mk" line 4557: Malformed conditional (!empty(LIBTOOLIZE_PLIST:M[yY][eE][sS]))
make: "../../mk/../../mk/bsd.pkg.mk" line 4582: if-less else
make: "../../mk/../../mk/bsd.pkg.mk" line 4582: Need an operator
make: "../../mk/../../mk/bsd.pkg.mk" line 4584: if-less endif
make: "../../mk/../../mk/bsd.pkg.mk" line 4584: Need an operator
make: "../../mk/../../mk/bsd.pkg.mk" line 5032: Malformed conditional (empty(LIBTOOLIZE_PLIST:M[yY][eE][sS]))
make: Fatal errors encountered -- cannot continue

make: stopped in /usr/pkgsrc/mail/clamav
>How-To-Repeat:

	Use the cvs command:
cvs update -Dp -rpkgsrc-2004Q4
to  update a pkgsrc src tree.
cd mail/clamav
make

	This should produce the troublesome output.

>Fix:

	I don't have a fix at this time.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->grant
Responsible-Changed-By: wiz@netbsd.org
Responsible-Changed-When: Sat, 19 Mar 2005 18:39:10 +0000
Responsible-Changed-Why:
Over to maintainer.


State-Changed-From-To: open->feedback
State-Changed-By: salo@netbsd.org
State-Changed-When: Sun, 08 Jan 2006 19:24:16 +0000
State-Changed-Why:
is there still a problem with clamav in either 2005Q4 or HEAD?


State-Changed-From-To: feedback->closed
State-Changed-By: perry@netbsd.org
State-Changed-When: Tue, 20 Jun 2006 15:48:39 +0000
State-Changed-Why:
closed -- submitter says that the problem is long since fixed.


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