Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 115178

Summary: epiphany-1.6.4 needs dbus 0.34 but depends on 0.22
Product: Gentoo Linux Reporter: Sander Sweers <Sander.Sweers>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sander Sweers 2005-12-11 03:45:28 UTC
Epiphany fails to build with the dbus use flag because it wants dbus-0.34 or
higher. However dbus 0.3x and 0.5x are still marked ~amd64?

Reproducible: Always
Steps to Reproduce:
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-12-11 03:56:14 UTC
No, it does not need dbus-0.34, configure script checks for dbus functions
available and then decides which version it will compile against. 

Post emerge --info and some error messages and reopen then.
Comment 2 Sander Sweers 2005-12-11 04:08:26 UTC
I now habe dbus 0.3 installed so it will not faul anymore but below is what
scrolls on my screen.

checking whether DBUS support is requested... yes
checking for new DBUS API... yes
checking for dbus-1 >= 0.34 dbus-glib-1 >= 0.34... yes
checking DBUS_CFLAGS... -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  
checking DBUS_LIBS... -ldbus-glib-1 -ldbus-1 -lglib-2.0

configure.ac says 0.34

if test "x$enable_dbus" = "xyes" ; then

        AC_MSG_CHECKING([for new DBUS API])

        _SAVE_LDFLAGS="$LDFLAGS"
        LDFLAGS="$LDFLAGS `$PKG_CONFIG --libs dbus-1`"
       
AC_TRY_LINK_FUNC([dbus_message_iter_get_boolean],[have_new_dbus=no],[have_new_dbus=yes])
        LDFLAGS="$_SAVE_LDFLAGS"

        AC_MSG_RESULT([$have_new_dbus])

        if test "x$have_new_dbus" = "xyes"; then
                AC_DEFINE([HAVE_NEW_DBUS],[1],[Define if compiling with DBUS 0.3])

                DBUS_REQUIRED=0.34

*********
Portage 2.0.51.22-r3 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.6-r1,
2.6.15-rc5 x86_64)
=================================================================
System uname: 2.6.15-rc5 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
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.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -Os -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -s -Wl,--as-needed -Wl,-Bdirect"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X aac aalib alsa apache2 audiofile avi berkdb bitmap-fonts bzip2 cdr
crypt cups dbus dvd dvdr eds emboss encode esd exif expat fam flac foomaticdb
fortran gd gif glut gmp gnome gnutls gpm gstreamer gtk gtk2 guile hal howl imlib
ipv6 java jpeg lcms ldap libcaca lzw lzw-tiff mad mng mozilla mp3 mpeg ncurses
network nls nptl ogg oggvorbis opengl oss pam pdflib perl png python qt
quicktime readline sdl speex spell ssl tcpd theora tiff truetype truetype-fonts
type1-fonts udev unicode usb userlocales v4l v4l2 vorbis wmf xml2 xpm xprint xv
xvid zlib video_cards_r300 video_cards_radeon userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS
Comment 3 Sander Sweers 2005-12-11 04:09:57 UTC
Forhot to reopen...
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-12-11 04:13:56 UTC
> LDFLAGS="-Wl,-O1 -Wl,--sort-common -s -Wl,--as-needed -Wl,-Bdirect"

-Wl,--as-needed breaks the checks, don't use it.

*** This bug has been marked as a duplicate of 98096 ***