Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30993 - at-spi fails complaining stderr not defined in spi_main.c:417
Summary: at-spi fails complaining stderr not defined in spi_main.c:417
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: 2003-10-12 14:47 UTC by Paul Komarek
Modified: 2003-10-24 02:27 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 Paul Komarek 2003-10-12 14:47:44 UTC
While running emerge --deep --update --emptytree world, rebuilding failed on gnome-extra/at-spi version 1.1.8.  Version 1.1.9 had the same problem.  File spi_main.c, line 417, references stderr.  However, this file does not #include <stdio.h>.  Perhaps this is oversight, or perhaps there's a path problem with some header it already includes.

Unfortunately that isn't the only problem.  After adding #include <stdio.h> (and #include <stdlib.h> for good measure), there was a link error:

gcc -march=athlon-xp -O3 -pipe -DORBIT2=1 -I/usr/include/libbonobo-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/atk-1.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/gail-1.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -DSPI_DEBUG -o .libs/test-simple test-simple.o -pthread -Wl,--export-dynamic  ../libspi/.libs/libspi.so -L/usr/X11R6/lib -lXtst ../cspi/.libs/libcspi.so /usr/lib/libbonobo-2.so /usr/lib/libbonobo-activation.so /usr/lib/libORBitCosNaming-2.so /usr/lib/libORBit-2.so /usr/lib/libpopt.so /usr/lib/libgthread-2.0.so -lpthread /usr/lib/libgailutil.so /usr/lib/libgnomecanvas-2.so /usr/lib/libart_lgpl_2.so /usr/lib/libpangoft2-1.0.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so -lSM -lICE -lX11 -lXi

test-simple.o(.text+0xf18): In function `main':
: undefined reference to `linc_main_iteration'

I don't know if I'll bother digging for this link error.  Maybe I'll just switch to fvwm if it builds correctly. ;-)

-Paul Komarek
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2003-10-12 15:25:18 UTC
--deep is evil .. 

what version of ORBit2 are you using? you should at least have 2.8.x
Comment 2 Paul Komarek 2003-10-12 22:09:31 UTC
ORBit2 is 2.8.1.  ORBit is 0.5.17

-Paul Komarek
Comment 3 Leonardo Boshell (RETIRED) gentoo-dev 2003-10-15 22:41:53 UTC
Could you try emerging the latest at-spi version available in Portage (marked
~) and see if the problem is still there? If nothing terribly wrong happens,
I think that version could be marked as stable real soon.

Thanks
Comment 4 Paul Komarek 2003-10-16 08:10:43 UTC
at-spi-1.3.7.ebuild compiled fine for me.  Now to start emerge --deep --update
--emptytree world over again from scratch, unless someone can show me where
gentoo keeps a sorcerer-like build queue which tracks progress.

-Paul Komarek
Comment 5 Leonardo Boshell (RETIRED) gentoo-dev 2003-10-24 02:27:59 UTC
Ok then, closing.