reopen 676717
thanks

Hi Osamo,

sorry to disappoint you, but it is still not fixed at all.

On So, 17 Jun 2012, Osamu Aoki wrote:
> #1. Use proper sgml as test as attached.

Copied your test.sgml to my system, run it:
$ debiandoc2text test.sgml 
nsgmls:/etc/sgml/xml-resume-library.cat:8:8:E: cannot open 
"/usr/share/sgml/xml-resume-library/dtd/resume.cat" (No such file or directory)
nsgmls:/etc/sgml/w3c-dtd-xhtml.cat:8:8:E: cannot open 
"/usr/share/xml/xhtml/schema/dtd/1.0/catalog" (No such file or directory)
nsgmls:/etc/sgml/w3c-dtd-xhtml.cat:9:8:E: cannot open 
"/usr/share/xml/xhtml/schema/dtd/1.1/catalog" (No such file or directory)
nsgmls:/etc/sgml/w3c-dtd-xhtml.cat:10:8:E: cannot open 
"/usr/share/xml/xhtml/schema/dtd/basic/catalog" (No such file or directory)
nsgmls:/etc/sgml/w3c-dtd-xhtml.cat:11:8:E: cannot open 
"/usr/share/xml/xhtml/schema/dtd/catalog" (No such file or directory)
nsgmls:/etc/sgml/w3c-dtd-xhtml.cat:12:8:E: cannot open 
"/usr/share/xml/entities/xhtml/catalog" (No such file or directory)
$

> #2. Upgrade to the latest sid installation with dpkg 1.16.4.2.

I am running sid which is up-to-date, as I send you before
my dpkg is already at 1.16.4.2 (last email that was clearly
stated). .3 was installed today in my system.
For safety I reinstalled debiandoc-sgml:
$ aptitude reinstall debiandoc-sgml
The following packages will be REINSTALLED:
  debiandoc-sgml 
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not 
upgraded.
Need to get 129 kB of archives. After unpacking 0 B will be used.
Get: 1 http://ftp.nara.wide.ad.jp/debian/ sid/main debiandoc-sgml all 1.2.27 
[129 kB]
Fetched 129 kB in 0s (545 kB/s)    
(Reading database ... 613372 files and directories currently installed.)
Preparing to replace debiandoc-sgml 1.2.27 (using 
.../debiandoc-sgml_1.2.27_all.deb) ...
Unpacking replacement debiandoc-sgml ...
Processing triggers for man-db ...
Processing triggers for sgml-base ...
Updating the super catalog...
Setting up debiandoc-sgml (1.2.27) ...
                                         
$

After that it does still not work.

Ok, reinstall dpkg:
$ aptitude reinstall dpkg
The following packages will be REINSTALLED:
  dpkg 
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not 
upgraded.
Need to get 0 B/2,367 kB of archives. After unpacking 0 B will be used.
(Reading database ... 613372 files and directories currently installed.)
Preparing to replace dpkg 1.16.4.3 (using .../dpkg_1.16.4.3_amd64.deb) ...
Unpacking replacement dpkg ...
Processing triggers for man-db ...
Setting up dpkg (1.16.4.3) ...
                                         

Still no success, then I straced debiandoc2text, without success,
nothing strange is loaded, here is the grep for open:
$ grep open strace.log | grep -v locale
     0.000212 open("/etc/ld.so.cache", O_RDONLY) = 4
     0.000159 open("/lib/x86_64-linux-gnu/libtinfo.so.5", O_RDONLY) = 4
     0.000174 open("/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY) = 4
     0.000140 open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY) = 4
     0.000153 open("/dev/tty", O_RDWR|O_NONBLOCK) = 4
     0.000112 open("/usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache", 
O_RDONLY) = 4
     0.000162 open("/proc/meminfo", O_RDONLY) = 4
     0.000162 open("/usr/bin/debiandoc2text", O_RDONLY) = 4
    0.000179 wait4(-1, nsgmls:/etc/sgml/xml-resume-library.cat:8:8:E: cannot 
open "/usr/share/sgml/xml-resume-library/dtd/resume.cat" (No such file or 
directory)
nsgmls:/etc/sgml/w3c-dtd-xhtml.cat:8:8:E: cannot open 
"/usr/share/xml/xhtml/schema/dtd/1.0/catalog" (No such file or directory)
nsgmls:/etc/sgml/w3c-dtd-xhtml.cat:9:8:E: cannot open 
"/usr/share/xml/xhtml/schema/dtd/1.1/catalog" (No such file or directory)
nsgmls:/etc/sgml/w3c-dtd-xhtml.cat:10:8:E: cannot open 
"/usr/share/xml/xhtml/schema/dtd/basic/catalog" (No such file or directory)
nsgmls:/etc/sgml/w3c-dtd-xhtml.cat:11:8:E: cannot open 
"/usr/share/xml/xhtml/schema/dtd/catalog" (No such file or directory)
nsgmls:/etc/sgml/w3c-dtd-xhtml.cat:12:8:E: cannot open 
"/usr/share/xml/entities/xhtml/catalog" (No such file or directory)
$


Next I run the debiandoc2text with bash -x and see that
it calls nsgmls, so let us debug nsgmls:

$ nsgmls -oline /usr/share/sgml/debiandoc/dtd/sgml/1.0/debiandoc.dcl test.sgml 
nsgmls:/etc/sgml/xml-resume-library.cat:8:8:E: cannot open 
"/usr/share/sgml/xml-resume-library/dtd/resume.cat" (No such file or directory)
nsgmls:/etc/sgml/w3c-dtd-xhtml.cat:8:8:E: cannot open 
"/usr/share/xml/xhtml/schema/dtd/1.0/catalog" (No such file or directory)
nsgmls:/etc/sgml/w3c-dtd-xhtml.cat:9:8:E: cannot open 
"/usr/share/xml/xhtml/schema/dtd/1.1/catalog" (No such file or directory)
nsgmls:/etc/sgml/w3c-dtd-xhtml.cat:10:8:E: cannot open 
"/usr/share/xml/xhtml/schema/dtd/basic/catalog" (No such file or directory)
nsgmls:/etc/sgml/w3c-dtd-xhtml.cat:11:8:E: cannot open 
"/usr/share/xml/xhtml/schema/dtd/catalog" (No such file or directory)
nsgmls:/etc/sgml/w3c-dtd-xhtml.cat:12:8:E: cannot open 
"/usr/share/xml/entities/xhtml/catalog" (No such file or directory)
L2 test.sgml
(DEBIANDOC
AID CDATA Debiandoc-example
L4
(BOOK
L5
....
$

Ok, nsgmls is shipped in the package so, so reinstall that for completeness:
$ aptitude reinstall sp
The following packages will be REINSTALLED:
  sp 
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not 
upgraded.
Need to get 175 kB of archives. After unpacking 0 B will be used.
Get: 1 http://ftp.nara.wide.ad.jp/debian/ sid/main sp amd64 1.3.4-1.2.1-47.1 
[175 kB]
Fetched 175 kB in 0s (529 kB/s)
(Reading database ... 613372 files and directories currently installed.)
Preparing to replace sp 1.3.4-1.2.1-47.1 (using 
.../sp_1.3.4-1.2.1-47.1_amd64.deb) ...
Unpacking replacement sp ...
Processing triggers for man-db ...
Processing triggers for doc-base ...
Processing 1 changed doc-base file...
Registering documents with scrollkeeper...
Setting up sp (1.3.4-1.2.1-47.1) ...
                                         
$

But the error does not go away.

Now strace nsgmls ...

$ strace -trace=all nsgmls -oline 
/usr/share/sgml/debiandoc/dtd/sgml/1.0/debiandoc.dcl test.sgml 2> strace.log

And then see what files are opened (besides the locale files):
$ grep open strace.log | grep -v locale
     0.000241 open("/etc/ld.so.cache", O_RDONLY) = 4
     0.000199 open("/usr/lib/libsp.so.1", O_RDONLY) = 4
     0.000186 open("/lib/x86_64-linux-gnu/libnsl.so.1", O_RDONLY) = 4
     0.000172 open("/usr/lib/x86_64-linux-gnu/libstdc++.so.6", O_RDONLY) = 4
     0.000153 open("/lib/x86_64-linux-gnu/libm.so.6", O_RDONLY) = 4
     0.000145 open("/lib/x86_64-linux-gnu/libgcc_s.so.1", O_RDONLY) = 4
     0.000146 open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY) = 4
     0.000046 open("/usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache", 
O_RDONLY) = 4
     0.000170 open("/usr/share/sgml/debiandoc/dtd/sgml/1.0/catalog", O_RDONLY) 
= 4
     0.000055 open("catalog", O_RDONLY) = -1 ENOENT (No such file or directory)
     0.000050 open("/usr/local/share/sgml/catalog", O_RDONLY) = -1 ENOENT (No 
such file or directory)
     0.000050 open("/usr/share/sgml/catalog", O_RDONLY) = -1 ENOENT (No such 
file or directory)
     0.000070 open("/etc/sgml/catalog", O_RDONLY) = 4
     0.000053 open("/etc/sgml/sgml-data.cat", O_RDONLY) = 4
     0.000056 open("/usr/share/sgml/dtd/catalog", O_RDONLY) = 4
     0.000054 open("/usr/share/sgml/entities/ArborText/catalog", O_RDONLY) = 4
     0.000054 open("/usr/share/sgml/entities/Hewlett-Packard/catalog", 
O_RDONLY) = 4
     0.000055 
open("/usr/share/sgml/entities/sgml-iso-entities-8879.1986/catalog", O_RDONLY) 
= 4
     0.000055 
open("/usr/share/sgml/entities/sgml-iso-entities-9573-13.1991/catalog", 
O_RDONLY) = 4
     0.000053 open("/usr/share/sgml/html/dtd/catalog", O_RDONLY) = 4
     0.000054 open("/usr/share/sgml/html/dtd/4.0/catalog", O_RDONLY) = 4
     0.000053 open("/usr/share/sgml/html/dtd/4.01/catalog", O_RDONLY) = 4
     0.000051 open("/usr/share/sgml/html/dtd/iso-15445/catalog", O_RDONLY) = 4
     0.000050 open("/usr/share/sgml/html/entities/catalog", O_RDONLY) = 4
     0.000048 open("/usr/share/xml/qaml/catalog", O_RDONLY) = 4
     0.000047 open("/usr/share/xml/svg/catalog", O_RDONLY) = 4
     0.000051 
open("/usr/share/xml/entities/xml-iso-entities-8879.1986/catalog", O_RDONLY) = 4
     0.000049 open("/etc/sgml/docbook-dsssl.cat", O_RDONLY) = 4
     0.000062 open("/usr/share/sgml/docbook/stylesheet/dsssl/modular/catalog", 
O_RDONLY) = 4
     0.000056 
open("/usr/share/sgml/docbook/stylesheet/dsssl/modular/common/catalog", 
O_RDONLY) = 4
     0.000051 open("/etc/sgml/jade.cat", O_RDONLY) = 4
     0.000051 open("/usr/share/sgml/jade/catalog", O_RDONLY) = 4
     0.000052 open("/etc/sgml/debiandoc-sgml.cat", O_RDONLY) = 4
     0.000053 open("/usr/share/sgml/debiandoc/dtd/sgml/1.0/catalog", O_RDONLY) 
= 4
     0.000054 open("/usr/share/sgml/debiandoc/entities/catalog", O_RDONLY) = 4
     0.000052 open("/etc/sgml/openjade1.3.cat", O_RDONLY) = 4
     0.000053 open("/usr/share/sgml/openjade1.3/catalog", O_RDONLY) = 4
     0.000053 open("/etc/sgml/xml-resume-library.cat", O_RDONLY) = 4
     0.000054 open("/usr/share/sgml/xml-resume-library/dtd/resume.cat", 
O_RDONLY) = -1 ENOENT (No such file or directory)
     0.000080 open("/etc/sgml/docbook.cat", O_RDONLY) = 4
     0.000054 open("/usr/share/sgml/docbook/dtd/catalog", O_RDONLY) = 4
     0.000054 open("/usr/share/sgml/docbook/dtd/2.4.1/catalog", O_RDONLY) = 4
     0.000085 open("/usr/share/sgml/docbook/dtd/3.0/catalog", O_RDONLY) = 4
     0.000054 open("/usr/share/sgml/docbook/dtd/3.1/catalog", O_RDONLY) = 4
     0.000053 open("/usr/share/sgml/docbook/dtd/4.0/catalog", O_RDONLY) = 4
     0.000053 open("/usr/share/sgml/docbook/dtd/4.1/catalog", O_RDONLY) = 4
     0.000053 open("/usr/share/sgml/docbook/dtd/4.2/catalog", O_RDONLY) = 4
     0.000050 open("/usr/share/sgml/docbook/dtd/4.3/catalog", O_RDONLY) = 4
     0.000057 open("/usr/share/sgml/docbook/dtd/4.4/catalog", O_RDONLY) = 4
     0.000053 open("/usr/share/sgml/docbook/dtd/4.5/catalog", O_RDONLY) = 4
     0.000052 open("/etc/sgml/xml-core.cat", O_RDONLY) = 4
     0.000053 open("/usr/share/sgml/dtd/xml-core/catalog", O_RDONLY) = 4
     0.000053 open("/etc/sgml/w3c-dtd-xhtml.cat", O_RDONLY) = 4
     0.000053 open("/usr/share/xml/xhtml/schema/dtd/1.0/catalog", O_RDONLY) = 
-1 ENOENT (No such file or directory)
     0.000065 open("/usr/share/xml/xhtml/schema/dtd/1.1/catalog", O_RDONLY) = 
-1 ENOENT (No such file or directory)
     0.000064 open("/usr/share/xml/xhtml/schema/dtd/basic/catalog", O_RDONLY) = 
-1 ENOENT (No such file or directory)
     0.000064 open("/usr/share/xml/xhtml/schema/dtd/catalog", O_RDONLY) = -1 
ENOENT (No such file or directory)
     0.000062 open("/usr/share/xml/entities/xhtml/catalog", O_RDONLY) = -1 
ENOENT (No such file or directory)
     0.000062 open("/etc/sgml/docutils-common.cat", O_RDONLY) = 4
     0.000048 open("/usr/share/xml/docutils/catalog", O_RDONLY) = 4
     0.000053 open("/etc/sgml/openjade.cat", O_RDONLY) = 4
     0.000052 open("/usr/share/sgml/OpenJade/catalog", O_RDONLY) = 4
     0.000052 open("/etc/sgml/docbook-xml.cat", O_RDONLY) = 4
     0.000053 open("/usr/share/xml/docbook/schema/dtd/catalog", O_RDONLY) = 4
     0.000064 open("/usr/share/xml/docbook/schema/dtd/4.0/catalog", O_RDONLY) = 
4
     0.000051 open("/usr/share/xml/docbook/schema/dtd/4.1.2/catalog", O_RDONLY) 
= 4
     0.000050 open("/usr/share/xml/docbook/schema/dtd/4.2/catalog", O_RDONLY) = 
4
     0.000049 open("/usr/share/xml/docbook/schema/dtd/4.3/catalog", O_RDONLY) = 
4
     0.000050 open("/usr/share/xml/docbook/schema/dtd/4.4/catalog", O_RDONLY) = 
4
     0.000049 open("/usr/share/xml/docbook/schema/dtd/4.5/catalog", O_RDONLY) = 
4
     0.000048 open("/etc/sgml/metacity-common.cat", O_RDONLY) = 4
     0.000055 open("/usr/share/sgml/metacity-common/catalog", O_RDONLY) = 4
     0.000054 write(2, "nsgmls:/etc/sgml/xml-resume-libr"..., 
139nsgmls:/etc/sgml/xml-resume-library.cat:8:8:E: cannot open 
"/usr/share/sgml/xml-resume-library/dtd/resume.cat" (No such file or directory)
     0.000062 write(2, "nsgmls:/etc/sgml/w3c-dtd-xhtml.c"..., 
128nsgmls:/etc/sgml/w3c-dtd-xhtml.cat:8:8:E: cannot open 
"/usr/share/xml/xhtml/schema/dtd/1.0/catalog" (No such file or directory)
     0.000057 write(2, "nsgmls:/etc/sgml/w3c-dtd-xhtml.c"..., 
128nsgmls:/etc/sgml/w3c-dtd-xhtml.cat:9:8:E: cannot open 
"/usr/share/xml/xhtml/schema/dtd/1.1/catalog" (No such file or directory)
     0.000057 write(2, "nsgmls:/etc/sgml/w3c-dtd-xhtml.c"..., 
131nsgmls:/etc/sgml/w3c-dtd-xhtml.cat:10:8:E: cannot open 
"/usr/share/xml/xhtml/schema/dtd/basic/catalog" (No such file or directory)
     0.000056 write(2, "nsgmls:/etc/sgml/w3c-dtd-xhtml.c"..., 
125nsgmls:/etc/sgml/w3c-dtd-xhtml.cat:11:8:E: cannot open 
"/usr/share/xml/xhtml/schema/dtd/catalog" (No such file or directory)
     0.000056 write(2, "nsgmls:/etc/sgml/w3c-dtd-xhtml.c"..., 
123nsgmls:/etc/sgml/w3c-dtd-xhtml.cat:12:8:E: cannot open 
"/usr/share/xml/entities/xhtml/catalog" (No such file or directory)
     0.000065 open("/usr/share/sgml/debiandoc/dtd/sgml/1.0/debiandoc.dcl", 
O_RDONLY) = 4
     0.000062 open("test.sgml", O_RDONLY) = 4
     0.000157 open("/usr/share/sgml/debiandoc/dtd/sgml/1.0/debiandoc.dtd", 
O_RDONLY) = 5
     0.000137 
open("/usr/share/sgml/entities/sgml-iso-entities-8879.1986/ISOamsa.ent", 
O_RDONLY) = 6
     0.000070 
open("/usr/share/sgml/entities/sgml-iso-entities-8879.1986/ISOamsb.ent", 
O_RDONLY) = 6
     0.000069 
open("/usr/share/sgml/entities/sgml-iso-entities-8879.1986/ISOamsc.ent", 
O_RDONLY) = 6
     0.000069 
open("/usr/share/sgml/entities/sgml-iso-entities-8879.1986/ISOamsn.ent", 
O_RDONLY) = 6
     0.000072 
open("/usr/share/sgml/entities/sgml-iso-entities-8879.1986/ISOamso.ent", 
O_RDONLY) = 6
     0.000072 
open("/usr/share/sgml/entities/sgml-iso-entities-8879.1986/ISOamsr.ent", 
O_RDONLY) = 6
     0.000070 
open("/usr/share/sgml/entities/sgml-iso-entities-8879.1986/ISObox.ent", 
O_RDONLY) = 6
     0.000069 
open("/usr/share/sgml/entities/sgml-iso-entities-8879.1986/ISOcyr1.ent", 
O_RDONLY) = 6
     0.000070 
open("/usr/share/sgml/entities/sgml-iso-entities-8879.1986/ISOcyr2.ent", 
O_RDONLY) = 6
     0.000069 
open("/usr/share/sgml/entities/sgml-iso-entities-8879.1986/ISOdia.ent", 
O_RDONLY) = 6
     0.000073 
open("/usr/share/sgml/entities/sgml-iso-entities-8879.1986/ISOgrk1.ent", 
O_RDONLY) = 6
     0.000068 
open("/usr/share/sgml/entities/sgml-iso-entities-8879.1986/ISOgrk2.ent", 
O_RDONLY) = 6
     0.000065 
open("/usr/share/sgml/entities/sgml-iso-entities-8879.1986/ISOgrk3.ent", 
O_RDONLY) = 6
     0.000071 
open("/usr/share/sgml/entities/sgml-iso-entities-8879.1986/ISOgrk4.ent", 
O_RDONLY) = 6
     0.000068 
open("/usr/share/sgml/entities/sgml-iso-entities-8879.1986/ISOlat1.ent", 
O_RDONLY) = 6
     0.000069 
open("/usr/share/sgml/entities/sgml-iso-entities-8879.1986/ISOlat2.ent", 
O_RDONLY) = 6
     0.000070 
open("/usr/share/sgml/entities/sgml-iso-entities-8879.1986/ISOnum.ent", 
O_RDONLY) = 6
     0.000068 
open("/usr/share/sgml/entities/sgml-iso-entities-8879.1986/ISOpub.ent", 
O_RDONLY) = 6
     0.000082 
open("/usr/share/sgml/entities/sgml-iso-entities-8879.1986/ISOtech.ent", 
O_RDONLY) = 6


And then I gave up, because I have no idea why it does not work.

>  # apt-get update; apt-get dist-upgrade

Thanks, I am since long on sid uptodate.

Best wishes

Norbert
------------------------------------------------------------------------
Norbert Preining            preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan                                 TeX Live & Debian Developer
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
POLBATHIC (adj.)
Gifted with ability to manipulate taps using only the feet.
                        --- Douglas Adams, The Meaning of Liff



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to