Subject: Re: pkg/32202
To: Krister Walfridsson <cato@df.lth.se>
From: Roland Illig <rillig@NetBSD.org>
List: pkgsrc-bugs
Date: 12/04/2005 09:46:17
This is a multi-part message in MIME format.
--------------000906070803080308050207
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Krister Walfridsson wrote:
> 
> 
> On Sat, 3 Dec 2005 rillig@netbsd.org wrote:
> 
>> Synopsis: BUILD_DEPENDS on nonexisting pkg confuses the bulk build
>>
>> State-Changed-From-To: analyzed->closed
>> State-Changed-By: rillig@netbsd.org
>> State-Changed-When: Sat, 03 Dec 2005 09:44:07 +0000
>> State-Changed-Why:
>> Has been fixed. Thanks for the PR.
> 
> 
> Hmm.  mk/bulk/printdepends is not completely happy:
> 
> BULK> Building complete pkgsrc dependency tree (this may take a while).
> cd /usr/pkgsrc && /usr/bin/env BMAKE=/usr/bin/make /bin/sh 
> mk/bulk/printdepends .broken.html /usr/pkgsrc > /usr/pkgsrc/.dependstree
> mk/bulk/printdepends: error: could not extract dependencies for 
> devel/cweb -- skipping.
> mk/bulk/printdepends: error: could not extract dependencies for 
> devel/pcl-cvs -- skipping.
> mk/bulk/printdepends: error: could not extract dependencies for 
> fonts/tex-uhc-fonts-base -- skipping.
> mk/bulk/printdepends: error: could not extract dependencies for 
> fonts/tex-uhc-fonts-extra -- skipping.
> mk/bulk/printdepends: error: could not extract dependencies for 
> print/dvipdfm -- skipping.

That's not my fault, but the following patch would fix it. Well, it only 
concerns the error messsages printed, but that's what it's all about 
here, isn't it?

Roland

--------------000906070803080308050207
Content-Type: text/plain;
 name="error-messages.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="error-messages.patch"

Index: bsd.pkg.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/bsd.pkg.mk,v
retrieving revision 1.1772
diff -u -p -r1.1772 bsd.pkg.mk
--- bsd.pkg.mk	1 Dec 2005 11:18:30 -0000	1.1772
+++ bsd.pkg.mk	4 Dec 2005 08:44:28 -0000
@@ -981,7 +981,7 @@ update install-depends do-check-pkg-fail
 	@${DO_NADA}
 .    else
 	@for str in ${PKG_FAIL_REASON} ${PKG_SKIP_REASON}; do		\
-		${ECHO} "${_PKGSRC_IN}> $$str";				\
+		${ECHO} "${_PKGSRC_IN}> $$str" 1>&2;			\
 	done
 .    endif
 .    if defined(PKG_FAIL_REASON)

--------------000906070803080308050207--