Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 116582 - dbus-0.60 won't build qt bindings when qt4 is installed
Summary: dbus-0.60 won't build qt bindings when qt4 is installed
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
: 117624 119633 120318 120538 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-12-23 23:57 UTC by 4nykey
Modified: 2006-02-02 18:01 UTC (History)
15 users (show)

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


Attachments
a diff to dbus-0.60-r1.ebuild (dbus-qt.diff,419 bytes, patch)
2005-12-24 00:01 UTC, 4nykey
Details | Diff
complete log (4469-dbus-0.60-r3.log,163.70 KB, text/plain)
2006-01-12 11:39 UTC, Sandro Bonazzola (RETIRED)
Details
patch for the ebuild (dbus-0.60-r3.patch,346 bytes, patch)
2006-01-16 04:11 UTC, Mario Liehr
Details | Diff
patch file which must be places in the files dir (qdbusmarshall.cpp.diff,607 bytes, text/plain)
2006-01-16 04:12 UTC, Mario Liehr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description 4nykey 2005-12-23 23:57:31 UTC
As of now dbus configure won't find neither qt4 nor qt3, hence no libdbus-qt-1.so installed and at least k3b broken.
To build against qt3, configure takes '--enable-qt3' and Makefile - 'QT3_MOC' ('--enable-qt' and 'QT_MOC' as used in ebuild are for qt4).
Comment 1 4nykey 2005-12-24 00:01:56 UTC
Created attachment 75442 [details, diff]
a diff to dbus-0.60-r1.ebuild

A local mod to ebuild, that does the trick for me.
Comment 2 Ming Zhao (RETIRED) gentoo-dev 2006-01-01 04:27:23 UTC
//vote.

dbus-0.60-r1 wouldn't build qt3 bindings even qt4 was not installed. And replacing "--enable-qt=${QTDIR}" with "--enable-qt3=${QTDIR}" fixed the problem.
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2006-01-01 23:19:24 UTC
Fixed in 0.60-r2... please test... it will be coming out of mask soon.
Comment 4 Jason Stubbs (RETIRED) gentoo-dev 2006-01-02 00:09:33 UTC
There's no 0.60-r2 in cvs and 0.60-r1 yields the following for me:

Making all in qt
make[2]: /usr/lib64/qt4/bin/moc: Command not found
make[2]: *** [qdbusconnection.moc] Error 127
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

However,

# echo $QTDIR
/usr/qt/3

So I don't know where that path is coming from.
Comment 5 radfoj 2006-01-02 16:54:40 UTC
(In reply to comment #3)
> Fixed in 0.60-r2... please test... it will be coming out of mask soon.

Just synced and dbus-0.60-r2 failed here

Making all in qt
make[2]: Entering directory `/var/tmp/portage/dbus-0.60-r2/work/dbus-0.60/qt'
/usr/lib/qt4/bin/moc -o qdbusconnection.moc ../qt/qdbusconnection_p.h
make[2]: /usr/lib/qt4/bin/moc: Command not found
make[2]: *** [qdbusconnection.moc] Error 127
make[2]: Leaving directory `/var/tmp/portage/dbus-0.60-r2/work/dbus-0.60/qt'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dbus-0.60-r2/work/dbus-0.60'
make: *** [all] Error 2

!!! ERROR: sys-apps/dbus-0.60-r2 failed.
!!! Function src_compile, Line 100, Exitcode 2
!!! make failed


Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-01-03 09:50:38 UTC
*** Bug 117624 has been marked as a duplicate of this bug. ***
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-01-03 09:51:20 UTC
No workie with -r3 either, reopen.
Comment 8 Doug Goldstein (RETIRED) gentoo-dev 2006-01-03 12:12:05 UTC
jstubbs, -r2 & -r3 (which are the same ebuild... just some mirrors got the initscript before I fixed it so I revbumped) use your QT3 patch.

I've done everything and THEN some right. You are all correct. dbus will not compile against QT4, it will compile against QT3. However the QT4 install on your system is providing a QTDIR environment variable that is basically not being changed by the qt3.eclass.

At this point the bugs lie with the eclass or with the way QT is installed. Reassigning this stuff to QT people to fix their stuff.
Comment 9 Caleb Tennis (RETIRED) gentoo-dev 2006-01-03 12:52:05 UTC
qt4 doesn't use QTDIR.
Comment 10 Caleb Tennis (RETIRED) gentoo-dev 2006-01-03 12:59:36 UTC
The ebuild has this:

myconf="${myconf} --enable-qt3=${QTDIR} QT_MOC=${QTDIR}/bin/moc"

It needs to be QT3_MOC=${QTDIR}/bin/moc

QT_MOC should equal /usr/bin/moc (it's the qt4 moc).
Comment 11 Caleb Tennis (RETIRED) gentoo-dev 2006-01-03 13:17:35 UTC
You may also need to pass --disable-qt if you're not wanting to build the Qt4 stuff.

The configure.in file of the package has this:

QT_MOC=`$PKG_CONFIG --variable=exec_prefix QtCore`
QT_MOC=${QT_MOC}/bin/moc

Which doesn't work.  QT_MOC needs to be /usr/bin/moc.

This looks like an upstream issue - relying on that prefix as the install place for MOC isn't very robust.
Comment 12 Caleb Tennis (RETIRED) gentoo-dev 2006-01-03 14:21:05 UTC
The prefix of qt4 as /usr/lib/qt4 is basically a result of the fact that it isn't possible to build Qt with a prefix that's not the same place as the libraries would be installed to.  This may be fixed in qt 4.1.0 - I'll check.  

If it's still not fixed, I'll plan to fix the Qt.pc files to set the directories to what other programs expect to see, such as this one.
Comment 13 Caleb Tennis (RETIRED) gentoo-dev 2006-01-04 06:04:34 UTC
pkgconfig fixed in qt-4.1.0-r1.
Comment 14 Doug Goldstein (RETIRED) gentoo-dev 2006-01-04 10:27:02 UTC
Caleb, my issue is still the fact that if you have QT3 and QT4 installed. There is an environment variable set to QTDIR=/usr/lib/qt4.

When I import the qt3 eclass, everyone expects QTDIR to be set to the QT3 settings, not to remain with the QT4 settings.
Comment 15 Caleb Tennis (RETIRED) gentoo-dev 2006-01-04 10:39:48 UTC
Nowhere does QTDIR get set to /usr/lib/qt4.

See comment #11 for where this is coming from.
Comment 16 Andrey Falko 2006-01-05 13:00:40 UTC
I do not think that it is a problem with qt. I just recompiled libdbus with USE="-qt", and substiquently recompiled vlc (which depends on libdbus), but libdbus (libdbus-1.so.1) still does not load.
Comment 17 Doug Goldstein (RETIRED) gentoo-dev 2006-01-05 18:21:02 UTC
run revdep-rebuild, follow the instructions @ the end of the ebuild.
Comment 18 Jan Oravec 2006-01-10 16:53:00 UTC
I have:
[ebuild   R   ] x11-libs/qt-4.1.0-r1  USE="cups gif jpeg mng mysql opengl png zlib -accessibility -debug -doc -examples -nas -nis -odbc -postgres -sqlite -xinerama" 0 kB 

While building dbus-0.60-r3 I get the following error (note that the conversion from dbus_int32_t few lines above did not fail).

x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtCore -DDBUS_COMPILATION -DDBUS_API_SUBJECT_TO_CHANGE=1 -march=opteron -O3 -pipe -fomit-frame-pointer -MT qdbusmarshall.lo -MD -MP -MF .deps/qdbusmarshall.Tpo -c ../qt/qdbusmarshall.cpp  -fPIC -DPIC -o .libs/qdbusmarshall.o
../qt/qdbusmarshall.cpp: In function `QVariant qFetchParameter(DBusMessageIter*)':
../qt/qdbusmarshall.cpp:72: error: conversion from `dbus_int64_t' to `QVariant' is ambiguous
/usr/include/qt4/QtCore/qvariant.h:150: note: candidates are: QVariant::QVariant(const char*) <near match>
/usr/include/qt4/QtCore/qvariant.h:149: note:                 QVariant::QVariant(double)
/usr/include/qt4/QtCore/qvariant.h:148: note:                 QVariant::QVariant(bool)
/usr/include/qt4/QtCore/qvariant.h:147: note:                 QVariant::QVariant(qulonglong)
/usr/include/qt4/QtCore/qvariant.h:146: note:                 QVariant::QVariant(qlonglong)
/usr/include/qt4/QtCore/qvariant.h:145: note:                 QVariant::QVariant(uint)
/usr/include/qt4/QtCore/qvariant.h:144: note:                 QVariant::QVariant(int)
/usr/include/qt4/QtCore/qvariant.h:136: note:                 QVariant::QVariant(QVariant::Type) <near match>
../qt/qdbusmarshall.cpp:74: error: conversion from `dbus_uint64_t' to `QVariant' is ambiguous
/usr/include/qt4/QtCore/qvariant.h:150: note: candidates are: QVariant::QVariant(const char*) <near match>
/usr/include/qt4/QtCore/qvariant.h:149: note:                 QVariant::QVariant(double)
/usr/include/qt4/QtCore/qvariant.h:148: note:                 QVariant::QVariant(bool)
/usr/include/qt4/QtCore/qvariant.h:147: note:                 QVariant::QVariant(qulonglong)
/usr/include/qt4/QtCore/qvariant.h:146: note:                 QVariant::QVariant(qlonglong)
/usr/include/qt4/QtCore/qvariant.h:145: note:                 QVariant::QVariant(uint)
/usr/include/qt4/QtCore/qvariant.h:144: note:                 QVariant::QVariant(int)
/usr/include/qt4/QtCore/qvariant.h:136: note:                 QVariant::QVariant(QVariant::Type) <near match>
make[2]: *** [qdbusmarshall.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/dbus-0.60-r3/work/dbus-0.60/qt'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dbus-0.60-r3/work/dbus-0.60'
make: *** [all] Error 2

The problem may be here (while configuring dbus):

checking 64-bit integer type... long

Obviously, types 'long' and 'long long' aren't compatible even if sizeof() is same.
Comment 19 Sandro Bonazzola (RETIRED) gentoo-dev 2006-01-12 11:30:37 UTC
Here quite the same behaviour:
[ebuild     U ] sys-apps/dbus-0.60-r3 [0.50-r2] USE="X gtk python qt xml2 -debug -doc -gcj" 0 kB

./qt/qdbusmarshall.cpp: In function `QVariant qFetchParameter(DBusMessageIter*)':
../qt/qdbusmarshall.cpp:72: error: conversion from `dbus_int64_t' to `QVariant' is ambiguous
/usr/include/qt4/QtCore/qvariant.h:150: note: candidates are: QVariant::QVariant(const char*) <near match>
/usr/include/qt4/QtCore/qvariant.h:149: note:                 QVariant::QVariant(double)
/usr/include/qt4/QtCore/qvariant.h:148: note:                 QVariant::QVariant(bool)
/usr/include/qt4/QtCore/qvariant.h:147: note:                 QVariant::QVariant(qulonglong)
/usr/include/qt4/QtCore/qvariant.h:146: note:                 QVariant::QVariant(qlonglong)
/usr/include/qt4/QtCore/qvariant.h:145: note:                 QVariant::QVariant(uint)
/usr/include/qt4/QtCore/qvariant.h:144: note:                 QVariant::QVariant(int)
/usr/include/qt4/QtCore/qvariant.h:136: note:                 QVariant::QVariant(QVariant::Type) <near match>
../qt/qdbusmarshall.cpp:74: error: conversion from `dbus_uint64_t' to `QVariant' is ambiguous
/usr/include/qt4/QtCore/qvariant.h:150: note: candidates are: QVariant::QVariant(const char*) <near match>
/usr/include/qt4/QtCore/qvariant.h:149: note:                 QVariant::QVariant(double)
/usr/include/qt4/QtCore/qvariant.h:148: note:                 QVariant::QVariant(bool)
/usr/include/qt4/QtCore/qvariant.h:147: note:                 QVariant::QVariant(qulonglong)
/usr/include/qt4/QtCore/qvariant.h:146: note:                 QVariant::QVariant(qlonglong)
/usr/include/qt4/QtCore/qvariant.h:145: note:                 QVariant::QVariant(uint)
/usr/include/qt4/QtCore/qvariant.h:144: note:                 QVariant::QVariant(int)
/usr/include/qt4/QtCore/qvariant.h:136: note:                 QVariant::QVariant(QVariant::Type) <near match>
make[2]: *** [qdbusmarshall.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/dbus-0.60-r3/work/dbus-0.60/qt'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dbus-0.60-r3/work/dbus-0.60'
make: *** [all] Error 2


emerge --info
Portage 2.1_pre3-r1 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.3.6-r2, 2.6.14-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.14-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.0_pre13
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2
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-r1
sys-devel/binutils:  2.16.1-r1
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=" -march=athlon64 -O2 -pipe -fforce-addr -ffast-math -msse2 -ftracer -m3dnow "
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/share/X11/xkb /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS=" -march=athlon64 -O2 -pipe -fforce-addr -ffast-math -msse2 -ftracer -m3dnow "
DISTDIR="/home/ftp/distfiles"
FEATURES="autoconfig ccache collision-protect confcache cvs distlocks elog multilib-strict parallel-fetching sandbox sfperms strict stricter test userpriv"
GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo/ http://gentoo.osuosl.org/ http://mirror.ovh.net/gentoo-distfiles/ ftp://ftp.heanet.ie/pub/gentoo/ http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ ftp://ftp.unina.it/pub/linux/distributions/gentoo http://gentoo.ngi.it http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ "
LANG="it_IT.utf8"
LINGUAS="it"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 7zip X a52 aac aalib acl acpi alsa apache2 arts asf audiofile avi berkdb bitmap-fonts bzip2 cairo canvas cdb cdparanoia cdr chroot cpudetection crypt cups curl dba dbus directfb dlloader dri dts dv dvd dvdr dynagraph emboss encode erandom esd exif expat fam ffmpeg firefox flac foomaticdb gd gdbm ggi gif gimp gimpprint glibc-omitfp glut gmp gnome gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 guile hal idn ieee1394 imagemagick imlib ipv6 ithreads java jbig jikes jpeg jpeg2k junit justify kde kdeenablefinal lcms ldap libcaca libwww linuxthreads-tls lm_sensors logitech-mouse logrotate lzo lzw lzw-tiff mad mailwrapper mdb mhash mikmod mmap mng motif mozsvg mp3 mpeg mpm-worker musicbrainz mysql ncurses nls nptl nptlonly numeric nvidia odbc offensive ogg openal openexr opengl oss pam pcre pcsc-lite pdflib perl php png ppds python qt quicktime readline rtc samba scanner sdl slang smp snmp speex spell ssl subversion svg sysfs tcltk tcpd test tetex tga theora threads tiff timidity truetype truetype-fonts type1-fonts udev unicode usb userlocales utf8 vcd vda vorbis wmf xine xinerama xml2 xmms xpm xv xvid zlib elibc_glibc kernel_linux linguas_it userland_GNU"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, MAKEOPTS

I'll attach complete log file.
Comment 20 Sandro Bonazzola (RETIRED) gentoo-dev 2006-01-12 11:39:47 UTC
Created attachment 76928 [details]
complete log

complete log of dbus compilation.
Comment 21 Guy 2006-01-14 21:26:24 UTC
I'm having the exact same problem with qt - 

The other two people with the problem here are both running x86_64 based systems. And so am I.

Perhaps there were two different problems we're dealing with here. One with problems with env values and a second with AMD64. Of course, I haven't any real clue because I'm not a programmer.

I will say that both the Athlon XP based systems I maintain had no problem with dbus-0.60-r3.

.oOo.

Portage 2.1_pre3-r1 (default-linux/amd64/2005.0, gcc-3.4.5, glibc-2.3.6-r2, 2.6.14.5 x86_64)
=================================================================
System uname: 2.6.14.5 x86_64 AMD Opteron(tm) Processor 242
Gentoo Base System version 1.12.0_pre14
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.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-r1
sys-devel/binutils:  2.16.1-r1
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="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/fax /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
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 a52 aac aalib accessibility acl acpi aim alsa apache2 arts audiofile avi bash-completion berkdb bitmap-fonts bmp bonobo browserplugin bzip2 cdparanoia cdr chroot crypt cups curl curlwrappers directfb divx4linux dv dvd dvdr dvdread eds emboss encode esd ethereal examples exif expat fam fbcon ffmpeg flac flash foomaticdb fortran gcj gd gd-external gdbm gif gimp gimpprint glut gmp gnome gnutils gpm gstreamer gtk gtk2 gtkhtml guile hal hardenedphp icq idn imagemagick imlib ipv6 irc jabber java javascript jikes jpeg junit kde kerberos lcms ldap libcaca libedit libwww lm_sensors lzw lzw-tiff mad mhash mikmod mime ming mmap mng motif mozcalendar mozilla mozsvg mp3 mpeg mysql nas ncurses nls nptl nsplugin odbc offensive ogg oggvorbis openal opengl pam pcre pda pdflib perl php png portaudio posix postgres ppds python qt quicktime readline recode ruby samba scanner sdl shorten simplexml slang slp sndfile snmp sockets sox speex spell spl sqlite ssl svg tckltk tcltk tcpd tetex theora threads tidy tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l vcd vchroot verbose vhosts videos vorbis wmf wxgtk1 xface xine xinerama xml xml2 xmlrpc xmms xpm xprint xscreensaver xsl xv xvid yahoo zeo zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 22 Guy 2006-01-14 21:37:42 UTC
info for Athlon XP based system with successful dbus-0.60-r3 compile. As you can see, their configurations are virtually identical.

.oOo.

Portage 2.1_pre3-r1 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.6-r2, 2.6.14.5 i686)
=================================================================
System uname: 2.6.14.5 i686 AMD Athlon(tm) XP 3000+
Gentoo Base System version 1.12.0_pre14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5, 2.4.2
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-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mtune=athlon-xp -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/2/share/config /usr/kde/3.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/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-mtune=athlon-xp -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo ftp://206.75.217.181/ ftp://gentoo.ccccom.com"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://129.89.70.108/gentoo-portage"
USE="x86 3dnow X Xaw3d a52 aac aalib acc accessibility acl alsa apache2 apm arts audiofile avi avifile berkdb bitmap-fonts bonobo bzip2 cdr crypt cups curl dga directfb divx4linux doc dts dv dvd dvdr dvdread eds emboss encode esd ethereal exif expat fam fbcon ffmpeg flac flash font-server foomaticdb fortran freetds gcj gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile hal icq idn imagemagic imagemagick imlib innodb ipv6 jabber java jikes jpeg junit kde lcms ldap lesstiff libcaca libg++ libwww lzo mad maildir mhash mikmod ming mjpeg mmx mng motif mozilla mozsvg mp3 mpeg musepack mysql nas ncurses nls nsplugin odbc offensive ogg oggvorbis opengl oss pam pcre pda pdflib perl png postgres ppds python qt quicktime readline real samba scanner sdl slang speex spell ssl svga tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis win32codecs winf wxwindows xanim xeo xine xinerama xml xml2 xmms xprint xv xvid yahoo zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 23 Mario Liehr 2006-01-16 04:08:41 UTC
It is an issue of AMD64. see http://comments.gmane.org/gmane.comp.freedesktop.dbus/3574

please find enclosed a patch for the dbus ebuild and the patchfile, which must be placed in the files directory
Comment 24 Mario Liehr 2006-01-16 04:11:57 UTC
Created attachment 77248 [details, diff]
patch for the ebuild
Comment 25 Mario Liehr 2006-01-16 04:12:57 UTC
Created attachment 77249 [details]
patch file which must be places in the files dir
Comment 26 Jory A. Pratt 2006-01-19 19:07:56 UTC
*** Bug 119633 has been marked as a duplicate of this bug. ***
Comment 27 Jakub Moc (RETIRED) gentoo-dev 2006-01-25 09:49:25 UTC
*** Bug 120318 has been marked as a duplicate of this bug. ***
Comment 28 Jakub Moc (RETIRED) gentoo-dev 2006-01-27 08:04:45 UTC
*** Bug 120538 has been marked as a duplicate of this bug. ***
Comment 29 Doug Goldstein (RETIRED) gentoo-dev 2006-02-01 07:42:24 UTC
Please test with dbus-0.60-r4
Comment 30 Mario Liehr 2006-02-01 13:00:41 UTC
For me, it is working.
Comment 31 Sandro Bonazzola (RETIRED) gentoo-dev 2006-02-01 13:31:40 UTC
Seems to work fine here.
Comment 32 Stuart Haas 2006-02-02 17:50:14 UTC
Yeah, compiles now, but creates a new problem:

There is no mono cflag for dbus.

-----
Call stack:
 ebuild.sh, line 1910:   Called dyn_setup
 ebuild.sh, line 653:   Called pkg_setup

!!! dbus without mono support detected
!!! If you need support, post the topmost build error, and the call stack if relevant.


Comment 33 Doug Goldstein (RETIRED) gentoo-dev 2006-02-02 18:01:20 UTC
Stuart, if you're on AMD64. Then the AMD64 team has use.mask'd mono out. The latest version of Portage 2.1_pre4, respects use.mask above all. So if you have dbus compiled with mono support but it's in use.mask... no matter what it's going to override to -mono.