Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 48670 - gnome-base/gconf-2.6.1 doesn't build with gcc-2.95
Summary: gnome-base/gconf-2.6.1 doesn't build with gcc-2.95
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-22 03:59 UTC by Tristan Henderson
Modified: 2004-04-22 13:26 UTC (History)
0 users

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


Attachments
patch to fix compilation with gcc 2.95 (gconf-2.6.1-gcc2_fix.patch,610 bytes, patch)
2004-04-22 03:59 UTC, Tristan Henderson
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tristan Henderson 2004-04-22 03:59:18 UTC
Can't build gconf-2.6.1 with gcc-2.9.5. I'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=\"GConf\" -DGCONF_LOCALE_DIR=\
"/usr/share/locale\" -DGCONF_SRCDIR=\"/var/tmp/portage/gconf-2.6.1/work/GConf-2.6.1\" 
-DGCONF_CONFDIR=\"/etc/gconf/2\" -DGCONF_ETCDIR=\"/etc/gconf\" -DGCONF_BINDIR=\"/usr/b
in\" -DGCONF_SERVERDIR=\"/usr/libexec\" -DGCONF_BUILDDIR=\"..\" -DGCONF_BACKEND_DIR=\"
/usr/lib/GConf/2\" -DVERSION=\"2.6.1\" -DGCONF_ENABLE_INTERNALS=1 -DGCONFD=\"gconfd-2\
" -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':
gconf-internals.c:2843: parse error before `char'
gconf-internals.c:2854: `failure_log' 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' undeclared (first use in this function)
gconf-internals.c:2858: `dir_accessible' undeclared (first use in this function)
gconf-internals.c:2858: `statbuf' undeclared (first use in this function)
gconf-internals.c:2869: `lock_dir' undeclared (first use in this function)
gconf-internals.c:2874: `ev' undeclared (first use in this function)
gconf-internals.c:2904: `p' undeclared (first use in this function)
gconf-internals.c:2914: `argv' undeclared (first use in this function)
gconf-internals.c:2918: `tmp_err' undeclared (first use in this function)
gconf-internals.c:2943: `buf' 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'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gconf-2.6.1/work/GConf-2.6.1'
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="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=i686 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/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"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=i686 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache digest sandbox strict"
GENTOO_MIRRORS="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"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="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"
Comment 1 Tristan Henderson 2004-04-22 03:59:54 UTC
Created attachment 29807 [details, diff]
patch to fix compilation with gcc 2.95
Comment 2 Leonardo Boshell (RETIRED) gentoo-dev 2004-04-22 13:26:04 UTC
A fix is now in the tree.

Thank you for your help.