pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/35464: textproc/catdoc fails to load charset file
>Number: 35464
>Category: pkg
>Synopsis: textproc/catdoc fails to load charset file
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jan 22 21:20:00 +0000 2007
>Originator: Arnaud Lacombe
>Release: -current
>Organization:
>Environment:
NetBSD ouikka 4.99.7 NetBSD 4.99.7 (GENERIC_LAPTOP)
(install has been done beginning of 2k7)
>Description:
The path of charset file is not set properly at build time which prevent
catdoc(1) to work correctly:
[result of `ktrace catdoc foo.doc']
% kdump ktrace.out
[...]
7074 1 catdoc NAMI "/usr/local/lib/catdoc/cp1251.txt"
7074 1 catdoc RET access -1 errno 2 No such file or directory
7074 1 catdoc CALL write(2,0xbfbfe230,0x2c)
7074 1 catdoc GIO fd 2 wrote 44 bytes
"Cannot load charset cp1251 - file not found
"
7074 1 catdoc RET write 44/0x2c
7074 1 catdoc CALL exit(1)
catdoc(1) should try to open `/usr/pkg/share/catdoc/cp1251.txt', not
`/usr/local/lib/catdoc/cp1251.txt'
% kdump ktrace.out | grep pkg
7074 1 ktrace NAMI "/usr/pkg/xorg/bin/catdoc"
7074 1 ktrace NAMI "/usr/pkg/bin/catdoc"
>How-To-Repeat:
- install textproc/catdoc
- run it on a .doc document
>Fix:
fix CHARSETPATH definition at build time ?
Home |
Main Index |
Thread Index |
Old Index