)]}'
{
  "commit": "dc80afc49b7a0eddaf2152379971e36d4d2bf953",
  "tree": "c5238bcc30d183ab49c86c581e1fd643a0fde55b",
  "parents": [
    "d8a26b20e474d15e1842321be0a7163e52e68442"
  ],
  "author": {
    "name": "Gaius Mulley",
    "email": "gaiusmod2@gmail.com",
    "time": "Wed Aug 19 12:38:09 2026 +0100"
  },
  "committer": {
    "name": "Gaius Mulley",
    "email": "gaiusmod2@gmail.com",
    "time": "Wed Aug 19 12:38:09 2026 +0100"
  },
  "message": "PR modula2/126911: Build fix to prevent Python hanging\n\nThis patch fixes mktargetsrc.py if gm2 fails to run.  With this\npatch mktargetsrc.py will remove any output file and any temporary\nfile before exiting with a non zero status.  This prevents def2doc.py\nfrom spinning attempting to read the first 8192 bytes of a zero\nlength file.  mktargetsrc.py now defensively invokes gm2 with -S\npreventing the driver from invoking an assembler which might not be\ninstalled.  Bootstrapped on Debian x86_64 and FreeBSD15.  The build\nfails appropriately when configured with --target\u003dnvptx-none.\n\ngcc/m2/ChangeLog:\n\n\tPR modula2/126911\n\t* tools-src/mktargetsrc.py (quietSystem): Add temporaryFile\n\tparameter.\n\tTidy up if result is non zero by removing temporaryFile\n\tand args.outputfile.\n\nSigned-off-by: Gaius Mulley \u003cgaiusmod2@gmail.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "cd61ecec87cfea6e64d013df63f43f27e2e0709c",
      "old_mode": 33188,
      "old_path": "gcc/m2/tools-src/mktargetsrc.py",
      "new_id": "34c19233043e6231b8396eb96de57091c2ff74a8",
      "new_mode": 33188,
      "new_path": "gcc/m2/tools-src/mktargetsrc.py"
    }
  ]
}
