When I try to emerge nasm-0.98.38-r1, it fails during documentation stage (ps2pdf) See below for error messages. This is most likely a font problem but I don't know how to fix it... Reproducible: Always Steps to Reproduce: 1.emerge nasm Actual Results: Excerpt from error messages... Producing text output: writing file...done. Producing HTML output: writing contents file...writing chapter files... writing index file...done. Producing Texinfo output: writing file...done. Producing WinHelp output: building index entries...writing .hpj file... writing .rtf file...done. Producing Documentation Intermediate Paragraphs: done. mv -f *.html html : Generated by side effect perl ./genpsdriver.pl > nasmdoc.ps mkdir -p info makeinfo nasmdoc.texi mv -f *.info *.info-* info ps2pdf -dOptimize=true nasmdoc.ps nasmdoc.pdf Error: /invalidfont in findfont Operand stack: Times-Italic-NASM Times-Italic Font Times-Italic 351347 Times- Italic --nostringval-- Times-Italic NimbusRomNo9L-ReguItal (NimbusRomNo9L-ReguItal) NimbusRomNo9L-ReguItal (NimbusRomNo9L-ReguItal) NimbusRomNo9L-ReguItal 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 .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-- 5 -1 1 --nostringval-- %for_neg_int_continue --nostringval-- --nostringval-- Dictionary stack: --dict:1054/1417(ro)(G)-- --dict:0/20(G)-- --dict:89/200(L)-- --dict: 17/17(ro)(G)-- --dict:1054/1417(ro)(G)-- Current allocation mode is local Last OS error: 2 Current file position is 3090 ESP Ghostscript 7.07.1: Unrecoverable error, exit code 1 Expected Results: successfully emerge nasm? Gentoo Base System version 1.4.16 Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.8-gentoo-r10 i686) ================================================================= System uname: 2.6.8-gentoo-r10 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3. 3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config / 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="-O2 -march=pentium4 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://gentoo.mirrored.ca/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://jerith.ee.und.ac.za/gentoo-portage" USE="x86 X aalib acl acpi aim alsa apache2 apm arts audiofile avi berkdb bitmap- fonts bonobo caps cdb cdr cjk crypt cscope cups curl dba dedicated doc dvd encode esd ethereal evo fam fbcon fftw flac flash foomaticdb fortran gd gdbm gif ginac gnome gphoto2 gpm gstreamer gtk gtk2 icq imagemagick imap imlib ipv6 jabber jpeg kde lcms ldap libwww mad mikmod mmx motif mozilla mpeg mpi msn mysql ncurses nls nocd offensive oggvorbis opengl oscar oss pam pda pdflib perl plotutils png python qt quicktime readline samba sdl share sharedmem slang slp speex spell sse ssl svg svga svgalib sysvipc tcpd tetex theora tiff truetype unicode usb videos wmf wxwindows xml xml2 xmms xosd xpm xv xvid yahoo zlib"
same issue with 0.98.39?
works for me. need info.
I'm getting the same error during emerge of nasm-0.98.39: ps2pdf -dOptimize=true nasmdoc.ps nasmdoc.pdf Error: /invalidfont in findfont Operand stack: Times-Italic-NASM Times-Italic Font Times-Italic 351347 Times-Itali c --nostringval-- Times-Italic NimbusRomNo9L-ReguItal (NimbusRomNo9L-Reg uItal) NimbusRomNo9L-ReguItal (NimbusRomNo9L-ReguItal) NimbusRomNo9L-ReguI tal Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval- - 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- fa lse 1 %stopped_push 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-- --n ostringval-- --nostringval-- false 1 %stopped_push 6 4 %oparray_po p --nostringval-- --nostringval-- --nostringval-- 5 -1 1 --nostrin gval-- %for_neg_int_continue --nostringval-- --nostringval-- Dictionary stack: --dict:1052/1417(ro)(G)-- --dict:0/20(G)-- --dict:89/200(L)-- --dict:17 /17(ro)(G)-- --dict:1052/1417(ro)(G)-- Current allocation mode is local Last OS error: 2 Current file position is 3090 ESP Ghostscript 7.07.1: Unrecoverable error, exit code 1 ... !!! ERROR: dev-lang/nasm-0.98.39 failed. !!! Function src_compile, Line 34, Exitcode 2 !!! emake failed root@alexandria thoth # emerge info Portage 2.0.51.19 (default-linux/x86/2005.0/2.4, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.4.26-gentoo-r11 i686) ================================================================= System uname: 2.4.26-gentoo-r11 i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.5 [2.3.5 (#1, May 3 2005, 09:30:40)] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.4.22-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=i686 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control /var/www/localhost/htdocs//mythweb/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://mirror.datapipe.net/gentoo ftp://gentoo.chem.wisc.edu/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/home/thoth/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowex X Xaw3d acl apache2 apm arts avi bash-completion berkdb bitmap-fonts bonobo bzilb cdr crypt cups divx4linux doc dvb dvd dvdr dvdread emboss encode esd fam flac foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml guile imagemagick imlib ipv6 java jpeg junit kde lcd libg++ libwww lirc mad maildir mikmod mjpeg mmx mmx2 mng motif mp3 mpeg mysql mythtv ncurses nls nojython ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell sse ssl svg svga tcltk tcpd theora tiff transcode truetype truetype-fonts type1-fonts unicode v4l v4l2 vim-with-x vorbis wmf xinerama xml xml2 xmms xprint xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Try it without sandbox and strict in your FEATURES. It continues to build fine for me so I'm really going to need you to track it down on your end.
I never got around to trying to adjust my FEATURES, but my latest emerge -uvD --newuse world seemed to compile nasm-0.98.39-r1, although I didn't watch it closely.
Well...I've tried several things on this end to try to break it. I'll need someone else to be able to reproduce it and provide more information (like the output from emerge -evp world and emerge --info) before moving forward. Marking WORKSFORME again.
I finally figured out what was wrong in MY case. Using epm --verify I discovered my gnu-gs-fonts-std package was "corrupted" (actually, all the files were missing, long story). Repairing (re-installing) the gnu-gs-fonts-std resulted in nasm building and installing. This doesn't answer the question of why Johan was having problems.
*** Bug 123248 has been marked as a duplicate of this bug. ***