Fix make distcheck failure found in GitLab CI job unbuntu_test
Quoting a portion of a commit message:
On Ubuntu 22.04 LTS make distcheck fails like this:
$ make distcheck
...
ERROR: files left in build directory after distclean:
./po/.intltool-merge-cache.lock
make[1]: *** [Makefile:920: distcleancheck] Error 1
make[1]: Leaving directory '/builds/GNOME/gparted/gparted-1.4.0-git/_build/sub'
make: *** [Makefile:849: distcheck] Error 1
This was picked up by the GitLab ubuntu_test CI job after the Ubuntu 22.04 LTS release and the official Ubuntu docker image labelled latest was updated to match, circa April 2022. This is a known issue with intltool >= 0.51.0-5.1, first included in Ubuntu 22.04 LTS.
Edited by Mike Fleetwood