Bug 171386 - tests (make check) fails in healpix directory
Summary: tests (make check) fails in healpix directory
Status: RESOLVED INTENTIONAL
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 1.7.0
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-20 18:26 UTC by Matthew Truch
Modified: 2008-10-23 22:38 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Truch 2008-09-20 18:26:36 UTC
Version:           1.7.0 (using KDE 4.1.0)
OS:                Linux
Installed from:    Fedora RPMs

make check fails in the healpix directory:

make[4]: Entering directory `/home/matt/fedora/kst/devel/kst-1.7.0/kst/tests/healpix'
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../kst/src/libkst -I../../../kst/src/datasources/healpix -I../../../kst/src/libkst -I../../../kst/src/libkstmath -I../../../kst/tests -I/usr/include/kde -I/usr/lib/qt-3.3/include -I.  -I/usr/include/cfitsio -I/usr/include/netcdf-3  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o testhealpix.o testhealpix.cpp
In file included from ../../../kst/src/libkst/kstdatasource.h:31,
                 from ../../../kst/src/libkst/kstdatacollection.h:22,
                 from ../../../kst/tests/ksttestcase.h:10,
                 from testhealpix.cpp:8:
../../../kst/src/libkst/kstdateparser.h:21:28: error: kstextdatetime.h: No such file or directory
In file included from ../../../kst/src/libkst/kstdatasource.h:31,
                 from ../../../kst/src/libkst/kstdatacollection.h:22,
                 from ../../../kst/tests/ksttestcase.h:10,
                 from testhealpix.cpp:8:
../../../kst/src/libkst/kstdateparser.h:30: error: ‘ExtDateTime’ does not name a type
../../../kst/src/libkst/kstdateparser.h:31: error: expected ‘,’ or ‘...’ before ‘&’ token
../../../kst/src/libkst/kstdateparser.h:31: error: ISO C++ forbids declaration of ‘ExtDateTime’ with no type
../../../kst/src/libkst/kstdateparser.h:32: error: ‘ExtDateTime’ does not name a type
In file included from ../../../kst/src/libkst/kstdatacollection.h:22,
                 from ../../../kst/tests/ksttestcase.h:10,
                 from testhealpix.cpp:8:
../../../kst/src/libkst/kstdatasource.h:206: error: expected unqualified-id before ‘&’ token
../../../kst/src/libkst/kstdatasource.h:206: error: expected ‘,’ or ‘...’ before ‘&’ token
../../../kst/src/libkst/kstdatasource.h:210: error: ‘ExtDateTime’ in namespace ‘KST’ does not name a type
In file included from ../../../kst/src/libkst/kstdatacollection.h:24,
                 from ../../../kst/tests/ksttestcase.h:10,
                 from testhealpix.cpp:8:
../../../kst/src/libkst/kstvector.h:143: warning: type qualifiers ignored on function return type
testhealpix.cpp: In function ‘int main(int, char**)’:
testhealpix.cpp:307: warning: ‘KApplication::KApplication(int&, char**, const QCString&, bool, bool)’ is deprecated (declared at /usr/include/kde/kapplication.h:205)
make[4]: *** [testhealpix.o] Error 1
make[4]: Leaving directory `/home/matt/fedora/kst/devel/kst-1.7.0/kst/tests/healpix'
make[3]: *** [check-am] Error 2
make[3]: Leaving directory `/home/matt/fedora/kst/devel/kst-1.7.0/kst/tests/healpix'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/home/matt/fedora/kst/devel/kst-1.7.0/kst/tests'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/home/matt/fedora/kst/devel/kst-1.7.0/kst'
make: *** [check-recursive] Error 1
Comment 1 Andrew Walker 2008-10-18 01:37:27 UTC
The build fails in the tests/healpix directory.

Ideally this would not even be included as part of the distribution as it is for internal testing only.

Matt, this will likely only build correctly if you have already done a make install for kst 1.7.0 - in which case you should have a /usr/include/kstextdatetime.h file and no build error.
Comment 2 Matthew Truch 2008-10-21 23:15:03 UTC
I would argue that this should be included (as it is now) and working in a standalone build (without make install done first).  In other packages I have worked on, some bugs have been found by the test suites as they were run on very different compilers and architectures as the 'common' case. 
Comment 3 Andrew Walker 2008-10-23 22:38:40 UTC
SVN commit 875257 by arwalker:

CCBUG:171386 add necessary include directory to the tests/healpix build

 M  +1 -1      Makefile.am  


WebSVN link: http://websvn.kde.org/?view=rev&revision=875257