public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Help needed with new ORBit/gnome-applets ebuild
@ 2002-02-10  6:08 Edward Muller
  2002-02-10  7:52 ` Edward Muller
  0 siblings, 1 reply; 2+ messages in thread
From: Edward Muller @ 2002-02-10  6:08 UTC (permalink / raw
  To: gentoo-dev

I put together some slightly newer ebuilds for ORBit, oaf ,bonobo. The
main motivation beign that they were supposed to fix a bug in that I was
having in evolution (according to the evolution mailing list anway).
Well they fixed the bug ... but ...

I also started looking into what other gnome software hasn't been
updated so I started updating the ebuilds for those .... until ...

I ran across the gnome-applets ebuild...

My current ebuild dies compiling with the following error:

make[1]: Entering directory
`/var/tmp/portage/gnome-applets-1.4.0.5/work/gnome-applets-1.4.0.5/charpick'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I. -I../intl -I../intl
-DGNOMELOCALEDIR=\""/usr/local/share/locale"\" -I/usr/local/include
-I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H
-I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2
-I/usr/X11R6/include -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H
-I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2
-I/usr/X11R6/include  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/X11R6/include  -ansi -Werror
-Wmissing-prototypes -Wmissing-declarations -c charpick.c
In file included from /usr/include/orbit-1.0/ORBitutil/os-specifics.h:6,
                 from /usr/include/orbit-1.0/ORBitutil/util.h:34,
                 from /usr/include/orbit-1.0/IIOP/IIOP.h:5,
                 from /usr/include/orbit-1.0/orb/orbit.h:55,
                 from /usr/include/gnome-1.0/libgnorba/gnorba.h:4,
                 from /usr/include/applet-widget.h:12,
                 from charpick.c:6:
/usr/include/orbit-1.0/ORBitutil/os-feature-alloca.h:13: warning:
`alloca' redefined
/usr/include/alloca.h:36: warning: this is the location of the previous
definition
make[1]: *** [charpick.o] Error 1
make[1]: Leaving directory
`/var/tmp/portage/gnome-applets-1.4.0.5/work/gnome-applets-1.4.0.5/charpick'
make: *** [all-recursive] Error 1


So I took a look ... and /usr/include/alloca.h defines alloca as ...

define alloca(size)   __builtin_alloca (size)

and /usr/include/orbit-1.0/ORBitutil/os-feature-alloca.h defines alloca
as ...

define alloca __builtin_alloca

This can't be right? Should I patch and re-build orbit with the correct
defs as a work around? Should I bring this up on the orbit list?

Sorry if the questions are pretty basic (C wise) but I don't do much C
stuff (but I'm trying to learn ... hence the question).



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-dev] Help needed with new ORBit/gnome-applets ebuild
  2002-02-10  6:08 [gentoo-dev] Help needed with new ORBit/gnome-applets ebuild Edward Muller
@ 2002-02-10  7:52 ` Edward Muller
  0 siblings, 0 replies; 2+ messages in thread
From: Edward Muller @ 2002-02-10  7:52 UTC (permalink / raw
  To: gentoo-dev

Solution ...

--- src/ORBitutil/os-feature-alloca.h   2000-01-18 11:36:13.000000000
-0500
+++ src/ORBitutil/os-feature-alloca.h   2002-02-10 02:39:26.000000000
-0500
@@ -9,7 +9,7 @@

 #  if defined(__GNUC__)

-#    if defined(__STRICT_ANSI__)
+#    if defined(__STRICT_ANSI__) && !defined(alloca)
 #      define alloca __builtin_alloca
 #    endif

Should be in a future ORBit. I'll post ebuilds when I'm done testing my
packages ... ORBit, oaf, bonobo, gnome-applets and a few others.

On Sun, 2002-02-10 at 01:08, Edward Muller wrote:
> I put together some slightly newer ebuilds for ORBit, oaf ,bonobo. The
> main motivation beign that they were supposed to fix a bug in that I was
> having in evolution (according to the evolution mailing list anway).
> Well they fixed the bug ... but ...
> 
> I also started looking into what other gnome software hasn't been
> updated so I started updating the ebuilds for those .... until ...
> 
> I ran across the gnome-applets ebuild...
> 
> My current ebuild dies compiling with the following error:
> 
> make[1]: Entering directory
> `/var/tmp/portage/gnome-applets-1.4.0.5/work/gnome-applets-1.4.0.5/charpick'
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I. -I../intl -I../intl
> -DGNOMELOCALEDIR=\""/usr/local/share/locale"\" -I/usr/local/include
> -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H
> -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2
> -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2
> -I/usr/X11R6/include -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H
> -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2
> -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2
> -I/usr/X11R6/include  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
> -I/usr/lib/glib/include -I/usr/X11R6/include  -ansi -Werror
> -Wmissing-prototypes -Wmissing-declarations -c charpick.c
> In file included from /usr/include/orbit-1.0/ORBitutil/os-specifics.h:6,
>                  from /usr/include/orbit-1.0/ORBitutil/util.h:34,
>                  from /usr/include/orbit-1.0/IIOP/IIOP.h:5,
>                  from /usr/include/orbit-1.0/orb/orbit.h:55,
>                  from /usr/include/gnome-1.0/libgnorba/gnorba.h:4,
>                  from /usr/include/applet-widget.h:12,
>                  from charpick.c:6:
> /usr/include/orbit-1.0/ORBitutil/os-feature-alloca.h:13: warning:
> `alloca' redefined
> /usr/include/alloca.h:36: warning: this is the location of the previous
> definition
> make[1]: *** [charpick.o] Error 1
> make[1]: Leaving directory
> `/var/tmp/portage/gnome-applets-1.4.0.5/work/gnome-applets-1.4.0.5/charpick'
> make: *** [all-recursive] Error 1
> 
> 
> So I took a look ... and /usr/include/alloca.h defines alloca as ...
> 
> define alloca(size)   __builtin_alloca (size)
> 
> and /usr/include/orbit-1.0/ORBitutil/os-feature-alloca.h defines alloca
> as ...
> 
> define alloca __builtin_alloca
> 
> This can't be right? Should I patch and re-build orbit with the correct
> defs as a work around? Should I bring this up on the orbit list?
> 
> Sorry if the questions are pretty basic (C wise) but I don't do much C
> stuff (but I'm trying to learn ... hence the question).
> 
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-02-10  4:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-10  6:08 [gentoo-dev] Help needed with new ORBit/gnome-applets ebuild Edward Muller
2002-02-10  7:52 ` Edward Muller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox