id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,mlocked 13333,mythtv master fails to build with recent changes to ExternalRecorder,Mike Bibbings,Stuart Auchterlonie,"Local source build on master fails to build on Xubuntu 18.04 and Debian Stretch at commit f46e781a04ec2ac345dbf7ceda08ae91362d9081 First build failure is at : {{{ recorders/ExternalStreamHandler.cpp: In member function ‘int ExternIO::Read(QByteArray&, int, int)’: recorders/ExternalStreamHandler.cpp:146:22: error: ‘std::this_thread’ has not been declared std::this_thread::sleep_for(std::chrono::milliseconds(100)); ^~~~~~~~~~~ recorders/ExternalStreamHandler.cpp: In member function ‘virtual void ExternalStreamHandler::run()’: recorders/ExternalStreamHandler.cpp:640:30: error: ‘std::this_thread’ has not been declared std::this_thread::sleep_for(std::chrono::seconds(5)); ^~~~~~~~~~~ recorders/ExternalStreamHandler.cpp:664:30: error: ‘std::this_thread’ has not been declared std::this_thread::sleep_for(std::chrono::seconds(5)); ^~~~~~~~~~~ Makefile:18135: recipe for target 'obj/ExternalStreamHandler.o' failed make[2]: *** [obj/ExternalStreamHandler.o] Error 1 make[2]: Leaving directory '/srv/mike/build/mythtv/mythtv/libs/libmythtv' Makefile:265: recipe for target 'sub-libmythtv-make_first' failed make[1]: *** [sub-libmythtv-make_first] Error 2 make[1]: Leaving directory '/srv/mike/build/mythtv/mythtv/libs' Makefile:68: recipe for target 'libs' failed make: *** [libs] Error 2 }}} It appears that include is missing. Attached is a patch which adds #include to two files. I don't know if this general solution, it fixes Xubuntu 18.04 and Debian Stretch. ",Bug Report - General,closed,major,30.0,MythTV - General,Master Head,medium,fixed,,,0