Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 298848 - www-plugins/gnash-0.8.6: klash4 compilation fails
Summary: www-plugins/gnash-0.8.6: klash4 compilation fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Romain Perier (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-29 11:57 UTC by Dennis Schridde
Modified: 2010-03-15 21:00 UTC (History)
4 users (show)

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


Attachments
build.log.gz (build.log.gz,55.62 KB, application/octet-stream)
2009-12-29 12:00 UTC, Dennis Schridde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2009-12-29 11:57:11 UTC
In file included from Kde4Gui.cpp:64:                                                                                                                                                                               
klash4.moc: At global scope:                                                                                                                                                                                        
klash4.moc:22: error: no ‘const char* gnash::DrawingWidget::className() const’ member function declared in class ‘gnash::DrawingWidget’                                                                             
klash4.moc:27: error: ‘QMetaObject* gnash::DrawingWidget::metaObj’ is not a static member of ‘class gnash::DrawingWidget’                                                                                           
klash4.moc:28: error: ‘QMetaObjectCleanUp’ does not name a type                                                                                                                                                     
klash4.moc:31: error: redefinition of ‘static QString gnash::DrawingWidget::tr(const char*, const char*)’                                                                                                           
Kde4Gui.h:66: error: ‘static QString gnash::DrawingWidget::tr(const char*, const char*)’ previously defined here                                                                                                    
klash4.moc:39: error: redefinition of ‘static QString gnash::DrawingWidget::trUtf8(const char*, const char*)’                                                                                                       
Kde4Gui.h:66: error: ‘static QString gnash::DrawingWidget::trUtf8(const char*, const char*)’ previously defined here                                                                                                
klash4.moc:50: error: no ‘QMetaObject* gnash::DrawingWidget::staticMetaObject()’ member function declared in class ‘gnash::DrawingWidget’                                                                           
klash4.moc:89: error: no ‘void* gnash::DrawingWidget::qt_cast(const char*)’ member function declared in class ‘gnash::DrawingWidget’                                                                                
klash4.moc:96: error: ‘QUObject’ has not been declared                                                                                                                                                              
klash4.moc:96: error: no ‘bool gnash::DrawingWidget::qt_invoke(int, int*)’ member function declared in class ‘gnash::DrawingWidget’                                                                                 
klash4.moc:113: error: ‘QUObject’ has not been declared                                                                                                                                                             
klash4.moc:113: error: no ‘bool gnash::DrawingWidget::qt_emit(int, int*)’ member function declared in class ‘gnash::DrawingWidget’                                                                                  
klash4.moc:119: error: no ‘bool gnash::DrawingWidget::qt_property(int, int, QVariant*)’ member function declared in class ‘gnash::DrawingWidget’                                                                    
klash4.moc:124: error: no ‘bool gnash::DrawingWidget::qt_static_property(QObject*, int, int, QVariant*)’ member function declared in class ‘gnash::DrawingWidget’                                                   
klash4.moc:128: error: no ‘const char* gnash::EmbedWidget::className() const’ member function declared in class ‘gnash::EmbedWidget’                                                                                
klash4.moc:133: error: ‘QMetaObject* gnash::EmbedWidget::metaObj’ is not a static member of ‘class gnash::EmbedWidget’                                                                                              
klash4.moc:134: error: ‘QMetaObjectCleanUp’ does not name a type                                                                                                                                                    
klash4.moc:137: error: redefinition of ‘static QString gnash::EmbedWidget::tr(const char*, const char*)’                                                                                                            
Kde4Gui.h:103: error: ‘static QString gnash::EmbedWidget::tr(const char*, const char*)’ previously defined here                                                                                                     
klash4.moc:145: error: redefinition of ‘static QString gnash::EmbedWidget::trUtf8(const char*, const char*)’                                                                                                        
Kde4Gui.h:103: error: ‘static QString gnash::EmbedWidget::trUtf8(const char*, const char*)’ previously defined here                                                                                                 
klash4.moc:156: error: no ‘QMetaObject* gnash::EmbedWidget::staticMetaObject()’ member function declared in class ‘gnash::EmbedWidget’                                                                              
klash4.moc:180: error: no ‘void* gnash::EmbedWidget::qt_cast(const char*)’ member function declared in class ‘gnash::EmbedWidget’                                                                                   
klash4.moc:187: error: ‘QUObject’ has not been declared                                                                                                                                                             
klash4.moc:187: error: no ‘bool gnash::EmbedWidget::qt_invoke(int, int*)’ member function declared in class ‘gnash::EmbedWidget’                                                                                    
klash4.moc:198: error: ‘QUObject’ has not been declared                                                                                                                                                             
klash4.moc:198: error: no ‘bool gnash::EmbedWidget::qt_emit(int, int*)’ member function declared in class ‘gnash::EmbedWidget’                                                                                      
klash4.moc:204: error: no ‘bool gnash::EmbedWidget::qt_property(int, int, QVariant*)’ member function declared in class ‘gnash::EmbedWidget’                                                                        
klash4.moc:209: error: no ‘bool gnash::EmbedWidget::qt_static_property(QObject*, int, int, QVariant*)’ member function declared in class ‘gnash::EmbedWidget’                                                       
klash4.moc:213: error: no ‘const char* gnash::Kde4GuiPrefs::PreferencesDialog::className() const’ member function declared in class ‘gnash::Kde4GuiPrefs::PreferencesDialog’                                        
klash4.moc:218: error: ‘QMetaObject* gnash::Kde4GuiPrefs::PreferencesDialog::metaObj’ is not a static member of ‘class gnash::Kde4GuiPrefs::PreferencesDialog’                                                      
klash4.moc:219: error: ‘QMetaObjectCleanUp’ does not name a type                                                                                                                                                    
In file included from Kde4Gui.cpp:64:                                                                                                                                                                               
klash4.moc:222: error: redefinition of ‘static QString gnash::Kde4GuiPrefs::PreferencesDialog::tr(const char*, const char*)’                                                                                        
Kde4Gui.h:232: error: ‘static QString gnash::Kde4GuiPrefs::PreferencesDialog::tr(const char*, const char*)’ previously defined here                                                                                 
klash4.moc:230: error: redefinition of ‘static QString gnash::Kde4GuiPrefs::PreferencesDialog::trUtf8(const char*, const char*)’                                                                                    
Kde4Gui.h:232: error: ‘static QString gnash::Kde4GuiPrefs::PreferencesDialog::trUtf8(const char*, const char*)’ previously defined here                                                                             
klash4.moc:241: error: no ‘QMetaObject* gnash::Kde4GuiPrefs::PreferencesDialog::staticMetaObject()’ member function declared in class ‘gnash::Kde4GuiPrefs::PreferencesDialog’                                      
klash4.moc:263: error: no ‘void* gnash::Kde4GuiPrefs::PreferencesDialog::qt_cast(const char*)’ member function declared in class ‘gnash::Kde4GuiPrefs::PreferencesDialog’                                           
klash4.moc:270: error: ‘QUObject’ has not been declared                                                                                                                                                             
klash4.moc:270: error: no ‘bool gnash::Kde4GuiPrefs::PreferencesDialog::qt_invoke(int, int*)’ member function declared in class ‘gnash::Kde4GuiPrefs::PreferencesDialog’                                            
klash4.moc:280: error: ‘QUObject’ has not been declared                                                                                                                                                             
klash4.moc:280: error: no ‘bool gnash::Kde4GuiPrefs::PreferencesDialog::qt_emit(int, int*)’ member function declared in class ‘gnash::Kde4GuiPrefs::PreferencesDialog’                                              
klash4.moc:286: error: no ‘bool gnash::Kde4GuiPrefs::PreferencesDialog::qt_property(int, int, QVariant*)’ member function declared in class ‘gnash::Kde4GuiPrefs::PreferencesDialog’                                
klash4.moc:291: error: no ‘bool gnash::Kde4GuiPrefs::PreferencesDialog::qt_static_property(QObject*, int, int, QVariant*)’ member function declared in class ‘gnash::Kde4GuiPrefs::PreferencesDialog’

Find the full log attached.               

Reproducible: Always




Portage 2.2_rc61 (default/linux/amd64/10.0/desktop, gcc-4.4.2, glibc-2.11-r1, 2.6.32-gentoo-r1 x86_64)
=================================================================                                     
System uname: Linux-2.6.32-gentoo-r1-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5000+-with-gentoo-2.0.1
Timestamp of tree: Tue, 29 Dec 2009 09:15:01 +0000                                                          
app-shells/bash:     4.0_p35                                                                                
dev-java/java-config: 2.1.10                                                                                
dev-lang/python:     2.6.4, 3.1.1-r1                                                                        
dev-python/pycrypto: 2.1.0                                                                                  
dev-util/cmake:      2.8.0                                                                                  
sys-apps/baselayout: 2.0.1                                                                                  
sys-apps/openrc:     0.6.0                                                                                  
sys-apps/sandbox:    2.2                                                                                    
sys-devel/autoconf:  2.13, 2.65                                                                             
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1                                                     
sys-devel/binutils:  2.20                                                                                   
sys-devel/gcc-config: 1.4.1                                                                                 
sys-devel/libtool:   2.2.6b                                                                                 
virtual/os-headers:  2.6.30-r1                                                                              
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                              
ACCEPT_LICENSE="* -@EULA"                                                                                   
CBUILD="x86_64-pc-linux-gnu"                                                                                
CFLAGS="-pipe -O2 -march=athlon64-sse3 -fstack-protector -ftree-vectorize"                                  
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-pipe -O2 -march=athlon64-sse3 -fstack-protector -ftree-vectorize"
DISTDIR="/var/cache/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests distlocks fixpackages metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/var/cache/portage/packages"
PORTAGE_COMPRESS="xz"
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="/var/cache/portage/gentoo"
PORTDIR_OVERLAY="/var/cache/portage/layman/java-overlay /var/cache/portage/layman/java-overlay /var/cache/portage/layman/kde /var/cache/portage/layman/kde /var/cache/portage/layman/mpd /var/cache/portage/layman/mpd /var/cache/portage/layman/oss-overlay /var/cache/portage/layman/oss-overlay /var/cache/portage/layman/pcsx2 /var/cache/portage/layman/pcsx2 /var/cache/portage/layman/sunrise /var/cache/portage/layman/sunrise /var/cache/portage/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
[...]
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Dennis Schridde 2009-12-29 12:00:06 UTC
Created attachment 214528 [details]
build.log.gz
Comment 2 Martin Walch 2010-01-05 09:59:38 UTC
After the last bits of KDE3 have been removed from portage tree (and from my system), gnash now compiles fine with USE="kde".

So, it seems to be a problem when having parts of kde3, qt3 or related things (like PyQt3) installed.

www-plugins/gnash-0.8.6  USE="agg cairo dbus doc ffmpeg gtk kde mysql nls nsplugin opengl python sdl speex ssl (-aqua) -cygnal -gnome -gstreamer (-kdeenablefinal) -lirc -ssh -test" VIDEO_CARDS="intel"
Comment 3 Dennis Schridde 2010-02-15 22:27:43 UTC
I now get this problem, too. It's *new*, haven't had it earlier. And I have no kde3 installed. Could be a parallel-make issue...
Comment 4 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-03-15 21:00:47 UTC
I re-added an updated patch from bug 283905.