DUNE-DAQ / readout

This package contains Upstream DAQ Readout specific software and utilities, appfwk DAQModules, CCM interface implementations, and software emulators.
2 stars 1 forks source link

Update usages of `dataformats` is needed after the merge of PR#80 in `dataformats` #103

Closed dingp closed 3 years ago

dingp commented 3 years ago

Update of the readout package is needed after the merge of this PR DUNE-DAQ/dataformats#80

Currently, CI build of the development release fails. Details can be found at: https://github.com/DUNE-DAQ/daq-release/runs/3079922932?check_suite_focus=true#step:6:1156

In file included from /build/dingpf/github-runner/actions-runner/_work/daq-release/daq-release/dev/sourcecode/readout/src/CreateReadout.hpp:16,
1157
                 from /build/dingpf/github-runner/actions-runner/_work/daq-release/daq-release/dev/sourcecode/readout/plugins/DataLinkHandler.hpp:12,
1158
                 from /build/dingpf/github-runner/actions-runner/_work/daq-release/daq-release/dev/sourcecode/readout/plugins/DataLinkHandler.cpp:11:
1159
/build/dingpf/github-runner/actions-runner/_work/daq-release/daq-release/dev/sourcecode/readout/include/readout/NDReadoutTypes.hpp: In member function ‘bool dunedaq::readout::types::PACMAN_MESSAGE_STRUCT::operator<(const dunedaq::readout::types::PACMAN_MESSAGE_STRUCT&) const’:
1160
/build/dingpf/github-runner/actions-runner/_work/daq-release/daq-release/dev/sourcecode/readout/include/readout/NDReadoutTypes.hpp:39:25: error: ‘class dunedaq::dataformats::PACMANFrame’ has no member named ‘get_msg_unix_ts’; did you mean ‘get_msg_header’?
1161
     return *(translator.get_msg_unix_ts((void*)&data)) < *(translator.get_msg_unix_ts((void*)&other.data)) // NOLINT
1162
                         ^~~~~~~~~~~~~~~
1163
                         get_msg_header
1164
/build/dingpf/github-runner/actions-runner/_work/daq-release/daq-release/dev/sourcecode/readout/include/readout/NDReadoutTypes.hpp:39:71: error: ‘class dunedaq::dataformats::PACMANFrame’ has no member named ‘get_msg_unix_ts’; did you mean ‘get_msg_header’?
1165
     return *(translator.get_msg_unix_ts((void*)&data)) < *(translator.get_msg_unix_ts((void*)&other.data)) // NOLINT
1166
                                                                       ^~~~~~~~~~~~~~~
1167
                                                                       get_msg_header
1168
/build/dingpf/github-runner/actions-runner/_work/daq-release/daq-release/dev/sourcecode/readout/include/readout/NDReadoutTypes.hpp: In member function ‘uint64_t dunedaq::readout::types::PACMAN_MESSAGE_STRUCT::get_timestamp() const’:
1169
/build/dingpf/github-runner/actions-runner/_work/daq-release/daq-release/dev/sourcecode/readout/include/readout/NDReadoutTypes.hpp:51:25: error: ‘class dunedaq::dataformats::PACMANFrame’ has no member named ‘get_msg_unix_ts’; did you mean ‘get_msg_header’?
1170
     return *(translator.get_msg_unix_ts((void*)&data)); // NOLINT
1171
                         ^~~~~~~~~~~~~~~
1172
                         get_msg_header
1173
/build/dingpf/github-runner/actions-runner/_work/daq-release/daq-release/dev/sourcecode/readout/include/readout/NDReadoutTypes.hpp: In member function ‘uint64_t dunedaq::readout::types::PACMAN_MESSAGE_STRUCT::get_message_type() const’:
1174
/build/dingpf/github-runner/actions-runner/_work/daq-release/daq-release/dev/sourcecode/readout/include/readout/NDReadoutTypes.hpp:64:25: error: ‘class dunedaq::dataformats::PACMANFrame’ has no member named ‘get_msg_type’; did you mean ‘get_msg_word’?
1175
     return *(translator.get_msg_type((void*)&data)); // NOLINT
1176
                         ^~~~~~~~~~~~
1177
                         get_msg_word