Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 134150 - dbus-0.60-r4 fails to emerge with USE="gcj"
Summary: dbus-0.60-r4 fails to emerge with USE="gcj"
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Project Gentopia
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-23 14:21 UTC by Hamid Ohadi
Modified: 2006-05-28 15:35 UTC (History)
0 users

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 Hamid Ohadi 2006-05-23 14:21:47 UTC
I know that this was an issue with dbus-0.60-r3 but I still have this problem after upgrading. I'm pretty sure that the gcc is compiled with gcj. This is the error:

==============
compile error:
==============

/bin/sh ../../../../libtool --mode=compile i686-pc-linux-gnu-g++ -I../../../.. -I../../../../gcj/org/freedesktop/dbus   -O2 -march=i686 -pipe -DDBUS_API_SUBJECT_TO_CHANGE=1  -c -o 'natMessage.lo' 'natMessage.cc'
mkdir .libs
 i686-pc-linux-gnu-g++ -I../../../.. -I../../../../gcj/org/freedesktop/dbus -O2 -march=i686 -pipe -DDBUS_API_SUBJECT_TO_CHANGE=1 -c natMessage.cc  -fPIC -DPIC -o .libs/natMessage.o
In file included from natMessage.cc:8:
../../../../gcj/org/freedesktop/dbus/Message.h:31: error: global qualification of class name is invalid before ':' token
make[5]: *** [natMessage.lo] Error 1
make[5]: Leaving directory `/var/tmp/portage/dbus-0.60-r4/work/dbus-0.60/gcj/org/freedesktop/dbus'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/dbus-0.60-r4/work/dbus-0.60/gcj/org/freedesktop'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/dbus-0.60-r4/work/dbus-0.60/gcj/org'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/dbus-0.60-r4/work/dbus-0.60/gcj'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dbus-0.60-r4/work/dbus-0.60'
make: *** [all] Error 2

!!! ERROR: sys-apps/dbus-0.60-r4 failed.
Call stack:
  ebuild.sh, line 1527:   Called dyn_compile
  ebuild.sh, line 931:   Called src_compile
  dbus-0.60-r4.ebuild, line 111:   Called die

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

==============
emerge --info:
==============
Portage 2.1_rc2 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-suspend2-r4 i686)
=================================================================
System uname: 2.6.16-suspend2-r4 i686 Intel(R) Pentium(R) M processor 1.73GHz
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-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/share/config /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
MAKEOPTS="-j1"
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"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="x86 X alsa apm avi bash-completion gcj berkdb bitmap-fonts cli crypt cups dri eds emboss encode esd foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg libg++ libwww mad mikmod mmx mmxext motif mp3 mpeg ncurses nls nvidia ogg oggvorbis opengl oss pam pcre pdflib perl png pppd python quicktime readline reflection sdl session spell spl sse sse2 ssl tcpd truetype truetype-fonts type1-fonts vorbis xml2 xmms xorg xv zlib elibc_glibc initng_plugins_doc initng_plugins_also initng_plugins_bash_launcher initng_plugins_chdir initng_plugins_chroot initng_plugins_conflict initng_plugins_cpout initng_plugins_critical initng_plugins_cron initng_plugins_daemon initng_plugins_dev initng_plugins_dllaunch initng_plugins_envparser initng_plugins_find initng_plugins_fstat initng_plugins_history initng_plugins_idleprobe initng_plugins_initctl initng_plugins_interactive initng_plugins_iparser initng_plugins_last initng_plugins_limit initng_plugins_logfile initng_plugins_netprobe initng_plugins_ngc2 initng_plugins_pause initng_plugins_pidfile initng_plugins_reload initng_plugins_renice initng_plugins_rlparser initng_plugins_simple_launcher initng_plugins_stcmd initng_plugins_stdout initng_plugins_suid initng_plugins_syncron initng_plugins_syslog initng_plugins_unneeded input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux userland_GNU video_cards_nvidia video_cards_vesa video_cards_fbdev"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS

==============
gcc-config -l:
==============

 [1] i686-pc-linux-gnu-3.3.6
 [2] i686-pc-linux-gnu-3.3.6-hardened
 [3] i686-pc-linux-gnu-3.3.6-hardenednopie
 [4] i686-pc-linux-gnu-3.3.6-hardenednopiessp
 [5] i686-pc-linux-gnu-3.3.6-hardenednossp
 [6] i686-pc-linux-gnu-3.4.5 *
 [7] i686-pc-linux-gnu-3.4.5-hardened
 [8] i686-pc-linux-gnu-3.4.5-hardenednopie
 [9] i686-pc-linux-gnu-3.4.5-hardenednopiessp
 [10] i686-pc-linux-gnu-3.4.5-hardenednossp
Comment 1 Steev Klimaszewski (RETIRED) gentoo-dev 2006-05-27 22:00:09 UTC
what is the output of emerge -pv gcc ?
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2006-05-28 00:11:29 UTC
hrm.... We should get a new revision marked stable, Steve. GCJ is broken with 3.4.5 gcc... and they're not gonna fix it. There's a new not included with dbus, gcj implementation.
Comment 3 Hamid Ohadi 2006-05-28 06:42:57 UTC
(In reply to comment #1)
> what is the output of emerge -pv gcc ?
> 

$ emerge -pv gcc

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-devel/gcc-3.4.5-r1  USE="fortran gcj* gtk nls -bootstrap -boundschecking -build -doc -hardened -ip28 -multislot -nocxx -nopie -nossp -objc -vanilla" 0 kB
Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2006-05-28 07:13:55 UTC
What that's telling you is that gcc isn't built with gcj support... but if you recompile it then it will be. You're trying to build dbus using gcj, but you don't even have gcj on your system.

Like I said before.. gcj support isn't guarenteed and is probably broken. However trying to compile dbus with gcj support without even having gcc with gcj support built in with SURELY not work.

Closing.
Comment 5 Hamid Ohadi 2006-05-28 08:01:33 UTC
(In reply to comment #4)
> What that's telling you is that gcc isn't built with gcj support... but if you
> recompile it then it will be. You're trying to build dbus using gcj, but you
> don't even have gcj on your system.
> 
> Like I said before.. gcj support isn't guarenteed and is probably broken.
> However trying to compile dbus with gcj support without even having gcc with
> gcj support built in with SURELY not work.
> 
> Closing.
> 

please ignore that gcj in there. That's because I *switched back* to not using gcj for my gcc a couple of days ago.
Comment 6 Hamid Ohadi 2006-05-28 08:02:23 UTC
I'm opening the bug again. sorry
Comment 7 Steev Klimaszewski (RETIRED) gentoo-dev 2006-05-28 10:12:09 UTC
I am unable to reproduce this Hamid, I have gcc 3.4.5-r1 emerged with the gcj useflag, and dbus emerged fine with the gcj useflag here.  Please re-emerge gcc with the gcj useflag enabled and try again.
Comment 8 Hamid Ohadi 2006-05-28 11:34:40 UTC
ok in that case it must be something wrong with my system. Thanks anyway.
Comment 9 Doug Goldstein (RETIRED) gentoo-dev 2006-05-28 15:35:52 UTC
There's actually another bug somewhere that's been closed that someone had something similar with the headers being screwy. I forget what the fix was... but it involved re-emerging some package.