error compiling darktable

Just updated from github and: error: request for member ‘value_or’ in ‘r.rawspeed::RawImage::operator->()->rawspeed::RawImageData::whitePoint’, which is of non-class type ‘int’
209 | img->raw_white_point = r->whitePoint.value_or((1U << 16)-1);

Compiling using kubuntu on a system76 laptop. has been compiling fine for months.

Welcome! You did not update the git submodules. Please search the forum, there was on advice on how to do so recently.

When you updated from github, did you also update the submodules?

Yep, that was it. Thanks