Package: perl
Version: 5.40.1-7
Control: affects -1 src:kanif

Hello. While building "kanif", I got this error:

make[3]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/pod2man --name=KANIF --section=1 \
     --center="kanif TakTuk Wrapper" kanif.pod >kanif.man
/usr/bin/pod2man --name=KANIF.CONF --section=5 \
     --center="kanif.conf configuration file for kanif" kanif.conf.pod 
>kanif.conf.man
/usr/bin/pod2html --title="kanif" kanif.pod >kanif.html
/usr/bin/pod2html --title="kanif" kanif.conf.pod >kanif.conf.html
rm -f pod2htmd.tmp pod2htmi.tmp
/usr/bin/pod2html: error opening ./pod2htmd.tmp for reading: No such file or 
directory
make[3]: *** [Makefile:1069: kanif.conf.html] Error 2

The Makefile is like this:

%.html: %.pod
        $(POD2HTML) --title="kanif" $^ >$@
        $(RM) pod2htmd.tmp pod2htmi.tmp


And this is what happens: Two simultaneous processes are trying
to build two different html files, but both of them use the
same temporary files pod2htmd.tmp and pod2htmi.tmp.

I guess it would be possible to implement some workaround in kanif,
but I think it would be great if this could be fixed here, maybe by
using a real temporary file with random name (i.e. File::Temp), or
maybe by adding some command line allowing to change the filename
of the temp file.

Thanks.

Reply via email to