#4 Fix parallel build

open
nobody
None
5
2008-11-03
2008-11-03
Volkov Peter
No

Hello. Judy fails to build with parallel make (-j 10 for example, which are quite common at this time) with the following error:

make[2]: Entering directory `/vt/portage/tmp/portage/dev-libs/judy-1.0.4/work/Judy-1.0.4/doc'
../tool/jhton ext/Judy_3.htm | grep -v '^[ ]*$' | sed -e 's/\.C//' > man/man3/Judy
../tool/jhton ext/Judy1_3.htm | grep -v '^[ ]*$' | sed -e 's/\.C//' > man/man3/Judy1
../tool/jhton ext/Judy1_funcs_3.htm | grep -v '^[ ]*$' | sed -e 's/\.C//' > man/man3/Judy1_funcs
../tool/jhton ext/JudyL_3.htm | grep -v '^[ ]*$' | sed -e 's/\.C//' > man/man3/JudyL
../tool/jhton ext/JudyL_funcs_3.htm | grep -v '^[ ]*$' | sed -e 's/\.C//' > man/man3/JudyL_funcs
../tool/jhton ext/JudySL_3.htm | grep -v '^[ ]*$' | sed -e 's/\.C//' > man/man3/JudySL
../tool/jhton ext/JudySL_funcs_3.htm | grep -v '^[ ]*$' | sed -e 's/\.C//' > man/man3/JudySL_funcs
../tool/jhton ext/JudyHS_3.htm | grep -v '^[ ]*$' | sed -e 's/\.C//' > man/man3/JudyHS
../tool/jhton ext/JudyHS_funcs_3.htm | grep -v '^[ ]*$' | sed -e 's/\.C//' > man/man3/JudyHS_funcs
make[2]: *** No rule to build `man/man3/J1T', required for `all-am'. Stop.
make[2]: *** Waiting for all jobs to finish...
cd man/man3; ln -s JudySL_funcs JudySLGet
cd man/man3; ln -s JudyHS_funcs JudyHSGet
cd man/man3; ln -s JudyHS_funcs JudyHSIns

The patch in attachment fixes this issue.

Discussion

  • Volkov Peter
    Volkov Peter
    2008-11-03

    judy-1.0.4-parallel-make.patch