Refactor EventStream::sendFrame to use reusable filepath member #4616
Cirrus CI / freebsd-build freebsd_instance:family/freebsd-13-5
failed
Mar 4, 2026 in 3m 10s
Task Summary
Instruction build failed in 00:33
Details
✅ 00:22 clone
✅ 02:04 prepare
✅ 00:07 configure
❌ 00:33 build
[ 38%] Building CXX object src/CMakeFiles/zm.dir/zm_monitor_permission.cpp.o
[ 39%] Building CXX object src/CMakeFiles/zm.dir/zm_logger.cpp.o
[ 39%] Building CXX object src/CMakeFiles/zm.dir/zm_event.cpp.o
[ 40%] Building CXX object src/CMakeFiles/zm.dir/zm_eventstream.cpp.o
[ 41%] Building CXX object src/CMakeFiles/zm.dir/zm_event_tag.cpp.o
/tmp/cirrus-ci-build/src/zm_eventstream.cpp:867:14: error: use of undeclared identifier 'reuse_filepath'; did you mean 'reuse_filepath_'?
867 | if (stat(reuse_filepath.c_str(), &filestat) < 0) {
| ^~~~~~~~~~~~~~
| reuse_filepath_
/tmp/cirrus-ci-build/src/zm_eventstream.h:130:15: note: 'reuse_filepath_' declared here
130 | std::string reuse_filepath_; // reused across sendFrame calls to avoid per-frame heap alloc
| ^
/tmp/cirrus-ci-build/src/zm_eventstream.cpp:869:13: error: use of undeclared identifier 'reuse_filepath'; did you mean 'reuse_filepath_'?
869 | reuse_filepath.c_str(), curr_frame_id);
| ^~~~~~~~~~~~~~
| reuse_filepath_
/tmp/cirrus-ci-build/src/zm_logger.h:220:53: note: expanded from macro 'Debug'
220 | #define Debug(level, params...) logPrintf(level, ##params)
| ^
/tmp/cirrus-ci-build/src/zm_logger.h:206:60: note: expanded from macro 'logPrintf'
206 | log->logPrint(false, __FILE__, __LINE__, logLevel, ##params); \
| ^
/tmp/cirrus-ci-build/src/zm_eventstream.h:130:15: note: 'reuse_filepath_' declared here
130 | std::string reuse_filepath_; // reused across sendFrame calls to avoid per-frame heap alloc
| ^
/tmp/cirrus-ci-build/src/zm_eventstream.cpp:870:7: error: use of undeclared identifier 'reuse_filepathi'; did you mean 'reuse_filepath_'?
870 | reuse_filepathi.clear();
| ^~~~~~~~~~~~~~~
| reuse_filepath_
/tmp/cirrus-ci-build/src/zm_eventstream.h:130:15: note: 'reuse_filepath_' declared here
130 | std::string reuse_filepath_; // reused across sendFrame calls to avoid per-frame heap alloc
| ^
[ 41%] Building CXX object src/CMakeFiles/zm.dir/zm_exception.cpp.o
3 errors generated.
--- src/CMakeFiles/zm.dir/zm_eventstream.cpp.o ---
*** [src/CMakeFiles/zm.dir/zm_eventstream.cpp.o] Error code 1
make[2]: stopped in /tmp/cirrus-ci-build/build
1 error
make[2]: stopped in /tmp/cirrus-ci-build/build
--- src/CMakeFiles/zm.dir/all ---
*** [src/CMakeFiles/zm.dir/all] Error code 2
make[1]: stopped in /tmp/cirrus-ci-build/build
1 error
make[1]: stopped in /tmp/cirrus-ci-build/build
*** [all] Error code 2
make: stopped in /tmp/cirrus-ci-build/build
1 error
make: stopped in /tmp/cirrus-ci-build/build
Exit status: 2
Loading