Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails on openSUSE Tumbleweed #7

Open
wkazubski opened this issue Feb 11, 2023 · 2 comments
Open

Build fails on openSUSE Tumbleweed #7

wkazubski opened this issue Feb 11, 2023 · 2 comments

Comments

@wkazubski
Copy link

I have problem with building gnsstk on openSUSE Tumblewwed. The build fails with this message:

/home/abuild/rpmbuild/BUILD/gnsstk-14.0.0/core/lib/TimeHandling/CommonTime.hpp:95: Error: Syntax error in input(3).
make[2]: *** [swig/CMakeFiles/_ClockModel.dir/build.make:79: swig/CMakeFiles/_ClockModel.dir/ClockModelPYTHON_wrap.cxx] Error 1
make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/gnsstk-14.0.0/build'
make[1]: *** [CMakeFiles/Makefile2:595: swig/CMakeFiles/_ClockModel.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

This problem appeared with version (tag) 13.7.0 and is present in current release 14.0.0.
openSUSE Tumbleweed uses following tools:
gcc-c++ 12.2
python3 3.10.9
swig 4.1.1

For openSUSE Leap 15.4 build is OK

@UT-dave
Copy link
Contributor

UT-dave commented Feb 14, 2023

GNSSTk has been tested through Python 3.9 and SWIG 3.0.12 (the last version before 4.0). There are a number of changes we'll need to make to support Python 3.10 and SWIG 4.0, planned for later this year.

@wkazubski
Copy link
Author

I tested version 14.3.0 and it builds fine but only if the option -DBUILD_FOR_PACKAGE_SWITCH is not used. If this option is set to ON the build fails with the same error as above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants