The recent documentation fixes in commit eebc738efd2a976cd1014ba1dc6edf5045f0af04 have caused a breakage of the rpm-package-build task in Evergreen. In particular, that task runs its own make dist inside of the build chroot environment, which now fails with this error:
[2020/01/16 23:20:09.571] Generating mongo-c-driver-1.17.0.tar.gz [2020/01/16 23:20:09.571] Error copying file "/tmp/mongoc/cmake-build/src/libbson/doc/html/_static/language_data.js" to "mongo-c-driver-1.17.0/src/libbson/doc/html/_static/language_data.js". [2020/01/16 23:20:09.571] CMake Error at /tmp/mongoc/build/cmake/make_dist/MakeDist.cmake:64 (message): [2020/01/16 23:20:09.571] Copy of [2020/01/16 23:20:09.571] /tmp/mongoc/cmake-build/src/libbson/doc/html/_static/language_data.js to [2020/01/16 23:20:09.571] dist dir 'mongo-c-driver-1.17.0' failed. [2020/01/16 23:20:09.571] Call Stack (most recent call first): [2020/01/16 23:20:09.571] /tmp/mongoc/build/cmake/make_dist/MakeDist.cmake:103 (make_dist) [2020/01/16 23:20:09.572] make[3]: *** [CMakeFiles/dist.dir/build.make:2148: mongo-c-driver-1.17.0.tar.gz] Error 1 [2020/01/16 23:20:09.573] make[2]: *** [CMakeFiles/Makefile2:73: CMakeFiles/dist.dir/all] Error 2 [2020/01/16 23:20:09.573] make[1]: *** [CMakeFiles/Makefile2:80: CMakeFiles/dist.dir/rule] Error 2 [2020/01/16 23:20:09.582] Finish: chroot ['/bin/sh', '-c', '(\n set -o xtrace ;\n [ -d cmake-build ] || mkdir cmake-build ;\n cd cmake-build ;\n /usr/bin/cmake -DENABLE_MAN_PAGES=ON -DENABLE_HTML_DOCS=ON -DENABLE_ZLIB=BUNDLED -DENABLE_BSON=ON .. ;\n make -j 8 dist\n )'] [2020/01/16 23:20:09.925] make: *** [Makefile:186: dist] Error 2 [2020/01/16 23:20:09.925] Command failed: command encountered problem: error waiting on process '47787ef1-26b9-4620-895b-f6b2988af779': exit status 2 [2020/01/16 23:20:09.925] Task completed - FAILURE.
It may be that we need to update the targeted Fedora environment to get a newer version of sphinx or that we need to reconsider how the list of documentation files to include in the dist tarball is maintained.