Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 8077 - glibc redefinition of __restrict_arr
Summary: glibc redefinition of __restrict_arr
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-18 15:24 UTC by Markus Bertheau (RETIRED)
Modified: 2003-02-04 19:42 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Bertheau (RETIRED) gentoo-dev 2002-09-18 15:24:32 UTC
I'm trying to compile glimmer from cvs and get the following error:

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DDATADIR=\"/usr//share\" -DPREFIX=\"/usr/\"
-DG_LOG_DOMAIN=\"GlimmerStyleCache\" -I../.. -I../../libglimmerfile
-I/usr//include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-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 -I/usr//include/gtksourceview
-I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0
-I/usr/include/linc-1.0 -I/usr/include/gnome-vfs-2.0
-I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gnome-vfs-module-2.0
-I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0
-I/usr/include/libbonobo-2.0 -I/usr/include/libbonoboui-2.0
-I/usr/include/libgnome-2.0 -I/usr/include/gconf/2 -I/usr/include/libgnomeui-2.0
-I/usr/include/libgnomeprint-2.0 -I/usr/include/libgnomeprintui-2.0
-I/usr/include/libglade-2.0 -g -O2 -Wall -Werror
-Wp,-MD,.deps/glimmer-style-cache.pp -c glimmer-style-cache.c  -fPIC -DPIC -o
.libs/glimmer-style-cache.lo
cc1: changing search order for system directory "/usr/include"
cc1:   as it has already been specified as a non-system directory
In file included from /usr/include/gtksourceview/gtksourcebuffer.h:30,
                 from ../../libglimmerfile/glimmer-file.h:26,
                 from ../../libglimmerfile/glimmer-file-utils.h:25,
                 from glimmer-style-cache.c:21:
/usr/include/regex.h:535:1: "__restrict_arr" redefined
In file included from /usr/include/features.h:283,
                 from /usr/include/limits.h:26,
                 from /usr/lib/glib-2.0/include/glibconfig.h:11,
                 from /usr/include/glib-2.0/glib/gtypes.h:30,
                 from /usr/include/glib-2.0/glib/galloca.h:30,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/gtk-2.0/gdk/gdktypes.h:32,
                 from /usr/include/gtk-2.0/gdk/gdkcolor.h:4,
                 from /usr/include/gtk-2.0/gdk/gdk.h:30,
                 from /usr/include/gtk-2.0/gtk/gtk.h:31,
                 from glimmer-style-cache.c:18:
/usr/include/sys/cdefs.h:212:1: this is the location of the previous definition
make[4]: *** [glimmer-style-cache.lo] Error 1
make[4]: Leaving directory
`/mnt/homes/home/bert/src/anjuta/glimmer/libglimmerfile/glimmer-style-cache'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/mnt/homes/home/bert/src/anjuta/glimmer/libglimmerfile/glimmer-style-cache'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/homes/home/bert/src/anjuta/glimmer/libglimmerfile'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/homes/home/bert/src/anjuta/glimmer'
make: *** [all-recursive-am] Error 2
Comment 1 SpanKY gentoo-dev 2002-09-18 15:49:23 UTC
looking at '/usr//share/' it seems like a variable probably should have been 
set somewhere and is not ... or its being set to "" ...

i.e. USR_PATH=
/usr/${USR_PATH}/hax
Comment 2 Markus Bertheau (RETIRED) gentoo-dev 2002-09-19 14:44:57 UTC
This is just because I passed --prefix=/usr/ instead of --prefix=/usr and does
not affect the real problem.
Comment 3 SpanKY gentoo-dev 2002-09-19 15:39:46 UTC
if you run `emerge glimmer` does that work ?
Comment 4 Markus Bertheau (RETIRED) gentoo-dev 2002-09-20 01:37:57 UTC
Yes, but that's not the version anjuta2 cvs needs.
Comment 5 Spider (RETIRED) gentoo-dev 2002-09-20 06:35:08 UTC
track /usr/include/regex.h down, might be that, but its probably header
inclusion order in your glimmer cvs tree. check with glimmer bugzilla.  

I'm marking this as invalid since the Gnome team is kinda swamped right now :/
Comment 6 Markus Bertheau (RETIRED) gentoo-dev 2002-09-20 16:06:28 UTC
I don't think, "since the Gnome team is kinda swamped right now" is a valid
reason for marking a bug invalid.

Checking the header inclusion order thing you mentioned.
Comment 7 Spider (RETIRED) gentoo-dev 2002-09-20 16:31:30 UTC
it might not be a valid reason, but neither is supporting cvs versions of
packages our alloted job here.  Sorry if you feel wrongly treated for that
reason, but that is a good reason for us to not provide cvs builds for users.