Update ref for NetworkUtils
tl;dr: Can we get the NetworkUtils submodule updated from NetworkUtils@54e593c1 to NetworkUtils@763cebfc?
In the context of trying to get Ph2_ACF to build under Alma Linux 9, I'm finding that building against the HEAD of CMSPh2_TCUSB, there's an error from NetworkUtils:
https://gitlab.cern.ch/leejr/Ph2_ACF/-/jobs/27091319#L647
/home/leejr/Ph2_ACF/build/external/src/ext_tcusb/NetworkUtils/TCPServerBase.cc: In member function ‘int TCPServerBase::accept(bool)’:
/home/leejr/Ph2_ACF/build/external/src/ext_tcusb/NetworkUtils/TCPServerBase.cc:137:31: error: ‘sleep_for’ is not a member of ‘std::this_thread’
137 | std::this_thread::sleep_for(std::chrono::milliseconds(sleepMSeconds));
| ^~~~~~~~~
make[5]: *** [NetworkUtils/CMakeFiles/NetworkUtils.dir/build.make:160: NetworkUtils/CMakeFiles/NetworkUtils.dir/TCPServerBase.cc.o] Error 1
make[4]: *** [CMakeFiles/Makefile2:164: NetworkUtils/CMakeFiles/NetworkUtils.dir/all] Error 2
make[3]: *** [Makefile:91: all] Error 2
make[2]: *** [CMakeFiles/ext_tcusb.dir/build.make:86: external/src/ext_tcusb-stamp/ext_tcusb-build] Error 2
make[1]: *** [CMakeFiles/Makefile2:517: CMakeFiles/ext_tcusb.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
This appears to be from the lack of a #include <thread>
in this file, which is there in the HEAD of NetworkUtils.
which is at NetworkUtils@763cebfc. However, this TCUSB repo has the much older NetworkUtils@54e593c1 in the submodule which doesn't yet have this magic include.
Tagging @azografo, @imateosd, @fravera (but sorry if someone else should be tagged!)