<span style="font-family:&#39;Times New Roman&#39;;font-size:medium"><pre>Package: atlas
Version: 3.8.3-21</pre><pre>Hi </pre><pre>The cpufrequtils test loop that is part of the &#39;custom&#39; rule fails due to the bash-tastic for-loop syntax. I have replaced it with a while loop in the attached patch. I&#39;ve tested it and it works fine.</pre>
<pre><br></pre><pre>A less important &#39;gotcha&#39; is that running the custom rule means that build dependency checks are bypassed. If the uninstalled dependency is say lapack-dev, then a 20+ minute compile is a long time to waitto discover it is borked. (I am sighing from personal experience).</pre>
<pre>The following test works ($$deps would be the list of build-dep packages). I am, however, unsure how one would get $$deps from within the rules makefile.</pre><pre>if test -n &quot;$$(dpkg-query -W $$deps 2&gt;&amp;1 &gt; /dev/null)&quot;; then\
    echo &quot;build dependencies are not fully installed&quot;;\
    echo &quot;aborting&quot;;\
    exit 1;\
fi</pre><pre><br></pre></span>