Summary: | confcache creates simil-parallel make issues on KDE packages | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Vladimir G. Ivanovic <vgivanovic> |
Component: | [OLD] KDE | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | masterdriverz |
Priority: | High | ||
Version: | 2005.1 | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Vladimir G. Ivanovic
2006-02-08 06:39:31 UTC
I have a feeling this is a parallel make error. Can you try MAKEOPTS="-j1" and see if that fixes it? I get an error in a different file when making with MAKEOPTS="-j1", but the cause is the same: /bin/sh ../libtool --silent --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../dcop -I../kdecore -I../kio/kssl -I../kjs -I../kdefx -I../interfaces -I../dcop -I../libltdl -I../kdefx -I../kdecore -I../kdecore -I../kdeui -I../kio -I../kio/kio -I../kio/kfile -I.. -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 -Wall -march=k8 -mieee-fp -pipe -O2 -msse3 -fno-strict-aliasing -frename-registers -fweb -ffast-math -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 kshortcutdialog.lo kshortcutdialog.cpp kshortcutdialog.cpp: In constructor `KShortcutDialog::KShortcutDialog(const KShortcut&, bool, QWidget*, const char*)': kshortcutdialog.cpp:78: error: invalid use of undefined type `struct KShortcutDialogSimple' kshortcutdialog.h:28: error: forward declaration of `struct KShortcutDialogSimple' kshortcutdialog.cpp:80: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp:81: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp:92: error: invalid use of undefined type `struct KShortcutDialogSimple' kshortcutdialog.h:28: error: forward declaration of `struct KShortcutDialogSimple' kshortcutdialog.cpp:93: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp:94: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp:95: error: invalid use of undefined type `struct KShortcutDialogSimple' kshortcutdialog.h:28: error: forward declaration of `struct KShortcutDialogSimple' kshortcutdialog.cpp:97: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp:99: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp:102: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp:103: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp:104: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp:105: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp:106: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp:108: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp: In member function `void KShortcutDialog::updateShortcutDisplay()': kshortcutdialog.cpp:167: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp:168: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp:175: error: invalid use of undefined type `struct KShortcutDialogSimple' kshortcutdialog.h:28: error: forward declaration of `struct KShortcutDialogSimple' kshortcutdialog.cpp:176: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp:177: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp: In member function `virtual void KShortcutDialog::slotDetails()': kshortcutdialog.cpp:195: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp: In member function `void KShortcutDialog::updateDetails()': kshortcutdialog.cpp:209: error: invalid use of undefined type `struct KShortcutDialogSimple' kshortcutdialog.h:28: error: forward declaration of `struct KShortcutDialogSimple' kshortcutdialog.cpp:210: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp:211: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp:216: error: invalid use of undefined type `struct KShortcutDialogSimple' kshortcutdialog.h:28: error: forward declaration of `struct KShortcutDialogSimple' kshortcutdialog.cpp:217: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp:218: error: invalid use of undefined type `struct KShortcutDialogSimple' kshortcutdialog.h:28: error: forward declaration of `struct KShortcutDialogSimple' kshortcutdialog.cpp:219: error: invalid use of undefined type `struct KShortcutDialogSimple' kshortcutdialog.h:28: error: forward declaration of `struct KShortcutDialogSimple' kshortcutdialog.cpp:220: error: invalid use of undefined type `struct KShortcutDialogSimple' kshortcutdialog.h:28: error: forward declaration of `struct KShortcutDialogSimple' kshortcutdialog.cpp:221: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp: In member function `void KShortcutDialog::slotSelectPrimary()': kshortcutdialog.cpp:232: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp: In member function `void KShortcutDialog::slotSelectAlternate()': kshortcutdialog.cpp:243: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp: In member function `void KShortcutDialog::slotClearPrimary()': kshortcutdialog.cpp:258: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp: In member function `void KShortcutDialog::slotClearAlternate()': kshortcutdialog.cpp:266: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp: In member function `void KShortcutDialog::keyPressed(KKey)': kshortcutdialog.cpp:516: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp:525: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' make[3]: *** [kshortcutdialog.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.5.1-r1/work/kdelibs-3.5.1/kdeui' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.5.1-r1/work/kdelibs-3.5.1/kdeui' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.5.1-r1/work/kdelibs-3.5.1' make: *** [all] Error 2 !!! ERROR: kde-base/kdelibs-3.5.1-r1 failed. !!! Function kde_src_compile, Line 213, Exitcode 2 !!! died running emake, kde_src_compile:make !!! If you need support, post the topmost build error, NOT this status message. It doesn't look like it picked up your -j1: make[3]: *** [kshortcutdialog.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.5.1-r1/work/kdelibs-3.5.1/kdeui' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.5.1-r1/work/kdelibs-3.5.1/kdeui' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.5.1-r1/work/kdelibs-3.5.1' make: *** [all] Error 2 Yes, it builds, but only when MAKEOPTS is removed from /etc/make.conf. It does not build when MAKEOPTS is set to "-j1" ... at least as far as I can tell. I've left the bug as NEW. It would be nice if kdelibs-3.5.1-r1 built in parallel as have other versions, but it does build, so ... your call on what the right resolution should be. Well, I spent many hours fixing the source upstream, but each new release adds some new thing that is broken. We can force -j1, but that just means that it takes longer to compile for the folks who don't have problems, then they get made that we forced it. :) So, it's a no win situation. I'm quite sure it used to work fine with -j2 so I'm not likely to consider this a parallel make issue. I don't have time right now to check it out better, I'll see if I remember in the next days, but forcing -j1 is likely to annoy people using things like mips and sparcs and new dual-core machines that are becoming pretty common. This one is probably easily fixed by adding #include statements in kshortcutdialog.cpp. I'm able to reproduce this on my iBook :/ There is something pretty wrong with this, I patched kdelibs to take into account problems of parallelism by using _COMPILE_FIRST variables, but that didn't help. It seems like it ś being ignored, and not only for -j2+. I'm now trying without confcache, that might be a cause. Sounds like disabling confcache helps. I'll try to get what the problem can be tomorrow, probably something has to be blacklisted, sigh. I switched to glib 2.4 and gcc 4.1, and all is well. I have compiled 3.4.3-r1 and 3.5.2-r4 successfully. WORKSFORME That most likely changed the confcache'd values. dev-util/confcache was removed from the tree. Is the reason confcache was (allegedly) removed from the tree that the last updates on the author's web site were 8 months ago? I just did an emerge --sync, and I still see confcache: [I] dev-util/confcache Available versions: 0.4.2-r1 Installed: 0.4.2-r1[15:58:23 10/21/06] Homepage: http://gentooexperimental.org/~ferringb/confcache/ Description: global autoconf cache manager Well, it hasn't been removed yet (and stuart wanted to take care of it,iirc), but it is hard masked, which means: It doesn't work, there's no support, go fix it yourself, if you encounter problems - and only if you have a working patch, we're interested in your bug report. |