Bug#803342: dhelp: Weekly cron job terminates, doesn't create 'documents.index'
Hi,
an easier way to be convinced that gzippped files processing does not work is this command:
# echo /usr/share/doc/anjuta/README.gz | /usr/bin/index++ --config-file /usr/share/dhelp/config/swish++.conf -v4 --index-file index -
README.gz (skipped: file not included)
index++: done:
00:00 (min:sec) elapsed time
1 files, 0 indexed
0 words, 0 indexed, 0 unique
Running with strace shows that once again the README.gz file is not gunzipped:
# echo /usr/share/doc/anjuta/README.gz | strace -f /usr/bin/index++ --config-file /usr/share/dhelp/config/swish++.conf -v4 --index-file index -
[...]
read(0, "/usr/share/doc/anjuta/README.gz\n", 4096) = 32
stat("/usr/share/doc/anjuta/README.gz", {st_mode=S_IFREG|0644, st_size=2963, ...}) = 0
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
write(1, " README.gz", 11 README.gz) = 11
lstat("/usr/share/doc/anjuta/README.gz", {st_mode=S_IFREG|0644, st_size=2963, ...}) = 0
write(1, " (skipped: file not included)\n", 30 (skipped: file not included)
) = 30
unlink("/var/lib/dhelp/tmp/README") = -1 ENOENT (No such file or directory)
--
Laurent.
Reply to: