Continuous builds on Hydra
Ludovic Courtès
ludo at gnu.org
Fri Jan 22 16:53:09 CET 2010
BTW, you might have seen that the Hydra build script does this:
patchPhase =
# Remove occurrences of /usr/bin/perl and /bin/bash.
'' for i in \
tests/nist-pkits/build-chain \
doc/scripts/sort2.pl \
doc/scripts/gdoc \
doc/doxygen/Doxyfile.orig \
doc/doxygen/Doxyfile.in
do
echo "patching \`/usr/bin/perl' in \`$i'..."
sed -i "$i" -e's|/usr/bin/perl|${pkgs.perl}/bin/perl|g'
done
for i in "tests/"*"/"*
do
if grep -q /bin/bash "$i"
then
echo "patching \`/bin/bash' in \`$i'..."
sed -i "$i" -e's|/bin/bash|/bin/sh|g'
fi
done
'';
The Right Fix would be:
- For /usr/bin/perl, use AC_PATH_PROG and substitute @PERL@ in those
scripts.
- For /bin/bash, it’s probably enough to use /bin/sh.
Thanks,
Ludo’.
More information about the Gnutls-devel
mailing list