Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46676 - gnome-bluetooth failes on compile, eggtoolbar.c getting alot of errors.
Summary: gnome-bluetooth failes on compile, eggtoolbar.c getting alot of errors.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Alastair Tse (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 45747
  Show dependency tree
 
Reported: 2004-04-03 03:34 UTC by David Röhr
Modified: 2004-04-10 07:59 UTC (History)
3 users (show)

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


Attachments
Full output from the Compile. (gnome-bluetooth-output.txt,23.17 KB, text/plain)
2004-04-05 06:55 UTC, David Röhr
Details
gtk+ 2.4 patch (gtk+-2.4-fix.patch,2.29 KB, patch)
2004-04-10 04:21 UTC, Kristiaan Lenaerts
Details | Diff
fixed ebuild (gnome-bluetooth-0.4.1.ebuild,1.18 KB, text/plain)
2004-04-10 04:23 UTC, Kristiaan Lenaerts
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Röhr 2004-04-03 03:34:50 UTC
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)
Comment 1 foser (RETIRED) gentoo-dev 2004-04-05 06:45:05 UTC
you miss the interesting parts of the ouput, please attach the full output.
Comment 2 David Röhr 2004-04-05 06:55:15 UTC
Created attachment 28734 [details]
Full output from the Compile.

Longer output from the compile error.
Comment 3 foser (RETIRED) gentoo-dev 2004-04-05 07:04:23 UTC
and if you build without the DEPRECATION statements ?
Comment 4 David Röhr 2004-04-05 08:41:31 UTC
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.
Comment 5 Kristiaan Lenaerts 2004-04-10 04:21:20 UTC
Created attachment 29015 [details, diff]
gtk+ 2.4 patch

This patch should remove all the -DGTK_DISABLE_DEPRECATED flags from the
Makefile.am en Makefile.in
Comment 6 Kristiaan Lenaerts 2004-04-10 04:23:45 UTC
Created attachment 29016 [details]
fixed ebuild

this ebuild applies the patch, and copies eggmarshalers.h to the toolbar dir,
as indicated by David R
Comment 7 Kristiaan Lenaerts 2004-04-10 04:23:45 UTC
Created attachment 29016 [details]
fixed ebuild

this ebuild applies the patch, and copies eggmarshalers.h to the toolbar dir,
as indicated by David Röhr
Comment 8 Alastair Tse (RETIRED) gentoo-dev 2004-04-10 07:59:54 UTC
thanks for the patch, committed to portage.