error building LALInference in conda
Hi,
on CIT with environment-py36.yml
, I get the following error after running make
in the LALInference directory:
CC liblalinference_la-LALInferenceHDF5.lo
LALInferenceHDF5.c: In function 'LALInferenceH5DatasetToVariablesArray':
LALInferenceHDF5.c:73:9: error: variable 'ret' set but not used [-Werror=unused-but-set-variable]
int ret;
^~~
LALInferenceHDF5.c: In function 'LALInferenceH5VariablesArrayToDataset':
LALInferenceHDF5.c:280:9: error: variable 'ret' set but not used [-Werror=unused-but-set-variable]
int ret = XLALH5TableAppend(
^~~
LALInferenceHDF5.c: In function 'assert_not_reached':
LALInferenceHDF5.c:41:1: error: 'noreturn' function does return [-Werror]
}
^
cc1: all warnings being treated as errors
make[3]: *** [liblalinference_la-LALInferenceHDF5.lo] Error 1
make[3]: Leaving directory `/home/vivien/src/lalsuite/lalinference/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/vivien/src/lalsuite/lalinference/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/vivien/src/lalsuite/lalinference'
make: *** [all] Error 2
config.log is attached. While the LALInference developers (hm...) should fix those errors, I wonder how come those did not appear in the automated conda builds for LALInference.
Edited by Vivien Raymond