Closed bennahugo closed 9 months ago
Alright I believe I have this addressed. There is some upstream issues with the lofar stuff in makems I need to properly test this, but Timba is compiling at least with the fix - PR incoming to fix this
OK things compile and run through. However there are numerical differences to track down:
======================================================================
ERROR: batch_test.testMeqtreesBatchJob
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/venv/lib/python3.10/site-packages/nose/case.py", line 170, in runTest
self.test(*self.arg)
File "/src/pyxis-1.7.4.3/Pyxis/recipes/meqtrees-batch-test/batch_test.py", line 163, in testMeqtreesBatchJob
verify_image(os.path.join(PACKAGE_TEST_DIR, "WSRT.MS.MODEL_DATA.channel.1ch.fits"),
File "/src/pyxis-1.7.4.3/Pyxis/recipes/meqtrees-batch-test/batch_test.py", line 53, in verify_image
raise RuntimeError("%s and %s differ by %g"%(file1,file2,delta));
RuntimeError: /opt/venv/lib/python3.10/site-packages/Pyxis/recipes/meqtrees-batch-test/WSRT.MS.MODEL_DATA.channel.1ch.fits and /opt/venv/lib/python3.10/site-packages/Pyxis/recipes/meqtrees-batch-test/test-refimage.fits differ by 0.00137325
----------------------------------------------------------------------
Ran 1 test in 26.832s
I have pushed changes but this is not quite there yet
It seems this is stemming from a non-functional casacore data system now distributed with Ubuntu 22.04. I'm just going to revert back to NRAO-provided data for now.
@Athanaseus and I are busy testing the kern-9 releases of casacore against the test suite now. We will debug it further if they fail.
It looks like sys_siglist is deprecated, although the documentation is sparse. Replacement seems to be: https://linux.die.net/man/3/strsignal
This is not to do with GCC this time around on Ubuntu 18.04 and GCC 11.4 this compiles - on Ubuntu 22.04 it does not. I will look at putting in macros to make this backward compatible with older systems