Skip to content

Fix make distcheck failure found in GitLab CI job unbuntu_test

Mike Fleetwood requested to merge mfleetwo/gparted:make-distcheck-failure into master

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.

  1. Ubuntu bug 1712194 - Error when running make distcheck
  2. Debian bug #991623 - intltool: make distcheck broken
  3. Arch Linux bug FS#67098 - [intltool] latest patch for race condition breaks some builds
Edited by Mike Fleetwood

Merge request reports