Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 263809 - app-office/lyx-1.6.2 fails to compile
Summary: app-office/lyx-1.6.2 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: TeX project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-25 23:14 UTC by Leonard Khoo
Modified: 2009-03-27 19:03 UTC (History)
4 users (show)

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


Attachments
Lyx 1.6.2 compilation log (build.log,46.97 KB, text/plain)
2009-03-25 23:34 UTC, Andriy Baranskyy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leonard Khoo 2009-03-25 23:14:46 UTC
/usr/bin/moc -o Validator_moc.cpp Validator.h                                                                                                                      
echo "<!DOCTYPE RCC><RCC version='1.0'><qresource>" > Resources.qrc                                                                                                
find ../../../lib/images -name '*.png' \                                                                                                                           
                | sed -e 's:../../../lib/\(.*\):<file alias="\1">&</file>:' \                                                                                      
                >> Resources.qrc                                                                                                                                   
echo "</qresource></RCC>" >> Resources.qrc                                                                                                                         
/usr/bin/rcc Resources.qrc -name Resources -o Resources.cpp                                                                                                        
make  all-am                                                                                                                                                       
make[6]: Entering directory `/var/tmp/portage/app-office/lyx-1.6.2/work/lyx-1.6.2/src/frontends/qt4'                                                               
/bin/sh ../../../libtool --tag=CXX   --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../..  -DQT_NO_STL -DQT_NO_KEYWORDS -DQT_NO_CAST_TO_ASCII -DQT_NO_STL -I../../../src -I../../../src/frontends -I../../../images -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui       -O2 -march=native -pipe -fomit-frame-pointer -MT liblyxqt4.lo -MD -MP -MF .deps/liblyxqt4.Tpo -c -o liblyxqt4.lo liblyxqt4.cpp                                                
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../.. -DQT_NO_STL -DQT_NO_KEYWORDS -DQT_NO_CAST_TO_ASCII -DQT_NO_STL -I../../../src -I../../../src/frontends -I../../../images -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -O2 -march=native -pipe -fomit-frame-pointer -MT liblyxqt4.lo -MD -MP -MF .deps/liblyxqt4.Tpo -c liblyxqt4.cpp -o liblyxqt4.o                                                                                                           
In file included from liblyxqt4.cpp:61:                                                                                                                            
GuiSelectionManager.cpp: In member function ‘bool lyx::frontend::GuiSelectionManager::isSelected(const QModelIndex&)’:                                             
GuiSelectionManager.cpp:148: error: conversion from ‘int’ to ‘Qt::MatchFlags’ is ambiguous                                                                         
/usr/include/qt4/QtCore/qglobal.h:1985: note: candidates are: QFlags<Enum>::QFlags(void**) [with Enum = Qt::MatchFlag] <near match>                                
/usr/include/qt4/QtCore/qglobal.h:1984: note:                 QFlags<Enum>::QFlags(Enum) [with Enum = Qt::MatchFlag] <near match>                                  
In file included from liblyxqt4.cpp:73:                                                                                                                            
GuiView.cpp: At global scope:                                                                                                                                      
GuiView.cpp:155: warning: ‘lyx::frontend::GuiView::GuiViewPrivate’ has a field ‘lyx::frontend::GuiView::GuiViewPrivate::bg_widget_’ whose type uses the anonymous namespace                                                                                                                                                           
In file included from liblyxqt4.cpp:83:                                                                                                                            
Menus.cpp:1115: warning: ‘lyx::frontend::Menu::Impl’ has a field ‘lyx::frontend::Menu::Impl::top_level_menu’ whose type uses the anonymous namespace               
Menus.cpp:1208: warning: ‘lyx::frontend::Menus::Impl’ has a field ‘lyx::frontend::Menus::Impl::menulist_’ whose type uses the anonymous namespace                  
Menus.cpp:1208: warning: ‘lyx::frontend::Menus::Impl’ has a field ‘lyx::frontend::Menus::Impl::menubar_’ whose type uses the anonymous namespace                   
make[6]: *** [liblyxqt4.lo] Error 1                                                                                                                                
make[6]: Leaving directory `/var/tmp/portage/app-office/lyx-1.6.2/work/lyx-1.6.2/src/frontends/qt4'                                                                
make[5]: *** [all] Error 2                                                                                                                                         
make[5]: Leaving directory `/var/tmp/portage/app-office/lyx-1.6.2/work/lyx-1.6.2/src/frontends/qt4'                                                                
make[4]: *** [all-recursive] Error 1                                                                                                                               
make[4]: Leaving directory `/var/tmp/portage/app-office/lyx-1.6.2/work/lyx-1.6.2/src/frontends'                                                                    
make[3]: *** [all-recursive] Error 1                                                                                                                               
make[3]: Leaving directory `/var/tmp/portage/app-office/lyx-1.6.2/work/lyx-1.6.2/src'                                                                              
make[2]: *** [all] Error 2                                                                                                                                         
make[2]: Leaving directory `/var/tmp/portage/app-office/lyx-1.6.2/work/lyx-1.6.2/src'                                                                              
make[1]: *** [all-recursive] Error 1                                                                                                                               
make[1]: Leaving directory `/var/tmp/portage/app-office/lyx-1.6.2/work/lyx-1.6.2'                                                                                  
make: *** [all] Error 2                                                                                                                                            
 *                                                                                                                                                                 
 * ERROR: app-office/lyx-1.6.2 failed.                                                                                                                             

Reproducible: Always




Portage 2.1.6.10 (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r4 i686)
=================================================================                                    
System uname: Linux-2.6.28-gentoo-r4-i686-Intel-R-_Core-TM-2_CPU_6300_@_1.86GHz-with-glibc2.0        
Timestamp of tree: Wed, 25 Mar 2009 21:30:01 +0000                                                   
app-shells/bash:     4.0_p10-r1                                                                      
dev-java/java-config: 1.3.7-r1, 2.1.7                                                                
dev-lang/python:     2.5.4-r2                                                                        
dev-util/cmake:      2.6.3                                                                           
sys-apps/baselayout: 2.0.0                                                                           
sys-apps/openrc:     0.4.3-r1                                                                        
sys-apps/sandbox:    1.6                                                                             
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.1-r1                                                                       
sys-devel/gcc-config: 1.4.1                                                                          
sys-devel/libtool:   2.2.6a                                                                          
virtual/os-headers:  2.6.28-r1                                                                       
ACCEPT_KEYWORDS="x86 ~x86"                                                                           
CBUILD="i686-pc-linux-gnu"                                                                           
CFLAGS="-O2 -march=native -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/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/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"                                          
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"                                                                                                            
DISTDIR="/usr/portage/distfiles"                                                                                                                                   
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"                                
GENTOO_MIRRORS="http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu"
LINGUAS="en_GB en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/desktop-effects /usr/local/portage/layman/zen-overlay /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl alsa amr berkdb bzip2 cli cracklib crypt cups dbus dri dts dvd flac fortran gdbm gpm hal iconv ipv6 isdnlog ithreads jpeg kde kdeenablefinal kdehiddenvisibility logrotate midi mmx mmxext mp3 mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre perl png pppd python qt3 readline reflection sambasane scanner sdl session speex spl sse sse2 ssl ssse3 svga sysfs tcpd theora threads tiff truetype unicode v4l vcd vorbis win32codecs x264 x86 xanim xcb xorg xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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="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 expiresext_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="keyboard evdev mouse vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en" USERLAND="GNU" VIDEO_CARDS="nvidia vmware vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Andriy Baranskyy 2009-03-25 23:34:07 UTC
Created attachment 186279 [details]
Lyx 1.6.2 compilation log

The same issue happens with me. Please see the attached compilation log. For the sake of completeness, here is my emerge --info:
Portage 2.2_rc27 (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-tuxonice-r8 i686)
=================================================================                                      
System uname: Linux-2.6.28-tuxonice-r8-i686-Intel-R-_Core-TM-2_CPU_T5500_@_1.66GHz-with-glibc2.0       
Timestamp of tree: Wed, 25 Mar 2009 23:00:17 +0000                                                     
distcc 3.1 i686-pc-linux-gnu [disabled]                                                                
ccache version 2.4 [enabled]                                                                           
app-shells/bash:     4.0_p10-r1                                                                        
dev-java/java-config: 1.3.7-r1, 2.1.7                                                                  
dev-lang/python:     2.5.4-r2                                                                          
dev-util/ccache:     2.4-r8                                                                            
dev-util/cmake:      2.6.3                                                                             
sys-apps/baselayout: 2.0.0                                                                             
sys-apps/openrc:     0.4.3-r1                                                                          
sys-apps/sandbox:    1.6                                                                               
sys-devel/autoconf:  2.13, 2.63                                                                        
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                          
sys-devel/binutils:  2.19.1-r1                                                                         
sys-devel/gcc-config: 1.4.1                                                                            
sys-devel/libtool:   2.2.6a                                                                            
virtual/os-headers:  2.6.28-r1                                                                         
ACCEPT_KEYWORDS="x86"                                                                                  
CBUILD="i686-pc-linux-gnu"                                                                             
CFLAGS="-O2 -march=i686 -pipe"                                                                         
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 /var/lib/hsqldb"                                                                                                                                 
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/terminfo /etc/texmf/web2c /etc/udev/rules.d"        
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="en pl uk be de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dfx 3dnow 3dnowext 7zip X Xaw3d a52 aac aalib accessibility acl acpi adns alsa amarok amr amrnb amrr amrwb ao arts aspnet auto-completion autoipd automount avahi bash-completion bidi bluetooth branding bzip2 c++ cairo calendar caps cdaudio cddb cdparanoia cisco cli cracklib crypt css cups curl cxx daap dbus dga directfb divx djvu docbook dot dri dts dv dvd dvdnav dvdr dvdread embedded emovix enca encode exif fam fax fbcon ffmpeg firefox flac font-server fontconfig fortran ftp gd gdbm geoip geolocation ggi gif glib glitz gmail gmedia google google-gadgets gpg2-experimental gphoto2 gpm gps gsm gtk hal html htmlhandbook http hyperestraier iconv icq ide idn imagemagick inotify ipv6 ipw3945 isdnlog java javascript jpeg jpeg2k justify kde kdeprefix kerberos ladspa lame laptop latex libcaca libsamplerate libwww live lm_sensors lzo mad marble matroska matrox mbrola md5sum mdnsresponder-compat midi mjpeg mmap mmx mmxext mng modplug monolithic-build moonlight motif mp2 mp3 mp4 mp4live mpeg mpeg2 mplayer msn mtp mudflap musepack musicbrainz mysql nas ncurses neXt net netbeans netboot network network-cron networking nfs nis nls npp nptl nptlonly nsplugin ntp nvidia nvram nvtv obex odbc ogg openal openct openexr opengl openmp openssh openvpn oss overlays pch pcmcia pcre pcsc-lite pda pdf perl pic plasma player plotutils plugins pmu png pppd pulseaudio python qt3 qt3support qt4 quicktime radio rarraw readline realmedia reflection reiser4 reiserfs rss rtc rtf samba sasl scanner sdl session skey slang slp smartcard sndfile snmp socks5 speech speex spell spl sql sqlite sqlite3 srt sse sse2 ssl ssse3 startup-notification svg sysfs tcpd templates tetex tga theora threads tiff timidity tk tools truetype unicode usb v4l v4l2 vcd vidix visualization vorbis wav wavpack webinterface webkit wifi win32codecs wma wmf wmp wxwindows x264 x86 xanim xcb xcomposite xine xinerama xml xorg xpm xprint xulrunner xv xvid xvmc yv12 zeroconf zip zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop emptyextplug file hooks                   iec958 ioplug ladspa lfloat linear meter 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" CAMERAS="nikon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en pl uk be de" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Sven Müller 2009-03-26 09:32:59 UTC
Same here on amd64.
Comment 3 Raphaël Vinot 2009-03-26 10:33:52 UTC
(In reply to comment #2)
> Same here on amd64.
> 

same problem here (x86). I removed the flag monolithic-build and it build. 
Comment 4 Timothy Redaelli (RETIRED) gentoo-dev 2009-03-27 13:36:48 UTC
Same problem here (~amd64) and same resolution -monolithic-build.
Please remove that use flag
Comment 5 Alexis Ballier gentoo-dev 2009-03-27 19:03:53 UTC
useflag is gone, Pavel promised to get this fixed for real later :)