Re: /usr/ports/print/ghostscript9-agpl-base gs_ll3.ps: Error: /undefinedresource (fwd)
Hi, Reference: > From: =?UTF-8?B?VMSzbA==?= Coosemans > Date: Tue, 4 May 2021 22:47:13 +0200 =?UTF-8?B?VMSzbA==?= Coosemans wrote: > On Tue, 04 May 2021 22:01:46 +0200 "Julian H. Stacey" > wrote: > >> Delete all those .pkgsave files. These are backups created by pkg when > >> it has to install a file over an existing file. It means a previous > >> version of ghostscript wasn't deleted properly. > > > > Thanks Coosemans, I ran my compare+delete > > http://berklix.com/~jhs/src/bsd/jhs/bin/public/cmpd/cmpd.c > > cmpd -d -v \ > > /usr/local/share/ghostscript/fonts/Fontmap.pkgsave \ > > /usr/local/share/ghostscript/fonts/Fontmap > > cmpd -d -v \ > > /usr/local/share/ghostscript/9.52/Resource/Init/Fontmap.pkgsave \ > > /usr/local/share/ghostscript/9.52/Resource/Init/Fontmap > > cmpd -d -v \ > > /usr/local/share/ghostscript/9.52/Resource/Init/Fontmap.GS.pkgsave \ > > /usr/local/share/ghostscript/9.52/Resource/Init/Fontmap.GS > > All identical & deleted. > > > > & rebooted but no better, gs still fails. > > In your original message there were more than these 3. Did you delete > all of them? Try "find /usr/local/share/ghostscript -name '*.pkgsave'". Oops tons of them, so I did this: cd /usr/local find . -name \*\.pkgsave\* | wc -l # 321798 find . -name \*\.pkgsave\* | xargs rm # A few with spaces in names find . -name \*\.pkgsave\* -exec rm {} \; find . -name \*\.pkgsave\* -print reboot Fixed it ! gs works now, brings up a panel inside X11 :-) Thanks Coosemans !! I've also purged all pkgsave on all other bootable partitions on this host & another. There's no cron driven warning of pollution available from /usr/src /usr/ports/ports-mgmt/pkg/ work/pkg-1.16.3/NEWS work/pkg-1.16.3/libpkg/pkg_add.c work/pkg-1.16.3/tests/frontend/configmerge.sh work/pkg-1.16.3/tests/frontend/conflicts.sh pkg-check would seem a plausible name to include a find of .pkgsave ? 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. ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: /usr/ports/print/ghostscript9-agpl-base gs_ll3.ps: Error: /undefinedresource (fwd)
On Tue, 04 May 2021 22:01:46 +0200 "Julian H. Stacey" wrote: >> Delete all those .pkgsave files. These are backups created by pkg when >> it has to install a file over an existing file. It means a previous >> version of ghostscript wasn't deleted properly. > > Thanks Coosemans, I ran my compare+delete > http://berklix.com/~jhs/src/bsd/jhs/bin/public/cmpd/cmpd.c > cmpd -d -v \ > /usr/local/share/ghostscript/fonts/Fontmap.pkgsave \ > /usr/local/share/ghostscript/fonts/Fontmap > cmpd -d -v \ > /usr/local/share/ghostscript/9.52/Resource/Init/Fontmap.pkgsave \ > /usr/local/share/ghostscript/9.52/Resource/Init/Fontmap > cmpd -d -v \ > /usr/local/share/ghostscript/9.52/Resource/Init/Fontmap.GS.pkgsave \ > /usr/local/share/ghostscript/9.52/Resource/Init/Fontmap.GS > All identical & deleted. > > & rebooted but no better, gs still fails. In your original message there were more than these 3. Did you delete all of them? Try "find /usr/local/share/ghostscript -name '*.pkgsave'". ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: /usr/ports/print/ghostscript9-agpl-base gs_ll3.ps: Error: /undefinedresource (fwd)
Hi, Reference: > From: =?UTF-8?B?VMSzbA==?= Coosemans > Date: Tue, 4 May 2021 17:51:05 +0200 =?UTF-8?B?VMSzbA==?= Coosemans wrote: > On Tue, 04 May 2021 16:29:47 +0200 "Julian H. Stacey" > wrote: > > Hi ports@ people, > > I wrote this to doc...@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 doc...@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 > > j...@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 wheel3297 May 2 22:23 FAPIcidfmap > > - -rw-r--r-- 1 root wheel3297 Jun 16 2020 FAPIcidfmap.pkgsave > > - -rw-r--r-- 1 root wheel1158 May 2 22:23 FAPIconfig > > - -rw-r--r-- 1 root wheel1158 Jun 16 2020 FAPIconfig.pkgsave > > - -rw-r--r-- 1 root wheel1468 May 2 22:23 FAPIfontmap > > - -rw-r--r-- 1 root wheel1468 Jun 16 2020 FAPIfontmap.pkgsave > > - -rw-r--r-- 1 root wheel2857 May 2 22:23 FCOfontmap-PCLPS2 > > - -rw-r--r-- 1 root wheel2857 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 wheel4183 May 2 22:23 cidfmap > > - -rw-r--r-- 1 root wheel4183 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
Re: /usr/ports/print/ghostscript9-agpl-base gs_ll3.ps: Error: /undefinedresource (fwd)
On Tue, 04 May 2021 16:29:47 +0200 "Julian H. Stacey" wrote: > Hi ports@ people, > I wrote this to doc...@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 doc...@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 > j...@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 wheel3297 May 2 22:23 FAPIcidfmap > - -rw-r--r-- 1 root wheel3297 Jun 16 2020 FAPIcidfmap.pkgsave > - -rw-r--r-- 1 root wheel1158 May 2 22:23 FAPIconfig > - -rw-r--r-- 1 root wheel1158 Jun 16 2020 FAPIconfig.pkgsave > - -rw-r--r-- 1 root wheel1468 May 2 22:23 FAPIfontmap > - -rw-r--r-- 1 root wheel1468 Jun 16 2020 FAPIfontmap.pkgsave > - -rw-r--r-- 1 root wheel2857 May 2 22:23 FCOfontmap-PCLPS2 > - -rw-r--r-- 1 root wheel2857 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 wheel4183 May 2 22:23 cidfmap > - -rw-r--r-- 1 root wheel4183 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
/usr/ports/print/ghostscript9-agpl-base gs_ll3.ps: Error: /undefinedresource (fwd)
Hi ports@ people, I wrote this to doc...@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 doc...@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 j...@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 wheel3297 May 2 22:23 FAPIcidfmap - -rw-r--r-- 1 root wheel3297 Jun 16 2020 FAPIcidfmap.pkgsave - -rw-r--r-- 1 root wheel1158 May 2 22:23 FAPIconfig - -rw-r--r-- 1 root wheel1158 Jun 16 2020 FAPIconfig.pkgsave - -rw-r--r-- 1 root wheel1468 May 2 22:23 FAPIfontmap - -rw-r--r-- 1 root wheel1468 Jun 16 2020 FAPIfontmap.pkgsave - -rw-r--r-- 1 root wheel2857 May 2 22:23 FCOfontmap-PCLPS2 - -rw-r--r-- 1 root wheel2857 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 wheel4183 May 2 22:23 cidfmap - -rw-r--r-- 1 root wheel4183 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