ocrmypdf won't work if you updated the aur package of pdfminer.six to version 20200124.
ocrmypdf hasn't been updated for the new version of pdfminer.six.
https://github.com/jbarlow83/OCRmyPDF/blob/fd991a2380f1803924b1b8192e42e67a80998dde/setup.py
'pdfminer.six >= 20181108, <= 20200104',
So we're waiting on an update from ocrmypdf, or if necessary you can install an older version of pdfminer.six.
Pinned Comments
fbrennan commented on 2023-05-12 22:54 (UTC)
The flag was invalid and has been removed with no action taken as no new version was released. There's nothing to do for this package; no new release has been made. Rebuild, as @eclairevoyant has said.