astro/celestia is using an incomplete src tarball

Paul Seniura pdseniura at techie.com
Wed Jun 23 08:55:18 PDT 2004


Howdy y'all,

I'm tracking -Current via the CTM buckets.  Just got the
latest deltas applied.  World & kernel are current as of
last night, as are other ports.  Using the same ol'
puny pentium2 (i386)... still...

We're having problems with building the astro/celestia port
as it is currently configured within FreeBSD.  I have the
knobs WITH_KDE=yes and WITH_LUA=yes in my /etc/make.conf. 
This is a fresh build of Celestia (have it working on my
OSX G4 box at home, thought "why not on the puny p2 also").

The build error on the puny p2 shows up as this:

==snip==
gmake[5]: *** No rule to make target `eclipsefinderdlg.cpp', needed by `eclipsefinderdlg.o'.  Stop.
==snip==

Indeed there really is no file named 'eclipsefinderdlg.cpp'
within the tarball fetched by the current FreeBSD Makefile.

I found several 'hits' on the Celestia Forum at
<http://www.shatters.net/forum/>
with this exact same symptom occurring on other i386
flavors (Linux mainly).

Seems an incomplete src tarball has been distributed to
various parts of our planet, and people are still having
this same compile problem.  I know I sure am.  ;)

This incomplete tarball is currently being fetched by the
FreeBSD port skeleton as it is currently configured.

I found a particular msg about this problem at the Celestia
forum here:
<http://www.shatters.net/forum/viewtopic.php?t=4265&highlight=eclipsefinderdlg>
It said to download the full tarball from here:
<http://celestia.teyssier.org/download/1.3.1/celestia-1.3.1.tar.gz>
This site is working as I write this.

I went to the Celestia SourceForge site just now to check
its src tarball.  Several SF mirrors _do_ currently have the
_correct_ tarball (assuming the teyssier site's version is
'correct').

Using this file, adjusting the distinfo file should look
like this:
MD5 (celestia-1.3.1.tar.gz) = fcb73c43f5899f8f7e6d0c619a818a8b
SIZE (celestia-1.3.1.tar.gz) = 13291363


But now we have a _new_ compile problem:

==snip==
if c++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../.. -I..  -I/usr/local/include  -DQT_THREAD_SUPPORT -march=pentium2 -pipe  -I/usr/local/include -I/usr/local/include  -I/usr/X11R6/include -D_GETOPT_H -D_THREAD_SAFE  -Wnon-virtual-dtor -Wno-long-long -Wundef -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -DNDEBUG -DNO_DEBUG  -fno-exceptions -fno-check-new      -fomit-frame-pointer -DCELX  -MT kdeapp.o -MD -MP -MF ".deps/kdeapp.Tpo" \
  -c -o kdeapp.o `test -f 'kdeapp.cpp' || echo './'`kdeapp.cpp; \
then mv -f ".deps/kdeapp.Tpo" ".deps/kdeapp.Po"; \
else rm -f ".deps/kdeapp.Tpo"; exit 1; \
fi
In file included from ../../celengine/vertexprog.h:15,
                 from ../../celengine/glcontext.h:15,
                 from ../../celengine/render.h:18,
                 from ../../celengine/execenv.h:14,
                 from ../../celengine/command.h:15,
                 from ../celestiacore.h:19,
                 from kdeglwidget.h:25,
                 from kdeapp.cpp:67:
../../celengine/gl.h:33:1: warning: "GL_ARB_multitexture" redefined
In file included from /usr/X11R6/include/GL/gl.h:2472,
                 from /usr/X11R6/include/qgl.h:79,
                 from kdeglwidget.h:21,
                 from kdeapp.cpp:67:
/usr/X11R6/include/GL/glext.h:2706:1: warning: this is the location of the previous definition
kdeapp.cpp: In member function `void KdeApp::initActions()':
kdeapp.cpp:305: warning: `key' is deprecated (declared at
   /usr/local/include/kstdaccel.h:420)
kdeapp.cpp:308: warning: `key' is deprecated (declared at
   /usr/local/include/kstdaccel.h:420)
kdeapp.cpp: In member function `void KdeApp::slotDisplayLocalTime()':
kdeapp.cpp:1024: error: wrong type argument to unary minus
kdeapp.cpp:1024: error: `daylight' undeclared (first use this function)
kdeapp.cpp:1024: error: (Each undeclared identifier is reported only once for
   each function it appears in.)
kdeapp.cpp: In member function `void KdeApp::slotGoTo()':
kdeapp.cpp:1107: warning: `__comp_ctor' is deprecated (declared at
   /usr/local/include/klineeditdlg.h:58)
gmake[5]: *** [kdeapp.o] Error 1
gmake[5]: Leaving directory `/src/ports/astro/celestia/work/celestia-1.3.1/src/celestia/kde'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory `/src/ports/astro/celestia/work/celestia-1.3.1/src/celestia/kde'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/src/ports/astro/celestia/work/celestia-1.3.1/src/celestia'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/src/ports/astro/celestia/work/celestia-1.3.1/src'
gmake: *** [all] Error 2
*** Error code 2

Stop in /src/ports/astro/celestia.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade66415.53 make
** Fix the problem and try again.
--->  Build of astro/celestia ended at: Tue, 22 Jun 2004 16:12:41 -0500 (consumed 00:13:56)
--->  Fresh installation of astro/celestia ended at: Tue, 22 Jun 2004 16:12:41 -0500 (consumed 00:13:57)
==snip==


Oh boy... I'll mess with this s'more later
(Celestia is okay on my OSX G4 box at home).


But could we get the proper full tarball specs
put into the FreeBSD skeleton, please?  I'll
whip up a PR+patch asap if needed.


  --  thx, Paul Seniura
           System Specialist
           State of Okla. D.O.T.



More information about the freebsd-ports mailing list