Files
Aaron Sears-Aldridge 4e0b365ed6 dev-db/mongodb: add 8.3.4
..and fix some pkgcheck issues with 8.0.23 and 8.2.9.

Bug: https://bugs.gentoo.org/968160
Bug: https://bugs.gentoo.org/967856
Bug: https://bugs.gentoo.org/976310
Signed-off-by: Aaron Sears-Aldridge <geodelic@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/46392
Signed-off-by: Sam James <sam@gentoo.org>
2026-09-05 21:11:14 +01:00

35 lines
931 B
Python

#!/usr/bin/env python3
# derived from bazel/wrapper_hook/wrapper_hook.py
# we are only running the auto_header portions of the script
import sys
import os
import shutil
from pathlib import Path
REPO_ROOT = Path(sys.argv[1])
sys.path.append(str(REPO_ROOT))
os.environ["RG_PATH"] = shutil.which("rg")
os.environ["FORCE_NO_FD"] = "1"
def main():
from bazel.auto_header.auto_header import gen_auto_headers
from bazel.auto_header.gen_all_headers import spawn_all_headers_thread
th_all_header, hdr_state_all_header = spawn_all_headers_thread(REPO_ROOT)
auto_hdr_state = gen_auto_headers(REPO_ROOT)
th_all_header.join()
if not hdr_state_all_header["ok"]:
print(f'[all_headers] failed: {hdr_state_all_header["err"]!r}')
sys.exit(1)
if not auto_hdr_state["ok"]:
print(f'[auto_headers] failed: {auto_hdr_state["err"]!r}')
sys.exit(1)
if __name__ == "__main__":
main()