Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 245543 - net-irc/kvirc-3.4.2 - index.moc:15:34: error: private/qucomextra_p.h: No such file or directory
Summary: net-irc/kvirc-3.4.2 - index.moc:15:34: error: private/qucomextra_p.h: No such...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Packages in net-irc
URL:
Whiteboard:
Keywords:
Depends on: 282891
Blocks: 258791
  Show dependency tree
 
Reported: 2008-11-04 17:13 UTC by d00p
Modified: 2009-11-14 09:52 UTC (History)
6 users (show)

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


Attachments
compile-log (errorlog_kvirc-3.4.2,42.35 KB, text/plain)
2008-11-04 18:05 UTC, d00p
Details
net-irc/kvirc -qt4 (build.log,430.47 KB, text/plain)
2009-01-03 12:55 UTC, renato gallo
Details
solved with this (kvirc-4.0.ebuild,2.35 KB, text/plain)
2009-02-12 22:59 UTC, renato gallo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description d00p 2008-11-04 17:13:05 UTC
Compiling net-irc/kvirc-3.4.2 fails with the following message:

In file included from index.cpp:852:                                                                                                                   
index.moc:15:34: error: private/qucomextra_p.h: No such file or directory                                                                              
index.moc:17:2: error: #error "This file was generated using the moc from 3.3.8b. It"                                                                  
index.moc:18:2: error: #error "cannot be used with the include files from this version of Qt."                                                         
index.moc:19:2: error: #error "(The moc has changed too much.)"                                                                                        
In file included from index.cpp:852:                                                                                                                   
index.moc:22: error: no 'const char* Index::className() const' member function declared in class 'Index'                                               
index.moc:27: error: 'QMetaObject* Index::metaObj' is not a static member of 'class Index'                                                             
index.moc:28: error: 'QMetaObjectCleanUp' does not name a type                                                                                         
index.moc:31: error: redefinition of 'static QString Index::tr(const char*, const char*)'                                                              
index.h:63: error: 'static QString Index::tr(const char*, const char*)' previously defined here                                                        
index.moc:39: error: redefinition of 'static QString Index::trUtf8(const char*, const char*)'                                                          
index.h:63: error: 'static QString Index::trUtf8(const char*, const char*)' previously defined here                                                    
index.moc:50: error: no 'QMetaObject* Index::staticMetaObject()' member function declared in class 'Index'                                             
index.moc:79: error: no 'void* Index::qt_cast(const char*)' member function declared in class 'Index'                                                  
index.moc: In member function 'void Index::indexingProgress(int)':                                                                                     
index.moc:89: error: no match for call to '(const QMetaObject) ()'                                                                                     
index.moc:89: error: 'activate_signal' was not declared in this scope                                                                                  
index.moc: At global scope:                                                                                                                            
index.moc:92: error: 'QUObject' has not been declared                                                                                                  
index.moc:92: error: no 'bool Index::qt_invoke(int, int*)' member function declared in class 'Index'                                                   
index.moc:102: error: 'QUObject' has not been declared                                                                                                 
index.moc:102: error: no 'bool Index::qt_emit(int, int*)' member function declared in class 'Index'                                                    
index.moc:113: error: no 'bool Index::qt_property(int, int, QVariant*)' member function declared in class 'Index'                                      
index.moc:118: error: no 'bool Index::qt_static_property(QObject*, int, int, QVariant*)' member function declared in class 'Index'                     
make[4]: *** [index.lo] Fehler 1                                                                                                                       
make[4]: Leaving directory `/var/tmp/portage/net-irc/kvirc-3.4.2/work/kvirc-3.4.2/src/modules/help'                                                    
make[3]: *** [all-recursive] Fehler 1                                                                                                                  
make[3]: Leaving directory `/var/tmp/portage/net-irc/kvirc-3.4.2/work/kvirc-3.4.2/src/modules'                                                         
make[2]: *** [all-recursive] Fehler 1                                                                                                                  
make[2]: Leaving directory `/var/tmp/portage/net-irc/kvirc-3.4.2/work/kvirc-3.4.2/src'                                                                 
make[1]: *** [all] Fehler 2                                                                                                                            
make[1]: Leaving directory `/var/tmp/portage/net-irc/kvirc-3.4.2/work/kvirc-3.4.2/src'                                                                 
make: *** [all-recursive] Fehler 1                                                                                                                     
 *                                                                                                                                                     
 * ERROR: net-irc/kvirc-3.4.2 failed.                                                                                                                  
 * Call stack:                                                                                                                                         
 * ebuild.sh, line   49:  Called src_compile                                                                                                           
 * environment, line 2921:  Called die                                                                                                                 
 * The specific snippet of code:                                                                                                                       
 * emake -j1 || die "econf failed"                                                                                                                     
 * The die message:                                                                                                                                    
 * econf failed  

Reproducible: Always

Steps to Reproduce:
emerge kvirc

Actual Results:  
Compiling fails

Expected Results:  
Success compile and install of kvirc

emerge --info:

Portage 2.2_rc13 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-rc9-d00p-mobile i686)
=================================================================                                          
System uname: Linux-2.6.27-rc9-d00p-mobile-i686-Intel-R-_Core-TM-2_Duo_CPU_T5870_@_2.00GHz-with-glibc2.0   
Timestamp of tree: Tue, 04 Nov 2008 16:20:01 +0000                                                         
app-shells/bash:     3.2_p39                                                                               
dev-java/java-config: 1.3.7, 2.1.6-r1                                                                      
dev-lang/python:     2.4.4-r13, 2.5.2-r8                                                                   
dev-python/pycrypto: 2.0.1-r6                                                                              
dev-util/cmake:      2.6.2                                                                                 
sys-apps/baselayout: 2.0.0                                                                                 
sys-apps/openrc:     0.3.0-r1                                                                              
sys-apps/sandbox:    1.2.18.1-r3                                                                           
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.1-r1                                          
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -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/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de en"
MAKEOPTS="-j3"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X accessibility acl alsa apache2 arts bash-completion bluetooth bzip2 cdr cgi cli connectionstatus cracklib crypt cups dbus dri dvd dvdr filter firefox force-cgi-redirect fortran gdbm gif glitz gpm highlight history iconv ipv6 irmc isdnlog jpeg kde kde4 kdehiddenvisibility laptop libwww midi mmxmp3 mpeg mudflap mysqli mzsql ncurses nls no-old-linux nptl nptlonly ogg opengl openmp oss pam pcre perl png pppd pulseaudio python qt3 qt4 readline reflection session simplexml sockets spl sse sse2 ssl ssse3 svg symlink sysfs tcpd tiff tokenizer truetype unicode usb vorbis win32codecs x86 xcompositexine xml xorg zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 M. B. 2008-11-04 17:57:56 UTC
I ran into the same error on my amd64 machine.

Adding "net-irc/kvirc -qt4" to package.use solved it for me.


I suggest that kvirc-3.4.2 must not respect +qt4.
Comment 2 d00p 2008-11-04 18:05:57 UTC
Created attachment 170720 [details]
compile-log

error log when compiling kirc-3.4.2 with -qt4
Comment 3 d00p 2008-11-04 18:07:08 UTC
I'm on KDE4 if it helps, kvirc-3.4.0 works perfectly here
Comment 4 d00p 2008-11-04 19:55:01 UTC
must be kde related, compiles with USE="-kde"
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2008-11-04 20:28:02 UTC
@net-irc: metadata.xml appears to refer to a non-existent version:
  <maintainer restrict="&gt;=net-irc/kvirc-4">
Comment 6 Sandro Bonazzola 2008-11-05 09:53:55 UTC
(In reply to comment #4)
> must be kde related, compiles with USE="-kde"

I don't think so.
I have the same error here with USE="esd ipv6 kde oss qt4* ssl -debug"
Looking at the ebuild if qt4 is enabled kde is ignored:
 	if use qt4 ; then
	    myconf="${myconf} --enable-qt4 --with-qt4-moc=/usr/bin/moc"
	    myconf="${myconf} --without-kde-support --without-arts-support"
	else
	    use kde || myconf="${myconf} --without-kde-support --without-arts-support"
	fi

as in comment #1 disabling qt4 solved the issue here:
flagedit =net-irc/kvirc-3.4.2 -qt4

Looking at your build log, disabling qt4 you have a linking problem maybe related to kdeprefix use flag in kde:4 ebuilds. If I'm correct you are not using that use flag and kvirc has an issue here trying to link again kde4 something compiled with kde3 headers. Maybe another bug about this should be opened blocking bug #239356 if this is your case and net-irc team want involve kde team.
Comment 7 d00p 2008-11-05 14:43:59 UTC
Correct, I compiled kde4 with "-kdeprefix", would it be a big problem if i re-compile using "+kdeprefix", i don't wanna crash something here ^^
Comment 8 Sandro Bonazzola 2008-11-06 19:08:03 UTC
(In reply to comment #7)
> Correct, I compiled kde4 with "-kdeprefix", would it be a big problem if i
> re-compile using "+kdeprefix", i don't wanna crash something here ^^

I think that if you do:
euse -E kdeprefix
emerge -DuN world

it should works quite safely. Maybe kde team could confirm this.
Please d00p, open a new bug for the kdeprefix issue and set it blocking for  bug #239356

Comment 9 renato gallo 2009-01-03 12:55:58 UTC
Created attachment 177208 [details]
net-irc/kvirc -qt4

tried both with -kde and -qt4 it fails to compile on my quad core 64 bit machine
Comment 10 renato gallo 2009-01-03 13:36:50 UTC
added
net-irc/kvirc -qt4 -kde
to /etc/portage/package.use
and it compiles ... but....
why have I to do this ?
wouldn't be better for it not to need that line to be added ?
Comment 11 renato gallo 2009-02-12 22:00:28 UTC
http://bugs.gentoo.org/show_bug.cgi?id=258791

(In reply to comment #8)
> (In reply to comment #7)
> > Correct, I compiled kde4 with "-kdeprefix", would it be a big problem if i
> > re-compile using "+kdeprefix", i don't wanna crash something here ^^
> 
> I think that if you do:
> euse -E kdeprefix
> emerge -DuN world
> 
> it should works quite safely. Maybe kde team could confirm this.
> Please d00p, open a new bug for the kdeprefix issue and set it blocking for 
> bug #239356
> 

Comment 12 renato gallo 2009-02-12 22:59:44 UTC
Created attachment 181816 [details]
solved with this

copied the kvirc-9999 ebuild to the kvirc-4.0 ebuild since upstream that will be the version number of the new one and it will be called insomnia. it compiles fine with all the use flags enabled