I am not sure it is worth a fix, given that the
stated goal (by at least one dev) is to replace
the configure script with cmake, but here is
an issue with the configure script that one
might want to fix.
For systems that are "well endowed" (lots
of CPUs), the configure line at/near 2688
are of the form:
if test -f /proc/cpuinfo ; then
if test x"$processor" = x"" -o x"$processor" = x"$arch_default" -o \
x"$processor" = x"unknown" ; then
processor=`cat /proc/cpuinfo | grep "model name" | head -n 1`
fi
processor_flags=`cat /proc/cpuinfo | grep "flags" | head -n 1`
fi
can result in a message of the form:
grep: write error: Broken pipe
cat: write error: Broken pipe
as head exits when it receives the needed lines
resulting in SIGPIPEs backing upstream.
A trivial fix is of the forms:
grep -m 1 "^\s*model name" /proc/cpuinfo
and
grep -m 1 "^\s*flags" /proc/cpuinfo
Thanks.
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
stated goal (by at least one dev) is to replace
the configure script with cmake, but here is
an issue with the configure script that one
might want to fix.
For systems that are "well endowed" (lots
of CPUs), the configure line at/near 2688
are of the form:
if test -f /proc/cpuinfo ; then
if test x"$processor" = x"" -o x"$processor" = x"$arch_default" -o \
x"$processor" = x"unknown" ; then
processor=`cat /proc/cpuinfo | grep "model name" | head -n 1`
fi
processor_flags=`cat /proc/cpuinfo | grep "flags" | head -n 1`
fi
can result in a message of the form:
grep: write error: Broken pipe
cat: write error: Broken pipe
as head exits when it receives the needed lines
resulting in SIGPIPEs backing upstream.
A trivial fix is of the forms:
grep -m 1 "^\s*model name" /proc/cpuinfo
and
grep -m 1 "^\s*flags" /proc/cpuinfo
Thanks.
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org