Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 254263 - app-office/lyx-1.6.1: viewing and exporting with pdflatex works only after ps2pdf run
Summary: app-office/lyx-1.6.1: viewing and exporting with pdflatex works only after ps...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-08 20:25 UTC by Ivan D Vasin
Modified: 2009-03-25 07:09 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan D Vasin 2009-01-08 20:25:06 UTC
i am running app-office/lyx-1.6.1 on a new (< 1 month old) gentoo installation. after opening lyx, when i try to view or export any lyx document using pdflatex (via View --> PDF (pdflatex) or File --> Export --> PDF (pdflatex)), the view/export fails. the view fails with the message "File does not exist:
/tmp/.private/nisavid/lyx_tmpdir.MT4132/lyx_tmpbuf0/<file>.pdf" (where <file> is the name of the lyx file sans ".lyx"), whereas the export fails silently.

however, if i similarly view or export the file with ps2pdf, the operation is successful. not only this, but subsequent attempts to view or export with pdflatex also succeed.

Reproducible: Always

Steps to Reproduce:
1. emerge app-office/lyx
2. create or open a document in lyx
3. File --> Export --> PDF (pdflatex) or View --> PDF (pdflatex)
Actual Results:  
pdf file did not get created (export)
"File does not exist:
/tmp/.private/nisavid/lyx_tmpdir.MT4132/lyx_tmpbuf0/<file>.pdf" (view)

Expected Results:  
pdf file would be created in the cwd (export)
pdf file would open in the viewer (view)

Portage 2.2_rc20 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r1, 2.6.28-gentoo i686)                                                              
=================================================================               
System uname: Linux-2.6.28-gentoo-i686-Intel-R-_Pentium-R-_M_processor_1.86GHz-with-glibc2.0                                                                    
Timestamp of tree: Thu, 08 Jan 2009 14:45:02 +0000                              
ccache version 2.4 [enabled]                                                    
app-shells/bash:     3.2_p48                                                    
dev-java/java-config: 1.3.7-r1, 2.1.6-r1                                        
dev-lang/python:     2.4.4-r13, 2.5.2-r8                                        
dev-python/pycrypto: 2.0.1-r6                                                   
dev-util/ccache:     2.4-r8                                                     
dev-util/cmake:      2.6.2-r1                                                   
sys-apps/baselayout: 2.0.0                                                      
sys-apps/openrc:     0.4.1-r1                                                   
sys-apps/sandbox:    1.3.2                                                      
sys-devel/autoconf:  2.13, 2.63                                                 
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                  
sys-devel/binutils:  2.19                                                       
sys-devel/gcc-config: 1.4.0-r4                                                  
sys-devel/libtool:   2.2.6a                                                     
virtual/os-headers:  2.6.28-r1                                                  
ACCEPT_KEYWORDS="x86 ~x86"                                                      
CBUILD="i686-pc-linux-gnu"                                                      
CFLAGS="-march=pentium4m -O2 -pipe -fomit-frame-pointer"                        
CHOST="i686-pc-linux-gnu"                                                       
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config"                                                                       
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"          
CXXFLAGS="-march=pentium4m -O2 -pipe -fomit-frame-pointer -fvisibility-inlines-hidden"                                                                          
DISTDIR="/usr/portage/distfiles"                                                
FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"        
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://cudlug.cudenver.edu/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"                                    
LDFLAGS="-Wl,-O1"                                                               
LINGUAS="en en_US"                                                              
MAKEOPTS="-j2"                                                                  
PKGDIR="/usr/portage/packages"                                                  
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/kde-testing /usr/local/portage/layman/berkano /usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X X509 Xaw3d a52 aac aalib acl acpi adns aim akonadi alsa amarok amazon animgif ao apache2 apm archive ares aspell audiofile avahi bash-completion bcmath berkdb big-tables bittorrent bl blas bluetooth boost branding bzip2 cairo caps cdaudio cdda cddb cdinstall cdio cdparanoia cdr chm cisco clamav cleartype cli clisp clucene colordiff consolekit corefonts cpudetection cpufreq cracklib crypt cscope css ctype cups curl curlwrappers cvs cxx daap dbus dhcpcd dirac disk-partition djvu dmi docbook dri dts dv dvd dvdnav dvdr dvdread ebook emovix enca encode enscript exif exiv2 expat extraengine fam fame fastbuild fat fax fbcon fbcondecor fbsplash ffmpeg fftw firefox fits flac fluidsynth fontconfig foomaticdb fortran ftp fuse g15 gcj gcrypt gd gdbm geoip gif gimp ginac git glade glib glibc-omitfp glitz glut gmp gnuplot gnutls google-gadgets gpm graphviz grub gs gsl gsm gstreamer gtk hal hddtemp hfs history howl-compat hpn html htmlhandbook iconv icuid3tag idea idn ieee1394 imagemagick imap innodb inotify ipod ipv6 isdnlog ithreads jabber java java5 java6 javascript jbig jingle joystick jpeg jpeg2k kde kdeprefix kerberos kipi kqemu lame lapack laptop latex lcms ldap libass libcaca libffi libgcrypt libnotify libsamplerate libssh2 libv4l2 libvisual libwww live lm_sensors logrotate lzma lzo mad mbrola md5sum mdnsresponder-compat mhash midi mikmod mime mjpeg mktemp mmap mmx mng modplug mono motif mp2 mp3 mp4 mpeg mpi mplayer mtp mudflap musepack music musicbrainz mysql mysqli ncurses nepomuk network networkmanager nis nls nptl nptlonly nsplugin nss ntfs ntp nvidia nxclient offensive ogg ogm openal openexr opengl openmp openvpn osc oscar otr pam pango pcap pchpcmcia pcntl pcre pcsc-lite pdf perl perlsuid php pixmaps plasma plotutils png policykit portaudio posix postproc povray ppds pppd pptp prediction pulseaudio python qca qt-static qt3support qt4 quicktime rar raw rdesktop readline reflection reiserfs remix resolvconf rss rtc rtf rtsp samba sasl scanner scenarios sdl semantic-desktop server session shorten shout simplexml skins slang slp smi sms sndfile soap sockets socks5 sounds speex spell spl sqlite sqlite3 srp srt sse sse2ssl startup-notification statistics stats stream subtitles subversion suid svg svga svm svnserve swat sysfs syslog sysvipc szip taglib tcpd templates tex4ht theora threads threadsafe tidy tiff timezone timidity toolbar tordns truetype tunepimp twolame unicode upnp urlpicpreview usb userlocales v4l v4l2 vcd vcdinfo vcdx vhook vhosts videos vim-syntax vim-with-x vlm vnc vorbis wavpack webdav webkitwifi win32codecs wireshark wmf wxwindows x264 x86 xattr xcomposite xface xfce xforms xfs xft xine xinerama xinetd xml xmlrpc xmp xorg xosd xpm xrender xscreensaver xsl xslt xulrunner xvid xvmc zip zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Ivan D Vasin 2009-01-24 08:46:34 UTC
after emerging dev-texlive/texlive-fontsextra, these issues are fixed.

prior to fixing this, i discovered that ligatures, quotation marks, and many other characters were not being produced correctly in the pdf, ps, and dvi files exported by lyx. this issue is also fixed if texlive-fontsextra is present.
Comment 2 Alexis Ballier gentoo-dev 2009-03-25 07:09:53 UTC
(In reply to comment #1)
> after emerging dev-texlive/texlive-fontsextra, these issues are fixed.
> 
> prior to fixing this, i discovered that ligatures, quotation marks, and many
> other characters were not being produced correctly in the pdf, ps, and dvi
> files exported by lyx. this issue is also fixed if texlive-fontsextra is
> present.

dep added in 1.6.2