<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>46303</bug_id>
          
          <creation_ts>2004-03-30 15:52 0000</creation_ts>
          <short_desc>gnome-system-monitor-2.4.0 failed to compile</short_desc>
          <delta_ts>2004-04-27 08:16:13 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>GNOME</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>45747</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>marsclic@yahoo.com</reporter>
          <assigned_to>gnome@gentoo.org</assigned_to>
          <cc>gmsoft@gentoo.org</cc>
    
    <cc>tim.haughton@omnibus.co.uk</cc>

      

      
          <long_desc isprivate="0">
            <who>marsclic@yahoo.com</who>
            <bug_when>2004-03-30 15:52:58 0000</bug_when>
            <thetext>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 &quot;GtkCombo&quot;
/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 &apos;}&apos; token
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:68: error: syntax error before &quot;GtkComboClass&quot;
/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 &apos;}&apos; 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 &quot;GtkCombo&quot;
/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 &apos;}&apos; token
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:68: error: syntax error before &quot;GtkComboClass&quot;
/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 &apos;}&apos; token
interface.c: In function `create_proc_view&apos;:
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&apos;
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&apos;
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 &quot;GtkCombo&quot;
/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 &apos;}&apos; token
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:68: error: syntax error
before &quot;GtkComboClass&quot;
/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 &apos;}&apos; 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 &quot;GtkCombo&quot;
/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 &apos;}&apos; token
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:68: error: syntax error
before &quot;GtkComboClass&quot;
/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 &apos;}&apos; token
interface.c: In function `create_proc_view&apos;:
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&apos;
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&apos;
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 &quot;emerge info&quot; 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=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-O3 -march=i686 -pipe -fomit-frame-pointer&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
COMPILER=&quot;gcc3&quot;
CONFIG_PROTECT=&quot;/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&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-O3 -march=i686 -pipe -fomit-frame-pointer&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs ccache sandbox&quot;
GENTOO_MIRRORS=&quot;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/&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;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&quot;
-------------------------------------------------------------------------------

And this is the &quot;emerge info&quot; 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=&quot;amd64 ~amd64&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-O2&quot;
CHOST=&quot;x86_64-pc-linux-gnu&quot;
COMPILER=&quot;gcc3&quot;
CONFIG_PROTECT=&quot;/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&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-O2&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs ccache sandbox&quot;
GENTOO_MIRRORS=&quot;ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo
http://mirrors.tds.net/gentoo ftp://mirrors.tds.net/gentoo
http://gentoo.mirrors.pair.com/&quot;
MAKEOPTS=&quot;-j3&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;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&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>marsclic@yahoo.com</who>
            <bug_when>2004-03-30 15:58:52 0000</bug_when>
            <thetext>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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2004-03-30 16:16:04 0000</bug_when>
            <thetext>is not an amd64 problem</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jleonzal@gmail.com</who>
            <bug_when>2004-03-30 21:21:18 0000</bug_when>
            <thetext>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.  </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tim.haughton@omnibus.co.uk</who>
            <bug_when>2004-03-31 03:21:33 0000</bug_when>
            <thetext>Like John (Comment#3) I have this problem, and seem to be chasing the same bug all the way down the &apos;emerge gnome&apos; path. I can post my script and emerge info if required, but I don&apos;t think it will add any information. - Thanks in advance for fixing it.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dlove@nighton.net</who>
            <bug_when>2004-04-02 09:08:22 0000</bug_when>
            <thetext>Created an attachment (id=28583)
Patch for gtk 2.4 compilation
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dlove@nighton.net</who>
            <bug_when>2004-04-02 09:08:56 0000</bug_when>
            <thetext>Created an attachment (id=28584)
Ebuild that applies the patch
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dlove@nighton.net</who>
            <bug_when>2004-04-02 09:10:37 0000</bug_when>
            <thetext>Attached a patch ala nautilus-media that removes the DISABLE_GTK_DEPRECATED and DISABLE_GNOME_DEPRECATED defines passed in the makefile.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>khai@gentoo.org</who>
            <bug_when>2004-04-07 16:22:08 0000</bug_when>
            <thetext>patch looks good, can someone test, and then perhaps we can close this bug.  </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gmsoft@gentoo.org</who>
            <bug_when>2004-04-26 02:30:39 0000</bug_when>
            <thetext>This patch works for me on hppa.


Please commit, it prevent me to build GRP :)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2004-04-26 08:11:05 0000</bug_when>
            <thetext>that is because you moved gtk+-2.4 to stable on hppa before the maintainers arch (x86).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2004-04-27 08:16:13 0000</bug_when>
            <thetext>patch applied, thanks.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>28583</attachid>
            <date>2004-04-02 09:08 0000</date>
            <desc>Patch for gtk 2.4 compilation</desc>
            <filename>gnome-system-monitor-2.4.0-fix_gtk+-2.4_build.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">ZGlmZiAtdXJOIGdub21lLXN5c3RlbS1tb25pdG9yLTIuNC4wLW9yaWcvc3JjL01ha2VmaWxlLmFt
IGdub21lLXN5c3RlbS1tb25pdG9yLTIuNC4wL3NyYy9NYWtlZmlsZS5hbQotLS0gZ25vbWUtc3lz
dGVtLW1vbml0b3ItMi40LjAtb3JpZy9zcmMvTWFrZWZpbGUuYW0JMjAwNC0wNC0wMiAxMTo1NDo1
NC4wMDAwMDAwMDAgLTA1MDAKKysrIGdub21lLXN5c3RlbS1tb25pdG9yLTIuNC4wL3NyYy9NYWtl
ZmlsZS5hbQkyMDA0LTA0LTAyIDExOjU2OjUxLjAwMDAwMDAwMCAtMDUwMApAQCAtMyw4ICszLDcg
QEAKIElOQ0xVREVTID0gXAogCS1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VwiIiQoZGF0YWRpcikiXCIgCUBQUk9DTUFOX0NGTEFHU0AgCiAKIAogYmlu
X1BST0dSQU1TID0gZ25vbWUtc3lzdGVtLW1vbml0b3IK
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>28584</attachid>
            <date>2004-04-02 09:08 0000</date>
            <desc>Ebuild that applies the patch</desc>
            <filename>gnome-system-monitor-2.4.0.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">IyBDb3B5cmlnaHQgMTk5OS0yMDA0IEdlbnRvbyBUZWNobm9sb2dpZXMsIEluYy4KIyBEaXN0cmli
dXRlZCB1bmRlciB0aGUgdGVybXMgb2YgdGhlIEdOVSBHZW5lcmFsIFB1YmxpYyBMaWNlbnNlIHYy
CiMgJEhlYWRlcjogL2hvbWUvY3Zzcm9vdC9nZW50b28teDg2L2dub21lLWV4dHJhL2dub21lLXN5
c3RlbS1tb25pdG9yL2dub21lLXN5c3RlbS1tb25pdG9yLTIuNC4wLmVidWlsZCx2IDEuOSAyMDA0
LzAzLzE0IDE4OjE1OjAzIGdlb21hbiBFeHAgJAoKaW5oZXJpdCBnbm9tZTIKCkRFU0NSSVBUSU9O
PSJQcm9jbWFuIC0gVGhlIEdub21lIFN5c3RlbSBNb25pdG9yIgpIT01FUEFHRT0iaHR0cDovL3d3
dy5nbm9tZS5vcmcvIgoKTElDRU5TRT0iR1BMLTIiClNMT1Q9IjAiCktFWVdPUkRTPSJ4ODYgcHBj
IGFscGhhIHNwYXJjIGhwcGEgYW1kNjQgaWE2NCB+bWlwcyIKClJERVBFTkQ9Ij49eDExLWxpYnMv
Z3RrKy0yCgk+PWdub21lLWJhc2UvbGliZ25vbWV1aS0yCgk+PWdub21lLWJhc2UvbGliZ25vbWUt
MgoJPj1nbm9tZS1iYXNlL2djb25mLTIKCT49Z25vbWUtYmFzZS9saWJndG9wLTIKCT49eDExLWxp
YnMvbGlid25jay0wLjEyIgoKREVQRU5EPSI+PWRld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