<?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>48670</bug_id>
          
          <creation_ts>2004-04-22 03:59 0000</creation_ts>
          <short_desc>gnome-base/gconf-2.6.1 doesn&apos;t build with gcc-2.95</short_desc>
          <delta_ts>2004-04-22 13:26:04 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>All</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>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>T.Henderson@cs.ucl.ac.uk</reporter>
          <assigned_to>gnome@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>T.Henderson@cs.ucl.ac.uk</who>
            <bug_when>2004-04-22 03:59:18 0000</bug_when>
            <thetext>Can&apos;t build gconf-2.6.1 with gcc-2.9.5. I&apos;ve attached a patch.

mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -DORBIT2=1 -I/usr/include/glib-2.0 -I/usr/
lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.
0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/
include/freetype2 -I/usr/include/libxml2 -DG_LOG_DOMAIN=\&quot;GConf\&quot; -DGCONF_LOCALE_DIR=\
&quot;/usr/share/locale\&quot; -DGCONF_SRCDIR=\&quot;/var/tmp/portage/gconf-2.6.1/work/GConf-2.6.1\&quot; 
-DGCONF_CONFDIR=\&quot;/etc/gconf/2\&quot; -DGCONF_ETCDIR=\&quot;/etc/gconf\&quot; -DGCONF_BINDIR=\&quot;/usr/b
in\&quot; -DGCONF_SERVERDIR=\&quot;/usr/libexec\&quot; -DGCONF_BUILDDIR=\&quot;..\&quot; -DGCONF_BACKEND_DIR=\&quot;
/usr/lib/GConf/2\&quot; -DVERSION=\&quot;2.6.1\&quot; -DGCONF_ENABLE_INTERNALS=1 -DGCONFD=\&quot;gconfd-2\
&quot; -mcpu=i686 -O3 -pipe -Wall -c gconf-internals.c  -fPIC -DPIC -o .libs/gconf-internal
s.o
gconf-internals.c: In function `gconf_activate_server&apos;:
gconf-internals.c:2843: parse error before `char&apos;
gconf-internals.c:2854: `failure_log&apos; undeclared (first use in this function)
gconf-internals.c:2854: (Each undeclared identifier is reported only once
gconf-internals.c:2854: for each function it appears in.)
gconf-internals.c:2856: `gconfd_dir&apos; undeclared (first use in this function)
gconf-internals.c:2858: `dir_accessible&apos; undeclared (first use in this function)
gconf-internals.c:2858: `statbuf&apos; undeclared (first use in this function)
gconf-internals.c:2869: `lock_dir&apos; undeclared (first use in this function)
gconf-internals.c:2874: `ev&apos; undeclared (first use in this function)
gconf-internals.c:2904: `p&apos; undeclared (first use in this function)
gconf-internals.c:2914: `argv&apos; undeclared (first use in this function)
gconf-internals.c:2918: `tmp_err&apos; undeclared (first use in this function)
gconf-internals.c:2943: `buf&apos; undeclared (first use in this function)
make[2]: *** [gconf-internals.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/gconf-2.6.1/work/GConf-2.6.1/gconf&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gconf-2.6.1/work/GConf-2.6.1&apos;
make: *** [all-recursive-am] Error 2

!!! ERROR: gnome-base/gconf-2.6.1 failed.
!!! Function gnome2_src_compile, Line 39, Exitcode 2
!!! compile failure


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.50-r6 (default-1.0, gcc-2.95.3, glibc-2.2.5-r9, 2.4.25)
==============================================================
===
System uname: 2.4.25 i686 Transmeta(tm) Crusoe(tm) Processor TM5800
Gentoo Base System version 1.4.9
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
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;-mcpu=i686 -O3 -pipe&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
COMPILER=&quot;&quot;
CONFIG_PROTECT=&quot;/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config 
/usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ 
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ 
/var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-mcpu=i686 -O3 -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs ccache digest sandbox strict&quot;
GENTOO_MIRRORS=&quot;http://128.213.5.34/gentoo/ http://gentoo.mirrors.pair.com/ http://mirror.
clarkson.edu/pub/distributions/gentoo/ http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ http:
//gentoo.chem.wisc.edu/gentoo/ http://mirrors.tds.net/gentoo http://open-systems.ufl.
edu/mirrors/gentoo http://mirror.tucdemonic.org/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ http:
//mirror.cpsc.ucalgary.ca/mirror/gentoo.org&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;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.namerica.gentoo.org/gentoo-portage&quot;
USE=&quot;X X509 aalib alsa apache2 apm avi berkdb bonobo cdr crypt cups curses dga dvd emacs 
encode esd ethereal evo fbcon foomaticdb gdbm gif gnome-libs gpm gtk gtk2 gtkhtml guile imap 
imlib java jpeg lcms ldap libg++ libwww mmx motif mpeg mysql nas ncurses odbc oggvorbis oss 
pam pcmcia pda pdflib perl pic plotutils png pnp python quicktime readline samba sdl skey slang 
smooth snmp spell ssl stroke svga tcltk tcpd tetex tiff truetype trusted usb vim-with-x x86 xml xml2 
xmms xv zlib&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>T.Henderson@cs.ucl.ac.uk</who>
            <bug_when>2004-04-22 03:59:54 0000</bug_when>
            <thetext>Created an attachment (id=29807)
patch to fix compilation with gcc 2.95
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>leonardop@gentoo.org</who>
            <bug_when>2004-04-22 13:26:04 0000</bug_when>
            <thetext>A fix is now in the tree.

Thank you for your help.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>29807</attachid>
            <date>2004-04-22 03:59 0000</date>
            <desc>patch to fix compilation with gcc 2.95</desc>
            <filename>gconf-2.6.1-gcc2_fix.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">ZGlmZiAtTmF1ciBHQ29uZi0yLjYuMS5vcmlnL2djb25mL2djb25mLWludGVybmFscy5jIEdDb25m
LTIuNi4xL2djb25mL2djb25mLWludGVybmFscy5jCi0tLSBHQ29uZi0yLjYuMS5vcmlnL2djb25m
L2djb25mLWludGVybmFscy5jCTIwMDQtMDQtMTkgMDY6MDg6MjAuMDAwMDAwMDAwIC0wNDAwCisr
KyBHQ29uZi0yLjYuMS9nY29uZi9nY29uZi1pbnRlcm5hbHMuYwkyMDA0LTA0LTIxIDIxOjQwOjQ5
LjAwMDAwMDAwMCAtMDQwMApAQCAtMjgzOSw4ICsyODM5LDcgQEAKICAgICAgICAgICAgICAgICAg
ICAgICAgR0Vycm9yICAqKmVycm9yKQogewogICBDb25maWdTZXJ2ZXIgc2VydmVyID0gQ09SQkFf
T0JKRUNUX05JTDsKLTsKLSAgaW50IHBbMl0gPSB7IC0xLCAtMSB9OworICAKICAgY2hhciBidWZb
MV07CiAgIEdFcnJvciAqdG1wX2VycjsKICAgY2hhciAqYXJndlszXTsKQEAgLTI4NTAsNiArMjg0
OSw3IEBACiAgIHN0cnVjdCBzdGF0IHN0YXRidWY7CiAgIENPUkJBX0Vudmlyb25tZW50IGV2Owog
ICBnYm9vbGVhbiBkaXJfYWNjZXNzaWJsZTsKKyAgaW50IHBbMl0gPSB7IC0xLCAtMSB9OwogCiAg
IGZhaWx1cmVfbG9nID0gZ19zdHJpbmdfbmV3IChOVUxMKTsKICAgCg==
</data>        

          </attachment>
    </bug>

</bugzilla>