Package: atlas
Version: 3.8.3-19
Severity: minor
The following errors appear when attempting to run 'debian/rules custom'
under fakeroot on a 4-CPU box:
ncpu=$(LANG=C cpufreq-info | grep "analyzing CPU" -c); \
for (( cpu=0 ; cpu < $ncpu ; cpu++)); do \
if test $(cpufreq-info -p; echo $?) -eq 0 -a -z "$(LANG=C
cpufreq-info -p -c $cpu | grep performance)" ; then \
echo "frequency governor on cpu=$cpu is not set to
'performance'"; \
echo "run: 'sudo cpufreq-set -g governor -c cpu#' for
each cpu"; \
echo "aborting atlas build"; \
exit 1; \
fi; \
done
/bin/sh: line 2: test: too many arguments
/bin/sh: line 2: test: too many arguments
/bin/sh: line 2: test: too many arguments
/bin/sh: line 2: test: too many arguments
cpufreq-info is available and works fine on this system. The same
error messages appear whether or not the governor is set to
'performance'.
Unfortunately my ability to properly write sh code that is properly
escaped for make is limited, so I can't figure out exactly which
combination of quotes will make the test run correctly.
(Also: the instructions probably should say to run:
'sudo cpufreq-set -g performance ...'
instead of
'sudo cpufreq-set -g governor ...'.)
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.33.2 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]