Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46303 - gnome-system-monitor-2.4.0 failed to compile
Summary: gnome-system-monitor-2.4.0 failed to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 45747
  Show dependency tree
 
Reported: 2004-03-30 15:52 UTC by Marius Caldas
Modified: 2004-04-27 08:16 UTC (History)
2 users (show)

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


Attachments
Patch for gtk 2.4 compilation (gnome-system-monitor-2.4.0-fix_gtk+-2.4_build.patch,1.15 KB, patch)
2004-04-02 09:08 UTC, David Love
Details | Diff
Ebuild that applies the patch (gnome-system-monitor-2.4.0.ebuild,899 bytes, text/plain)
2004-04-02 09:08 UTC, David Love
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marius Caldas 2004-03-30 15:52:58 UTC
The gnome-system-monitor-2.4.0 ebuild failed to compile on two of my systems, one an i686 and the other an AMD64. Here is the error message it produces:

-O3 -march=i686 -pipe -fomit-frame-pointer -c interface.c
In file included from /usr/include/libgnomeui-2.0/libgnomeui/libgnomeui.h:48,
                 from /usr/include/libgnomeui-2.0/gnome.h:7,
                 from procman.c:22:
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:61: error: syntax error before "GtkCombo"
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:61: warning: no semicolon at end of struct or union
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:65: error: syntax error before '}' token
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:68: error: syntax error before "GtkComboClass"
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:68: warning: no semicolon at end of struct or union
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:76: error: syntax error before '}' token
make[2]: *** [procman.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /usr/include/libgnomeui-2.0/libgnomeui/libgnomeui.h:48,
                 from /usr/include/libgnomeui-2.0/gnome.h:7,
                 from procman.h:23,
                 from interface.c:30:
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:61: error: syntax error before "GtkCombo"
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:61: warning: no semicolon at end of struct or union
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:65: error: syntax error before '}' token
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:68: error: syntax error before "GtkComboClass"
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:68: warning: no semicolon at end of struct or union
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:76: error: syntax error before '}' token
interface.c: In function `create_proc_view':
interface.c:217: warning: assignment makes pointer from integer without a cast
make[2]: *** [interface.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnome-system-monitor-2.4.0/work/gnome-system-monitor-2.4.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-system-monitor-2.4.0/work/gnome-system-monitor-2.4.0'
make: *** [all-recursive-am] Error 2

!!! ERROR: gnome-extra/gnome-system-monitor-2.4.0 failed.
!!! Function gnome2_src_compile, Line 39, Exitcode 2
!!! compile failure


Reproducible: Always
Steps to Reproduce:
1.emerge gnome

Actual Results:  
Here is the error message it produces for the i686 box:

-O3 -march=i686 -pipe -fomit-frame-pointer -c interface.c
In file included from /usr/include/libgnomeui-2.0/libgnomeui/libgnomeui.h:48,
                 from /usr/include/libgnomeui-2.0/gnome.h:7,
                 from procman.c:22:
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:61: error: syntax error
before "GtkCombo"
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:61: warning: no semicolon
at end of struct or union
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:65: error: syntax error
before '}' token
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:68: error: syntax error
before "GtkComboClass"
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:68: warning: no semicolon
at end of struct or union
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:76: error: syntax error
before '}' token
make[2]: *** [procman.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /usr/include/libgnomeui-2.0/libgnomeui/libgnomeui.h:48,
                 from /usr/include/libgnomeui-2.0/gnome.h:7,
                 from procman.h:23,
                 from interface.c:30:
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:61: error: syntax error
before "GtkCombo"
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:61: warning: no semicolon
at end of struct or union
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:65: error: syntax error
before '}' token
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:68: error: syntax error
before "GtkComboClass"
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:68: warning: no semicolon
at end of struct or union
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:76: error: syntax error
before '}' token
interface.c: In function `create_proc_view':
interface.c:217: warning: assignment makes pointer from integer without a cast
make[2]: *** [interface.o] Error 1
make[2]: Leaving directory
`/var/tmp/portage/gnome-system-monitor-2.4.0/work/gnome-system-monitor-2.4.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/gnome-system-monitor-2.4.0/work/gnome-system-monitor-2.4.0'
make: *** [all-recursive-am] Error 2

!!! ERROR: gnome-extra/gnome-system-monitor-2.4.0 failed.
!!! Function gnome2_src_compile, Line 39, Exitcode 2
!!! compile failure


Expected Results:  
Compiled and merged gnome-system-monitor-2.4.0.

Here is the "emerge info" for the i686 box:
Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0,
2.6.4-gentoo-r1)
=================================================================
System uname: 2.6.4-gentoo-r1 i686 Pentium II (Deschutes)
Gentoo Base System version 1.4.3.13p1
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=i686 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.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=i686 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ http://mirrors.tds.net/gentoo
http://212.219.247.15/sites/www.ibiblio.org/gentoo/
http://212.219.247.14/sites/www.ibiblio.org/gentoo/
http://212.219.247.19/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X apm arts avi berkdb crypt cups encode esd foomaticdb gdbm gif gnome gpm
gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod motif mozilla mpeg ncurses nls
oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang
spell ssl svga tcpd truetype x86 xml2 xmms xv zlib"
-------------------------------------------------------------------------------

And this is the "emerge info" for the AMD64:
Portage 2.0.50-r1 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0,
2.6.4-gentoo-r1)
=================================================================
System uname: 2.6.4-gentoo-r1 x86_64 5
Gentoo Base System version 1.4.3.13p1
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O2"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.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="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo
http://mirrors.tds.net/gentoo ftp://mirrors.tds.net/gentoo
http://gentoo.mirrors.pair.com/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X amd64 apm arts avi berkdb cdr crypt cups encode esd foomaticdb gdbm gif
gnome gpm gtk gtk2 imlib jpeg kde libg++ libwww mikmod motif mozilla mpeg
multilib ncurses nls oggvorbis opengl oss pam pdflib perl png python qt
quicktime readline sdl slang spell ssl tcpd truetype xml2 xmms xv zlib"
Comment 1 Marius Caldas 2004-03-30 15:58:52 UTC
Additional clarification: The two boxes in which the ebuild failed were dual SMP. Another single Athlon 64 box emerged gnome-system-monitor-2.4.0 just fine.
Comment 2 foser (RETIRED) gentoo-dev 2004-03-30 16:16:04 UTC
is not an amd64 problem
Comment 3 John Leonzal 2004-03-30 21:21:18 UTC
Also getting this error.  using gtk+ 2.4.0.  i had an almost identical problem with mautilus-media, but that was fixed by foser.  this was the next package to need emerging.  
Comment 4 Tim Haughton 2004-03-31 03:21:33 UTC
Like John (Comment#3) I have this problem, and seem to be chasing the same bug all the way down the 'emerge gnome' path. I can post my script and emerge info if required, but I don't think it will add any information. - Thanks in advance for fixing it.
Comment 5 David Love 2004-04-02 09:08:22 UTC
Created attachment 28583 [details, diff]
Patch for gtk 2.4 compilation
Comment 6 David Love 2004-04-02 09:08:56 UTC
Created attachment 28584 [details]
Ebuild that applies the patch
Comment 7 David Love 2004-04-02 09:10:37 UTC
Attached a patch ala nautilus-media that removes the DISABLE_GTK_DEPRECATED and DISABLE_GNOME_DEPRECATED defines passed in the makefile.
Comment 8 Yi Quang (RETIRED) gentoo-dev 2004-04-07 16:22:08 UTC
patch looks good, can someone test, and then perhaps we can close this bug.  
Comment 9 Guy Martin (RETIRED) gentoo-dev 2004-04-26 02:30:39 UTC
This patch works for me on hppa.


Please commit, it prevent me to build GRP :)
Comment 10 foser (RETIRED) gentoo-dev 2004-04-26 08:11:05 UTC
that is because you moved gtk+-2.4 to stable on hppa before the maintainers arch (x86).
Comment 11 foser (RETIRED) gentoo-dev 2004-04-27 08:16:13 UTC
patch applied, thanks.