Unable to build gst1-at91-gstreamer plug-in in Buildroot

Description

When trying to build Buildroot with its associated buildroot-external-microchip git tree, it fails to complete the build because of an error with the gst1-at91 plug-in compilation.

Info This GStreamer plug-in is only need for the SAMA5D4 SoC. It was also present in SAMA5D27 SoM1 EK defconfig until Linux4SAM 2022.04, even if not used on this platform.

Additional information

We experience the following error log:

Can't exec "gtkdocize": No such file or directory at /home/<name>/BUILD_DIR/buildroot-at91/output/host/share/autoconf/Autom4te/FileUtils.pm line 293.
autoreconf: error: gtkdocize failed with exit status: 2
make[1]: *** [package/pkg-generic.mk:252: /home/<name>/BUILD_DIR/buildroot-at91/output/build/gst1-at91-gstreamer1.0-plugins-hantro_1.8/.stamp_patched] Error 1
make: *** [Makefile:84: _all] Error 2

Solution

This package needs an additional application on the host machine to complete its build. You would need the gtk-doc-tools package, as it is named on an Ubuntu type of distribution.

$ sudo apt-get install gtk-doc-tools

Note You can install missing packages using yum install with Fedora or apt-get install with Ubuntu or Debian. These commands may require root privileges or being in a correct sudoers group.