Bug 46676 - gnome-bluetooth failes on compile, eggtoolbar.c getting alot of errors.
|
Bug#:
46676
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: x86
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: major
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: liquidx@gentoo.org
|
Reported By: david@rohr.se
|
|
Component: GNOME
|
|
|
URL:
|
|
Summary: gnome-bluetooth failes on compile, eggtoolbar.c getting alot of errors.
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2004-04-03 03:34 0000
|
The gnome-bluetooth emerge fails on compile. Maybe todo with the new gnome-2.6
stuff, but I guess it should work anyways?
Reproducible: Always
Steps to Reproduce:
1. emerge gnome-bluetooth
2.
3.
Actual Results:
eggtoolbar.c:2078: error: syntax error before "GtkToolbarChildType"
eggtoolbar.c: In function `egg_toolbar_append_element':
eggtoolbar.c:2086: error: number of arguments doesn't match prototype
eggtoolbar.h:205: error: prototype declaration
eggtoolbar.c:2087: error: `toolbar' undeclared (first use in this function)
eggtoolbar.c:2087: error: (Each undeclared identifier is reported only once
eggtoolbar.c:2087: error: for each function it appears in.)
eggtoolbar.c:2087: error: `type' undeclared (first use in this function)
eggtoolbar.c:2087: error: `widget' undeclared (first use in this function)
eggtoolbar.c:2087: error: `text' undeclared (first use in this function)
eggtoolbar.c:2088: error: `tooltip_text' undeclared (first use in this
function)
eggtoolbar.c:2088: error: `tooltip_private_text' undeclared (first use in this
f
unction)
eggtoolbar.c:2089: error: `icon' undeclared (first use in this function)
eggtoolbar.c:2089: error: `callback' undeclared (first use in this function)
eggtoolbar.c:2089: error: `user_data' undeclared (first use in this function)
eggtoolbar.c: At top level:
eggtoolbar.c:2095: error: syntax error before "GtkToolbarChildType"
eggtoolbar.c: In function `egg_toolbar_prepend_element':
eggtoolbar.c:2103: error: number of arguments doesn't match prototype
eggtoolbar.h:215: error: prototype declaration
eggtoolbar.c:2104: error: `toolbar' undeclared (first use in this function)
eggtoolbar.c:2104: error: `type' undeclared (first use in this function)
eggtoolbar.c:2104: error: `widget' undeclared (first use in this function)
eggtoolbar.c:2104: error: `text' undeclared (first use in this function)
eggtoolbar.c:2105: error: `tooltip_text' undeclared (first use in this
function)
eggtoolbar.c:2105: error: `tooltip_private_text' undeclared (first use in this
f
unction)
eggtoolbar.c:2106: error: `icon' undeclared (first use in this function)
eggtoolbar.c:2106: error: `callback' undeclared (first use in this function)
eggtoolbar.c:2106: error: `user_data' undeclared (first use in this function)
eggtoolbar.c: In function `egg_toolbar_internal_insert_element':
eggtoolbar.c:2217: error: `GTK_TOOLBAR_CHILD_SPACE' undeclared (first use in
thi
s function)
make[5]: *** [eggtoolbar.lo] Error 1
make[5]: Leaving directory
`/var/tmp/portage/gnome-bluetooth-0.4.1/work/gnome-bl
uetooth-0.4.1/libegg/libegg/toolbar'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/var/tmp/portage/gnome-bluetooth-0.4.1/work/gnome-bl
uetooth-0.4.1/libegg/libegg'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/gnome-bluetooth-0.4.1/work/gnome-bl
uetooth-0.4.1/libegg'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/var/tmp/portage/gnome-bluetooth-0.4.1/work/gnome-bl
uetooth-0.4.1/libegg'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/gnome-bluetooth-0.4.1/work/gnome-bl
uetooth-0.4.1'
make: *** [all] Error 2
!!! ERROR: net-wireless/gnome-bluetooth-0.4.1 failed.
!!! Function gnome2_src_compile, Line 39, Exitcode 2
!!! compile failure
Expected Results:
A nice working compile :)
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
USE="mmx sse"
CXXFLAGS="${CFLAGS}"
ACCEPT_KEYWORDS="~x86"
gcc version 3.3.3 20040217 (Gentoo Linux 3.3.3, propolice-3.3-7)
you miss the interesting parts of the ouput, please attach the full output.
and if you build without the DEPRECATION statements ?
Worked fined! (except the libegg/libegg/toolbar, which was missing
eggmarshalers.h)
So removing all the -Dflags, and copying eggmarshalers.h from
libegg/libegg/utils to libegg/libegg/toolbar) did the trick.
thanks for the patch, committed to portage.