summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2014-12-03 13:30:12 +0000
committerDavid Mitchell <davem@iabyn.com>2014-12-03 13:30:12 +0000
commit31b42f2e3560656f5b499423a3e567c017a8c89a (patch)
tree62733b80d98796a0f7c641f0775ecef3356de347 /hints
parentc6eacdc3acc965cb069ded02e066d3c00e9385df (diff)
downloadperl-31b42f2e3560656f5b499423a3e567c017a8c89a.tar.gz
reduce stderr noise in build
Ideally you should be able to do (Configure && make test) 2> /tmp/err with /tmp/err being empty. This is not the case, and this commit is a first step towards that goal. The fprintf (stderr, "Sizeof time_t = %ld\n", sizeof (time_t)); in Configure appears to be just a debugging aid; it's also a copy of the code in Porting/timecheck.c, which people can always run if need-be. hints/linux.sh appears to be looking for symbols in libdb.so; if the library is stripped, this produces to stderr: /bin/nm: /lib/libdb.so: no symbols I've silenced it for now with a 2>/dev/null, but I'm not sure if the whole test is flawed, since with no symbols, 'nm libdb.so | grep pthread' is a no-op. make_patchnum.pl, when running backticks, prints $? to stderr if it's non-zero; since a similar print in the other branch is already commented out, I assume its just left-over debugging.
Diffstat (limited to 'hints')
-rw-r--r--hints/linux.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/hints/linux.sh b/hints/linux.sh
index d4f08238b0..fb5a46eece 100644
--- a/hints/linux.sh
+++ b/hints/linux.sh
@@ -514,7 +514,7 @@ then
DBLIB="$DBDIR/libdb.so"
if [ -f $DBLIB ]
then
- if ${nm:-nm} -u $DBLIB | grep pthread >/dev/null
+ if ${nm:-nm} -u $DBLIB 2>/dev/null | grep pthread >/dev/null
then
if ldd $DBLIB | grep pthread >/dev/null
then