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

Bug 120246

Summary: dbus-0.60-r3 fails to build on x86 with +python
Product: Gentoo Linux Reporter: James Hood <jimmycap>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: decamps
Priority: High    
Version: 2005.1   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description James Hood 2006-01-24 17:54:26 UTC
Build error when trying to emerge dbus. I attempted setting MAKEOPTS="-j1" (suggested from Bug 117960 ) and emerging again but received the same error.

This is an upgrade from 0.23.4-r1 and the use flags are set as follows:
+X -debug -doc -gcj +gtk -mono +python -qt (-selinux) +xml2

Running this with -python allowed me to sidestep the issue.

Error:
make[3]: Entering directory `/var/tmp/portage/dbus-0.60-r3/work/dbus-0.60/python'
/usr/bin/python ./extract.py ./dbus_bindings.pxd.in -I./..  -I. > dbus_bindings.pxd.tmp && mv dbus_bindings.pxd.tmp dbus_bindings.pxd
running echo '#include "dbus_h_wrapper.h"
'|cpp  -I./.. -I.pyrexc ./dbus_bindings.pyx -I. -o ./dbus_bindings.c
Traceback (most recent call last):
  File "/usr/bin/pyrexc", line 7, in ?
    from Pyrex.Compiler.Main import main
ImportError: No module named Pyrex.Compiler.Main
make[3]: *** [dbus_bindings.c] Error 1
make[3]: Leaving directory `/var/tmp/portage/dbus-0.60-r3/work/dbus-0.60/python'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/dbus-0.60-r3/work/dbus-0.60/python'
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.0.54 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, 2.6.14-gentoo-r5 i686)
=================================================================
System uname: 2.6.14-gentoo-r5 i686 AMD Sempron(tm) Processor 3100+
Gentoo Base System version 1.6.14
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
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/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ http://ftp.easynet.nl/mirror/gentoo/  ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://gentoo.osuosl.org/"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://orsino.hoodnetwork/gentoo-portage"
USE="x86 X alsa apm arts audiofile avi berkdb bitmap-fonts bzip2 crypt cups eds emacs emboss encode esd exif expat fam firefox foomaticdb fortran gdbm gif glut gnome gpm gstreamer gtk gtk2 gtkhtml hal howl imlib ipv6 jpeg lcms libg++ libwww mad mikmod mng motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts udev vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY


And just in case it matters (though I don't think it does)
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.4
 [7] i686-pc-linux-gnu-3.4.4-hardened
 [8] i686-pc-linux-gnu-3.4.4-hardenednopie
 [9] i686-pc-linux-gnu-3.4.4-hardenednopiessp
 [10] i686-pc-linux-gnu-3.4.4-hardenednossp
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-01-24 23:58:57 UTC

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