Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 57479

Summary: lyx-1.3.4 fails to compile
Product: Gentoo Linux Reporter: Victor L. Davis <victor.l.davis>
Component: Current packagesAssignee: Text-Markup Team (OBSOLETE) <text-markup+disabled>
Status: RESOLVED TEST-REQUEST    
Severity: normal    
Priority: Low    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Victor L. Davis 2004-07-18 07:03:33 UTC
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
{standard input}: Assembler messages:
{standard input}:1810: Warning: end of file not at end of a line; newline inserted
{standard input}:3015: Error: unknown pseudo-op: `.l2'
make[5]: *** [Dialogs.lo] Error 1
make[5]: Leaving directory `/var/tmp/portage/lyx-1.3.4/work/lyx-1.3.4/src/frontends/qt2'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/lyx-1.3.4/work/lyx-1.3.4/src/frontends/qt2'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/lyx-1.3.4/work/lyx-1.3.4/src/frontends'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/lyx-1.3.4/work/lyx-1.3.4/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/lyx-1.3.4/work/lyx-1.3.4/src'
make: *** [all-recursive] Error 1

!!! ERROR: app-office/lyx-1.3.4 failed.
!!! Function src_compile, Line 74, Exitcode 2
!!! emake failed


Reproducible: Always
Steps to Reproduce:
1.emerge lyx
2.CFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer"
3.architecture Athlon Tbird 1.2 /w 256MB Ram, Adapetec 29160 SCSI
Comment 1 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-08-17 16:42:53 UTC
Sorry for the delay. Please submit the output of `emerge info`. It contains more info than just CFLAGS.
Comment 2 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-09-08 11:44:35 UTC
Try CFLAGS="-O2 -pipe" and see what happens.
Comment 3 Josh Eaton 2004-09-09 12:13:50 UTC
I get the same error.

Portage 2.0.50-r10 (default-x86-1.4, gcc-3.3.4, glibc-2.3.4.20040808-r0, 2.6.8.1-mm3)
=================================================================
System uname: 2.6.8.1-mm3 i686 Pentium III (Coppermine)
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="no"
CFLAGS="-march=pentium3 -Os -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /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="-march=pentium3 -Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi cdr crypt cups dvd encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png prelink python qt quicktime readline sdl slang spell ssl svga tcpd tetex truetype x86 xml2 xmms xv zlib"
Comment 4 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-10-01 01:22:52 UTC
We had another report that gcc-3.3.2 works fine but 3.3.4 doesn't.
Does changing gcc (and/or binutils without -march, just with "-O -pipe") 
to different version make any difference?
Comment 5 Karl Ernst Brunk 2004-10-21 12:59:14 UTC
It was the same on my system. But when i changed -j2 to -j1 it compilation was ok.
It seems that lyx dosn't like parralel builds. I had this same problem on a Debian system, but that started with 1.3.4 . All versions before did run perfectly.
Comment 6 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-10-21 19:31:27 UTC
Thanks Karl, I added -j1 to emake. Victor and Josh: please test
lyx-1.3.4 or lyx-1.3.5 and see if it works.