pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/bulk If a package build fails, append the output of...
details: https://anonhg.NetBSD.org/pkgsrc/rev/5dca77c9f025
branches: trunk
changeset: 522599:5dca77c9f025
user: dmcmahill <dmcmahill%pkgsrc.org@localhost>
date: Thu Dec 14 14:32:04 2006 +0000
description:
If a package build fails, append the output of 'make debug' to the log
since sometimes there are questions about various variables and settings.
This should help in people trying to investigate build failures.
diffstat:
mk/bulk/bsd.bulk-pkg.mk | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 0bc85ddeccef -r 5dca77c9f025 mk/bulk/bsd.bulk-pkg.mk
--- a/mk/bulk/bsd.bulk-pkg.mk Thu Dec 14 14:29:22 2006 +0000
+++ b/mk/bulk/bsd.bulk-pkg.mk Thu Dec 14 14:32:04 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.bulk-pkg.mk,v 1.128 2006/12/09 19:56:54 jschauma Exp $
+# $NetBSD: bsd.bulk-pkg.mk,v 1.129 2006/12/14 14:32:04 dmcmahill Exp $
#
# Copyright (c) 1999, 2000 Hubert Feyrer <hubertf%NetBSD.org@localhost>
@@ -549,7 +549,10 @@
fi
@if [ ! -f ${PKGFILE} ]; then \
${BULK_MSG} "Build for ${PKGNAME} was not successful, aborting." | ${TEE} -a ${_BROKENFILE:Q} ; \
- { ${ECHO} "</body>"; \
+ ${ECHO} "<pre>" >> ${_BROKENFILE:Q}; \
+ ${MAKE} debug >> ${_BROKENFILE:Q} ; \
+ { ${ECHO} "</pre>"; \
+ ${ECHO} "</body>"; \
${ECHO} "</html>"; \
} >> ${_BROKENFILE:Q}; \
exitcode=1; \
Home |
Main Index |
Thread Index |
Old Index