On 7/21/13 3:38 PM, Adam Ciarciński wrote:
Here's ps2pdf... $ ps2pdf test.ps test.pdf Error: /undefined in /findfont Operand stack: Times-Roman@0 --nostringval-- Times-Roman Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1900 1 3 %oparray_pop 1899 1 3 %oparray_pop 1883 1 3 %oparray_pop 1771 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- 1852 3 4 %oparray_pop Dictionary stack: --dict:1167/1684(ro)(G)-- --dict:0/20(G)-- --dict:78/200(L)-- --dict:59/120(L)-- Current allocation mode is local Last OS error: No such file or directory Current file position is 5638 GPL Ghostscript 9.07: Unrecoverable error, exit code 1 It happens whether calling on X or not. Interestingly - if I open the same file on a NetBSD-6 machine, same version of gs, displaying on my Mac's X11 Server, it works fine, no errors. LouisRemove all font packages and rebuild? :) Kind regards, Adam
My latest attempt was to remove all my pkgsrc packages entirely. I also reinstalled the OS (I had other reasons to do this too).
Brand new bootstrap, reinstalled OS, rebuild of print/ghostscript and the same exact problem!!
I'm posting my mk.conf below in case there's some clue there.I also tried dtrace-ing this but I'm not sure I can see where it goes awry. I need to figure out how to find what file it's looking for.
PKG_DBDIR= /usr/pkg/.dbdir LOCALBASE= /usr/pkg VARBASE= /var PKG_SYSCONFBASE= /etc PKG_TOOLS_BIN= /usr/pkg/sbin PKGMANDIR= man FETCH_CMD= /usr/bin/ftp ABI= 64 DISTDIR=/Users/Shared/distfiles PACKAGES=/Users/Shared/pkgsrc-packages WRKOBJDIR=/usr/pkgobj PKG_SYSCONFBASE=/etc PKGCHK_CONF=/etc/pkgchk.conf PKGCHK_UPDATE_CONF=/etc/pkgchk-update.conf CONFIG_SHELL=/bin/bash DEPENDS_TARGET=package-install # USE_BUILTIN.cups= yes # X11_TYPE=native # USE_BUILTIN.x11 = yes USE_BUILTIN.mit-krb5 = yes PKG_OPTIONS.ruby += ruby-build-ri-db PKG_OPTIONS.vim += ruby PKG_OPTIONS.subversion += apr1 PKG_OPTIONS.ImageMagick += ghostscript PKG_OPTIONS.fftw = -fftw-fortran PKG_OPTIONS.gs_type = ghostscript-agpl ACCEPTABLE_LICENSES+= vim-license ACCEPTABLE_LICENSES+= jpeg2ps-license ACCEPTABLE_LICENSES+= openmotif-license ACCEPTABLE_LICENSES+= gnu-agpl-v3 PGHOME=${VARBASE}/${PGUSER} PGSQL_VERSION_DEFAULT= 92 PHP_VERSION_DEFAULT= 54 # ALLOW_VULNERABLE_PACKAGES = yes