Bug#934571: texlive-binaries: gsftopk fails

2019-08-15 Thread Hilmar Preuße
Control: reassign 934571 ghostscript
Control: found 934571 9.27~dfsg-2
Control: notfound 934571 9.27~dfsg-3
Control: found 934571 9.27~dfsg-2+deb10u1

Am 16.08.2019 um 02:52 teilte Igor Liferenko mit:

> Using 9.27~dfsg-3 there are no problems.
> 
Reassign for now. Please discuss w/ ghostscript maintainers if there
will be a fix for stable.

Hilmar
-- 
sigfault
#206401 http://counter.li.org



signature.asc
Description: OpenPGP digital signature


Bug#934571: texlive-binaries: gsftopk fails

2019-08-15 Thread Igor Liferenko
Using 9.27~dfsg-3 there are no problems.



Bug#934571: texlive-binaries: gsftopk fails

2019-08-15 Thread Hilmar Preuße
Am 13.08.2019 um 08:01 teilte Igor Liferenko mit:

Hi Igor,

>> I'm wondering what gs version you have. your system information shows
>> you run unstable, hence I'd expect 9.27~dfsg-3. What does "dpkg -l
>> ghostscript" show?
> 
> 9.27~dfsg-2
> 
Does upgrading to -3.1 solve the issue? It should have migrated to
testing today.

Hilmar
-- 
sigfault
#206401 http://counter.li.org





signature.asc
Description: OpenPGP digital signature


Bug#934571: texlive-binaries: gsftopk fails

2019-08-12 Thread Hilmar Preuße
Am 13.08.2019 um 08:01 teilte Igor Liferenko mit:

Hi,

>> I'm wondering what gs version you have. your system information shows
>> you run unstable, hence I'd expect 9.27~dfsg-3. What does "dpkg -l
>> ghostscript" show?
> 
> 9.27~dfsg-2
> 
Does upgrading to -3 solves the issue?

>> Well, at least one gets an error message from ghostscript and a clear
>> exit status from gsftopk. This is about what I can expect from a
>> program, which is not for the end user. What error message would you
>> expect gsftopk to print out in addition to the one from ghostscript?
> 
> As the end user, I'd expect it to print something like "this
> ghostscript version is not supported".
> 
Well, I'm pretty sure the incompatibility was not intended, hence we
can't implement a check.

Hilmar
-- 
sigfault
#206401 http://counter.li.org



signature.asc
Description: OpenPGP digital signature


Bug#934571: texlive-binaries: gsftopk fails

2019-08-12 Thread Hilmar Preuße
Am 13.08.2019 um 03:25 teilte Igor Liferenko mit:

Hi,

> 1. $ md5sum /usr/share/texmf/fonts/type1/public/lm/lmr10.pfb
> f35b44530a1d90eb90fe15d9cba67ea0
> /usr/share/texmf/fonts/type1/public/lm/lmr10.pfb
> 
Same here.

> Recent versions of gs removed a lot of gs extensions to get closer
> to standard postscript and for some security issues, so that's
> probably the root cause
> 
Well, yes. But these changes mostly happened at the beginning of the
year. Further it does not explain, why it works OK on 2 my unstable
installations, meanwhile your one fails. I tested on my stable
installation (containing already the fix for CVE-2019-10216).

hille@debian-hilmar:~$ gsftopk rm-lmr10 600
gsftopk(k) version 1.19.2gs: Error: /undefined in shellarguments
gs: Operand stack:
gs:
gs: Execution stack:
gs:%interp_exit   .runexec2   --nostringval--   --nostringval--
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--
  --nostringval--   false   1   %stopped_push   1992   1   3
%oparray_pop   1991   1   3   %oparray_pop   1979   1   3   %oparray_pop
  1833   1   3   %oparray_pop   --nostringval--   %errorexec_pop
.runexec2   --nostringval--   --nostringval--   --nostringval--   2
%stopped_push   --nostringval--
gs: Dictionary stack:
gs:--dict:732/1123(ro)(G)--   --dict:0/20(G)--   --dict:95/200(L)--
gs: Current allocation mode is local
gs: Current file position is 4993
GPL Ghostscript 9.27: Unrecoverable error, exit code 1

gs terminated abnormally with status 1
hille@debian-hilmar:~$ echo $?
1
hille@debian-hilmar:~$

I'm wondering what gs version you have. your system information shows
you run unstable, hence I'd expect 9.27~dfsg-3. What does "dpkg -l
ghostscript" show?

> but gsftopk probably ought to detect that and at least give a
> sensible error.
> 
Well, at least one gets an error message from ghostscript and a clear
exit status from gsftopk. This is about what I can expect from a
program, which is not for the end user. What error message would you
expect gsftopk to print out in addition to the one from ghostscript?

Hilmar
-- 
sigfault
#206401 http://counter.li.org



signature.asc
Description: OpenPGP digital signature


Bug#934571: texlive-binaries: gsftopk fails

2019-08-12 Thread Igor Liferenko
1. $ md5sum /usr/share/texmf/fonts/type1/public/lm/lmr10.pfb
f35b44530a1d90eb90fe15d9cba67ea0
/usr/share/texmf/fonts/type1/public/lm/lmr10.pfb

2. I reinstalled lmodern package. Same result.

Recent versions of gs removed a lot of gs extensions to get closer to
standard postscript and for some security issues, so that's probably
the root cause but gsftopk probably ought to detect that and at least
give a sensible error.

-igor



Bug#934571: texlive-binaries: gsftopk fails

2019-08-12 Thread Hilmar Preuße
Am 12.08.2019 um 10:46 teilte Igor Liferenko mit:

Hi,

> gsftopk(k) 1.19.2
> kpathsea version 6.3.1
> Copyright (C) 1993-1998 Paul Vojta.
> 
Just another 2 questiona:

1. is the file "/usr/share/texmf/fonts/type1/public/lm/lmr10.pfb"
present? If yes send me the sha512sum.
2. Could you re-install package lmodern to make sure the installation is OK?

Hilmar
-- 
sigfault
#206401 http://counter.li.org



signature.asc
Description: OpenPGP digital signature


Bug#934571: texlive-binaries: gsftopk fails

2019-08-12 Thread Igor Liferenko
gsftopk(k) 1.19.2
kpathsea version 6.3.1
Copyright (C) 1993-1998 Paul Vojta.
There is NO warranty.  You may redistribute this software
under the terms of the GNU General Public License
and the standard X consortium copyright notice.
For more information about these matters, see the files
named COPYING and gsftopk.c.
Author of gsftopk: Paul Vojta.


--


kdebug:hash_lookup(TEXMFDBS.gsftopk) => (nil)
kdebug:hash_lookup(TEXMFDBS) => 
{!!$TEXMFLOCAL,!!$TEXMFSYSVAR,!!$TEXMFDEBIAN,!!$TEXMFDIST} 
{!!$TEXMFLOCAL,!!$TEXMFSYSVAR,!!$TEXMFDEBIAN,!!$TEXMFDIST}
kdebug:hash_lookup(TEXMFLOCAL.gsftopk) => (nil)
kdebug:hash_lookup(TEXMFLOCAL) => /usr/local/share/texmf /usr/local/share/texmf
kdebug:hash_lookup(TEXMFSYSVAR.gsftopk) => (nil)
kdebug:hash_lookup(TEXMFSYSVAR) => /var/lib/texmf /var/lib/texmf
kdebug:hash_lookup(TEXMFDEBIAN.gsftopk) => (nil)
kdebug:hash_lookup(TEXMFDEBIAN) => /usr/share/texmf /usr/share/texmf
kdebug:hash_lookup(TEXMFDIST.gsftopk) => (nil)
kdebug:hash_lookup(TEXMFDIST) => $TEXMFROOT/texmf-dist $TEXMFROOT/texmf-dist
kdebug:hash_lookup(TEXMFROOT.gsftopk) => (nil)
kdebug:hash_lookup(TEXMFROOT) => /usr/share/texlive /usr/share/texlive
kdebug:hash_lookup(TEXMFLOG.gsftopk) => (nil)
kdebug:hash_lookup(TEXMFLOG) => (nil)
kdebug:db:init(): using db file /usr/local/share/texmf/ls-R.
kdebug:db:init(): using db file /var/lib/texmf/ls-R.
kdebug:db:init(): using db file /usr/share/texmf/ls-R.
kdebug:db:init(): using db file /usr/share/texlive/texmf-dist/ls-R.
kdebug:/usr/local/share/texmf/ls-R: 43 entries in 25 directories (0 hidden).
kdebug:ls-R hash table:64007 buckets, 38 nonempty (0%); 43 entries, average 
chain 1.1.
kdebug:/var/lib/texmf/ls-R: 450 entries in 41 directories (0 hidden).
kdebug:ls-R hash table:64007 buckets, 456 nonempty (0%); 493 entries, average 
chain 1.1.
kdebug:/usr/share/texmf/ls-R: 2297 entries in 58 directories (0 hidden).
kdebug:ls-R hash table:64007 buckets, 2592 nonempty (4%); 2790 entries, average 
chain 1.1.
kdebug:/usr/share/texlive/texmf-dist/ls-R: 25164 entries in 1900 directories (0 
hidden).
kdebug:ls-R hash table:64007 buckets, 17695 nonempty (27%); 27954 entries, 
average chain 1.6.
kdebug:hash_lookup(texmf_casefold_search.gsftopk) => (nil)
kdebug:hash_lookup(texmf_casefold_search) => 1 1
kdebug:hash_lookup(texmf_casefold_search.gsftopk) => (nil)
kdebug:hash_lookup(texmf_casefold_search) => 1 1
kdebug:hash_lookup(texmf_casefold_search.gsftopk) => (nil)
kdebug:hash_lookup(texmf_casefold_search) => 1 1
kdebug:hash_lookup(texmf_casefold_search.gsftopk) => (nil)
kdebug:hash_lookup(texmf_casefold_search) => 1 1
kdebug:hash_lookup(texmf_casefold_search.gsftopk) => (nil)
kdebug:hash_lookup(texmf_casefold_search) => 1 1
kdebug:hash_lookup(texmf_casefold_search.gsftopk) => (nil)
kdebug:hash_lookup(texmf_casefold_search) => 1 1
kdebug:hash_lookup(texmf_casefold_search.gsftopk) => (nil)
kdebug:hash_lookup(texmf_casefold_search) => 1 1
kdebug:hash_lookup(texmf_casefold_search.gsftopk) => (nil)
kdebug:hash_lookup(texmf_casefold_search) => 1 1
kdebug:hash_lookup(texmf_casefold_search.gsftopk) => (nil)
kdebug:hash_lookup(texmf_casefold_search) => 1 1
kdebug:hash_lookup(texmf_casefold_search.gsftopk) => (nil)
kdebug:hash_lookup(texmf_casefold_search) => 1 1
kdebug:hash_lookup(texmf_casefold_search.gsftopk) => (nil)
kdebug:hash_lookup(texmf_casefold_search) => 1 1
kdebug:hash_lookup(texmf_casefold_search.gsftopk) => (nil)
kdebug:hash_lookup(texmf_casefold_search) => 1 1
kdebug:hash_lookup(texmf_casefold_search.gsftopk) => (nil)
kdebug:hash_lookup(texmf_casefold_search) => 1 1
kdebug:hash_lookup(texmf_casefold_search.gsftopk) => (nil)
kdebug:hash_lookup(texmf_casefold_search) => 1 1
kdebug:hash_lookup(texmf_casefold_search.gsftopk) => (nil)
kdebug:hash_lookup(texmf_casefold_search) => 1 1
kdebug:hash_lookup(texmf_casefold_search.gsftopk) => (nil)
kdebug:hash_lookup(texmf_casefold_search) => 1 1
kdebug:hash_lookup(TEXCONFIG.gsftopk) => (nil)
kdebug:hash_lookup(TEXCONFIG) => $TEXMF/dvips// $TEXMF/dvips//
kdebug:hash_lookup(TEXMF.gsftopk) => (nil)
kdebug:hash_lookup(TEXMF) => 
{$TEXMFAUXTREES$TEXMFCONFIG,$TEXMFVAR,$TEXMFHOME,!!$TEXMFLOCAL,$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFDEBIAN,!!$TEXMFDIST}
 
{$TEXMFAUXTREES$TEXMFCONFIG,$TEXMFVAR,$TEXMFHOME,!!$TEXMFLOCAL,$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFDEBIAN,!!$TEXMFDIST}
kdebug:hash_lookup(TEXMFAUXTREES.gsftopk) => (nil)
kdebug:hash_lookup(TEXMFAUXTREES) => {} {}
kdebug:hash_lookup(TEXMFCONFIG.gsftopk) => (nil)
kdebug:hash_lookup(TEXMFCONFIG) => ~/.texlive2018/texmf-config 
~/.texlive2018/texmf-config
kdebug:hash_lookup(TEXMFVAR.gsftopk) => (nil)
kdebug:hash_lookup(TEXMFVAR) => $TEXMFLOCAL ~/.texlive2018/texmf-var 
~/.texlive2018/texmf-var
kdebug:hash_lookup(TEXMFLOCAL.gsftopk) => (nil)
kdebug:hash_lookup(TEXMFLOCAL) => /usr/local/share/texmf /usr/local/share/texmf
kdebug:hash_lookup(TEXMFHOME.gsftopk) => (nil)
kdebug:hash_lookup(TEXMFHOME) => /home/user/-git ~/texmf ~/texmf
kdebug:hash_lookup(TEXMFLOCAL.gsftopk) => (nil)
kdebug:h

Bug#934571: texlive-binaries: gsftopk fails

2019-08-12 Thread Hilmar Preuße
Am 12.08.2019 um 10:04 teilte Igor Liferenko mit:

Hi,

> $ gsftopk rm-lmr10 600
> gsftopk(k) version 1.19.2gs: Error: /undefined in shellarguments
> gs: Operand stack:
> gs: 
> gs: Execution stack:
> 
Works for me and seems to be rather a problem in ghostscript. Could you
post:

1. gsftopk --version
2. gsftopk --debug=2 rm-lmr10 600

Hilmar
-- 
sigfault
#206401 http://counter.li.org



signature.asc
Description: OpenPGP digital signature


Bug#934571: texlive-binaries: gsftopk fails

2019-08-12 Thread Igor Liferenko
Package: texlive-binaries
Version: 2019.20190605.51237-2
Severity: important
Tags: a11y

Dear Maintainer,

$ gsftopk rm-lmr10 600
gsftopk(k) version 1.19.2gs: Error: /undefined in shellarguments
gs: Operand stack:
gs: 
gs: Execution stack:
gs:%interp_exit   .runexec2   --nostringval--   --nostringval--   
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--   
--nostringval--   false   1   %stopped_push   1992   1   3   %oparray_pop   
1991   1   3   %oparray_pop   1979   1   3   %oparray_pop   1833   1   3   
%oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   
--nostringval--   --nostringval--   2   %stopped_push   --nostringval--
gs: Dictionary stack:
gs:--dict:732/1123(ro)(G)--   --dict:0/20(G)--   --dict:95/200(L)--
gs: Current allocation mode is local
gs: Current file position is 4993
GPL Ghostscript 9.27: Unrecoverable error, exit code 1

gs terminated abnormally with status 1


-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-5-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages texlive-binaries depends on:
ii  dpkg  1.19.7
ii  install-info  6.6.0.dfsg.1-2
ii  libbrotli11.0.7-2
ii  libc6 2.28-10
ii  libcairo2 1.16.0-4
ii  libfontconfig12.13.1-2
ii  libfreetype6  2.9.1-4
ii  libgcc1   1:8.3.0-6
ii  libgmp10  2:6.1.2+dfsg-4
ii  libgraphite2-31.3.13-7
ii  libgs99.27~dfsg-2
ii  libharfbuzz-icu0  2.5.3-1
ii  libharfbuzz0b 2.5.3-1
ii  libice6   2:1.0.9-2
ii  libicu63  63.2-2
ii  libkpathsea6  2019.20190605.51237-2
ii  libmpfr6  4.0.2-1
ii  libpaper1 1.1.28
ii  libpixman-1-0 0.36.0-1
ii  libpng16-16   1.6.37-1
ii  libpotrace0   1.15-1
ii  libptexenc1   2019.20190605.51237-2
ii  libsm62:1.2.3-1
ii  libstdc++68.3.0-6
ii  libsynctex2   2019.20190605.51237-2
ii  libteckit02.5.8+ds2-5
ii  libtexlua53   2019.20190605.51237-2
ii  libtexluajit2 2019.20190605.51237-2
ii  libwoff1  1.0.2-1
ii  libx11-6  2:1.6.7-1
ii  libxaw7   2:1.0.13-1+b2
ii  libxext6  2:1.3.3-1+b2
ii  libxi62:1.7.9-1
ii  libxmu6   2:1.1.2-2+b3
ii  libxpm4   1:3.5.12-1
ii  libxt61:1.1.5-1+b3
ii  libxxhash00.7.0-2
ii  libzzip-0-13  0.13.62-3.2
ii  perl  5.28.1-6
ii  t1utils   1.41-3
ii  tex-common6.12
ii  zlib1g1:1.2.11.dfsg-1+b1

Versions of packages texlive-binaries recommends:
ii  texlive-base  2018.20190227-2

texlive-binaries suggests no packages.

-- no debconf information