I asked this on #bag as well, what provides cbag_polygon/tests? Is there a missing repo?
CMake Error at cbag/cbag_polygon/CMakeLists.txt:54 (add_subdirectory):
The source directory
pybag/cbag/cbag_polygon/tests
does not contain a CMakeLists.txt file.