| Summary: | reemerging sys-apps/dbus-0.50-r1 and 0.60 fails with the qt USE flag set | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Stefan Kögl <koeglstefan> |
| Component: | [OLD] Core system | Assignee: | Project Gentopia <gentopia> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
log file
Adds check for QTDIR/bin/moc to configure.inc |
||
|
Description
Stefan Kögl
2005-11-19 08:35:23 UTC
Created attachment 73182 [details]
log file
steve ~ # emerge info Portage 2.0.53_rc7 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.6-r0, 2.6.13-gentoo i686) ================================================================= System uname: 2.6.13-gentoo i686 Genuine Intel(R) CPU 3.06GHz Gentoo Base System version 1.12.0_pre10 ccache version 2.4 [enabled] dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.13 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-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -mtune=pentium4 -fomit-frame-pointer -pipe -funroll-loops -fprefetch-loop-arrays" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -mtune=pentium4 -fomit-frame-pointer -pipe -funroll-loops -fprefetch-loop-arrays" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_EN.UTF-8" LC_ALL="de_AT.UTF-8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aalib alsa apache2 apm arts audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdb cdr crypt cups curl doc dvd dvdr eds emboss encode esd ethereal exif expat fam ffmpeg flac foomaticdb fortran gcj gdbm gif glut gnome gstreamer gtk gtk2 hal idn imagemagick imlib jack java jikes jpeg junit lcms ldap libcaca libg++ libwww mad mhash mikmod mmx mng motif mozilla mp3 mpeg mysql ncurses nls nptl ogg oggvorbis openal opengl oss pam pcre pdflib perl php png python quicktime readline ruby samba sdl slang spell sse sse2 ssl svga tcltk tcpd tetex threads tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis wmf xine xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS, LINGUAS, PORTDIR_OVERLAY I believe I'm seeing the same problem, although the build failure looks a bit
different on my system:
In file included from ../qt/connection.cpp:168:
../qt/connection.moc:12:2: #error "The header file 'connection.h' doesn't
include <QObject>."
In file included from ../qt/connection.cpp:168:
../qt/connection.moc:47: error: `const QMetaObject
DBusQt::Connection::staticMetaObject' is not a static member of `class
DBusQt::Connection'
../qt/connection.moc:47: error: variable `const QMetaObject
DBusQt::Connection::staticMetaObject' has initializer but incomplete type
../qt/connection.moc:53: error: prototype for `const QMetaObject*
DBusQt::Connection::metaObject() const' does not match any in class
`DBusQt::Connection'
../qt/connection.h:40: error: candidate is: virtual QMetaObject*
DBusQt::Connection::metaObject() const
../qt/connection.moc:53: error: `const QMetaObject*
DBusQt::Connection::metaObject() const' and `virtual QMetaObject*
DBusQt::Connection::metaObject() const' cannot be overloaded
../qt/connection.moc: In member function `const QMetaObject*
DBusQt::Connection::metaObject() const':
../qt/connection.moc:54: error: cannot convert `QMetaObject*(*)()' to `const
QMetaObject*' in return
../qt/connection.moc: At global scope:
../qt/connection.moc:58: error: no `void*
DBusQt::Connection::qt_metacast(const char*)' member function declared in
class `DBusQt::Connection'
../qt/connection.moc: In member function `void*
DBusQt::Connection::qt_metacast(const char*)':
../qt/connection.moc:62: error: `qt_metacast' is not a member of `QObject'
../qt/connection.moc: At global scope:
../qt/connection.moc:65: error: `int DBusQt::Connection::qt_metacall' is not a
static member of `class DBusQt::Connection'
../qt/connection.moc:65: error: incomplete type `QMetaObject' used in nested
name specifier
../qt/connection.moc:65: error: expected primary-expression before "int"
../qt/connection.moc:65: error: expected primary-expression before "void"
../qt/connection.moc:66: error: initializer expression list treated as
compound expression
../qt/connection.moc:66: error: expected `,' or `;' before '{' token
make[2]: *** [connection.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/dbus-0.50-r1/work/dbus-0.50/qt'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dbus-0.50-r1/work/dbus-0.50'
make: *** [all] Error 2
>>> Test phase [not enabled]: sys-apps/dbus-0.50-r1
>>> Install dbus-0.50-r1 into /var/tmp/portage/dbus-0.50-r1/image/ category
sys-apps
Making install in dbus
make[1]: Entering directory
`/var/tmp/portage/dbus-0.50-r1/work/dbus-0.50/dbus'
make install-am
make[2]: Entering directory
`/var/tmp/portage/dbus-0.50-r1/work/dbus-0.50/dbus'
make[3]: Entering directory
`/var/tmp/portage/dbus-0.50-r1/work/dbus-0.50/dbus'
test -z "/usr/lib64" || mkdir -p --
"/var/tmp/portage/dbus-0.50-r1/image//usr/lib64"
/bin/sh ../libtool --mode=install /bin/install -c 'libdbus-1.la'
'/var/tmp/portage/dbus-0.50-r1/image//usr/lib64/libdbus-1.la'
/bin/install
-c .libs/libdbus-1.so.1.0.0 /var/tmp/portage/dbus-0.50-r1/image//usr/lib64/libdbus-1.so.1.0.0
(cd /var/tmp/portage/dbus-0.50-r1/image//usr/lib64 && { ln -s -f
libdbus-1.so.1.0.0 libdbus-1.so.1 || { rm -f libdbus-1.so.1 && ln -s
libdbus-1.so.1.0.0 libdbus-1.so.1; }; })
(cd /var/tmp/portage/dbus-0.50-r1/image//usr/lib64 && { ln -s -f
libdbus-1.so.1.0.0 libdbus-1.so || { rm -f libdbus-1.so && ln -s
libdbus-1.so.1.0.0 libdbus-1.so; }; })
/bin/install
-c .libs/libdbus-1.lai /var/tmp/portage/dbus-0.50-r1/image//usr/lib64/libdbus-1.la
/bin/install
-c .libs/libdbus-1.a /var/tmp/portage/dbus-0.50-r1/image//usr/lib64/libdbus-1.a
x86_64-pc-linux-gnu-ranlib /var/tmp/portage/dbus-0.50-r1/image//usr/lib64/libdbus-1.a
chmod 644 /var/tmp/portage/dbus-0.50-r1/image//usr/lib64/libdbus-1.a
libtool: install: warning: remember to run `libtool --finish /usr/lib64'
test -z "/usr/lib64/dbus-1.0/include/dbus" || mkdir -p --
"/var/tmp/portage/dbus-0.50-r1/image//usr/lib64/dbus-1.0/include/dbus"
/bin/install -c -m 644 'dbus-arch-deps.h'
'/var/tmp/portage/dbus-0.50-r1/image//usr/lib64/dbus-1.0/include/dbus/dbus-arch-deps.h'
test -z "/usr/include/dbus-1.0/dbus" || mkdir -p --
"/var/tmp/portage/dbus-0.50-r1/image//usr/include/dbus-1.0/dbus"
/bin/install -c -m 644 'dbus.h'
'/var/tmp/portage/dbus-0.50-r1/image//usr/include/dbus-1.0/dbus/dbus.h'
/bin/install -c -m 644 'dbus-address.h'
'/var/tmp/portage/dbus-0.50-r1/image//usr/include/dbus-1.0/dbus/dbus-address.h'
/bin/install -c -m 644 'dbus-bus.h'
'/var/tmp/portage/dbus-0.50-r1/image//usr/include/dbus-1.0/dbus/dbus-bus.h'
/bin/install -c -m 644 'dbus-connection.h'
'/var/tmp/portage/dbus-0.50-r1/image//usr/include/dbus-1.0/dbus/dbus-connection.h'
/bin/install -c -m 644 'dbus-errors.h'
'/var/tmp/portage/dbus-0.50-r1/image//usr/include/dbus-1.0/dbus/dbus-errors.h'
/bin/install -c -m 644 'dbus-macros.h'
'/var/tmp/portage/dbus-0.50-r1/image//usr/include/dbus-1.0/dbus/dbus-macros.h'
/bin/install -c -m 644 'dbus-memory.h'
'/var/tmp/portage/dbus-0.50-r1/image//usr/include/dbus-1.0/dbus/dbus-memory.h'
/bin/install -c -m 644 'dbus-message.h'
'/var/tmp/portage/dbus-0.50-r1/image//usr/include/dbus-1.0/dbus/dbus-message.h'
/bin/install -c -m 644 'dbus-pending-call.h'
'/var/tmp/portage/dbus-0.50-r1/image//usr/include/dbus-1.0/dbus/dbus-pending-call.h'
/bin/install -c -m 644 'dbus-protocol.h'
'/var/tmp/portage/dbus-0.50-r1/image//usr/include/dbus-1.0/dbus/dbus-protocol.h'
/bin/install -c -m 644 'dbus-server.h'
'/var/tmp/portage/dbus-0.50-r1/image//usr/include/dbus-1.0/dbus/dbus-server.h'
/bin/install -c -m 644 'dbus-shared.h'
'/var/tmp/portage/dbus-0.50-r1/image//usr/include/dbus-1.0/dbus/dbus-shared.h'
/bin/install -c -m 644 'dbus-threads.h'
'/var/tmp/portage/dbus-0.50-r1/image//usr/include/dbus-1.0/dbus/dbus-threads.h'
/bin/install -c -m 644 'dbus-types.h'
'/var/tmp/portage/dbus-0.50-r1/image//usr/include/dbus-1.0/dbus/dbus-types.h'
/bin/install -c -m 644 'dbus-glib.h'
'/var/tmp/portage/dbus-0.50-r1/image//usr/include/dbus-1.0/dbus/dbus-glib.h'
/bin/install -c -m 644 'dbus-glib-lowlevel.h'
'/var/tmp/portage/dbus-0.50-r1/image//usr/include/dbus-1.0/dbus/dbus-glib-lowlevel.h'
/bin/install -c -m 644 'dbus-glib-error-enum.h'
'/var/tmp/portage/dbus-0.50-r1/image//usr/include/dbus-1.0/dbus/dbus-glib-error-enum.h'
make[3]: Leaving directory `/var/tmp/portage/dbus-0.50-r1/work/dbus-0.50/dbus'
make[2]: Leaving directory `/var/tmp/portage/dbus-0.50-r1/work/dbus-0.50/dbus'
make[1]: Leaving directory `/var/tmp/portage/dbus-0.50-r1/work/dbus-0.50/dbus'
Making install in bus
make[1]: Entering directory `/var/tmp/portage/dbus-0.50-r1/work/dbus-0.50/bus'
make[2]: Entering directory `/var/tmp/portage/dbus-0.50-r1/work/dbus-0.50/bus'
test -z "/usr/bin" || mkdir -p --
"/var/tmp/portage/dbus-0.50-r1/image//usr/bin"
/bin/sh ../libtool --mode=install /bin/install -c 'dbus-daemon'
'/var/tmp/portage/dbus-0.50-r1/image//usr/bin/dbus-daemon'
/bin/install -c
dbus-daemon /var/tmp/portage/dbus-0.50-r1/image//usr/bin/dbus-daemon
test -z "/etc/dbus-1" || mkdir -p --
"/var/tmp/portage/dbus-0.50-r1/image//etc/dbus-1"
/bin/install -c -m 644 'session.conf'
'/var/tmp/portage/dbus-0.50-r1/image//etc/dbus-1/session.conf'
/bin/install -c -m 644 'system.conf'
'/var/tmp/portage/dbus-0.50-r1/image//etc/dbus-1/system.conf'
test -z "" || mkdir -p -- "/var/tmp/portage/dbus-0.50-r1/image/"
test -z "/usr/share/man/man1" || mkdir -p --
"/var/tmp/portage/dbus-0.50-r1/image//usr/share/man/man1"
/bin/install -c -m 644 './dbus-daemon.1'
'/var/tmp/portage/dbus-0.50-r1/image//usr/share/man/man1/dbus-daemon.1'
make install-data-hook
make[3]: Entering directory `/var/tmp/portage/dbus-0.50-r1/work/dbus-0.50/bus'
/var/tmp/portage/dbus-0.50-r1/work/dbus-0.50/install-sh
-d /var/tmp/portage/dbus-0.50-r1/image///var/lib/run/dbus
/var/tmp/portage/dbus-0.50-r1/work/dbus-0.50/install-sh
-d /var/tmp/portage/dbus-0.50-r1/image///etc/dbus-1/system.d
/var/tmp/portage/dbus-0.50-r1/work/dbus-0.50/install-sh
-d /var/tmp/portage/dbus-0.50-r1/image///usr/share/dbus-1/services
make[3]: Leaving directory `/var/tmp/portage/dbus-0.50-r1/work/dbus-0.50/bus'
make[2]: Leaving directory `/var/tmp/portage/dbus-0.50-r1/work/dbus-0.50/bus'
make[1]: Leaving directory `/var/tmp/portage/dbus-0.50-r1/work/dbus-0.50/bus'
Making install in doc
make[1]: Entering directory `/var/tmp/portage/dbus-0.50-r1/work/dbus-0.50/doc'
make[2]: Entering directory `/var/tmp/portage/dbus-0.50-r1/work/dbus-0.50/doc'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/var/tmp/portage/dbus-0.50-r1/work/dbus-0.50/doc'
make[1]: Leaving directory `/var/tmp/portage/dbus-0.50-r1/work/dbus-0.50/doc'
Making install in glib
make[1]: Entering directory
`/var/tmp/portage/dbus-0.50-r1/work/dbus-0.50/glib'
make install-recursive
make[2]: Entering directory
`/var/tmp/portage/dbus-0.50-r1/work/dbus-0.50/glib'
Making install in .
make[3]: Entering directory
`/var/tmp/portage/dbus-0.50-r1/work/dbus-0.50/glib'
make[4]: Entering directory
`/var/tmp/portage/dbus-0.50-r1/work/dbus-0.50/glib'
test -z "/usr/lib64" || mkdir -p --
"/var/tmp/portage/dbus-0.50-r1/image//usr/lib64"
/bin/sh ../libtool --mode=install /bin/install -c 'libdbus-glib-1.la'
'/var/tmp/portage/dbus-0.50-r1/image//usr/lib64/libdbus-glib-1.la'
libtool: install: warning: relinking `libdbus-glib-1.la'
(cd /var/tmp/portage/dbus-0.50-r1/work/dbus-0.50/glib; /bin/sh ../libtool
--tag=CC --mode=relink x86_64-pc-linux-gnu-gcc -march=k8 -pipe -O2 -Wall
-Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs
-Wpointer-arith -Wcast-align -Wfloat-equal -Wsign-compare -o libdbus-glib-1.la
-rpath /usr/lib64 -export-symbols-regex "^[^_].*" -version-info 1:0:0
-no-undefined dbus-glib.lo dbus-gmain.lo dbus-gmarshal.lo dbus-gobject.lo
dbus-gproxy.lo dbus-gtest.lo dbus-gvalue.lo dbus-gthread.lo
dbus-gtype-specialized.lo dbus-gutils.lo dbus-gsignature.lo
dbus-gvalue-utils.lo ../dbus/libdbus-1.la -lgobject-2.0 -lglib-2.0 -lnsl
-inst-prefix-dir /var/tmp/portage/dbus-0.50-r1/image/)
generating symbol list for `libdbus-glib-1.la'
/usr/bin/x86_64-pc-linux-gnu-nm
-B .libs/dbus-glib.o .libs/dbus-gmain.o .libs/dbus-gmarshal.o .libs/dbus-gobject.o .libs/dbus-gproxy.o .libs/dbus-gtest.o .libs/dbus-gvalue.o .libs/dbus-gthread.o .libs/dbus-gtype-specialized.o .libs/dbus-gutils.o .libs/dbus-gsignature.o .libs/dbus-gvalue-utils.o
| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ]
[ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /bin/sed 's/.* //' | sort |
uniq > .libs/libdbus-glib-1.exp
grep -E -e "^[^_].*" ".libs/libdbus-glib-1.exp" > ".libs/libdbus-glib-1.expT"
mv -f ".libs/libdbus-glib-1.expT" ".libs/libdbus-glib-1.exp"
echo "{ global:" > .libs/libdbus-glib-1.ver
cat .libs/libdbus-glib-1.exp | sed -e "s/\(.*\)/\1;/"
>> .libs/libdbus-glib-1.ver
echo "local: *; };" >> .libs/libdbus-glib-1.ver
x86_64-pc-linux-gnu-gcc
-shared .libs/dbus-glib.o .libs/dbus-gmain.o .libs/dbus-gmarshal.o .libs/dbus-gobject.o .libs/dbus-gproxy.o .libs/dbus-gtest.o .libs/dbus-gvalue.o .libs/dbus-gthread.o .libs/dbus-gtype-specialized.o .libs/dbus-gutils.o .libs/dbus-gsignature.o .libs/dbus-gvalue-utils.o
-L/var/tmp/portage/dbus-0.50-r1/image//usr/lib64 -L/usr/lib64 -ldbus-1
-lgobject-2.0 -lglib-2.0 -lnsl -march=k8 -Wl,-soname -Wl,libdbus-glib-1.so.1
-Wl,-version-script -Wl,.libs/libdbus-glib-1.ver
-o .libs/libdbus-glib-1.so.1.0.0
/bin/install
-c .libs/libdbus-glib-1.so.1.0.0T /var/tmp/portage/dbus-0.50-r1/image//usr/lib64/libdbus-glib-1.so.1.0.0
(cd /var/tmp/portage/dbus-0.50-r1/image//usr/lib64 && { ln -s -f
libdbus-glib-1.so.1.0.0 libdbus-glib-1.so.1 || { rm -f libdbus-glib-1.so.1 &&
ln -s libdbus-glib-1.so.1.0.0 libdbus-glib-1.so.1; }; })
(cd /var/tmp/portage/dbus-0.50-r1/image//usr/lib64 && { ln -s -f
libdbus-glib-1.so.1.0.0 libdbus-glib-1.so || { rm -f libdbus-glib-1.so && ln
-s libdbus-glib-1.so.1.0.0 libdbus-glib-1.so; }; })
/bin/install
-c .libs/libdbus-glib-1.lai /var/tmp/portage/dbus-0.50-r1/image//usr/lib64/libdbus-glib-1.la
/bin/install
-c .libs/libdbus-glib-1.a /var/tmp/portage/dbus-0.50-r1/image//usr/lib64/libdbus-glib-1.a
x86_64-pc-linux-gnu-ranlib /var/tmp/portage/dbus-0.50-r1/image//usr/lib64/libdbus-glib-1.a
chmod 644 /var/tmp/portage/dbus-0.50-r1/image//usr/lib64/libdbus-glib-1.a
libtool: install: warning: remember to run `libtool --finish /usr/lib64'
test -z "/usr/bin" || mkdir -p --
"/var/tmp/portage/dbus-0.50-r1/image//usr/bin"
/bin/sh ../libtool --mode=install /bin/install -c 'dbus-binding-tool'
'/var/tmp/portage/dbus-0.50-r1/image//usr/bin/dbus-binding-tool'
/bin/install
-c .libs/dbus-binding-tool /var/tmp/portage/dbus-0.50-r1/image//usr/bin/dbus-binding-tool
test -z "/usr/include/dbus-1.0/dbus" || mkdir -p --
"/var/tmp/portage/dbus-0.50-r1/image//usr/include/dbus-1.0/dbus"
/bin/install -c -m 644 'dbus-gtype-specialized.h'
'/var/tmp/portage/dbus-0.50-r1/image//usr/include/dbus-1.0/dbus/dbus-gtype-specialized.h'
make[4]: Leaving directory `/var/tmp/portage/dbus-0.50-r1/work/dbus-0.50/glib'
make[3]: Leaving directory `/var/tmp/portage/dbus-0.50-r1/work/dbus-0.50/glib'
Making install in examples
make[3]: Entering directory
`/var/tmp/portage/dbus-0.50-r1/work/dbus-0.50/glib/examples'
make install-recursive
make[4]: Entering directory
`/var/tmp/portage/dbus-0.50-r1/work/dbus-0.50/glib/examples'
Making install in .
make[5]: Entering directory
`/var/tmp/portage/dbus-0.50-r1/work/dbus-0.50/glib/examples'
make[6]: Entering directory
`/var/tmp/portage/dbus-0.50-r1/work/dbus-0.50/glib/examples'
make[6]: Nothing to be done for `install-exec-am'.
make[6]: Nothing to be done for `install-data-am'.
make[6]: Leaving directory
`/var/tmp/portage/dbus-0.50-r1/work/dbus-0.50/glib/examples'
make[5]: Leaving directory
`/var/tmp/portage/dbus-0.50-r1/work/dbus-0.50/glib/examples'
Making install in statemachine
make[5]: Entering directory
`/var/tmp/portage/dbus-0.50-r1/work/dbus-0.50/glib/examples/statemachine'
make install-am
make[6]: Entering directory
`/var/tmp/portage/dbus-0.50-r1/work/dbus-0.50/glib/examples/statemachine'
make[7]: Entering directory
`/var/tmp/portage/dbus-0.50-r1/work/dbus-0.50/glib/examples/statemachine'
make[7]: Nothing to be done for `install-exec-am'.
make[7]: Nothing to be done for `install-data-am'.
make[7]: Leaving directory
`/var/tmp/portage/dbus-0.50-r1/work/dbus-0.50/glib/examples/statemachine'
make[6]: Leaving directory
`/var/tmp/portage/dbus-0.50-r1/work/dbus-0.50/glib/examples/statemachine'
make[5]: Leaving directory
`/var/tmp/portage/dbus-0.50-r1/work/dbus-0.50/glib/examples/statemachine'
make[4]: Leaving directory
`/var/tmp/portage/dbus-0.50-r1/work/dbus-0.50/glib/examples'
make[3]: Leaving directory
`/var/tmp/portage/dbus-0.50-r1/work/dbus-0.50/glib/examples'
make[2]: Leaving directory `/var/tmp/portage/dbus-0.50-r1/work/dbus-0.50/glib'
make[1]: Leaving directory `/var/tmp/portage/dbus-0.50-r1/work/dbus-0.50/glib'
Making install in qt
make[1]: Entering directory `/var/tmp/portage/dbus-0.50-r1/work/dbus-0.50/qt'
if /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++
-DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/qt/3/include
-DDBUS_API_SUBJECT_TO_CHANGE=1 -march=k8 -pipe -O2 -MT connection.lo -MD -MP
-MF ".deps/connection.Tpo" -c -o connection.lo `test -f '../qt/connection.cpp'
|| echo './'`../qt/connection.cpp; \
then mv -f ".deps/connection.Tpo" ".deps/connection.Plo"; else rm -f
".deps/connection.Tpo"; exit 1; fi
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/qt/3/include
-DDBUS_API_SUBJECT_TO_CHANGE=1 -march=k8 -pipe -O2 -MT connection.lo -MD -MP
-MF .deps/connection.Tpo -c ../qt/connection.cpp -fPIC -DPIC
-o .libs/connection.o
In file included from ../qt/connection.cpp:168:
../qt/connection.moc:12:2: #error "The header file 'connection.h' doesn't
include <QObject>."
In file included from ../qt/connection.cpp:168:
../qt/connection.moc:47: error: `const QMetaObject
DBusQt::Connection::staticMetaObject' is not a static member of `class
DBusQt::Connection'
../qt/connection.moc:47: error: variable `const QMetaObject
DBusQt::Connection::staticMetaObject' has initializer but incomplete type
../qt/connection.moc:53: error: prototype for `const QMetaObject*
DBusQt::Connection::metaObject() const' does not match any in class
`DBusQt::Connection'
../qt/connection.h:40: error: candidate is: virtual QMetaObject*
DBusQt::Connection::metaObject() const
../qt/connection.moc:53: error: `const QMetaObject*
DBusQt::Connection::metaObject() const' and `virtual QMetaObject*
DBusQt::Connection::metaObject() const' cannot be overloaded
../qt/connection.moc: In member function `const QMetaObject*
DBusQt::Connection::metaObject() const':
../qt/connection.moc:54: error: cannot convert `QMetaObject*(*)()' to `const
QMetaObject*' in return
../qt/connection.moc: At global scope:
../qt/connection.moc:58: error: no `void*
DBusQt::Connection::qt_metacast(const char*)' member function declared in
class `DBusQt::Connection'
../qt/connection.moc: In member function `void*
DBusQt::Connection::qt_metacast(const char*)':
../qt/connection.moc:62: error: `qt_metacast' is not a member of `QObject'
../qt/connection.moc: At global scope:
../qt/connection.moc:65: error: `int DBusQt::Connection::qt_metacall' is not a
static member of `class DBusQt::Connection'
../qt/connection.moc:65: error: incomplete type `QMetaObject' used in nested
name specifier
../qt/connection.moc:65: error: expected primary-expression before "int"
../qt/connection.moc:65: error: expected primary-expression before "void"
../qt/connection.moc:66: error: initializer expression list treated as
compound expression
../qt/connection.moc:66: error: expected `,' or `;' before '{' token
make[1]: *** [connection.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/dbus-0.50-r1/work/dbus-0.50/qt'
make: *** [install-recursive] Error 1
infiltrator ~ # emerge info
Portage 2.0.53_rc7 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r3,
2.6.14-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.14-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.0_pre10
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
dev-lang/python: 2.3.5-r2, 2.4.2
sys-apps/sandbox: 1.2.13
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-r1
sys-devel/binutils: 2.16.1
sys-devel/libtool: 1.5.20-r1
virtual/os-headers: 2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=k8 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo
ftp://ftp.ussg.iu.edu/pub/linux/gentoo
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aalib acl acpi adns alsa arts audiofile avi bash-completion
berkdb bitmap-fonts bluetooth bonobo bzip2 cdparanoia cdr crypt cups curl
directfb dvd dvdread eds emboss encode exif expat fam ffmpeg flac foomaticdb
fortran gcj gd gdbm gif glut gmp gnome gpg gpgme gphoto2 gpm gstreamer gtk
gtk2 gtkhtml guile hal idn ieee1394 imagemagick imlib ipv6 irmc jabber jack
java jpeg junit kde lame lcms ldap libcaca libwww lm_sensors lua lzw lzw-tiff
mad maildir mikmod ming mng motif mozilla mp3 mpeg musicbrainz nas ncurses
network nls nvidia objc ofx ogg opengl oss pam pcre pda pdflib perl pic png
postgres python qt quicktime quotes readline ruby samba sdl slang speex spell
ssl svg tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev
unicode usb userlocales vorbis xine xml xml2 xmms xpm xv xvid zlib
userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Brian... do you have qt-4 installed? If yes, try to unmerge qt-4, emerge dbus and re-emerge qt-4. It's pretty much the same problem dbus had with version 0.23, but this time, dbus takes the wrong 'moc'. The patch from v0.23 unfortunately failes. Or you can also set the environment variable QT_MOC=/usr/qt/3/bin/moc and emerge dbus directly. I wonder, why there is no 'eselect qt set/list'... Created attachment 74033 [details, diff]
Adds check for QTDIR/bin/moc to configure.inc
Back again for 0.60. This adds a specific if/else around the AC_PATH_PROG check
but apparently the PATH can be extended by passing it to AC_PATH_PROG and doing
it there. This patch requires that autoconf is ran from the ebuild too. Would
be nice if this could be fixed upstream though...
Sidenote, Qt4 seems to be supported with 0.60 but is not detected correctly
either:
configure: WARNING: Qt development libraries not found
configure: WARNING: Qt Unit Test library not found
...
Building Qt bindings: no
Building Qt3 bindings: yes
Will wait until Qt4 is unmasked to bother you guys about that though. ;)
Err.. hmm.. Just noticed that comment 3's output differs to the original description's. So, it's just noise for this bug but a problem nevertheless. (In reply to comment #7) > Err.. hmm.. Just noticed that comment 3's output differs to the original > description's. So, it's just noise for this bug but a problem nevertheless. Seeing here the same error as in comment #3. Though it differs from original post, your patch solves this problem as well, thanks. (no success with setting the environment variable as suggested in comment #5 though) And I see also the error concerning the detection of QT4. Due to the nature of the two eclasses and QT3/QT4 install paths I think will make support for both near impossible. Basically I'd need to import an eclass based on a USE flag Fixed in dbus-0.60-r2. Give it a spin please and report back. 0.60 will be getting unmasked shortly. |