Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40309 - cannot merge Lyx (configure fails)
Summary: cannot merge Lyx (configure fails)
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-03 13:06 UTC by Schricker
Modified: 2004-12-20 13:33 UTC (History)
0 users

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 Schricker 2004-02-03 13:06:35 UTC
emerge lyx-1.3.2-r1 (and 1.3.3) fails while configuring:
checking for moc... /usr/qt/3//bin/moc
checking for uic... /usr/qt/3//bin/uic
checking for Qt library name... failed
configure: error: Cannot compile a simple Qt executable. Check you have the right $QTDIR !
 
!!! ERROR: app-office/lyx-1.3.2-r1 failed.
!!! Function econf, Line 339, Exitcode 1
!!! econf failed

$QTDIR is /usr/qt/3

qt-3.2.3-r1 installed


Reproducible: Always
Steps to Reproduce:
1. emerge lyx
2.
3.



Expected Results:  
merge lyx fine
Comment 1 Mike Gardiner (RETIRED) gentoo-dev 2004-02-11 03:43:39 UTC
Works here, please post emerge info (inline) and a full build log (attached). Thanks.
Comment 2 Schricker 2004-02-12 04:20:48 UTC
I merged qt-3.3.0 today and am now merging lyx - no problems so far, configure went through.
If it you want I could revert qt back and give requested information.
Just let me know

greets,
Florian
Comment 3 Mike Gardiner (RETIRED) gentoo-dev 2004-02-17 02:36:39 UTC
Can we grab emerge info? xforms related ?
Comment 4 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-05-07 11:51:49 UTC
I've just emerged lyx-1.3.4 successfully with qt-3.2.3-r1.
I mark it WORKSFORME. If you are unhappy with it, please reopen 
the bug and supply more info.
Comment 5 Radoslaw Szkodzinski 2004-12-20 13:28:15 UTC
I'm also seeing the bug with qt-3.3.3-r1 and lyx-1.3.5

Portage 2.0.51-r8 (default-linux/x86/2004.2/gcc34/2.6, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-rc2-ckpro1 i686)
=================================================================
System uname: 2.6.10-rc2-ckpro1 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Oct 26 2004, 23:08:02)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.8.5-r2, 1.6.3, 1.9.3, 1.5, 1.7.9
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
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/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=athlon-xp -pipe"
DISTDIR="/var/ports/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms userpriv usersandbox"
GENTOO_MIRRORS="http://src.gentoo.pl http://gentoo.prz.rzeszow.pl"
MAKEOPTS="-j2"
PKGDIR="/var/ports/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/ports"
PORTDIR_OVERLAY="/var/myports /var/gensync/bmg-main"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X X509 acl alsa apache2 apm arts artswrappersuid audiofile avi berkdb bitmap-fonts boundschecking bzlib caps cdparanoia cdr chroot crypt ctype cups dba divx4linux dvd encode esd f77 faac faad fam fbcon flac flatfile foomaticdb ftp gd gdbm gif glut gnome gpm gsm gstreamer gtk gtk2 gtkhtml guile hal iconv idea imagemagick imlib inifile ithreads jabber jack jack-tmpfs java javascript jpeg junit kadu-voice kde ladcca libg++ libwww lzw-tiff mad maildir matroskamemlimit mhash mikmod mmap mmx mmx2 mng mono motif mozilla mpeg mysql mysql41 ncurses nls normalizemime nptl nvidia oav oggvorbis opengl oss pam pcre pdflib perl php physfs pic png portaudio ppds pwdb python qt quicktime readline rtc sambasdl session shared slang sndfile sockets soundtouch speex sqlite sse ssl svg sysvipc tcltk tcpd tetex theora threads tidy tiff tlen tokenizer truetype wmf x86 xgetdefault xine xml xml2 xmms xprint xrandr xv xvid xvmc zlib linguas_pl"
Comment 6 Radoslaw Szkodzinski 2004-12-20 13:33:52 UTC
Okay, now it's clear - the ebuild is adding -fno-stack-protector and I have no SSP in the GCC, but instead the boundschecking code. (I use it for compiling my own things)

gcc (GCC) 3.4.3 20041125 (Gentoo Linux 3.4.3-r1, HTB-1.00)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


This line is the culprit:
local flags="${CXXFLAGS} -fno-stack-protector"
Instead, it should use flag-o-matic.eclass and fstack-flags function.