pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/32202



Krister Walfridsson wrote:


On Sat, 3 Dec 2005 rillig%netbsd.org@localhost wrote:

Synopsis: BUILD_DEPENDS on nonexisting pkg confuses the bulk build

State-Changed-From-To: analyzed->closed
State-Changed-By: rillig%netbsd.org@localhost
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
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)


Home | Main Index | Thread Index | Old Index