Date: Tue, 04 May 2021 16:29:47 +0200 From: "Julian H. Stacey" <jhs@berklix.com> To: freebsd-ports@freebsd.org Subject: /usr/ports/print/ghostscript9-agpl-base gs_ll3.ps: Error: /undefinedresource (fwd) Message-ID: <202105041429.144ETlTq098537@fire.js.berklix.net>
next in thread | raw e-mail | index | archive | help
Hi ports@ people, I wrote this to doceng@FreeBSD.org Sun, 02 May 2021 23:43:44 +0200 but no reply by Tue May 4 16:26:48 CEST 2021. Have others seen similar or got ideas to fix gs ghostscript ? ----------- Hi doceng@FreeBSD.org as MAINTAINER= in /usr/ports/print/ghostscript9-agpl-base I'm stuck, gs fails to start, suggestions please ? FreeBSD lapr.js.berklix.net 12.2-STABLE FreeBSD 12.2-STABLE #1038: Mon Feb 15 02:04:28 CET 2021 jhs@lapr.no.berklix.net:/data/release/s2/usr/src/sys/amd64/compile/LAPR.small amd64 % printenv PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/bin TERM=xterm DESTDIR=/ TERMPATH=/etc/termcap:/usr/share/misc/termcap NOCLEANDEPENDS= % printenv PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/bin TERM=xterm DESTDIR=/ TERMPATH=/etc/termcap:/usr/share/misc/termcap NOCLEANDEPENDS= % which gs /usr/local/bin/gs % ls -l /usr/local/bin/gs - -rwxr-xr-x 1 root wheel 7648 Apr 29 11:02 /usr/local/bin/gs* gs GPL Ghostscript 9.52 (2020-03-19) Copyright (C) 2020 Artifex Software, Inc. All rights reserved. This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY: see the file COPYING for details. While reading gs_ll3.ps: Error: /undefinedresource in findresource Operand stack: (gs_icc.ps\000gs_mex_e.ps\000gs_mro_e.ps\000gs_pdf_e.ps\000gs_wan_e.ps\000pdf_ops.ps\000pdf_rbld.ps\000pdf_base.ps\000pdf_draw.ps\000gs_cff.ps\000gs_mgl_e.ps\000gs_ttf.ps\000pdf_font.ps\000pdf_main.ps\000pdf_sec.ps\000gs_epsf.ps\000gs_pdfwr.ps) (gs_ll3.ps) 1 Pscript5Idiom.pkgsave IdiomSet 6 Pscript5Idiom.pkgsave Execution stack: %interp_exit --nostringval-- findresource %loop_continue findresource findresource findresource false 1 %stopped_push --nostringval-- 1902 7 5 %oparray_pop findresource findresource --dict:16/18(ro)(G)-- --dict:2/2(G)-- findresource 2 %dict_continue findresource findresource 1900 5 5 %oparray_pop findresource %errorexec_pop findresource findresource findresource findresource Dictionary stack: --dict:943/1123(G)-- --dict:0/20(G)-- --dict:77/200(L)-- --dict:943/1123(G)-- --dict:38/43(G)-- --dict:16/18(ro)(G)-- Current allocation mode is global Current file position is 18941 Any ideas please ? I rebuilt my machine with make worl & generic then custom kernel & a load of downloaded pkg pkg info -a | wc -l 1348 ive since run cd /usr/ports/print/ghostscript9-agpl-base make clean make reinstall gs -help ends /usr/local/share/ghostscript/9.52/Resource/Init : /usr/local/share/ghostscript/9.52/lib : /usr/local/share/ghostscript/9.52/Resource/Font : /usr/local/share/ghostscript/fonts : /usr/local/share/fonts Ghostscript is also using fontconfig to search for font files my /usr/local/share/ghostscript/9.52/Resource/ has no Init should it ? drwxr-xr-x 2 root bin 4608 May 2 22:33 ./ drwxr-xr-x 11 root bin 512 May 2 22:33 ../ - -rw-r--r-- 1 root wheel 3297 May 2 22:23 FAPIcidfmap - -rw-r--r-- 1 root wheel 3297 Jun 16 2020 FAPIcidfmap.pkgsave - -rw-r--r-- 1 root wheel 1158 May 2 22:23 FAPIconfig - -rw-r--r-- 1 root wheel 1158 Jun 16 2020 FAPIconfig.pkgsave - -rw-r--r-- 1 root wheel 1468 May 2 22:23 FAPIfontmap - -rw-r--r-- 1 root wheel 1468 Jun 16 2020 FAPIfontmap.pkgsave - -rw-r--r-- 1 root wheel 2857 May 2 22:23 FCOfontmap-PCLPS2 - -rw-r--r-- 1 root wheel 2857 Jun 16 2020 FCOfontmap-PCLPS2.pkgsave - -rw-r--r-- 1 root wheel 109 May 2 22:23 Fontmap - -rw-r--r-- 1 root wheel 12929 May 2 22:23 Fontmap.GS - -rw-r--r-- 1 root wheel 12929 Jun 16 2020 Fontmap.GS.pkgsave - -rw-r--r-- 1 root wheel 109 Jun 16 2020 Fontmap.pkgsave - -rw-r--r-- 1 root wheel 4183 May 2 22:23 cidfmap - -rw-r--r-- 1 root wheel 4183 Jun 16 2020 cidfmap.pkgsave - -rw-r--r-- 1 root wheel 218021 May 2 22:23 gs_agl.ps /usr/local/share/ghostscript/fonts - -rw-r--r-- 1 root wheel 13643 Sep 19 2020 Fontmap - -rw-r--r-- 1 root wheel 13643 Jul 6 2019 Fontmap.pkgsave lrwxr-xr-x 1 root wheel 49 Sep 19 2020 GothicBBB-Medium@ -> /usr/local/share/fonts/std.ja_JP/GothicBBB-Medium lrwxr-xr-x 1 root wheel 53 Sep 19 2020 GothicBBB-Medium.gs7@ -> /usr/local/share/fonts/std.ja_JP/GothicBBB-Medium.gs7 lrwxr-xr-x 1 root wheel 44 Sep 19 2020 MSung-Light@ -> /usr/local/share/fonts/std.zh_CN/MSung-Light lrwxr-xr-x 1 root wheel 45 Sep 19 2020 Ryumin-Light@ -> /usr/local/share/fonts/std.ja_JP/Ryumin-Light lrwxr-xr-x 1 root wheel 49 Sep 19 2020 Ryumin-Light.gs7@ -> /usr/local/share/fonts/std.ja_JP/Ryumin-Light.gs7 lrwxr-xr-x 1 root wheel 48 Sep 19 2020 STHeiti-Regular@ -> /usr/local/share/fonts/std.zh_CN/STHeiti-Regular lrwxr-xr-x 1 root wheel 45 Sep 19 2020 STSong-Light@ -> /usr/local/share/fonts/std.zh_CN/STSong-Light - -rw-r--r-- 1 root wheel 42833 Sep 19 2020 a010013l.afm - -rw-r--r-- 1 root wheel 19572 May 2 20:23 /usr/local/share/ghostscript/9.52/Resource/Init/gs_ll3.ps MD5 (share/ghostscript/9.52/Resource/Init/gs_ll3.ps) = 9c92e1f0a9fbde8aff39ab3d49e1e35b Could this be a font problem ? I used to see fontconfig errs with firefox, but that starts without error now, as does exmh so I guess its not fontfig. BTW I chased this problem back from this failing cat thing.ps | /usr/local/bin/ps2pdf -sPAPERSIZE=a4 - thing.pdf Hope you can help please, if I should provide more info please let me know. PS pkg info -a | grep -i font > /tmp/t GentiumBasic-1102_1 Gentium Basic and Gentium Book Basic TrueType fonts cantarell-fonts-0.101_1 Cantarell, a Humanist sans-serif font family croscorefonts-1.31.0_2 Fonts created from by Google for ChromeOS to replace MS TTF crosextrafonts-caladea-20130214_4 Font created by Google for ChromeOS to replace MS Cambria crosextrafonts-carlito-20130920_4 Font created by Google for ChromeOS to replace MS Calibri dejavu-2.37_1 Bitstream Vera Fonts clone with a wider range of characters encodings-1.0.5,1 X.Org Encoding fonts font-adobe-100dpi-1.0.3_4 X.Org Adobe 100dpi font font-adobe-75dpi-1.0.3_4 X.Org Adobe 75dpi font font-adobe-utopia-100dpi-1.0.4_4 X.Org Adobe Utopia 100dpi font font-adobe-utopia-75dpi-1.0.4_4 X.Org Adobe Utopia 75dpi font font-adobe-utopia-type1-1.0.4_4 X.Org Adobe Utopia Type1 font font-alias-1.0.4 X.Org Font aliases font-arabic-misc-1.0.3_4 X.Org miscellaneous Arabic fonts font-bh-100dpi-1.0.3_4 X.Org Bigelow Holmes 100dpi font font-bh-75dpi-1.0.3_4 X.Org Bigelow Holmes 75dpi font font-bh-lucidatypewriter-100dpi-1.0.3_4 X.Org Bigelow Holmes Lucida TypeWriter 100dpi font font-bh-lucidatypewriter-75dpi-1.0.3_4 X.Org Bigelow Holmes Lucida TypeWriter 75dpi font font-bh-ttf-1.0.3_4 X.Org Bigelow & Holmes TTF font font-bh-type1-1.0.3_4 X.Org Bigelow Holmes Type1 font font-bitstream-100dpi-1.0.3_4 X.Org Bitstream Vera 100dpi font font-bitstream-75dpi-1.0.3_4 X.Org Bitstream Vera 75dpi font font-bitstream-type1-1.0.3_4 X.Org Bitstream Vera Type1 font font-cronyx-cyrillic-1.0.3_4 X.Org Cronyx Cyrillic font font-cursor-misc-1.0.3_4 X.Org miscellaneous Cursor fonts font-daewoo-misc-1.0.3_4 X.Org miscellaneous Daewoo fonts font-dec-misc-1.0.3_4 X.Org miscellaneous Dec fonts font-ibm-type1-1.0.3_4 X.Org IBM Type1 font font-isas-misc-1.0.3_4 X.Org miscellaneous ISAS fonts font-jis-misc-1.0.3_4 X.Org miscellaneous JIS fonts font-micro-misc-1.0.3_4 X.Org miscellaneous Micro fonts font-misc-cyrillic-1.0.3_4 X.Org miscellaneous Cyrillic font font-misc-ethiopic-1.0.4 X.Org miscellaneous Ethiopic font font-misc-meltho-1.0.3_4 X.Org miscellaneous Meltho font font-misc-misc-1.1.2_4 X.Org miscellaneous Misc fonts font-mutt-misc-1.0.3_4 X.Org miscellaneous Mutt fonts font-schumacher-misc-1.1.2_4 X.Org miscellaneous Schumacher fonts font-screen-cyrillic-1.0.4_4 X.Org Screen Cyrillic font font-sony-misc-1.0.3_4 X.Org miscellaneous Sony fonts font-sun-misc-1.0.3_4 X.Org miscellaneous Sun fonts font-winitzki-cyrillic-1.0.3_4 X.Org Winitzki Cyrillic font font-xfree86-type1-1.0.4_4 X.Org XFree86 Type1 font fontconfig-2.13.93,1 XML-based font configuration API for X Windows freetype2-2.10.4 Free and portable TrueType font rendering engine gsfonts-8.11_8 Standard Fonts for Ghostscript libXfont-1.5.4_2,2 X font library libXfont2-2.0.4 X font library libXft-2.3.3 Client-sided font API for X applications liberation-fonts-ttf-2.1.3,2 Liberation fonts from Red Hat to replace MS TTF fonts libfontenc-1.1.4 The fontenc Library libxaw3dxft-1.6.2.e 3D Xaw (Athena Widget Set) replacement with extended fonts linuxlibertine-g-20120116_2 Linux Libertine G and Linux Biolinum G fonts mkfontscale-1.2.1 Creates an index of scalable font files for X t1lib-5.1.2_5,1 Type 1 font rasterization library for Unix/X11 twemoji-color-font-ttf-13.0.1 Color emoji font using Twitter Unicode 10 woff2-1.0.2_4 Library and converter tools for the WOFF 2.0 web font format xfd-1.1.3 Display all characters in an X font xfontsel-1.0.6 Point and click selection of X11 font names xlsfonts-1.0.6 Server font list displayer for X xorg-fonts-7.7_1 X.org fonts meta-port xorg-fonts-100dpi-7.7 X.Org 100dpi bitmap fonts xorg-fonts-75dpi-7.7 X.Org 75dpi bitmap fonts xorg-fonts-cyrillic-7.7 X.Org Cyrillic bitmap fonts xorg-fonts-miscbitmaps-7.7 X.Org miscellaneous bitmap fonts xorg-fonts-truetype-7.7_1 X.Org TrueType fonts xorg-fonts-type1-7.7 X.Org Type1 fonts pkg info -a | grep -i ostscript cdlabelgen-4.3.0 Generate postscript for frontcards and traycards for CDs dvips2ascii-1.3 PostScript (created by dvips) to ASCII converter ghostscript9-agpl-base-9.52_15 PostScript and PDF interpreter ghostscript9-agpl-x11-9.52 PostScript and PDF interpreter, X11 support gsfonts-8.11_8 Standard Fonts for Ghostscript gv-3.7.4_5 PostScript and PDF previewer libspectre-0.2.9 Small library for rendering Postscript documents psutils-1.17_5 Utilities for manipulating PostScript documents tex-dvipsk-5.995_2 Convert a TeX DVI file to PostScript Gv thing.ps emits err: While reading gs_ll3.ps: Error: /undefinedresource in findresource Operand stack: (gs_icc.ps\000gs_mex_e.ps\000gs_mro_e.ps\000gs_pdf_e.ps\000gs_wan_e.ps\000pdf_ops.ps\000pdf_rbld.ps\000pdf_base.ps\000pdf_draw.ps\000gs_cff.ps\000gs_mgl_e.ps\000gs_ttf.ps\000pdf_font.ps\000pdf_main.ps\000pdf_sec.ps\000gs_epsf.ps\000gs_pdfwr.ps) (gs_ll3.ps) 1 Pscript5Idiom.pkgsave IdiomSet 6 Pscript5Idiom.pkgsave Execution stack: %interp_exit --nostringval-- findresource %loop_continue findresource findresource findresource false 1 %stopped_push --nostringval-- 1902 7 5 %oparray_pop findresource findresource --dict:16/18(ro)(G)-- --dict:2/2(G)-- findresource 1 %dict_continue findresource findresource 1900 5 5 %oparray_pop findresource %errorexec_pop findresource findresource findresource findresource Dictionary stack: --dict:947/1123(G)-- --dict:0/20(G)-- --dict:77/200(L)-- --dict:947/1123(G)-- --dict:38/43(G)-- --dict:16/18(ro)(G)-- Current allocation mode is global Current file position is 18941 on 9.2-rel the same gv thing.ps displays OK Cheers, -- Julian Stacey http://berklix.com/jhs/ http://stolenvotes.uk UK for Brexit stole 750K votes from Brits in EU of 3.7M globaly. Zap BoJo Mogg.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105041429.144ETlTq098537>