User-Agent: Build Identifier: While emerging gnome-base/control-center-2.2.0-r1 (one of Spider's rc ebuilds), I get the following an error. I'm running on a gcc-2.95.3 system, I'd installed Gnome 2.1.2 before this, but hadn't upgraded since then. Reproducible: Always Steps to Reproduce: 1. Unpack ebuilds in my local portage overlay directory 2. emerge -u gnome Actual Results: I get the error included above. Expected Results: Finished compiling. :) <pre>creating libcommon.la (cd .libs && rm -f libcommon.la && ln -s ../libcommon.la libcommon.la) gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DGNOMELOCALEDIR=\""/usr/local/share/locale"\" -DGNOME_ICONDIR=\""/usr/local/share/pixmaps"\" -DG_LOG_DOMAIN=\"capplet-common\" -DINSTALL_PREFIX=\"/usr/local\" -I../../ -I../../libbackground -DORBIT2=1 -pthread -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/include/freetype2 -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/linc-1.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/include/gnome-desktop-2.0 -I/usr/include/startup-notification-1.0 -I/usr/include/gnome-vfs-module-2.0 -g -O2 -Wall -c gnome-theme-test.c gnome-theme-test.c: In function `main': gnome-theme-test.c:15: parse error before `monitor_not_added' gnome-theme-test.c:18: `monitor_not_added' undeclared (first use in this function) gnome-theme-test.c:18: (Each undeclared identifier is reported only once gnome-theme-test.c:18: for each function it appears in.) gnome-theme-test.c:20: `themes' undeclared (first use in this function) gnome-theme-test.c:28: `list' undeclared (first use in this function) make[3]: *** [gnome-theme-test.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/control-center-2.2.0-r1/work/control-center-2.2.0/capplets/common' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/control-center-2.2.0-r1/work/control-center-2.2.0/capplets' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/control-center-2.2.0-r1/work/control-center-2.2.0' make: *** [all-recursive-am] Error 2</pre> My USE parameters are set to: USE="moznoirc moznocompose moznomail gnome gtk2 mmx alsa directfb truetype oggvorbis jpeg gtk quicktime evo"
spiders or any ebuilds not in the tree are not supported, so bugzilla is not the way to go with your problems. Use the ones in portage.
OK, Spider asked me to post it here, as it would be easier for him to keep track of. :) Cheers, Scott
No, this happened for me out of the Gentoo tree (not Spider's ebuild). The problem is right at the beginning of gnome-theme-test.c. int main (int argc, char *argv[]) { gtk_init (&argc, &argv); gnome_vfs_init (); gboolean monitor_not_added = FALSE; GList *themes, *list; gtk_init and gnome_vfs_init need to come after the next two variable declarations. Correct?
with a current rsync ?
duh, you are correct and i was thinking it was another (fixed) bug. I added the suggested patch to the tree and it seems to work for me, please rsync and test.
I'm getting another problem now, unfortunately -- this looks like the relevant part of the file control-center-2.2.0/capplets/font/main.c (see below). I'm trying to learn here, so that maybe I can help out more later... :) Cheers, Scott static XftFont * open_pattern (FcPattern *pattern, Antialiasing antialiasing, Hinting hinting) { gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DORBIT2=1 -pthread -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/include/freetype2 -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/linc-1.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/include/gnome-desktop-2.0 -I/usr/include/startup-notification-1.0 -DORBIT2=1 -pthread -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/include/freetype2 -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/linc-1.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/include/gnome-desktop-2.0 -I/usr/include/startup-notification-1.0 -I../../ -DG_LOG_DOMAIN="\"-properties\"" -DGNOMELOCALEDIR="\"/usr/share/locale\"" -I../../capplets/common -DGLADEDIR=\""/usr/share/control-center-2.0/interfaces"\" -DPIXMAPDIR=\""/usr/share/control-center-2.0/pixmaps"\" -march=i686 -O2 -pipe -Wall -c main.c main.c:149: parse error before `*' main.c: In function `open_pattern': main.c:157: `FcPattern' undeclared (first use in this function) main.c:157: (Each undeclared identifier is reported only once main.c:157: for each function it appears in.) main.c:157: `res_pattern' undeclared (first use in this function) main.c:157: warning: statement with no effect main.c:158: `FcResult' undeclared (first use in this function) main.c:158: parse error before `result' main.c:164: `xdisplay' undeclared (first use in this function) main.c:164: `screen' undeclared (first use in this function) main.c:164: `pattern' undeclared (first use in this function) main.c:164: `result' undeclared (first use in this function) main.c:168: warning: implicit declaration of function `FcPatternDel' main.c:168: `FC_HINTING' undeclared (first use in this function) main.c:169: warning: implicit declaration of function `FcPatternAddBool' main.c:169: `hinting' undeclared (first use in this function) main.c:176: `FC_ANTIALIAS' undeclared (first use in this function) main.c:177: `antialiasing' undeclared (first use in this function) main.c:179: `FC_RGBA' undeclared (first use in this function) main.c:180: warning: implicit declaration of function `FcPatternAddInteger' main.c:181: `FC_RGBA_RGB' undeclared (first use in this function) main.c:181: `FC_RGBA_NONE' undeclared (first use in this function) main.c:183: `FC_DPI' undeclared (first use in this function) main.c:186: `font' undeclared (first use in this function) main.c:188: warning: implicit declaration of function `FcPatternDestroy' main.c: In function `setup_font_sample': main.c:212: `FcPattern' undeclared (first use in this function) main.c:212: `pattern' undeclared (first use in this function) main.c:212: warning: statement with no effect main.c:213: parse error before `*' main.c:223: warning: implicit declaration of function `FcPatternBuild' main.c:224: `FC_FAMILY' undeclared (first use in this function) main.c:224: `FcTypeString' undeclared (first use in this function) main.c:225: `FC_SLANT' undeclared (first use in this function) main.c:225: `FcTypeInteger' undeclared (first use in this function) main.c:225: `FC_SLANT_ROMAN' undeclared (first use in this function) main.c:226: `FC_SIZE' undeclared (first use in this function) main.c:226: `FcTypeDouble' undeclared (first use in this function) main.c:228: `font1' undeclared (first use in this function) main.c:233: `FC_SLANT_ITALIC' undeclared (first use in this function) main.c:236: `font2' undeclared (first use in this function) main.c:240: `extents1' undeclared (first use in this function) main.c:242: `extents2' undeclared (first use in this function) main.c:244: `ascent' undeclared (first use in this function) main.c:250: `descent' undeclared (first use in this function) main.c:256: `width' undeclared (first use in this function) main.c:258: `height' undeclared (first use in this function) main.c:260: `pixmap' undeclared (first use in this function) main.c:262: `draw' undeclared (first use in this function) main.c:281: `tmp_pixbuf' undeclared (first use in this function) main.c:282: `pixbuf' undeclared (first use in this function) make[3]: *** [main.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/control-center-2.2.0/work/control-center-2.2.0/capplets/font' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/control-center-2.2.0/work/control-center-2.2.0/capplets' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/control-center-2.2.0/work/control-center-2.2.0' make: *** [all-recursive-am] Error 2 !!! ERROR: gnome-base/control-center-2.2.0 failed. !!! Function gnome2_src_compile, Line -6973, Exitcode 2 !!! compile failure
Looks like it doesnt include your fontconfig includes, this is another bug so should be in another bugreport. But nevermind that now. i'm not sure why it happens, if you add -I/usr/include to your CFLAGS (just a hack ), does it work ?
No, it happened again, unfortunately, even with that added into my CFLAGS... Any other suggestions?
what mozilla are you using (exact revision) ?