Bug#819588: openjade: Tries to open /etc/sgml/openjade1.3.cat

2016-03-31 Thread Preuße
On 31.03.2016 14:44, Neil Roeth wrote:
> On 03/31/2016 04:26 AM, Preuße...@buxtehude.debian.org, Hilmar wrote:

Hi,

>> So new guess: openjade1.3 does not unregister its catalog.
>>
>> Maybe simply calling dh_installcatalogs in debian/rules is not sufficient.
>>
> Thanks for the update.  I think your new guess is correct.
> 
AFAICT openjade is affected too. Please be so kind to fix that also.

Thanks
  Hilmar
-- 
http://www.hilmar-preusse.de.vu/   #206401 http://counter.li.org



Bug#819588: openjade: Tries to open /etc/sgml/openjade1.3.cat

2016-03-31 Thread Neil Roeth
On 03/31/2016 04:26 AM, Preuße...@buxtehude.debian.org, Hilmar wrote:
> So new guess: openjade1.3 does not unregister its catalog.
>
> sid:/var/lib# less -X /var/lib/dpkg/info/openjade1.3.postrm
> #!/bin/sh
> set -e
> # Automatically added by dh_installcatalogs
> if [ "$1" = "purge" ]; then
> rm -f /etc/sgml/openjade1.3.cat.old
> fi
> # End automatically added section
>
> Maybe simply calling dh_installcatalogs in debian/rules is not sufficient.
>
> Hilmar
Thanks for the update.  I think your new guess is correct.

-- 
Neil Roeth



Bug#819588: openjade: Tries to open /etc/sgml/openjade1.3.cat

2016-03-31 Thread Preuße
reassign 819588 openjade1.3
retitle 819588 openjade1.3: does not unregister its catalog upon purge
stop

On 31.03.2016 01:04, Neil Roeth wrote:

Hi,

> Thanks for the report. Can you provide answers to these questions?
> 
> * Was the openjade1.3 package installed when this error occurred?
> 
No.

> * If removed, did you do a purge as well?
> 
Yes.

> * Did /etc/sgml/catalog contain both openjade1.3.cat and openjade.cat, or
>   just openjade1.3.cat?
> 
Here is the file contents, even after purge of openjade1.3 (and
/etc/sgml/openjade1.3.cat is gone).

--
## This file is created by update-catalog with update-super.
## Please see update-catalog(8) for how to modify this file.
--
CATALOG /etc/sgml/openjade.cat
CATALOG /etc/sgml/jade.cat
CATALOG /etc/sgml/debiandoc-sgml.cat
CATALOG /etc/sgml/docbook.cat
CATALOG /etc/sgml/docbook-xml.cat
CATALOG /etc/sgml/openjade1.3.cat
CATALOG /etc/sgml/sgml-data.cat
CATALOG /etc/sgml/xml-core.cat
CATALOG /etc/sgml/docbook-dsssl.cat

So new guess: openjade1.3 does not unregister its catalog.

sid:/var/lib# less -X /var/lib/dpkg/info/openjade1.3.postrm
#!/bin/sh
set -e
# Automatically added by dh_installcatalogs
if [ "$1" = "purge" ]; then
rm -f /etc/sgml/openjade1.3.cat.old
fi
# End automatically added section

Maybe simply calling dh_installcatalogs in debian/rules is not sufficient.

Hilmar
-- 
http://www.hilmar-preusse.de.vu/   #206401 http://counter.li.org



Bug#819588: openjade: Tries to open /etc/sgml/openjade1.3.cat

2016-03-30 Thread Neil Roeth
Thanks for the report. Can you provide answers to these questions?

  * Was the openjade1.3 package installed when this error occurred?
  * If removed, did you do a purge as well?
  * Did /etc/sgml/catalog contain both openjade1.3.cat and openjade.cat,
or just openjade1.3.cat?

Thanks.

-- 
Neil Roeth



Bug#819588: openjade: Tries to open /etc/sgml/openjade1.3.cat

2016-03-30 Thread Hilmar Preuße
Package: openjade
Version: 1.4devel1-21.1
Severity: minor

Dear Maintainer,

   * What led up to the situation?

hille@sid:~ $ touch a
hille@sid:~ $ openjade -t tex -o a.tex a
openjade:/etc/sgml/catalog:10:8:E: cannot open "/etc/sgml/openjade1.3.cat" (No 
such file or directory)
openjade:E: cannot find "a.dsl"; tried "a.dsl", "/usr/local/share/sgml/a.dsl", 
"/usr/share/sgml/a.dsl"
openjade:E: specification document does not have the DSSSL architecture as a 
base architecture
openjade:/etc/sgml/catalog:10:8:E: cannot open "/etc/sgml/openjade1.3.cat" (No 
such file or directory)
openjade:/etc/sgml/catalog:10:8:E: cannot open "/etc/sgml/openjade1.3.cat" (No 
such file or directory)
openjade:a:1:0:E: end of document in prolog

Of course a is not an SGML file.  My point is that openjade tries to open a
file, it does not provide by itself.  As openjade1.3 will be removed
openjade must open /etc/sgml/openjade.cat.


Thanks,
  Hilmar
-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 4.4.0-1-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages openjade depends on:
ii  libc6 2.22-5
ii  libgcc1   1:5.3.1-13
ii  libosp5   1.5.2-13
ii  libostyle1c2  1.4devel1-21.1
ii  libstdc++65.3.1-13
ii  sgml-base 1.26+nmu4

openjade recommends no packages.

Versions of packages openjade suggests:
ii  doc-base   0.10.7
ii  sgml-data  2.0.10

-- no debconf information