Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 448018 - app-office/lyx-2.0.5 includes broken document class
Summary: app-office/lyx-2.0.5 includes broken document class
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 447968
  Show dependency tree
 
Reported: 2012-12-20 21:40 UTC by Chris Slycord
Modified: 2013-01-13 19:20 UTC (History)
3 users (show)

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


Attachments
lyx attachment (lyx_2.0.lyx,2.81 KB, text/plain)
2012-12-20 21:42 UTC, Chris Slycord
Details
screenshot of it not working in 2.0.5 (Screenshot from 2012-12-20 13:43:56.png,144.71 KB, image/png)
2012-12-20 21:45 UTC, Chris Slycord
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Slycord 2012-12-20 21:40:09 UTC
In lyx-2.0.5, the document class "letter (KOMA-Script v.2)" is broken. Selecting that document class from the drop-down menu and then attempting to view it in pdflatex (or any other format) or exporting it to the various formats results in a list of latex errors of "undefined reference" to various commands. In version 2.0.4 this results instead in no errors and the file converted and/or displayed.

I'll upload an lyx file that works with 2.0.4 and a screenshot of what happens with 2.0.5.

Reproducible: Always

Steps to Reproduce:
1. emerge =app-office/lyx-2.0.4
2. use KOMA-script v.2 for a letter
3. see how it works fine at converting to pdf and other formats
4. emerge =app-office/lyx-2.0.5
5. reopen lyx file from step 2 and attempt to convert the file



Portage 2.2.0_alpha149 (default/linux/amd64/10.0, gcc-4.6.3, glibc-2.16.0, 3.6.11-gentoo x86_64)
=================================================================
System uname: Linux-3.6.11-gentoo-x86_64-Intel-R-_Core-TM-2_CPU_6420_@_2.13GHz-with-gentoo-2.2
Timestamp of tree: Wed, 19 Dec 2012 20:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.8 [enabled]
app-shells/bash:          4.2_p39-r1
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/ccache:          3.1.8
dev-util/cmake:           2.8.10.2
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo mv local_portage
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
DISTDIR="/home/ftp/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --keep-going"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch usersandbox"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/mv /usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa amd64 bash-completion berkdb bluray bzip2 cairo cdda cddb cdr cjk cli clutter consolekit corefonts cracklib crypt css cups cxx dbus dri dvd dvdread eds ffmpeg flac fontconfig fortran gdbm gif gmp gnome gnome-keyring gpm gstreamer gtk iconv icu ipv6 jpeg jpeg2k lcms libnotify lm_sensors lzma mmx modules mp3 msn mudflap multilib nautilus ncurses nls nptl nsplugin ogg opengl openmp pam pcre png policykit pppd pulseaudio qemu-ifup qt3support readline session sse sse2 sse3 ssl ssse3 svg tcpd theora threads tiff truetype udev unicode vaapi vdpau vorbis x264 xml xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer nlpsolver pdfimport" LINGUAS="en en_US es es_LA es_MX ja ko zh_CN zh_TW zh" NETBEANS_MODULES="apisupport cnd dlight enterprise ergonomics groovy java javacard javafx mobility php profiler websvccommon" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2 jython2_5" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nouveau nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Chris Slycord 2012-12-20 21:42:44 UTC
Created attachment 332844 [details]
lyx attachment

Here's the file that works fine using lyx-2.0.4 and fails with 2.0.5
Comment 2 Chris Slycord 2012-12-20 21:45:44 UTC
Created attachment 332846 [details]
screenshot of it not working in 2.0.5
Comment 3 pavel sanda 2012-12-21 18:45:31 UTC
attachment works just fine here.

can you try reconfigure, restart and compile the document again?
what version of texlive do you use?
Comment 4 Chris Slycord 2012-12-21 18:59:55 UTC
(In reply to comment #3)
> attachment works just fine here.
> 
> can you try reconfigure, restart and compile the document again?
> what version of texlive do you use?

Same result after reconfiguring and restarting.

And for texlive, I have:
app-text/texlive-core, dev-texlive/texlive-basic, dev-texlive/texlive-documentation-base, dev-texlive/texlive-fontsextra, dev-texlive/texlive-fontsrecommended, dev-texlive/texlive-fontutils, dev-texlive/texlive-genericextra, dev-texlive/texlive-genericrecommended, dev-texlive/texlive-latex, dev-texlive/texlive-latexextra, dev-texlive/texlive-latexrecommended, dev-texlive/texlive-luatex, dev-texlive/texlive-mathextra, dev-texlive/texlive-pictures, dev-texlive/texlive-pstricks, dev-texlive/texlive-science, dev-texlive/texlive-texinfo, dev-texlive/texlive-xetex

And all of those are version 2012
Comment 5 pavel sanda 2012-12-21 19:57:06 UTC
aha, so the difference might be texlive 2012 -- 2011 works here.
Comment 6 Chris Slycord 2012-12-21 20:00:06 UTC
(In reply to comment #5)
> aha, so the difference might be texlive 2012 -- 2011 works here.

Although 2.0.4 works fine with the 2012 texlive packages I've got installed
Comment 7 pavel sanda 2012-12-21 22:15:54 UTC
are you sure, you haven't updated texlive together with lyx?
i checked again and the layout responsible for komascript-v2 has last time of change in 2011. i'll ask on dev list.
Comment 8 Chris Slycord 2012-12-21 22:52:06 UTC
I'm sure that didn't happen as I first noticed this on a clean install. I updated nothing (I had no texlive packages installed then ran ”emerge lyx”).
Comment 9 pavel sanda 2012-12-22 09:08:36 UTC
confirming the bug and its incarnation of

http://www.lyx.org/trac/ticket/8423
Comment 10 Alexis Ballier gentoo-dev 2013-01-13 19:20:12 UTC
(In reply to comment #9)
> confirming the bug and its incarnation of
> 
> http://www.lyx.org/trac/ticket/8423

this should be fixed in 2.0.5.1 then