There are a few options for a solution:
-
According to / if i understand the last part of the comment Error in pre-release-4 with utf8x and hyperref · Issue #833 · latex3/latex2e · GitHub correctly this seems to be an issue in the
utf8x
part of theinputenc
package. Identifying the issue / bug tracker of that package and creating a sane bug report (with a reference to the previous linked one) could help in getting a fixed version of that LaTeX package into Kali -
Monitor 0007957: GVM Report exported in PDF format results to 0 byte document - Kali Linux Bug Tracker to see if the affected LaTeX package is somehow directly patched in Kali
-
Use the workaround to remove the buggy LaTeX package mentioned in PDF, XML reports are empty on Kali Linux - #4 by Eero
-
As a last resort (no guarantee for success):
Note: Options 3. and 4. might not work as expected for all cases where the inputenc
package is still required. This would need to be tested by some one more thoroughly.