Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100909 - dbus-0.23.4-r1 fails to compile (different reason from #90927 and #99345)
Summary: dbus-0.23.4-r1 fails to compile (different reason from #90927 and #99345)
Status: VERIFIED DUPLICATE of bug 97656
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-31 10:22 UTC by Francesco Munda
Modified: 2005-07-31 10:37 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 Francesco Munda 2005-07-31 10:22:49 UTC
The building of dbus-0.23.4-r1 fails with the following error:

=========
[...]
make[3]: Entering directory `/var/tmp/portage/dbus-0.23.4-r1/work/dbus-0.23.4/python'
/usr/bin/python extract.py dbus_bindings.pyx.in -I..  > dbus_bindings.pyx
running echo '#include "dbus_h_wrapper.h"
'|cpp  -I..pyrexc dbus_bindings.pyx
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 (ignored)
if /bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../
dbus  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/libxml2   -I/usr/include/
python2.4  -DDBUS_API_SUBJECT_TO_CHANGE=1   -march=athlon-xp -pipe -O3 -Wall -Wchar-
subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -
Wcast-align -Wfloat-equal -Wsign-compare -MT dbus_bindings.lo -MD -MP -MF ".deps/
dbus_bindings.Tpo" -c -o dbus_bindings.lo dbus_bindings.c; \
then mv -f ".deps/dbus_bindings.Tpo" ".deps/dbus_bindings.Plo"; else rm -f ".deps/
dbus_bindings.Tpo"; exit 1; fi
mkdir .libs
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../dbus -I/usr/include/glib-2.0 -I/usr/
lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/python2.4 -
DDBUS_API_SUBJECT_TO_CHANGE=1 -march=athlon-xp -pipe -O3 -Wall -Wchar-subscripts -
Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -
Wfloat-equal -Wsign-compare -MT dbus_bindings.lo -MD -MP -MF .deps/dbus_bindings.Tpo -c 
dbus_bindings.c  -fPIC -DPIC -o .libs/dbus_bindings.o
i686-pc-linux-gnu-gcc: dbus_bindings.c: No such file or directory
i686-pc-linux-gnu-gcc: no input files
make[3]: *** [dbus_bindings.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/dbus-0.23.4-r1/work/dbus-0.23.4/python'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/dbus-0.23.4-r1/work/dbus-0.23.4/python'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dbus-0.23.4-r1/work/dbus-0.23.4'
make: *** [all] Error 2

!!! ERROR: sys-apps/dbus-0.23.4-r1 failed.
!!! Function src_compile, Line 106, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
=========
gcc complains that it can't find source code, that should have been "prepared" in the previous 
step. Previous step fails because, well, one python script can't find itself! :-S

Reproducible: Always
Steps to Reproduce:
1. emerge -uDav world [ ;) ]
2.
3.
Actual Results:  
No matter the other packages, dbus fails with the above error.

Expected Results:  
A clean compile! :) Note: the "root" error seems the absurd:
===
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
===
Which seems rather odd, considering that it doesn't find itself!

This is NOT a duplicate of bugs #90927 and #99345 even if the package is the same.

Actually, in the bug #90927 there's more info about THIS bug (comment #2: http://bugs.
gentoo.org/show_bug.cgi?id=90927#c2 ) than related to that one.

My "emerge info" says:
=========
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.11-gentoo-r10 
i686)
=============================================================
====
System uname: 2.6.11-gentoo-r10 i686 AMD Athlon(TM) XP 2500+
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.11
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
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -pipe -O3"
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/lib/mozilla/defaults/pref /
usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon-xp -pipe -O3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X aac aalib acpi alsa apache2 apm arts avi berkdb bitmap-fonts bzip2 
cdr crypt cups curl divx4linux doc dvd eds emboss encode esd ethereal fam fbcon fbdev ffmpeg 
flac foomaticdb gd gdbm gif gnome gnutls gphoto2 gpm gtk gtk2 gtkhtml imagemagick imap 
imlib java javamail javascript jbig jpeg junit kde ldap libg++ libwww live mad mikmod mmx 
mmx2 modelock motif mozilla mozsvg mozxmlterm mp3 mpeg mysql ncurses network nls nptl 
nvidia offensive ogg oggvorbis opengl oss pam pcap pdflib perl png python qt quicktime readline 
rtc samba sdl slang spell sse ssl svg svga tcpd tetex threads tiff truetype truetype-fonts type1-
fonts v4l v4l2 vdesktop video_cards_nvidia video_cards_nvidiax86 vim-with-x vorbis 
win32codecs xine xml xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
=========

Note: the failed update so far seems having NO effect on the system. The system seems 
working fine with the old dbus-0.23.4.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-07-31 10:29:18 UTC

*** This bug has been marked as a duplicate of 97656 ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-07-31 10:29:47 UTC
.
Comment 3 Francesco Munda 2005-07-31 10:37:05 UTC
Ooops. I guess I didn't search enough! :9 Sorry, guys