$ make checkbadSource
Traceback (most recent call last):
  File "/Users/barrysmith/Src/petsc/lib/petsc/bin/maint/check_header_guard.py", 
line 508, in <module>
    ret = command_line_main()
  File "/Users/barrysmith/Src/petsc/lib/petsc/bin/maint/check_header_guard.py", 
line 495, in command_line_main
    ret  = main(args)
  File "/Users/barrysmith/Src/petsc/lib/petsc/bin/maint/check_header_guard.py", 
line 436, in main
    errors.extend(replace_in_file(dirpath / f, args, replacer_cls))
  File "/Users/barrysmith/Src/petsc/lib/petsc/bin/maint/check_header_guard.py", 
line 369, in replace_in_file
    lines = path.read_text().splitlines()
  File 
"/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/pathlib.py",
 line 1256, in read_text
    with self.open(mode='r', encoding=encoding, errors=errors) as f:
  File 
"/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/pathlib.py",
 line 1242, in open
    return io.open(self, mode, buffering, encoding, errors, newline,
  File 
"/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/pathlib.py",
 line 1110, in _opener
    return self._accessor.open(self, flags, mode)
FileNotFoundError: [Errno 2] No such file or directory: 
'/Users/barrysmith/Src/petsc/include/.#petscsystypes.h'
make[1]: [checkbadSource] Error 1 (ignored)
^Cmake: *** [checkbadSource] Interrupt: 2

~/Src/petsc (barry/2026-01-13/ftn-generation-for-context-functions *=) 
arch-ftn-generation-for-context-functions
$ rm /Users/barrysmith/Src/petsc/include/.#petscsystypes.h
~/Src/petsc (barry/2026-01-13/ftn-generation-for-context-functions *=) 
arch-ftn-generation-for-context-functions
$  checkbadSource
-bash: checkbadSource: command not found
~/Src/petsc (barry/2026-01-13/ftn-generation-for-context-functions *=) 
arch-ftn-generation-for-context-functions
$ make  checkbadSource
~/Src/petsc (barry/2026-01-13/ftn-generation-for-context-functions *=)


Reply via email to