Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124956 - sci-astronomy/celestia-1.4.1 fails to build with gcc-4.1
Summary: sci-astronomy/celestia-1.4.1 fails to build with gcc-4.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Disenchanted (RETIRED)
URL:
Whiteboard:
Keywords:
: 146136 (view as bug list)
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-03-04 08:27 UTC by Samuli Suominen (RETIRED)
Modified: 2006-09-04 09:26 UTC (History)
3 users (show)

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 Samuli Suominen (RETIRED) gentoo-dev 2006-03-04 08:27:25 UTC
Celestia fails to build with GCC 4.1, but it builds okay with GCC 3.4.5

if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..     -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include   -I/usr/include/cairo    -MT unixdirectory.o -MD -MP -MF ".deps/unixdirectory.Tpo" \
  -c -o unixdirectory.o `test -f 'unixdirectory.cpp' || echo './'`unixdirectory.cpp; \
then mv -f ".deps/unixdirectory.Tpo" ".deps/unixdirectory.Po"; \
else rm -f ".deps/unixdirectory.Tpo"; exit 1; \
fi
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..     -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include   -I/usr/include/cairo    -MT unixtimer.o -MD -MP -MF ".deps/unixtimer.Tpo" \
  -c -o unixtimer.o `test -f 'unixtimer.cpp' || echo './'`unixtimer.cpp; \
then mv -f ".deps/unixtimer.Tpo" ".deps/unixtimer.Po"; \
else rm -f ".deps/unixtimer.Tpo"; exit 1; \
fi
rm -f libcelutil.a
i686-pc-linux-gnu-ar cru libcelutil.a bigfix.o color.o debug.o directory.o filetype.o formatnum.o utf8.o util.o unixdirectory.o unixtimer.o
i686-pc-linux-gnu-ranlib libcelutil.a
make[3]: Leaving directory `/var/tmp/portage/celestia-1.4.1/work/celestia-1.4.1/src/celutil'
Making all in celmath
make[3]: Entering directory `/var/tmp/portage/celestia-1.4.1/work/celestia-1.4.1/src/celmath'
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..    -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include   -I/usr/include/cairo    -MT frustum.o -MD -MP -MF ".deps/frustum.Tpo" \
  -c -o frustum.o `test -f 'frustum.cpp' || echo './'`frustum.cpp; \
then mv -f ".deps/frustum.Tpo" ".deps/frustum.Po"; \
else rm -f ".deps/frustum.Tpo"; exit 1; \
fi
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..    -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include   -I/usr/include/cairo    -MT perlin.o -MD -MP -MF ".deps/perlin.Tpo" \
  -c -o perlin.o `test -f 'perlin.cpp' || echo './'`perlin.cpp; \
then mv -f ".deps/perlin.Tpo" ".deps/perlin.Po"; \
else rm -f ".deps/perlin.Tpo"; exit 1; \
fi
rm -f libcelmath.a
i686-pc-linux-gnu-ar cru libcelmath.a frustum.o perlin.o
i686-pc-linux-gnu-ranlib libcelmath.a
make[3]: Leaving directory `/var/tmp/portage/celestia-1.4.1/work/celestia-1.4.1/src/celmath'
Making all in cel3ds
make[3]: Entering directory `/var/tmp/portage/celestia-1.4.1/work/celestia-1.4.1/src/cel3ds'
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..    -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include   -I/usr/include/cairo    -MT 3dsmodel.o -MD -MP -MF ".deps/3dsmodel.Tpo" \
  -c -o 3dsmodel.o `test -f '3dsmodel.cpp' || echo './'`3dsmodel.cpp; \
then mv -f ".deps/3dsmodel.Tpo" ".deps/3dsmodel.Po"; \
else rm -f ".deps/3dsmodel.Tpo"; exit 1; \
fi
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..    -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include   -I/usr/include/cairo    -MT 3dsread.o -MD -MP -MF ".deps/3dsread.Tpo" \
  -c -o 3dsread.o `test -f '3dsread.cpp' || echo './'`3dsread.cpp; \
then mv -f ".deps/3dsread.Tpo" ".deps/3dsread.Po"; \
else rm -f ".deps/3dsread.Tpo"; exit 1; \
fi
3dsread.cpp:118: warning: unused parameter 
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2006-03-04 08:27:25 UTC
Celestia fails to build with GCC 4.1, but it builds okay with GCC 3.4.5

if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..     -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include   -I/usr/include/cairo    -MT unixdirectory.o -MD -MP -MF ".deps/unixdirectory.Tpo" \
  -c -o unixdirectory.o `test -f 'unixdirectory.cpp' || echo './'`unixdirectory.cpp; \
then mv -f ".deps/unixdirectory.Tpo" ".deps/unixdirectory.Po"; \
else rm -f ".deps/unixdirectory.Tpo"; exit 1; \
fi
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..     -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include   -I/usr/include/cairo    -MT unixtimer.o -MD -MP -MF ".deps/unixtimer.Tpo" \
  -c -o unixtimer.o `test -f 'unixtimer.cpp' || echo './'`unixtimer.cpp; \
then mv -f ".deps/unixtimer.Tpo" ".deps/unixtimer.Po"; \
else rm -f ".deps/unixtimer.Tpo"; exit 1; \
fi
rm -f libcelutil.a
i686-pc-linux-gnu-ar cru libcelutil.a bigfix.o color.o debug.o directory.o filetype.o formatnum.o utf8.o util.o unixdirectory.o unixtimer.o
i686-pc-linux-gnu-ranlib libcelutil.a
make[3]: Leaving directory `/var/tmp/portage/celestia-1.4.1/work/celestia-1.4.1/src/celutil'
Making all in celmath
make[3]: Entering directory `/var/tmp/portage/celestia-1.4.1/work/celestia-1.4.1/src/celmath'
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..    -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include   -I/usr/include/cairo    -MT frustum.o -MD -MP -MF ".deps/frustum.Tpo" \
  -c -o frustum.o `test -f 'frustum.cpp' || echo './'`frustum.cpp; \
then mv -f ".deps/frustum.Tpo" ".deps/frustum.Po"; \
else rm -f ".deps/frustum.Tpo"; exit 1; \
fi
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..    -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include   -I/usr/include/cairo    -MT perlin.o -MD -MP -MF ".deps/perlin.Tpo" \
  -c -o perlin.o `test -f 'perlin.cpp' || echo './'`perlin.cpp; \
then mv -f ".deps/perlin.Tpo" ".deps/perlin.Po"; \
else rm -f ".deps/perlin.Tpo"; exit 1; \
fi
rm -f libcelmath.a
i686-pc-linux-gnu-ar cru libcelmath.a frustum.o perlin.o
i686-pc-linux-gnu-ranlib libcelmath.a
make[3]: Leaving directory `/var/tmp/portage/celestia-1.4.1/work/celestia-1.4.1/src/celmath'
Making all in cel3ds
make[3]: Entering directory `/var/tmp/portage/celestia-1.4.1/work/celestia-1.4.1/src/cel3ds'
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..    -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include   -I/usr/include/cairo    -MT 3dsmodel.o -MD -MP -MF ".deps/3dsmodel.Tpo" \
  -c -o 3dsmodel.o `test -f '3dsmodel.cpp' || echo './'`3dsmodel.cpp; \
then mv -f ".deps/3dsmodel.Tpo" ".deps/3dsmodel.Po"; \
else rm -f ".deps/3dsmodel.Tpo"; exit 1; \
fi
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..    -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include   -I/usr/include/cairo    -MT 3dsread.o -MD -MP -MF ".deps/3dsread.Tpo" \
  -c -o 3dsread.o `test -f '3dsread.cpp' || echo './'`3dsread.cpp; \
then mv -f ".deps/3dsread.Tpo" ".deps/3dsread.Po"; \
else rm -f ".deps/3dsread.Tpo"; exit 1; \
fi
3dsread.cpp:118: warning: unused parameter chunkSize
3dsread.cpp:251: warning: unused parameter nBytes
3dsread.cpp:263: warning: unused parameter nBytes
3dsread.cpp:275: warning: unused parameter nBytes
3dsread.cpp:307: warning: unused parameter in
3dsread.cpp:307: warning: unused parameter chunkType
3dsread.cpp:307: warning: unused parameter contentSize
3dsread.cpp:307: warning: unused parameter obj
3dsread.cpp:343: warning: unused parameter contentSize
3dsread.cpp:489: warning: unused parameter contentSize
3dsread.cpp:513: warning: unused parameter contentSize
rm -f libcel3ds.a
i686-pc-linux-gnu-ar cru libcel3ds.a 3dsmodel.o 3dsread.o
i686-pc-linux-gnu-ranlib libcel3ds.a
make[3]: Leaving directory `/var/tmp/portage/celestia-1.4.1/work/celestia-1.4.1/src/cel3ds'
Making all in celtxf
make[3]: Entering directory `/var/tmp/portage/celestia-1.4.1/work/celestia-1.4.1/src/celtxf'
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..    -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include   -I/usr/include/cairo    -MT texturefont.o -MD -MP -MF ".deps/texturefont.Tpo" \
  -c -o texturefont.o `test -f 'texturefont.cpp' || echo './'`texturefont.cpp; \
then mv -f ".deps/texturefont.Tpo" ".deps/texturefont.Po"; \
else rm -f ".deps/texturefont.Tpo"; exit 1; \
fi
rm -f libceltxf.a
i686-pc-linux-gnu-ar cru libceltxf.a texturefont.o
i686-pc-linux-gnu-ranlib libceltxf.a
make[3]: Leaving directory `/var/tmp/portage/celestia-1.4.1/work/celestia-1.4.1/src/celtxf'
Making all in celengine
make[3]: Entering directory `/var/tmp/portage/celestia-1.4.1/work/celestia-1.4.1/src/celengine'
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..    -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include   -I/usr/include/cairo    -MT asterism.o -MD -MP -MF ".deps/asterism.Tpo" \
  -c -o asterism.o `test -f 'asterism.cpp' || echo './'`asterism.cpp; \
then mv -f ".deps/asterism.Tpo" ".deps/asterism.Po"; \
else rm -f ".deps/asterism.Tpo"; exit 1; \
fi
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..    -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include   -I/usr/include/cairo    -MT astro.o -MD -MP -MF ".deps/astro.Tpo" \  -c -o astro.o `test -f 'astro.cpp' || echo './'`astro.cpp; \
then mv -f ".deps/astro.Tpo" ".deps/astro.Po"; \
else rm -f ".deps/astro.Tpo"; exit 1; \
fi
astro.cpp:176: warning: unused parameter spherePos
astro.cpp:176: warning: unused parameter viewerPos
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..    -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include   -I/usr/include/cairo    -MT body.o -MD -MP -MF ".deps/body.Tpo" \
  -c -o body.o `test -f 'body.cpp' || echo './'`body.cpp; \
then mv -f ".deps/body.Tpo" ".deps/body.Po"; \
else rm -f ".deps/body.Tpo"; exit 1; \
fi
../celengine/star.h:33: error: extra qualification StarDetails:: on member StarDetails
../celengine/orbit.h:19: warning: class Orbit has virtual functions but non-virtual destructor
../celengine/orbit.h:35: warning: class EllipticalOrbit has virtual functions but non-virtual destructor
../celengine/orbit.h:62: warning: class OrbitSampleProc has virtual functions but non-virtual destructor
../celengine/orbit.h:77: warning: class CachingOrbit has virtual functions but non-virtual destructor
make[3]: *** [asterism.o] Error 1
make[3]: *** Waiting for unfinished jobs....
../celengine/model.h:73: warning: class Model::MeshComparator has virtual functions but non-virtual destructor
../celengine/model.h:91: warning: class Model::OpacityComparator has virtual functions but non-virtual destructor
../celengine/orbit.h:19: warning: class Orbit has virtual functions but non-virtual destructor
../celengine/orbit.h:35: warning: class EllipticalOrbit has virtual functions but non-virtual destructor
../celengine/orbit.h:62: warning: class OrbitSampleProc has virtual functions but non-virtual destructor
../celengine/orbit.h:77: warning: class CachingOrbit has virtual functions but non-virtual destructor
../celengine/star.h:33: error: extra qualification StarDetails:: on member StarDetails
make[3]: *** [body.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/celestia-1.4.1/work/celestia-1.4.1/src/celengine'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/celestia-1.4.1/work/celestia-1.4.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/celestia-1.4.1/work/celestia-1.4.1'
make: *** [all] Error 2

Portage 2.1_pre5-r2 (default-linux/x86/2006.0, gcc-4.1.0, glibc-2.3.6-r3, 2.6.15-gentoo-r5 i686)
=================================================================
System uname: 2.6.15-gentoo-r5 i686 AMD Athlon(tm) XP 2200+
Gentoo Base System version 1.12.0_pre16
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks prelink sandbox sfperms strict"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/"
LANG="en_US.utf8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/xfce4 /usr/local/portage/experimental"
SYNC="rsync://trumpetti.atm.tut.fi/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac aalib alsa apm asf avi bash-completion berkdb bitmap-fonts bzip2 cairo compositor crypt cups curl dbus dri dts dvd dvdread emboss encode exif ffmpeg flac foomaticdb fortran gdbm gif gimpprint glitz glut gstreamer gtk gtk2 hal imagemagick imlib insecure-savers ipv6 jpeg lcms libcaca libg++ libwww mad matroska mikmod mmx mmxext mng motif mp3 mpeg mplayer ncurses nls nptl nptlonly offensive ogg opengl oss pam pdflib perl pic png ppds python qt quicktime readline rtc sdl speex sse ssl startup-notification svg tcltk tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode userlocales v4l vidix vorbis win32codecs xanim xml xml2 xscreensaver xv xvid zlib elibc_glibc input_devices_mouse input_devices_keyboard input_devices_evdev kernel_linux userland_GNU video_cards_ati"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL, LDFLAGS, LINGUAS

Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /var/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.1.0 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.0/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.0 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.0/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.0/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.0/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --disable-multilib --disable-libmudflap --disable-libgcj --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 4.1.0 (Gentoo 4.1.0
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2006-03-05 13:24:27 UTC
A thread with upstream is going on at http://shatters.net/forum/viewtopic.php?p=68831 , including a patches. I'm going to collect them, and provide a single patch here soon as it's all ready and tested.
Comment 3 Disenchanted (RETIRED) gentoo-dev 2006-03-06 18:50:23 UTC
fixed in cvs, wait 2 hours, sync and emerge celestia

thanks for reporting this
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2006-03-07 08:28:30 UTC
Confirming it's working. Thanks.
Comment 5 Vasilis Lourdas 2006-06-04 12:44:14 UTC
Compilation with gcc 4.1.1 fails here:

g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O2 -march=athlon-xp -fomit-frame-pointer -pipe -fno-exceptions -fno-check-new  -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -DCELX  -c -o cmdparser.o `test -f 'cmdparser.cpp' || echo './'`cmdparser.cpp
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC but not for C++
In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/backward/strstream:51,
                 from cmdparser.cpp:21:
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
../celengine/orbit.h:19: warning: 
Comment 6 Vasilis Lourdas 2006-06-04 12:44:14 UTC
Compilation with gcc 4.1.1 fails here:

g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O2 -march=athlon-xp -fomit-frame-pointer -pipe -fno-exceptions -fno-check-new  -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -DCELX  -c -o cmdparser.o `test -f 'cmdparser.cpp' || echo './'`cmdparser.cpp
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC but not for C++
In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/backward/strstream:51,
                 from cmdparser.cpp:21:
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
../celengine/orbit.h:19: warning: class Orbit has virtual functions but non-virtual destructor
../celengine/orbit.h:35: warning: class EllipticalOrbit has virtual functions but non-virtual destructor
../celengine/orbit.h:62: warning: class OrbitSampleProc has virtual functions but non-virtual destructor
../celengine/orbit.h:77: warning: class CachingOrbit has virtual functions but non-virtual destructor
../celengine/execenv.h:20: warning: class ExecutionEnvironment has virtual functions but non-virtual destructor
../celengine/command.h:38: warning: unused parameter t
../celengine/command.h:38: warning: unused parameter dt
../celengine/command.h:100: error: extra qualification CommandGotoLongLat:: on member CommandGotoLongLat
make[3]: *** [cmdparser.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/celestia-1.3.2/work/celestia-1.3.2/src/celengine'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/celestia-1.3.2/work/celestia-1.3.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/celestia-1.3.2/work/celestia-1.3.2'
make: *** [all] Error 2

!!! ERROR: sci-astronomy/celestia-1.3.2 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  celestia-1.3.2.ebuild, line 97:   Called die

emerge --info:
Portage 2.1_rc4 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.3.6-r3, 2.6.16-gentoo-r9 i686)
=================================================================
System uname: 2.6.16-gentoo-r9 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.6.14
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r1
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ http://cudlug.cudenver.edu/gentoo/ http://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.ntua.gr/pub/linux/gentoo/ http://gentoo.math.bme.hu http://ftp.heanet.ie/pub/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.gentoo.no/ http://mirror.isp.net.au/pub/gentoo/ http://gentoo.osuosl.org/ http://adelie.polymtl.ca/"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 acl acpi alsa apache2 apm arts artswrappersuid asf avi bash-completion berkdb bitmap-fonts bluetooth bzip2 bzlib cairo caps cdr chm cli crypt css ctype cups curl dba dbus dlloader dmi doc dri dts dvd dvdr dvdread eds effects emboss encode esd examples exif expat fam fbcon ffmpeg firefox flac flatfile foomaticdb fortran ftp gd gdbm gif gimp gimpprint glx gmp gnome gnomedb gnutls gphoto2 gpm gstreamer gtk gtk2 hal hddtemp howl iconv imagemagick imap imlib innodb isdnlog jabber java javascript jpeg jpeg2k kde kdeenablefinal ldap libg++ libsamplerate libwww lm_sensors mad maildir mailwrapper mhash mikmod mime mmx mmxext motif mozdevelop mozilla mozsvg mp3 mpeg mplayer mpm-worker mysql mysqli ncurses nls nodrm nomalloccheck nptl nptlonly nsplugin nvidia objc odbc offensive ogg opengl pam pcntl pcre pdf pdflib pear perl php pic plugin png posix postgres postgresi ppds pppd python qt quicktime rar rdesktop readline recode reflection ruby samba sasl scanner sdl server session slang sndfile soap sockets speex spell spl spreadsheet sqlite sse ssl subtitles subversion svga symlink tcltk tcpd tetex threads tidy tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb userlocales utf8 vda visualization vorbis win32codecs wmf wv wxgtk1 xine xml xmlreader xmlrpc xmlwriter xmms xorg xpm xprint xscreensaver xsl xv xvid xvmc zip zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 7 Bret Towe 2006-06-04 12:53:41 UTC
make sure your overlay doesnt have somethin in there messing it up
cause it still works here
Comment 8 Vasilis Lourdas 2006-06-04 12:58:49 UTC
(In reply to comment #5)
> make sure your overlay doesnt have somethin in there messing it up
> cause it still works here

Messy like what? My overlay contains these:

./dev-cpp
./dev-cpp/gnomemm
./dev-cpp/gnomemm/files
./www-client
./www-client/opera
./www-client/opera/files
./x11-themes
./x11-themes/polyester
./x11-themes/polyester/files
./mail-client
./mail-client/mozilla-thunderbird
./mail-client/mozilla-thunderbird/files
./mail-client/mozilla-thunderbird/files/icon
./media-libs
./media-libs/id3lib
./media-libs/id3lib/files
./dev-util
./dev-util/kdesvn
./dev-util/kdesvn/files
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2006-06-04 13:12:06 UTC
(In reply to comment #4)
> Compilation with gcc 4.1.1 fails here:
> !!! ERROR: sci-astronomy/celestia-1.3.2 failed.

GCC 4.x fix is in celestia-1.4.1, not in 1.3.2 so just use newer version from portage.

Thanks, drac
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2006-09-04 09:26:54 UTC
*** Bug 146136 has been marked as a duplicate of this bug. ***