[devel] fonts-type1-urw update broke ghostscript and other packages

Dmitry V. Levin ldv на altlinux.org
Вт Дек 23 07:56:23 MSK 2014


On Mon, Dec 22, 2014 at 07:27:27PM +0300, Dmitry V. Levin wrote:
> После обновления пакета fonts-type1-urw с 1.0.7pre44-alt1 до 1.10-alt1
> перестали собираться пакеты, использующие ghostscript:

В сборочной среде пакета gawk наблюдается следующее:

/usr/src/RPM/BUILD/gawk-4.1.0-alt2/doc$ ps2pdf awkcard.ps awkcard.pdf
Error: /invalidfont in /findfont
Operand stack:
   Times-Italic на 0   --nostringval--   Times-Italic
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1951   1   3   %oparray_pop   1950   1   3   %oparray_pop   1934   1   3   %oparray_pop   1820   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   1903   3   4   %oparray_pop
Dictionary stack:
   --dict:1186/1684(ro)(G)--   --dict:0/20(G)--   --dict:81/200(L)--   --dict:59/120(L)--
Current allocation mode is local
Last OS error: No such file or directory
Current file position is 7962
GPL Ghostscript 9.15: Unrecoverable error, exit code 1

$ grep -r ^/Times-Italic /usr/share/ghostscript/
/usr/share/ghostscript/9.15/Resource/Init/Fontmap.GS:/Times-Italic			/NimbusRomNo9L-ReguItal	;

$ fc-match -s Times-Italic
b018012l.pfb: "Bookman URW" "Light"
d050000l.pfb: "Dingbats" "Regular"
s050000l.pfb: "Standard Symbols L" "Regular"

До обновления пакета fonts-type1-urw эта команда говорила совсем иначе:
p052003l.pfb: "URW Palladio L" "Roman"
n021003l.pfb: "Nimbus Roman No9 L" "Regular"
d050000l.pfb: "Dingbats" "Regular"
s050000l.pfb: "Standard Symbols L" "Regular"

Аналогичная неприятность случилась и со всеми остальными Times*.
С другими алиасами из Fontmap.GS ситуация, видимо, ничуть не лучше.

See also:
https://bugzilla.redhat.com/show_bug.cgi?id=1160132
https://bugzilla.redhat.com/show_bug.cgi?id=1171756

> On Sun, Dec 21, 2014 at 10:34:32AM +0000, ALT beekeeper wrote:
> > 	82 NEW error logs
> > 
> > CoinPFunc-1.0.2-alt1.svn20121025
> > 	cd /usr/src/RPM/BUILD/CoinPFunc-1.0.2/tutorial && /usr/bin/ps2pdf14
> > 	/usr/src/RPM/BUILD/CoinPFunc-1.0.2/tutorial/tutorial.ps
> > 	Error: /invalidfont in /findfont
> > 	Operand stack:
> > 	--
> > 	Current allocation mode is local
> > 	Last OS error: No such file or directory
> > 	Current file position is 51195
> > 
> > GraphicsMagick-1.3.20-alt1.1
> > 	t/ps/write.t	(Wstat: 0 Tests: 2 Failed: 2)
> > 	Failed tests:  1-2
> > 	Files=31, Tests=407,  4 wallclock secs ( 0.22 usr  0.07 sys +  3.35 cusr  0.44 csys =
> > 	4.08 CPU)
> > 	Result: FAIL
> > 	Failed 1/31 test programs. 2/407 subtests failed.
> > 	make: *** [test_dynamic] Error 255
> > 
> > avr-libc-1:1.8.0-alt5
> > 	fig2dev -L png demo.fig demo.png
> > 	Error: /invalidfont in /findfont
> > 	Operand stack:
> > 	--
> > 	Current allocation mode is local
> > 	Last OS error: No such file or directory
> > 	GPL Ghostscript 9.15: Unrecoverable error, exit code 1
> > 	--
> > 	fig2dev -L png malloc-std.fig malloc-std.png
> > 	Error: /invalidfont in /findfont
> > 	Operand stack:
> > 	--
> > 	Current allocation mode is local
> > 	Last OS error: No such file or directory
> > 	GPL Ghostscript 9.15: Unrecoverable error, exit code 1
> > 
> > cyrus-imapd-2.4.17-alt1.1
> > 	fig2dev -L png murder.fig murder.png
> > 	Error: /invalidfont in /findfont
> > 	Operand stack:
> > 	--
> > 	Current allocation mode is local
> > 	Last OS error: No such file or directory
> > 	GPL Ghostscript 9.15: Unrecoverable error, exit code 1
> > 
> > filibpp-3.0.2-alt1
> > 	ps2pdf14 manual.ps manual.pdf
> > 	Error: /invalidfont in /findfont
> > 	Operand stack:
> > 	--
> > 	Current allocation mode is local
> > 	Last OS error: No such file or directory
> > 	Current file position is 318038
> > 
> > gawk-4.1.0-alt2
> > 	ps2pdf awkcard.ps awkcard.pdf
> > 	Error: /invalidfont in /findfont
> > 	Operand stack:
> > 	--
> > 	Current allocation mode is local
> > 	Last OS error: No such file or directory
> > 	Current file position is 7962
> > 
> > gri-2.12.23-alt2
> > 	convert example13.ps example13.png
> > 	Error: /invalidfont in /findfont
> > 	Operand stack:
> > 	--
> > 	Current allocation mode is local
> > 	Last OS error: No such file or directory
> > 	Current file position is 10649
> > 	GPL Ghostscript 9.15: Unrecoverable error, exit code 1
> > 
> > gstreamer-0.10.36-alt1
> > 	Generating build/images/state-diagram.png from state-diagram.fig
> > 	Error: /invalidfont in /findfont
> > 	Operand stack:
> > 	--
> > 	Current allocation mode is local
> > 	Last OS error: No such file or directory
> > 	GPL Ghostscript 9.15: Unrecoverable error, exit code 1
> > 
> > lilypond-2.18.2-alt0.1
> > 	configure: WARNING: unrecognized options: --disable-dependency-tracking,
> > 	--without-included-gettext
> > 	ERROR: Please install required programs:  International New Century Schoolbook fonts
> > 	(these files do not contain Cyrillic characters: c059036l.pfb c059033l.pfb c059016l.pfb
> > 	c059013l.pfb )
> > 	See INSTALL.txt for more information on how to build LilyPond
> > 
> > londonlaw-0.2.1-alt2_17
> > 	ps2pdf13 manual.ps
> > 	Error: /invalidfont in /findfont
> > 	Operand stack:
> > 	--
> > 	Current allocation mode is local
> > 	Last OS error: No such file or directory
> > 	Current file position is 12683
> > 
> > mapsoft-20140305-alt2
> > 	./make_pics avt.fig avt.png
> > 	Error: /invalidfont in /findfont
> > 	Operand stack:
> > 	--
> > 	Current allocation mode is local
> > 	Last OS error: No such file or directory
> > 	GPL Ghostscript 9.15: Unrecoverable error, exit code 1
> > 
> > nasm-2.10-alt1
> > 	false		 nasmdoc.ps -o nasmdoc.pdf
> > 	Error: /invalidfont in /findfont
> > 	Operand stack:
> > 	--
> > 	Current allocation mode is local
> > 	Last OS error: No such file or directory
> > 	Current file position is 3090
> > 
> > srecord-1.61-alt1
> > 	ps2pdf etc/BUILDING.ps etc/BUILDING.pdf
> > 	Error: /invalidfont in /findfont
> > 	Operand stack:
> > 	--
> > 	Current allocation mode is local
> > 	Last OS error: No such file or directory
> > 	Current file position is 5807
> > 
> > xen-4.4.1-alt1
> > 	/usr/bin/fig2dev -L png network-bridge.fig >network-bridge.png.tmp
> > 	GPL Ghostscript 9.15: Unrecoverable error, exit code 1
> > 	Error in ghostcript command
> > 	command was: gs -q -dSAFER -sDEVICE=png16m -r80 -g710x553 -sOutputFile=- -

-- 
ldv
----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя     : отсутствует
Тип     : application/pgp-signature
Размер  : 181 байтов
Описание: отсутствует
Url     : <http://lists.altlinux.org/pipermail/devel/attachments/20141223/9c2c0745/attachment.bin>


Подробная информация о списке рассылки Devel