Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 258512 - x11-libs/qt-gui-4.4.2-r2 fails to compile when USE=debug
Summary: x11-libs/qt-gui-4.4.2-r2 fails to compile when USE=debug
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-10 22:19 UTC by Benjamin Schindler
Modified: 2009-02-11 21:20 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 Benjamin Schindler 2009-02-10 22:19:37 UTC
I don't have a complete build log anymore, but qt-gui-4.4.2-r2 fails with this: 

  /var/tmp/portage/x11-libs/qt-gui-4.4.2-r2/work/qt-x11-opensource-src-4.4.2/src/gui/kernel/qapplication.cpp:3355: undefined reference to `QCoreApplicationPrivate::checkReceiverThread(QObject*)'

when trying to link libqtgui

Reproducible: Always




benjamin@io /usr/share/doc/oprofile-0.9.4 $ emerge --info
WARNING: One or more repositories have missing repo_name entries:

        /usr/local/portage/profiles/repo_name

NOTE: Each repo_name entry should be a plain text file containing a
unique name for the repository on the first line.                  
Portage 2.2_rc23 (default/linux/x86, gcc-4.3.3, glibc-2.6.1-r0, 2.6.28-gentoo i686)
=================================================================                  
System uname: Linux-2.6.28-gentoo-i686-Intel-R-_Pentium-R-_M_processor_1.70GHz-with-glibc2.0
Timestamp of tree: Tue, 10 Feb 2009 13:15:01 +0000                                          
ccache version 2.4 [disabled]                                                               
app-shells/bash:     3.2_p39                                                                
dev-java/java-config: 1.3.7-r1, 2.1.6-r1                                                    
dev-lang/python:     2.4.4-r13, 2.5.2-r7                                                    
dev-python/pycrypto: 2.0.1-r6                                                               
dev-util/ccache:     2.4-r7                                                                 
dev-util/cmake:      2.6.2-r1                                                               
sys-apps/baselayout: 2.0.0                                                                  
sys-apps/openrc:     0.2.2                                                                  
sys-apps/sandbox:    1.2.18.1-r2                                                            
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.18-r3, 2.19.1                                                        
sys-devel/gcc-config: 1.4.0-r4                                                              
sys-devel/libtool:   1.5.26                                                                 
virtual/os-headers:  2.6.27-r2                                                              
ACCEPT_KEYWORDS="x86"                                                                       
CBUILD="i686-pc-linux-gnu"                                                                  
CFLAGS="-O2 -pipe -mtune=native -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/terminfo /etc/texmf/web2c /etc/udev/rules.d"                                                                                                           
CXXFLAGS="-O2 -pipe -mtune=native -fomit-frame-pointer"                                                                                                 
DISTDIR="/usr/portage/distfiles"                                                                                                                        
FEATURES="cvs distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"                        
GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo/"                                                                                                  
LANG="en_US.UTF-8"                                                                                                                                      
LC_ALL="de_CH.UTF-8"                                                                                                                                    
LDFLAGS="-Wl,-O1"                                                                                                                                       
LINGUAS="en"                                                                                                                                            
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/portage/local/layman/kde-testing /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility acl acpi aiglx alsa asf bash-completion beagle berkdb bluetooth bzip2 cairo cdaudio cdparanoia cisco cli cracklib crypt cups curl daap dbus divx4linux dri dvd dvdread encode ethereal exif fam ffmpeg fortran geolocation gif gimpprint glitz gphoto2 gpm graphviz gtk2 hal hddtemp history iconv inotify ipod isdnlog java jpeg kde kerberos laptop latex ldap mad madwifi mailwrapper mbox midi mmx mono mp3 mp4 mpeg msn mudflap nautilus ncurses nls nptl nptlonly nsplugin ogg openexr opengl openmp oscar pam pch pcre pdf perl png pppd python qt3 qt3support qt4 readline redeyes reflection resolvconf sdl session spell spl sse sse2 ssl subversion svg tcpd theora tiff truetype unicode usb vorbis webkit win32codecs x86 xattr xcb xml xmp xorg xosd xv xvid zeroconf zlib" ALSA_CARDS="intel8x0 intel8x0m" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias"ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Ben de Groot (RETIRED) gentoo-dev 2009-02-11 11:28:33 UTC
Try with MAKEOPTS="-j1"
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2009-02-11 12:51:51 UTC
Try to build qt-core[debug], and then qt-gui[debug] should compile fine

At least this "workaround" worked here ;)
Comment 3 Benjamin Schindler 2009-02-11 12:55:21 UTC
Hmm - interesting - well it sort of makes sense to have qt all release or all-debug of course, so thanks for giving the workaround. 

But since we have this modularization, imho this should be fixed if possible as I don't see anything wrong with having just qt-gui with USE=debug either... 
Comment 4 Markos Chandras (RETIRED) gentoo-dev 2009-02-11 14:20:13 UTC
If you read the ewarn message that appears at the end of ever qt-module installation, it mentions that every qt-module MUST BE build with same use flags and especially debug ;)

What we need to add is an extra control, that you must have qt-core[debug] before trying to install any other module
Comment 5 Ben de Groot (RETIRED) gentoo-dev 2009-02-11 21:20:02 UTC
Should be fixed now with the latest eclass updates in CVS.