Copy atomic.h where gcov expects it
gcov started to fail after !3991 (merged) when generating HTML report with:
Traceback (most recent call last):
File "/usr/bin/gcovr", line 11, in <module>
load_entry_point('gcovr==4.1', 'console_scripts', 'gcovr')()
File "/usr/lib/python3/dist-packages/gcovr/__main__.py", line 588, in main
print_html_report(covdata, options)
File "/usr/lib/python3/dist-packages/gcovr/html_generator.py", line 275, in print_html_report
errors='replace')
FileNotFoundError: [Errno 2] No such file or directory: 'lib/dns/atomic.h'
The solution is to copy arch-specific isc/atomic.h
where gcov expect it.
Failing gcov
job: https://gitlab.isc.org/isc-projects/bind9/-/jobs/1130015
Last passing gcov
job: https://gitlab.isc.org/isc-projects/bind9/-/pipelines/50627
Validating gcov
job: https://gitlab.isc.org/mnowak/bind9/-/jobs/1133415