Bug 130139 - dev-util/kdevelop-3.3.2 failed, profileeditor.h
|
Bug#:
130139
|
Product: Gentoo Linux
|
Version: 2006.0
|
Platform: AMD64
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: kde@gentoo.org
|
Reported By: imbezol@criticaldamage.com
|
|
Component: Development
|
|
|
URL:
|
|
Summary: dev-util/kdevelop-3.3.2 failed, profileeditor.h
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2006-04-16 01:44 0000
|
Making all in editor
make[4]: Entering directory
`/var/tmp/portage/kdevelop-3.3.2/work/kdevelop-3.3.2/src/profileengine/editor'
rm -rf profileeditorbase.h;
rm -rf addprofilewidget.h;
/usr/qt/3/bin/moc ./profileeditor.h -o profileeditor.moc
/usr/qt/3/bin/uic -L /usr/kde/3.5/lib64/kde3/plugins/designer -nounload
./profileeditorbase.ui | /usr/bin/perl -pi -e "s,public QWizard,public
KWizard,g; s,#include <qwizard.h>,#include <kwizard.h>,g" >>
profileeditorbase.h ;
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../lib
-I../../../lib/external_interfaces -I../../../lib/interfaces
-I../../../lib/util -I../../../lib/widgets -I../../../src/profileengine/lib
-I../../../lib/structure -I/usr/kde/3.5/include -I/usr/qt/3/include -I.
-I/usr/kde/3.5/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long
-Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
-Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -pipe
-Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor
-fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE
-DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o main.o
main.cpp
/usr/qt/3/bin/uic -L /usr/kde/3.5/lib64/kde3/plugins/designer -nounload
./addprofilewidget.ui | /usr/bin/perl -pi -e "s,public QWizard,public
KWizard,g; s,#include <qwizard.h>,#include <kwizard.h>,g" >> addprofilewidget.h
;
/usr/qt/3/bin/moc addprofilewidget.h -o addprofilewidget.moc
rm -f addprofilewidget.cpp
echo '#include <kdialog.h>' > addprofilewidget.cpp
echo '#include <klocale.h>' >> addprofilewidget.cpp
/usr/qt/3/bin/uic -L /usr/kde/3.5/lib64/kde3/plugins/designer -nounload -tr
tr2i18n -i addprofilewidget.h ./addprofilewidget.ui > addprofilewidget.cpp.temp
; ret=$?; \
/usr/bin/perl -pe "s,tr2i18n( \"\" ),QString::null,g" addprofilewidget.cpp.temp
| /usr/bin/perl -pe "s,tr2i18n( \"\"\, \"\" ),QString::null,g" | /usr/bin/perl
-pe "s,image([0-9][0-9]*)_data,img\$1_addprofilewidget,g" | /usr/bin/perl -pe
"s,: QWizard\(,: KWizard(,g" >> addprofilewidget.cpp ;\
rm -f addprofilewidget.cpp.temp ;\
if test "$ret" = 0; then echo '#include "addprofilewidget.moc"' >>
addprofilewidget.cpp; else rm -f addprofilewidget.cpp ; exit $ret ; fi
/bin/sh ../../../libtool --silent --tag=CXX --mode=compile
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../lib
-I../../../lib/external_interfaces -I../../../lib/interfaces
-I../../../lib/util -I../../../lib/widgets -I../../../src/profileengine/lib
-I../../../lib/structure -I/usr/kde/3.5/include -I/usr/qt/3/include -I.
-I/usr/kde/3.5/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long
-Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
-Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -pipe
-Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor
-fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE
-DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o
profileeditor.lo profileeditor.cpp
/usr/qt/3/bin/moc profileeditorbase.h -o profileeditorbase.moc
rm -f profileeditorbase.cpp
echo '#include <kdialog.h>' > profileeditorbase.cpp
echo '#include <klocale.h>' >> profileeditorbase.cpp
/usr/qt/3/bin/uic -L /usr/kde/3.5/lib64/kde3/plugins/designer -nounload -tr
tr2i18n -i profileeditorbase.h ./profileeditorbase.ui >
profileeditorbase.cpp.temp ; ret=$?; \
/usr/bin/perl -pe "s,tr2i18n( \"\" ),QString::null,g"
profileeditorbase.cpp.temp | /usr/bin/perl -pe "s,tr2i18n( \"\"\, \"\"
),QString::null,g" | /usr/bin/perl -pe
"s,image([0-9][0-9]*)_data,img\$1_profileeditorbase,g" | /usr/bin/perl -pe "s,:
QWizard\(,: KWizard(,g" >> profileeditorbase.cpp ;\
rm -f profileeditorbase.cpp.temp ;\
if test "$ret" = 0; then echo '#include "profileeditorbase.moc"' >>
profileeditorbase.cpp; else rm -f profileeditorbase.cpp ; exit $ret ; fi
/bin/sh ../../../libtool --silent --tag=CXX --mode=compile
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../lib
-I../../../lib/external_interfaces -I../../../lib/interfaces
-I../../../lib/util -I../../../lib/widgets -I../../../src/profileengine/lib
-I../../../lib/structure -I/usr/kde/3.5/include -I/usr/qt/3/include -I.
-I/usr/kde/3.5/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long
-Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
-Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -pipe
-Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor
-fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE
-DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o
addprofilewidget.lo addprofilewidget.cpp
/bin/sh ../../../libtool --silent --tag=CXX --mode=compile
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../lib
-I../../../lib/external_interfaces -I../../../lib/interfaces
-I../../../lib/util -I../../../lib/widgets -I../../../src/profileengine/lib
-I../../../lib/structure -I/usr/kde/3.5/include -I/usr/qt/3/include -I.
-I/usr/kde/3.5/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long
-Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
-Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -pipe
-Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor
-fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE
-DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o
profileeditorbase.lo profileeditorbase.cpp
In file included from main.cpp:24:
profileeditor.h:28: error: expected class-name before '{' token
profileeditor.h:38: error: `QListBoxItem' has not been declared
profileeditor.h:38: error: ISO C++ forbids declaration of `item' with no type
profileeditor.h:39: error: `QListViewItem' has not been declared
profileeditor.h:39: error: ISO C++ forbids declaration of `item' with no type
main.cpp: In function `int main(int, char**)':
main.cpp:41: error: 'class ProfileEditor' has no member named 'show'
main.cpp:42: error: no matching function for call to
`KApplication::setMainWidget(ProfileEditor*)'
/usr/qt/3/include/qapplication.h:119: note: candidates are: virtual void
QApplication::setMainWidget(QWidget*)
make[4]: *** [main.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory
`/var/tmp/portage/kdevelop-3.3.2/work/kdevelop-3.3.2/src/profileengine/editor'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/kdevelop-3.3.2/work/kdevelop-3.3.2/src/profileengine'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/kdevelop-3.3.2/work/kdevelop-3.3.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/kdevelop-3.3.2/work/kdevelop-3.3.2'
make: *** [all] Error 2
!!! ERROR: dev-util/kdevelop-3.3.2 failed.
Call stack:
ebuild.sh, line 1526: Called dyn_compile
ebuild.sh, line 923: Called src_compile
kdevelop-3.3.2.ebuild, line 53: Called kde_src_compile
kde.eclass, line 113: Called kde_src_compile 'all'
kde.eclass, line 230: Called kde_src_compile 'myconf' 'configure' 'make'
kde.eclass, line 226: Called die
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, and the call stack if
relevant.
Portage 2.1_pre7-r4 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.4-r1,
2.6.16-gentoo x86_64)
=================================================================
System uname: 2.6.16-gentoo x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor
4400+
Gentoo Base System version 1.12.0_pre16
ccache version 2.4 [enabled]
dev-lang/python: 2.4.2-r1
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.16.1-r2
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config
/usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config
/var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild
/etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mirrors.tera-byte.com/pub/gentoo
http://gentoo.chem.wisc.edu/gentoo/"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/xgl-coffee"
SYNC="rsync://rsync9.ca.gentoo.org/gentoo-portage/"
USE="amd64 X Xaw3d aac aalib alsa apache2 apm atm audiofile avi bash-completion
berkdb bidi bitmap-fonts bonobo bzip2 cairo cdparanoia cdr cli cpudetection
crypt ctype cups curl custom-cflags dba dedicated dga dhcp directfb divx4linux
doc dri dts dv dvb dvd dvdr dvdread edl eds emboss encode esd ethereal evo exif
expat fastbuild fbcon flac flash fltk fluidsynth foomaticdb force-cgi-redirect
fortran freetds ftp gb gd gdbm geoip ggi gif glitz gnome gnutls gphoto2 gpm gps
gstreamer gtk gtk2 gtkhtml guile imagemagick imap imlib ipv6 isdnlog jack java
javascript joystick jpeg kde lcms libcaca libg++ libwww live lzo lzw lzw-tiff
mad maildir matroska memlimit mikmod modplug mozilla moznocompose moznoirc
moznomail mozsvg mp3 mp4 mpeg mppe-mppc musepack mysql nas ncurses net network
noauthcram nowin nptl nptlonly nsplugin nvidia oav odbc offensive ogg oggvorbis
openal opengl oss pam pcre pda pdflib pear perl pertty php plotutils png
portaudio posix ppds pppd python qt quicktime rdesktop readline rtc ruby samba
scanner sdl session sftplogging silc simplexml skey slang sndfile snmp soap
sockets spell spl ssl svg sysfs tcltk tcpd tetex tga theora tiff tokenizer
toolbar truetype truetype-fonts type1-fonts usb v4l v4l2 vim-pager vim-with-x
vorbis wma wxwindows x264 xanim xfs xine xinerama xml xml2 xmms xosd xpm xprint
xscreensaver xsl xv xvid xvmc zlib elibc_glibc input_devices_mouse
input_devices_keyboard input_devices_joystick kernel_linux userland_GNU
video_cards_none video_cards_nvidia video_cards_vmware video_cards_nv"
Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
LDFLAGS, LINGUAS
I get a similar failure:
rm -rf debuggertracingdialogbase.h;
/usr/qt/3/bin/moc ./debuggerpart.h -o debuggerpart.moc
/usr/qt/3/bin/uic -L /usr/kde/3.5/lib/kde3/plugins/designer -nounload
./debuggerconfigwidgetbase.ui | /usr/bin/perl -pi -e "s,public QWizard,public
KWizard,g; s,#include <qwizard.h>,#include <kwizard.h>,g" >>
debuggerconfigwidgetbase.h ;
/usr/qt/3/bin/uic -L /usr/kde/3.5/lib/kde3/plugins/designer -nounload
./debuggertracingdialogbase.ui | /usr/bin/perl -pi -e "s,public QWizard,public
KWizard,g; s,#include <qwizard.h>,#include <kwizard.h>,g" >>
debuggertracingdialogbase.h ;
/usr/qt/3/bin/moc ./dbgcontroller.h -o dbgcontroller.moc
/usr/qt/3/bin/moc ./gdbcontroller.h -o gdbcontroller.moc
/usr/qt/3/bin/moc ./stty.h -o stty.moc
/usr/qt/3/bin/moc ./variablewidget.h -o variablewidget.moc
/usr/qt/3/bin/moc ./gdbbreakpointwidget.h -o gdbbreakpointwidget.moc
/usr/qt/3/bin/moc ./framestackwidget.h -o framestackwidget.moc
/usr/qt/3/bin/moc ./disassemblewidget.h -o disassemblewidget.moc
/usr/qt/3/bin/moc ./memviewdlg.h -o memviewdlg.moc
/usr/qt/3/bin/moc ./dbgpsdlg.h -o dbgpsdlg.moc
/usr/qt/3/bin/moc ./dbgtoolbar.h -o dbgtoolbar.moc
/usr/qt/3/bin/moc ./debuggerconfigwidget.h -o debuggerconfigwidget.moc
/usr/qt/3/bin/moc ./gdboutputwidget.h -o gdboutputwidget.moc
/usr/qt/3/bin/moc ./gdbtable.h -o gdbtable.moc
/usr/kde/3.5/bin/dcopidl ./debuggerdcopinterface.h > debuggerdcopinterface.kidl
|| ( rm -f debuggerdcopinterface.kidl ; false )
/usr/qt/3/bin/moc ./debuggertracingdialog.h -o debuggertracingdialog.moc.cpp
/bin/sh ../../../libtool --silent --tag=CXX --mode=compile
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../..
-I../../../languages/lib/debugger -I../../../lib/interfaces
-I../../../lib/interfaces/extensions -I../../../lib/util -I../../../lib/widgets
-I/usr/kde/3.5/include -I/usr/qt/3/include -I. -I/usr/kde/3.5/include
-DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts
-Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=pentium4 -Os
-fomit-frame-pointer -pipe -fweb -Wformat-security -Wmissing-format-attribute
-Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
-DQT_NO_TRANSLATION -c -o debuggertracingdialog.moc.lo
debuggertracingdialog.moc.cpp
/usr/kde/3.5/bin/dcopidl2cpp --c++-suffix cpp --no-signals --no-stub
debuggerdcopinterface.kidl
/bin/sh ../../../libtool --silent --tag=CXX --mode=compile
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../..
-I../../../languages/lib/debugger -I../../../lib/interfaces
-I../../../lib/interfaces/extensions -I../../../lib/util -I../../../lib/widgets
-I/usr/kde/3.5/include -I/usr/qt/3/include -I. -I/usr/kde/3.5/include
-DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts
-Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=pentium4 -Os
-fomit-frame-pointer -pipe -fweb -Wformat-security -Wmissing-format-attribute
-Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
-DQT_NO_TRANSLATION -c -o debuggerdcopinterface_skel.lo
debuggerdcopinterface_skel.cpp
debuggertracingdialog.h:24: error: expected class-name before '{' token
debuggertracingdialog.h:25: error: ISO C++ forbids declaration of 'Q_OBJECT'
with no type
debuggertracingdialog.h:26: error: expected ';' before 'public'
debuggertracingdialog.h:30: error: expected `:' before 'slots'
debuggertracingdialog.h:31: error: expected primary-expression before 'void'
debuggertracingdialog.h:31: error: ISO C++ forbids declaration of 'slots' with
no type
debuggertracingdialog.h:31: error: expected ';' before 'void'
debuggertracingdialog.moc.cpp:22: error: no 'const char*
GDBDebugger::DebuggerTracingDialog::className() const' member function declared
in class 'GDBDebugger::DebuggerTracingDialog'
carcharias ~ # emerge --info
Portage 2.1_rc2-r3 (default-linux/x86/2005.1, gcc-4.1.1, glibc-2.4-r3,
2.6.16-suspend2-r7 i686)
=================================================================
System uname: 2.6.16-suspend2-r7 i686 Genuine Intel(R) CPU T2500 @
2.00GHz
Gentoo Base System version 1.12.0
dev-lang/python: 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.16.1-r2
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -Os -fomit-frame-pointer -pipe -fweb"
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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/revdep-rebuild /etc/splash
/etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=pentium4 -Os -fomit-frame-pointer -pipe -fweb"
DISTDIR="/usr/portage/packages/sources"
FEATURES="autoconfig buildpkg distlocks fixpackages metadata-transfer sandbox
sfperms splitdebug strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo/"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 X alsa arts bzip2 crypt cups encode flac gtk hal jpeg kde
kdeenablefinal kdehiddenvisibility mmx mp3 pam pic png python qt readline samba
sse ssl tiff truetype unicode vorbis zlib elibc_glibc input_devices_evdev
input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux
userland_GNU video_cards_fbdev video_cards_nv video_cards_nvidia
video_cards_vesa"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
MAKEOPTS=-j1 allows build to complete normally.
*** Bug 139770 has been marked as a duplicate of this bug. ***
Merging media-gfx/graphviz fixed the problem here. Maybe you should try it.
I get the same on 3.3.4, i have recently changed my make.conf.
now i have:
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer -msse3"
CXXFLAGS="${CFLAGS}"
LDFLAGS="-Wl,-O2 -Wl,--enable-new-dtags -Wl,--sort-common -s"
FEATURES="ccache fixpackages"
Maybe is something of this. ^^
I got this error on my desktop (notebook compiled it without problems). I did
emerge --resume without changing anything, and it compiled fine! So I really
have no idea what could cause this bug. Normally I would suspect hardware, but
I'm not the only one with this problem...
Portage 2.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3,
2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: [Not Present]
dev-lang/python: 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer -ffast-math"
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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer -ffast-math"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.linux.cz/pub/linux/gentoo
ftp://ftp.sh.cvut.cz/MIRRORS/gentoo/gentoo ftp://fi.muni.cz/pub/linux/gentoo"
LINGUAS="en cs"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://gentoo.inode.at/gentoo-portage"
USE="x86 3dnow 3dnowext X aac alsa audiofile bzip2 cdr crypt cups curl dri dvb
dvd dvdread encode exif ffmpeg flac gif gpm idn imagemagick imlib jpeg jpeg2k
kde kdeenablefinal kdehiddenvisibility lcms lm_sensors mad mmx mmxext mng mp3
mpeg ncurses nls nodrm nptl nsplugin ogg opengl pam pic png qt3 quicktime
readline real samba sdl slang speex sse ssl symlink tcpd tiff truetype udev
unicode v4l2 vorbis wmf xml xv xvid zlib elibc_glibc input_devices_keyboard
input_devices_mouse kernel_linux linguas_en linguas_cs userland_GNU
video_cards_radeon"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS
(In reply to comment #6)
> parallel make error
>
What do you mean by this?
Anyway I'm having the same issue during the gcc 4.1 recompile.
To answer my own question (should be fairly obvious it makes sense now that
I've read it). It's due to make option -j2 for dual core processors. That
would also explain why it occurs sometimes but not always.
Trying to emerge KDevelop3.3.5 failed also (i emerge from KDevelop from ~x86
into x86):
echo '#include <kdialog.h>' > addprofilewidget.cpp
echo '#include <klocale.h>' >> addprofilewidget.cpp
/usr/qt/3/bin/uic -L /usr/kde/3.5/lib/kde3/plugins/designer -nounload -tr
tr2i18n -i addprofilewidget.h ./addprofilewidget.ui > addprofilewidget.cpp.temp
; ret=$?; \
/usr/bin/perl -pe "s,tr2i18n( \"\" ),QString::null,g"
addprofilewidget.cpp.temp | /usr/bin/perl -pe "s,tr2i18n( \"\"\, \"\"
),QString::null,g" | /usr/bin/perl -pe
"s,image([0-9][0-9]*)_data,img\$1_addprofilewidget,g" | /usr/bin/perl -pe "s,:
QWizard\(,: KWizard(,g" >> addprofilewidget.cpp ;\
rm -f addprofilewidget.cpp.temp ;\
if test "$ret" = 0; then echo '#include "addprofilewidget.moc"' >>
addprofilewidget.cpp; else rm -f addprofilewidget.cpp ; exit $ret ; fi
/bin/sh ../../../libtool --silent --tag=CXX --mode=compile
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../lib
-I../../../lib/external_interfaces -I../../../lib/interfaces
-I../../../lib/util -I../../../lib/widgets -I../../../src/profileengine/lib
-I../../../lib/structure -I/usr/kde/3.5/include -I/usr/qt/3/include -I.
-I/usr/kde/3.5/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long
-Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
-Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2
-march=pentium4 -pipe -Wformat-security -Wmissing-format-attribute
-Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
-DQT_NO_TRANSLATION -c -o profileeditor.lo profileeditor.cpp
profileeditor.h:28: error: expected class-name before ‘{’ token
profileeditor.h:38: error: ‘QListBoxItem’ has not been declared
profileeditor.h:39: error: ‘QListViewItem’ has not been declared
main.cpp: In function ‘int main(int, char**)’:
main.cpp:41: error: ‘class ProfileEditor’ has no member named
‘show’
main.cpp:42: error: no matching function for call to
‘KApplication::setMainWidget(ProfileEditor*)’
/usr/qt/3/include/qapplication.h:119: note: candidates are: virtual void
QApplication::setMainWidget(QWidget*)
make[4]: *** [main.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory
`/tmp/portage/kdevelop-3.3.5/work/kdevelop-3.3.5/src/profileengine/editor'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/tmp/portage/kdevelop-3.3.5/work/kdevelop-3.3.5/src/profileengine'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/tmp/portage/kdevelop-3.3.5/work/kdevelop-3.3.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/portage/kdevelop-3.3.5/work/kdevelop-3.3.5'
make: *** [all] Error 2
!!! ERROR: dev-util/kdevelop-3.3.5 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_compile
ebuild.sh, line 937: Called src_compile
kdevelop-3.3.5.ebuild, line 58: Called kde_src_compile
kde.eclass, line 172: Called kde_src_compile 'all'
kde.eclass, line 342: Called kde_src_compile 'myconf' 'configure' 'make'
kde.eclass, line 338: Called die
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, and the call stack if
relevant.
The compilation error seems related to the USE flag python and perl.
If i disabled python and perl (nano /etc/portage/package.use and add
dev-util/kdevelop -perl -python), the compilation works :-).
If the two flags are enabled (in make.conf), compiation failed.
*** Bug 162342 has been marked as a duplicate of this bug. ***
*** Bug 166072 has been marked as a duplicate of this bug. ***
*** Bug 166222 has been marked as a duplicate of this bug. ***
*** Bug 166223 has been marked as a duplicate of this bug. ***
It compiles successfuly without graphviz (USE="-graphviz").
KDevelop 3.4.0 only works with MAKEOPTS="-j1" for me on a dual core athlon64
also.
Portage 2.1.2-r10 (default-linux/amd64/2006.1/desktop, gcc-4.1.2, glibc-2.5-r0,
2.6.20-gentoo x86_64)
=================================================================
System uname: 2.6.20-gentoo x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor
3800+
Gentoo Base System release 1.12.9
Timestamp of tree: Tue, 20 Feb 2007 21:20:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
dev-lang/python: 2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.61
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
sys-devel/binutils: 2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool: 1.5.23b
virtual/os-headers: 2.6.20
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
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/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo
/etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms
strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en_GB"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --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 aac alsa amd64 berkdb bitmap-fonts blender-game cairo cdinstall
cdparanoia cdr cdrom cli cracklib crypt cvs dbus deprecated divx dlloader dvd
dvdr dvdread eds emboss encode fam ffmpeg firefox fortran gdbm gif gmedia
gphoto2 gpm graphviz gtk gtk2 hal history iconv imlib jpeg kde libg++
libsamplerate live lm_sensors mad midi mikmod mp3 mpeg ncurses nls nptl
nptlonly nvidia ofx ogg openal opengl oss pam pcre perl png ppds pppd python
qt3 qt4 quicktime quotes readline realmedia reflection sdl session smp spell
spl sql ssl subversion svg tcpd theora truetype truetype-fonts type1-fonts
unicode usb vorbis wmp x264 xcomposite xml xorg xscreensaver xv xvid zlib"
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 mulaw multi null plug rate route share shm softvol"
ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick evdev" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
kdevelop-3.4.0-r2 failed for me with the same error. USE="-graphviz" did the
job, on a Core 2 Duo with MAKEOPTS="-j3".
Same problem for me on 3.3.5 and setting MAKEOPTS="-j1" instead of j3 solved.
first try emerge it with this option in your make.conf
MAKEOPTS="-j1"
it's working for me
*** Bug 180110 has been marked as a duplicate of this bug. ***
Being a masochist, I've tried 3.3.5, 3.3.6, 3.4.0-r2 and 3.4.1 on both amd64
and x86 with parallel make enabled. They all failed.
Thus, I've set MAKEOPTS="${MAKEOPTS} -j1" for all versions, successfully tested
it and just committed it to CVS.
This is definitely a fix, but FYI:
$ bzgrep MAKEOPTS /var/db/pkg/dev-util/kdevelop-3.4.1/environment.bz2
MAKEOPTS=-j4
export MAKEOPTS="-j4"
this kdevelop was emerged by paludis, not emerge. Not sure if this caused the
fix.
Portage 2.1.2.9 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r3,
2.6.21-gentoo-ck1 i686)
=================================================================
System uname: 2.6.21-gentoo-ck1 i686 AMD Turion(tm) 64 X2 Mobile Technology
TL-52
Gentoo Base System release 1.12.10
Timestamp of tree: Sat, 02 Jun 2007 09:30:01 +0000
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python: 2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.61
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
sys-devel/binutils: 2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool: 1.5.23b
virtual/os-headers: 2.6.21
ACCEPT_KEYWORDS="x86 ~x86"