Bug#579990: custom atlas build fails

Adrian Benson adrian.m.benson at gmail.com
Sun May 2 21:23:11 UTC 2010


Package: atlas
Version: 3.8.3-21

Hi

The cpufrequtils test loop that is part of the 'custom' rule fails due
to the bash-tastic for-loop syntax. I have replaced it with a while
loop in the attached patch. I've tested it and it works fine.


A less important 'gotcha' 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).

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.

if test -n "$$(dpkg-query -W $$deps 2>&1 > /dev/null)"; then\
    echo "build dependencies are not fully installed";\
    echo "aborting";\
    exit 1;\
fi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20100503/542ea5df/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: atlas.rules.patch
Type: text/x-patch
Size: 1020 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20100503/542ea5df/attachment.bin>


More information about the debian-science-maintainers mailing list