Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61503 - gnome-bluetooth-0.5.1 failed to ebuild
Summary: gnome-bluetooth-0.5.1 failed to ebuild
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Alastair Tse (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-24 06:00 UTC by gwbv
Modified: 2005-06-24 06:27 UTC (History)
2 users (show)

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


Attachments
log of emerge (typescript,174.39 KB, text/plain)
2005-04-25 07:26 UTC, gwbv
Details
failed emerge log (emerge_gnome-bluetooth.log,56.65 KB, text/plain)
2005-04-26 04:15 UTC, gwbv
Details
file content (gnomebt-controller.h,5.96 KB, text/plain)
2005-04-26 04:15 UTC, gwbv
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gwbv 2004-08-24 06:00:14 UTC
When doing
ACCEPT_KEYWORDS="~x86" emerge gnome-bluetooth, I always get the same compile errors

Reproducible: Always
Steps to Reproduce:
1.ACCEPT_KEYWORDS="~x86" emerge gnome-bluetooth
2.
3.

Actual Results:  
(cd .libs && rm -f libgnomebt.la && ln -s ../libgnomebt.la libgnomebt.la)
python /usr/share/pygtk/2.0/codegen/h2def.py -v gnomebt-controller.h >
gnomebt-controller.defs
No match:|extern "C" { GSList* channels|
No match:|int ref_count|
No match:|} GnomebtServiceDesc|
No match:|gchar* bdaddr|
No match:|guint deviceclass|
No match:|int ref_count|
No match:|} GnomebtDeviceDesc|
No match:|GnomebtControllerPrivate* _priv|
No match:|}|
No match:|}|
No match:|} |
pygtk-codegen-2.0 --prefix controller \
--register /usr/share/pygtk/2.0/defs/gtk-types.defs \
--override ./gnomebt-controller.override \
./gnomebt-controller.defs > gnomebt-controller-py.c
Could not write method
GnomebtController.gnomebt_controller_for_each_known_device_filtered: No ArgType
for 'GnomebtDeviceCallback'
Could not write method GnomebtController.gnomebt_controller_get_device_desc: No
ArgType for 'GnomebtDeviceDesc*'
Could not write method
GnomebtController.gnomebt_controller_for_each_known_device: No ArgType for
'GnomebtDeviceCallback'
Could not write function gnomebt_channel_list_free: No ArgType for 'GSList*'
Could not write function gnomebt_service_list_free: No ArgType for 'GSList*'
Could not write function gnomebt_device_desc_list_free: No ArgType for
'GSList*'Could not write function gnomebt_string_list_free: No ArgType for 'GSList*'
Could not write function gnomebt_entry_list_free: No ArgType for 'GSList*'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..  -g 
-I../intl       -DORBIT2=1 -pthread -I/usr/include/libglade-2.0
-I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include
-I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0
-I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-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/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/orbit-2.0
-I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0
-I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0
-I/usr/include/libbtctl         -I/usr/include 
-DDATA_DIR="\"/usr/share/gnome-bluetooth\""     -DORBIT2=1 -pthread
-I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2
-I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -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/gconf/2 -I/usr/include/libbonoboui-2.0
-I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0
-I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include
-I/usr/include/bonobo-activation-2.0 -I/usr/include/pygtk-2.0
-I/usr/include/libbtctl    -I/usr/include/python2.3    -I. -I../src  
-march=i686 -O3 -pipe -c gnomebt-controller-py.c
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -I../intl -DORBIT2=1 -pthread
-I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2
-I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -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/gconf/2 -I/usr/include/libbonoboui-2.0
-I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0
-I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include
-I/usr/include/bonobo-activation-2.0 -I/usr/include/libbtctl -I/usr/include
-DDATA_DIR=\"/usr/share/gnome-bluetooth\" -DORBIT2=1 -pthread
-I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2
-I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -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/gconf/2 -I/usr/include/libbonoboui-2.0
-I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0
-I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include
-I/usr/include/bonobo-activation-2.0 -I/usr/include/pygtk-2.0
-I/usr/include/libbtctl -I/usr/include/python2.3 -I. -I../src -march=i686 -O3
-pipe -c gnomebt-controller-py.c  -fPIC -DPIC -o .libs/gnomebt-controller-py.o
./gnomebt-controller.override: In function
`_wrap_gnomebt_controller_services_for_device':
./gnomebt-controller.override:90: parse error before `*'
./gnomebt-controller.override:92: `chanlist' undeclared (first use in this function)
./gnomebt-controller.override:92: (Each undeclared identifier is reported only once
./gnomebt-controller.override:92: for each function it appears in.)
make[2]: *** [gnomebt-controller-py.lo] Error 1
make[2]: Leaving directory
`/var/tmp/portage/gnome-bluetooth-0.5.1/work/gnome-bluetooth-0.5.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/gnome-bluetooth-0.5.1/work/gnome-bluetooth-0.5.1'
make: *** [all-recursive-am] Error 2

!!! ERROR: net-wireless/gnome-bluetooth-0.5.1 failed.
!!! Function gnome2_src_compile, Line 38, Exitcode 2
!!! compile failure



Expected Results:  
done ?

 # emerge info
Portage 2.0.50-r9 (default-1.0, gcc-2.95.3, glibc-2.2.5-r2,2.2.5-r9, 2.4.21)
=================================================================
System uname: 2.4.21 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.80GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=i686 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=i686 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X acpi acpi4linux alsa autofs avi berkdb bluetooth bonobo cdr crypt
cups encode esd gdbm gif gnome gnome-libs gpm gstreamer gtk gtk2 gtkhtml guile
imlib java jpeg kde libg++ libwww mbox mikmod mmx motif mozilla mpeg ncurses nls
oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang
spell ssl svga tcltk tcpd tetex tiff truetype x86 xml2 xmms xv"
Comment 1 Andrew Ross (RETIRED) gentoo-dev 2004-09-05 23:55:39 UTC
Works for me.

Portage 2.0.50-r10 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.8)
=================================================================
System uname: 2.6.8 i686 Intel(R) Pentium(R) M processor 1.70GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://mirror.pacific.net.au/gentoo http://mirror.pacific.net.au/linux/Gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="X acpi alsa apache2 avi bcmath berkdb bzlib caps cdr crypt cups divx4linux doc dvd encode fam gd gdbm gif gnome gpm gtk gtk2 guile imap imlib java jikes jpeg ldap libwww mad memlimit mmx motif mozilla mpeg mysql ncurses offensive oggvorbis opengl pam pdflib perl png python quicktime readline samba sdl slang spell sse ssl svg svga tcltk theora tiff truetype x86 xml2 xmms xv zlib"
Comment 2 Alastair Tse (RETIRED) gentoo-dev 2004-09-21 16:57:43 UTC
what version of libbtctl do you have installed? seems like the python bindings aren't being generated properly.
Comment 3 gwbv 2004-09-23 04:05:08 UTC
# emerge -p libbtctl

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     UD] net-wireless/libbtctl-0.3 [0.4.1]

So, it seems I already installed 0.4.1
Comment 4 Alastair Tse (RETIRED) gentoo-dev 2004-10-16 11:05:19 UTC
should be fixed now. thanks for the report.
Comment 5 gwbv 2004-10-22 02:56:41 UTC
I'm still getting the following error (should I refresh the package somehow?):

# ACCEPT_KEYWORDS="~x86" emerge gnome-bluetooth

...
gcc -shared  .libs/gnomebt-controller.o .libs/gnomebt-permissiondialog.o .libs/gnomebt-spinner.o .libs/gnomebt-chooser.o .libs/gnomebt-icons.o .libs/gnomebt-fileactiondialog.o   -march=i686 -Wl,-soname -Wl,libgnomebt.so.0 -o .libs/libgnomebt.so.0.0.0
(cd .libs && rm -f libgnomebt.so.0 && ln -s libgnomebt.so.0.0.0 libgnomebt.so.0)
(cd .libs && rm -f libgnomebt.so && ln -s libgnomebt.so.0.0.0 libgnomebt.so)
creating libgnomebt.la
(cd .libs && rm -f libgnomebt.la && ln -s ../libgnomebt.la libgnomebt.la)
python /usr/share/pygtk/2.0/codegen/h2def.py -v gnomebt-controller.h > gnomebt-controller.defs
No match:|extern "C" { GSList* channels|
No match:|int ref_count|
No match:|} GnomebtServiceDesc|
No match:|gchar* bdaddr|
No match:|guint deviceclass|
No match:|int ref_count|
No match:|} GnomebtDeviceDesc|
No match:|GnomebtControllerPrivate* _priv|
No match:|}|
No match:|}|
No match:|} |
pygtk-codegen-2.0 --prefix controller \
--register /usr/share/pygtk/2.0/defs/gtk-types.defs \
--override ./gnomebt-controller.override \
./gnomebt-controller.defs > gnomebt-controller-py.c
Could not write method GnomebtController.gnomebt_controller_for_each_known_device_filtered: No ArgType for 'GnomebtDeviceCallback'
Could not write method GnomebtController.gnomebt_controller_get_device_desc: No ArgType for 'GnomebtDeviceDesc*'
Could not write method GnomebtController.gnomebt_controller_for_each_known_device: No ArgType for 'GnomebtDeviceCallback'
Could not write function gnomebt_channel_list_free: No ArgType for 'GSList*'
Could not write function gnomebt_service_list_free: No ArgType for 'GSList*'
Could not write function gnomebt_device_desc_list_free: No ArgType for 'GSList*'
Could not write function gnomebt_string_list_free: No ArgType for 'GSList*'
Could not write function gnomebt_entry_list_free: No ArgType for 'GSList*'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..  -g  -I../intl       -DORBIT2=1 -pthread -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -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/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libbtctl     -I/usr/include        -DDATA_DIR="\"/usr/share/gnome-bluetooth\""     -DORBIT2=1 -pthread -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -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/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/pygtk-2.0 -I/usr/include/libbtctl    -I/usr/include/python2.3      -I. -I../src   -march=i686 -O3 -pipe -c gnomebt-controller-py.c
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -I../intl -DORBIT2=1 -pthread -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -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/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libbtctl -I/usr/include -DDATA_DIR=\"/usr/share/gnome-bluetooth\" -DORBIT2=1 -pthread -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -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/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/pygtk-2.0 -I/usr/include/libbtctl -I/usr/include/python2.3 -I. -I../src -march=i686 -O3 -pipe -c gnomebt-controller-py.c  -fPIC -DPIC -o .libs/gnomebt-controller-py.o
./gnomebt-controller.override: In function `_wrap_gnomebt_controller_services_for_device':
./gnomebt-controller.override:90: parse error before `*'
./gnomebt-controller.override:92: `chanlist' undeclared (first use in this function)
./gnomebt-controller.override:92: (Each undeclared identifier is reported only once
./gnomebt-controller.override:92: for each function it appears in.)
make[2]: *** [gnomebt-controller-py.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnome-bluetooth-0.5.1/work/gnome-bluetooth-0.5.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-bluetooth-0.5.1/work/gnome-bluetooth-0.5.1'
make: *** [all-recursive-am] Error 2

!!! ERROR: net-wireless/gnome-bluetooth-0.5.1 failed.
!!! Function gnome2_src_compile, Line 40, Exitcode 2
!!! compile failure
!!! If you need support, post the topmost build error, NOT this status message.
Comment 6 Paolo 2005-01-15 02:30:52 UTC
Another prob here:

 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -I../intl -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -DORBIT2=1 -pthread -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -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/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libbtctl -I/usr/include -DDATA_DIR=\"/usr/share/gnome-bluetooth\" -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -DORBIT2=1 -pthread -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -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/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/pygtk-2.0 -I/usr/include/libbtctl -I/usr/include/python2.3 -I. -I../src -march=pentium3 -c gnomebt-controller-pymodule.c  -fPIC -DPIC -o .libs/gnomebt-controller-pymodule.o
/bin/sh ../libtool --mode=link i686-pc-linux-gnu-gcc  -march=pentium3  -o controller.la -rpath /usr/lib/python2.3/site-packages/gnomebt/ -Wl,--export-dynamic -pthread -L/usr/X11R6/lib -lglade-2.0 -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lxml2 -lpthread -lz -lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgnomevfs-2 -lbonobo-2 -lbonobo-activation -lgconf-2 -lORBit-2 -lm -lgmodule-2.0 -ldl -lgthread-2.0 -lbtctl -lbluetooth -lsdp -lgobject-2.0 -lglib-2.0                          -Wl,--export-dynamic -pthread -L/usr/X11R6/lib -lglade-2.0 -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lxml2 -lpthread -lz -lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgnomevfs-2 -lbonobo-2 -lbonobo-activation -lgconf-2 -lORBit-2 -lm -lgmodule-2.0 -ldl -lgthread-2.0 -lbtctl -lbluetooth -lsdp -lgobject-2.0 -lglib-2.0                           -module -avoid-version gnomebt-controller-py.lo gnomebt-controller-pymodule.lo libgnomebt.la 
i686-pc-linux-gnu-gcc -shared  .libs/gnomebt-controller-py.o .libs/gnomebt-controller-pymodule.o  -Wl,--rpath -Wl,/var/tmp/portage/gnome-bluetooth-0.5.1-r1/work/gnome-bluetooth-0.5.1/src/.libs -L/usr/X11R6/lib -pthread /usr/lib/libglade-2.0.so /usr/lib/libgnomeui-2.so -lSM -lICE /usr/lib/libbonoboui-2.so /usr/lib/libxml2.so -lpthread -lz /usr/lib/libgnomecanvas-2.so /usr/lib/libgnome-2.so /usr/lib/libpopt.so /usr/lib/libart_lgpl_2.so /usr/lib/libpangoft2-1.0.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libgnomevfs-2.so /usr/lib/libbonobo-2.so /usr/lib/libbonobo-activation.so /usr/lib/libgconf-2.so /usr/lib/libORBit-2.so -lm /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libgthread-2.0.so /usr/lib/libbtctl.so /usr/lib/libbluetooth.so -lsdp /usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so ./.libs/libgnomebt.so  -march=pentium3 -Wl,--export-dynamic -Wl,--export-dynamic -Wl,-soname -Wl,controller.so -o .libs/controller.so
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lsdp
collect2: ld returned 1 exit status
make[2]: *** [controller.la] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnome-bluetooth-0.5.1-r1/work/gnome-bluetooth-0.5.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-bluetooth-0.5.1-r1/work/gnome-bluetooth-0.5.1'
make: *** [all-recursive-am] Error 2

!!! ERROR: net-wireless/gnome-bluetooth-0.5.1-r1 failed.
!!! Function gnome2_src_compile, Line 40, Exitcode 2
!!! compile failure
!!! If you need support, post the topmost build error, NOT this status message.

Same prob with 0.5.1 and with 0.5.1-r1 (using ~x86)

bash-2.05b# emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r1 i686)
=================================================================
System uname: 2.6.9-gentoo-r1 i686 Intel(R) Pentium(R) M processor 1400MHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.19-r1,sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ http://ftp.easynet.nl/mirror/gentoo/ http://ftp.iasi.roedu.net/mirrors/gentoo.org/ http://gentoo.mirror.sdv.fr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi acpi4linux alsa apache2 avi berkdb bitmap-fonts cdr crypt cups dvd encode esd ethereal f77 faac faad fam flac font-server fortran gd gdbm gif gimpprint gpm gstreamer gtk gtk2 gtkhtml guile icq imagemagick imlib imlib2 innodb ipv6 irda irmc java jpeg libg++ libwww lirc mad mmx motif mpeg msn mysql ncurses nls offensive oggvorbis operanom2 oscar pam pcap pdflib perl png pnp python quicktime readline samba sdl slang spell sse ssl svga tcltk tiff truetype truetype-fonts type1-fonts unicode usb x86 xface xml xml2 xmms xosd xv xvid yahoo zlib"
Comment 7 Paolo 2005-01-15 02:44:01 UTC
I think that the prob is here:

"./.libs/libgnomebt.so"

Looking at the last compile line that give the error.
Comment 8 gwbv 2005-02-03 13:23:44 UTC
I'm still having trouble getting gnome-bluetooth to compile. This time error is:

 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -I../intl -DORBIT2=1 -pthread -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -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/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libbtctl -I/usr/include -DDATA_DIR=\"/usr/share/gnome-bluetooth\" -DORBIT2=1 -pthread -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -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/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/pygtk-2.0 -I/usr/include/libbtctl -I/usr/include/python2.3 -I. -I../src -march=i686 -O3 -pipe -c gnomebt-controller.c  -fPIC -DPIC -o .libs/gnomebt-controller.o
In file included from gnomebt-controller.c:21:
gnomebt-controller.h:104: error: parse error before "BtctlController"
gnomebt-controller.h:104: warning: no semicolon at end of struct or union
gnomebt-controller.h:107: error: parse error before '}' token
gnomebt-controller.h:114: error: parse error before "BtctlControllerClass"
gnomebt-controller.h:114: warning: no semicolon at end of struct or union
gnomebt-controller.c:59: error: parse error before '*' token
gnomebt-controller.c:60: error: parse error before '*' token
gnomebt-controller.c:61: error: parse error before '*' token
gnomebt-controller.c:64: error: parse error before '*' token
gnomebt-controller.c:64: warning: data definition has no type or storage class
gnomebt-controller.c:128: error: parse error before '*' token
gnomebt-controller.c:129: error: parse error before '*' token
gnomebt-controller.c:130: error: parse error before '*' token
gnomebt-controller.c: In function `gnomebt_controller_get_type':
gnomebt-controller.c:139: error: invalid application of `sizeof' to an incomplete type
gnomebt-controller.c:145: error: invalid application of `sizeof' to an incomplete type
gnomebt-controller.c:150: error: `BTCTL_TYPE_CONTROLLER' undeclared (first use in this function)
gnomebt-controller.c:150: error: (Each undeclared identifier is reported only once
gnomebt-controller.c:150: error: for each function it appears in.)
controller.gob: In function `___dispose':
controller.gob:104: error: dereferencing pointer to incomplete type
controller.gob:104: error: dereferencing pointer to incomplete type
controller.gob:104: error: dereferencing pointer to incomplete type
gnomebt-controller.c: In function `___finalize':
gnomebt-controller.c:195: error: dereferencing pointer to incomplete type
gnomebt-controller.c: In function `gnomebt_controller_class_init':
gnomebt-controller.c:210: error: `BTCTL_TYPE_CONTROLLER' undeclared (first use in this function)
gnomebt-controller.c: In function `gnomebt_controller_init':
gnomebt-controller.c:225: error: dereferencing pointer to incomplete type
controller.gob:103: error: dereferencing pointer to incomplete type
controller.gob: In function `gnomebt_controller_get_device_name':
controller.gob:121: error: dereferencing pointer to incomplete type
controller.gob: In function `gnomebt_controller_set_device_alias':
controller.gob:139: error: dereferencing pointer to incomplete type
controller.gob: In function `gnomebt_controller_set_device_permission':
controller.gob:157: error: dereferencing pointer to incomplete type
controller.gob: In function `gnomebt_controller_get_device_permission':
controller.gob:172: error: dereferencing pointer to incomplete type
controller.gob: In function `gnomebt_controller_remove_device_alias':
controller.gob:188: error: dereferencing pointer to incomplete type
controller.gob: In function `gnomebt_controller_get_device_alias':
controller.gob:202: error: dereferencing pointer to incomplete type
controller.gob: In function `gnomebt_controller_get_device_class':
controller.gob:234: error: dereferencing pointer to incomplete type
controller.gob: In function `gnomebt_controller_services_for_device':
controller.gob:247: error: dereferencing pointer to incomplete type
controller.gob: In function `gnomebt_controller_channels_for_service':
controller.gob:285: error: dereferencing pointer to incomplete type
controller.gob: In function `gnomebt_controller_remove_device':
controller.gob:314: error: dereferencing pointer to incomplete type
controller.gob: In function `gnomebt_controller_remove_all_devices':
controller.gob:351: error: dereferencing pointer to incomplete type
controller.gob: In function `gnomebt_controller_for_each_known_device_filtered':controller.gob:370: error: dereferencing pointer to incomplete type
controller.gob: In function `gnomebt_controller_get_device_desc':
controller.gob:389: error: dereferencing pointer to incomplete type
controller.gob: At top level:
controller.gob:573: error: parse error before '*' token
controller.gob: In function `gnomebt_controller_add_device_callback':
controller.gob:578: error: `data' undeclared (first use in this function)
controller.gob:578: error: dereferencing pointer to incomplete type
controller.gob:580: error: `name' undeclared (first use in this function)
controller.gob:582: error: `clsid' undeclared (first use in this function)
controller.gob: At top level:
controller.gob:635: error: parse error before '*' token
controller.gob: In function `gnomebt_controller_device_name_callback':
controller.gob:640: error: `data' undeclared (first use in this function)
controller.gob:640: error: dereferencing pointer to incomplete type
controller.gob:641: error: `device' undeclared (first use in this function)
controller.gob:643: error: `name' undeclared (first use in this function)
controller.gob: At top level:
controller.gob:650: error: parse error before '*' token
controller.gob: In function `gnomebt_controller_add_device_service_callback':
controller.gob:655: error: `data' undeclared (first use in this function)
controller.gob:655: error: dereferencing pointer to incomplete type
controller.gob:656: error: `addr' undeclared (first use in this function)
controller.gob:656: error: `clsid' undeclared (first use in this function)
controller.gob:657: error: `port' undeclared (first use in this function)
controller.gob:668: error: `name' undeclared (first use in this function)
make[2]: *** [gnomebt-controller.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnome-bluetooth-0.5.1-r1/work/gnome-bluetooth-0.5.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-bluetooth-0.5.1-r1/work/gnome-bluetooth-0.5.1'
make: *** [all-recursive-am] Error 2

!!! ERROR: net-wireless/gnome-bluetooth-0.5.1-r1 failed.
!!! Function gnome2_src_compile, Line 40, Exitcode 2
!!! compile failure
!!! If you need support, post the topmost build error, NOT this status message.


Any hints about any packages I should rebuild or new ones needed ?
Comment 9 Alastair Tse (RETIRED) gentoo-dev 2005-04-17 17:32:34 UTC
do you what version of libbtctl are you guys using?
Comment 10 gwbv 2005-04-19 03:29:23 UTC
# emerge -p libbtctl

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] net-wireless/libbtctl-0.4.1
Comment 11 Alastair Tse (RETIRED) gentoo-dev 2005-04-20 01:59:37 UTC
try emerging that again? seems like it is missing something obvious from libbtctl, or conversely, you have another older version installed somewhere?

please attach the full build log and also /var/tmp/portage/gnome-bluetooth*/work/gnome-bluetooth*/config.log
Comment 12 gwbv 2005-04-25 07:26:38 UTC
Created attachment 57181 [details]
log of emerge

Please, find attached a file with the result of the following commands:

emerge libbtctl
emerge gnome-bluetooth

as well as the required file.

Thanks in advance.
Comment 13 Alastair Tse (RETIRED) gentoo-dev 2005-04-26 03:29:24 UTC
a couple of things, can you make sure you don't have an extra btctl.h lying around apart from the one in /usr/include/libbtctl.

also, what version of gob have you got installed? and if you can, please attach /var/tmp/portage/gnome-bluetooth*/work/gnome-bluetooth*/src/gnomebt-controller.h

it seems like it is either generating a corrupted gnomebt-controller.h or something is missing on your system.
Comment 14 gwbv 2005-04-26 04:15:15 UTC
Created attachment 57267 [details]
failed emerge log
Comment 15 gwbv 2005-04-26 04:15:44 UTC
Created attachment 57268 [details]
file content
Comment 16 gwbv 2005-04-26 04:18:35 UTC
1) Do I have another file lying around?

moon include # pwd
/usr/include
moon include # find . -iname 'btctl.h'
./libbtctl/btctl.h


2) GOB version

moon include # emerge -p gob

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] dev-util/gob-2.0.9 [2.0.6]


So I actually emerged gob


3) Please see the alredy attachments for the results of the new failed emerge and the content of the requested file

Comment 17 Alastair Tse (RETIRED) gentoo-dev 2005-04-26 04:59:42 UTC
have you tried updating your version of gob and then try merging again?
Comment 18 gwbv 2005-04-26 06:59:03 UTC
Hi,

as I said in my previous post, I emerged gob and afterwards I tried to emerge gnome-bluetooth again, but it failed.

The attached emerge log is that one, using the already upgraded gob.
Comment 19 Alastair Tse (RETIRED) gentoo-dev 2005-06-24 06:27:17 UTC
i haven't seen anyone else report this, so i might be a local problem. I'm closing this as WORKSFORME 
since i have no way of reproducing this in order to fix it. reopen if you have more info to provide