perl ./genpsdriver.pl > nasmdoc.ps mkdir -p info makeinfo nasmdoc.texi ps2pdf -dOptimize=true nasmdoc.ps nasmdoc.pdf Error: /undefined in Operand stack: Times-Italic-NASM Times-Italic Font Times-Italic 231230 Times-Italic --nostringval-- Times-Italic (/home/mobtek/.fonts/TimesItalic.ttf) false --nostringval-- true Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- 2 3 %oparray_pop 3 3 %oparray_pop --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 6 4 %oparray_pop --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- %array_continue --nostringval-- --nostringval-- --nostringval-- %loop_continue --nostringval-- --nostringval-- --nostringval-- --nostringval-- %loop_continue --nostringval-- 11 --nostringval-- --nostringval-- false 1 %stopped_push --nostringval-- false 1 %stopped_push --nostringval-- Dictionary stack: --dict:1120/1686(ro)(G)-- --dict:0/20(G)-- --dict:101/200(L)-- --dict:17/17(ro)(G)-- --dict:1120/1686(ro)(G)-- --dict:101/200(L)-- Current allocation mode is local Current file position is 8 ESP Ghostscript 815.01: Unrecoverable error, exit code 1 make[1]: *** [nasmdoc.pdf] Error 1 make[1]: *** Waiting for unfinished jobs.... mv -f *.info *.info-* info make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/portage/nasm-0.98.39-r3/work/nasm-0.98.39/doc' make: *** [doc] Error 2 -------------------------------------- emerge --info Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.13 i686) ================================================================= System uname: 2.6.13 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.6.14 dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.8.1-r1, 2.6.11-r3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O -march=pentium4 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O -march=pentium4 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks fixpackages sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.pacific.net.au/linux/Gentoo ftp://mirror.pacific.net.au/linux/Gentoo ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/" LANG="en_AU.UTF-8" LC_ALL="en_AU.UTF-8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/home/mobtek/apps/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac aalib ac3 accessibility acl alsa apm arts artswrappersuid audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cups curl divx4linux doc dvd dvdr dvdread eds emboss encode esd ethereal exif expat fam ffmpeg flac foomaticdb fortran gdbm gif glut gmp gnome gphoto2 gpm gst gstreamer gtk gtk2 gtkhtml idn imagemagick imlib ipv6 jabber jpeg kde kdexdeltas lcms libg++ libwww mad matroska mikmod mng motif mozilla mp3 mpeg mysql ncurses nls ogg oggvorbis openal opengl oss pam pcre pda pdflib perl pic png python qt quicktime readline real ruby samba scanner sdl slang spell sqlite ssl svga tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis wifi win32codecs x86 xine xinerama xml xml2 xmms xscreensaver xv xvid yaz zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS, LINGUAS
Can you try to remove the -dOptimize=true in the ps2pdf command and see if it still fails? And also see if the generated ps is valid (try opening it with gv, for instance). Which version of ghostscript-esp are you using?
*** This bug has been marked as a duplicate of 76729 ***