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

compatibility with 22.04 LTS #76

Open
dragonlost opened this issue May 24, 2022 · 3 comments
Open

compatibility with 22.04 LTS #76

dragonlost opened this issue May 24, 2022 · 3 comments

Comments

@dragonlost
Copy link

dragonlost commented May 24, 2022

hello.

I'm testing the nafabox with the new 22.04LTS but unfortunately I can't install mobindi.

Unable to pass the installation step.
Attached is the output of ./install.sh

debug.txt

thanks for help

@dragonlost
Copy link
Author

dragonlost commented Jun 2, 2022

i have more help for debug :
[ 97%] Building CXX object CMakeFiles/unittests.dir/test/main.cpp.o In file included from /home/nafabox/bin/mobindi/fitsviewer/test/../StarFinder.h:9, from /home/nafabox/bin/mobindi/fitsviewer/test/StarFinder_test.cpp:4: /home/nafabox/bin/mobindi/fitsviewer/test/../BitMask.h: In member function ‘void BitMask::set(int, int, bool)’: /home/nafabox/bin/mobindi/fitsviewer/test/../BitMask.h:77:21: warning: unused variable ‘off’ [-Wunused-variable] 77 | int off; | ^~~ /home/nafabox/bin/mobindi/fitsviewer/test/../BitMask.h:78:26: warning: unused variable ‘mask’ [-Wunused-variable] 78 | uint32_t mask; | ^~~~ In file included from /home/nafabox/bin/mobindi/fitsviewer/test/../StarFinder.h:11, from /home/nafabox/bin/mobindi/fitsviewer/test/StarFinder_test.cpp:4: /home/nafabox/bin/mobindi/fitsviewer/test/../HistogramStorage.h: At global scope: /home/nafabox/bin/mobindi/fitsviewer/test/../HistogramStorage.h:59:39: warning: extra qualification ‘HistogramChannelData::’ on member ‘resample’ [-fpermissive] 59 | static HistogramChannelData * HistogramChannelData::resample(const HistogramChannelData *rcs, int shift, std::function<void* (long int)> allocator); | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/signal.h:328, from /home/nafabox/bin/mobindi/fitsviewer/test/catch.hpp:4907, from /home/nafabox/bin/mobindi/fitsviewer/test/main.cpp:2: /home/nafabox/bin/mobindi/fitsviewer/test/catch.hpp:7485:58: error: call to non-‘constexpr’ function ‘long int sysconf(int)’ 7485 | constexpr static std::size_t sigStackSize = 32768 >= MINSIGSTKSZ ? 32768 : MINSIGSTKSZ; | ^~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/sigstksz.h:24, from /usr/include/signal.h:328, from /home/nafabox/bin/mobindi/fitsviewer/test/catch.hpp:4907, from /home/nafabox/bin/mobindi/fitsviewer/test/main.cpp:2: /usr/include/unistd.h:640:17: note: ‘long int sysconf(int)’ declared here 640 | extern long int sysconf (int __name) __THROW; | ^~~~~~~ In file included from /home/nafabox/bin/mobindi/fitsviewer/test/main.cpp:2: /home/nafabox/bin/mobindi/fitsviewer/test/catch.hpp:7544:45: error: size of array ‘altStackMem’ is not an integral constant-expression 7544 | char FatalConditionHandler::altStackMem[sigStackSize] = {}; | ^~~~~~~~~~~~ make[2]: *** [CMakeFiles/unittests.dir/build.make:160 : CMakeFiles/unittests.dir/test/main.cpp.o] Erreur 1 make[1]: *** [CMakeFiles/Makefile2:223 : CMakeFiles/unittests.dir/all] Erreur 2 make: *** [Makefile:91 : all] Erreur 2

@dragonlost
Copy link
Author

I suspect a bad compatibility between the mobindi and the new main GCC in the fitsviewer part

@pludov
Copy link
Owner

pludov commented Jun 4, 2022

Thank you for your report and analysis !

I upgraded catch.hpp in master branch, this should fix that compilation problem.

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