Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139795 - net-im/gossip-0.12 fails to compile with USE=-dbus
Summary: net-im/gossip-0.12 fails to compile with USE=-dbus
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-09 10:26 UTC by Daniel Westermann-Clark
Modified: 2006-08-01 09:33 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Westermann-Clark 2006-07-09 10:26:50 UTC
net-im/gossip-0.12 fails to compile when the dbus USE flag is off.  The error here is:

Making all in src
make[2]: Entering directory `/var/tmp/portage/gossip-0.12/work/gossip-0.12/src'
(cd . && \
glib-genmarshal --prefix=gossip_marshal gossip-marshal.list --header) > xgen-gmh \
&& (cmp -s xgen-gmh gossip-marshal.h || cp xgen-gmh gossip-marshal.h) \
&& rm -f xgen-gmh xgen-gmh~
(cd . && \
glib-genmarshal --prefix=gossip_marshal gossip-marshal.list --body) > xgen-gmc \
&& cp xgen-gmc gossip-marshal.c \
&& rm -f xgen-gmc xgen-gmc~
/bin/sh ../libtool --mode=execute  --prefix=gossip_dbus --mode=glib-server --output=gossip-dbus-glue.h ./gossip-dbus.xml
libtool: unrecognized option `--prefix=gossip_dbus'
Try `libtool --help' for more information. make[2]: *** [gossip-dbus-glue.h] Error 1 make[2]: Leaving directory `/var/tmp/portage/gossip-0.12/work/gossip-0.12/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gossip-0.12/work/gossip-0.12' make: *** [all] Error 2

  !!! ERROR: net-im/gossip-0.12 failed.
Call stack:
   ebuild.sh, line 1539:   Called dyn_compile
   ebuild.sh, line 939:   Called src_compile
   ebuild.sh, line 1248:   Called gnome2_src_compile
   gnome2.eclass, line 64:   Called die

!!! compile failure
!!! If you need support, post the topmost build error, and the call stack if relevant.

On the same system, it installs fine with the dbus USE flag in effect.

emerge --info:

Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16.19 i686)
=================================================================
System uname: 2.6.16.19 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.6.15
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
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-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks metadata-transfer notitles sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LC_ALL="en_US.UTF-8"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/perl-catalyst /usr/local/overlays/perl-cpanplus /usr/local/overlays/perl-datetime /usr/local/overlays/perl-other /usr/local/overlays/perl-poe /usr/local/overlays/perl-rose"
SYNC="rsync://dwc.homedns.org/gentoo-portage"
USE="x86 3dnow X a52 aac aalib acl acpi alsa apm avi berkdb bitmap-fonts bzip2 cdr cli crypt cups divx4linux dlloader dri dvd eds emacs emboss encode fbcon flac foomaticdb fortran gdbm gif gnome gnutls gpm gstreamer gtk gtk2 gtkhtml imlib ipv6 isdnlog jpeg kde libg++ libwww live mad maildir mikmod mmx motif mozilla mp3 mpeg ncurses network nls nptl nsplugin ogg opengl oss pam pcre pda pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection samba sdl session speex spell spl ssl tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode usb v4l vorbis win32codecs xml xml2 xorg xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_fbdev video_cards_nv video_cards_nvidia video_cards_v4l video_cards_vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 foser (RETIRED) gentoo-dev 2006-07-31 14:21:28 UTC
I am unable to reproduce this with 0.12 or 0.13 . What version of dbus are you using ?
Comment 2 Daniel Westermann-Clark 2006-08-01 09:33:04 UTC
Thanks for trying to reproduce the problem.  I'm using sys-apps/dbus-0.61-r1.

Strangely enough I can't reproduce the original error with libtool anymore, but with 0.12 I'm getting a new error:

if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..  -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DPREFIX="\"/usr"\" -DSYSCONFDIR=\""/etc"\" -DDATADIR=\""/usr/share"\" -DLIBDIR=\""/usr/lib"\" -DGLADEDIR=\"/usr/share/gossip\" -DIMAGEDIR=\"/usr/share/gossip\" -DPROTOCOLSDIR=\"/usr/share/gossip/protocols\" -DSTYLESHEETDIR=\"/usr/share/gossip\" -DDTDDIR=\"/usr/share/gossip\" -DDBUS_API_SUBJECT_TO_CHANGE -DORBIT2=1 -pthread -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/libglade-2.0 -I/usr/include/loudmouth-1.0 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gnome-keyring-1 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/freetype2      -march=athlon-xp -O2 -pipe -MT gossip-main.o -MD -MP -MF ".deps/gossip-main.Tpo" -c -o gossip-main.o gossip-main.c; \
then mv -f ".deps/gossip-main.Tpo" ".deps/gossip-main.Po"; else rm -f ".deps/gossip-main.Tpo"; exit 1; fi
In file included from gossip-main.c:48:
gossip-dbus.h:24:28: dbus/dbus-glib.h: No such file or directory
make[4]: *** [gossip-main.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/var/tmp/portage/gossip-0.12/work/gossip-0.12/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/gossip-0.12/work/gossip-0.12/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/gossip-0.12/work/gossip-0.12/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gossip-0.12/work/gossip-0.12'
make: *** [all] Error 2

!!! ERROR: net-im/gossip-0.12 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  ebuild.sh, line 1248:   Called gnome2_src_compile
  gnome2.eclass, line 64:   Called die

This is already fixed:

http://cvs.gnome.org/viewcvs/gossip/src/gossip-main.c?r1=1.39&r2=1.40

Indeed, 0.13 installs and runs fine here with USE=-dbus.