Gentoo Archives: gentoo-user

From: Philip Webb <purslow@×××××××××.ca>
To: gentoo-user@l.g.o
Subject: [gentoo-user] kdelibs again: 'moc' & USE flags ?
Date: Mon, 03 Jul 2006 14:14:58
Message-Id: 20060703140637.GD4811@sympatico.ca
In Reply to: Re: [gentoo-user] escape from hell: kdelibs by Philip Webb
1 I just tried to update to "stable" Kdelibs-3.5.2-r6
2 (having returned everything to the previous GCC 3.4.5 & Glibc 2.4 state),
3 & it failed with the same lines as when I tried "testing" 3.5.3-r3 earlier:
4
5 /usr/qt/3/bin/moc /z/tmp/portage/kdelibs-3.5.2-r6/work/kdelibs-3.5.2/kdeui/kshortcutdialog.h -o kshortcutdialog.moc
6 /bin/sh ../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/z/tmp/portage/kdelibs\
7 -3.5.2-r6/work/kdelibs-3.5.2/kdeui -I.. -I../dcop -I../kdecore -I../kio/kssl -I../kjs -I/z/tmp/portage/kdelibs-3.5.2-r6\
8 /work/kdelibs-3.5.2/kdefx -I/z/tmp/portage/kdelibs-3.5.2-r6/work/kdelibs-3.5.2/interfaces -I/z/tmp/portage/kdelibs-3.5.\
9 2-r6/work/kdelibs-3.5.2/dcop -I/z/tmp/portage/kdelibs-3.5.2-r6/work/kdelibs-3.5.2/libltdl -I/z/tmp/portage/kdelibs-3.5.\
10 2-r6/work/kdelibs-3.5.2/kdefx -I../kdecore -I/z/tmp/portage/kdelibs-3.5.2-r6/work/kdelibs-3.5.2/kdecore -I/z/tmp/portag\
11 e/kdelibs-3.5.2-r6/work/kdelibs-3.5.2/kdeui -I/z/tmp/portage/kdelibs-3.5.2-r6/work/kdelibs-3.5.2/kio -I/z/tmp/portage/k\
12 delibs-3.5.2-r6/work/kdelibs-3.5.2/kio/kio -I/z/tmp/portage/kdelibs-3.5.2-r6/work/kdelibs-3.5.2/kio/kfile -I/z/tmp/port\
13 age/kdelibs-3.5.2-r6/work/kdelibs-3.5.2 -I/usr/qt/3/include -I. -I/usr/kde/3.5/include -DQT_THREAD_SUPPORT -D_REENTR\
14 ANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -\
15 W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=athlon-xp -pipe -Wformat-security -Wmissing-format-attribute -Wno-\
16 non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_N\
17 O_COMPAT -DQT_NO_TRANSLATION -c -o kshortcutdialog.lo kshortcutdialog.cpp
18 kshortcutdialog.cpp:44:36: kshortcutdialog_simple.h: No such file or directory
19 kshortcutdialog.cpp:45:38: kshortcutdialog_advanced.h: No such file or directory
20 kshortcutdialog.cpp: In constructor `KShortcutDialog::KShortcutDialog(const KShortcut&, bool, QWidget*, const char*)':
21 kshortcutdialog.cpp:78: error: invalid use of undefined type `struct KShortcutDialogSimple'
22 ...
23 make[3]: *** [kshortcutdialog.lo] Error 1
24 make[3]: Leaving directory `/z/tmp/portage/kdelibs-3.5.2-r6/work/kdelibs-3.5.2/kdeui'
25 ...
26
27 The other failures reported on the Forum seem to involve 'moc' too :
28 what is 'moc' & how might it be related to this problem ?
29
30 Since I first emerged KDE 3.5.2 , I changed the USE flags in make.conf :
31
32 USE="-* apm bitmap-fonts bonobo bzip2 cdr crypt cups dri foomaticdb
33 gdbm gif gnutls gpm gtk gtk2 imagemagick imlib java javascript jpeg kde
34 libwww lm_sensors mime motif mozilla mpeg ncurses nptl nptlonly
35 nsplugin nvidia opengl pcre pdf perl plotutils png pop python
36 qt3 readline scanner session slang ssl
37 tiff truetype truetype-fonts type1-fonts unicode usb X xml xv zlib"
38
39 The flags reported by 'emerge -pv' for 3.5.2-r6 are
40
41 USE="-acl -alsa -arts cups -debug -doc -jpeg2k -kdeenablefinal -kdehiddenvisibility% -kerberos -legacyssl% -openexr -spell* ssl tiff* -xinerama -zeroconf"
42
43 Those for 3.5.3-r3 (slightly different) were:
44
45 USE="-acl -alsa -arts cups -debug -doc -fam% -jpeg2k -kdeenablefinal -kdehiddenvisibility% -kerberos -legacyssl% -openexr -spell* ssl tiff* -xinerama -zeroconf"
46
47 It occurs to me that I might not have added back something needed by KDE
48 (NB I don't have a sound card & long ago removed all sound pkgs).
49
50 I am doing this while KDE is running, but that hasn't mattered in the past.
51
52 Does anyone have suggestions or enlightenment, before I file a bug ?
53
54 --
55 ========================,,============================================
56 SUPPORT ___________//___, Philip Webb : purslow@××××××××××××××.ca
57 ELECTRIC /] [] [] [] [] []| Centre for Urban & Community Studies
58 TRANSIT `-O----------O---' University of Toronto
59 --
60 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] kdelibs again: 'moc' & USE flags ? Richard Fish <bigfish@××××××××××.org>