Failed to build libglibutil

The following is happening on a laptop and a desktop

Preparing...
Synchronizing package databases...
Refreshing AUR...
Cloning waydroid build files...
Generating waydroid information...
Checking waydroid dependencies...
Cloning libgbinder build files...
Generating libgbinder information...
Checking libgbinder dependencies...
Cloning libglibutil build files...
Generating libglibutil information...
Checking libglibutil dependencies...
Cloning waydroid-image build files...
Generating waydroid-image information...
Checking waydroid-image dependencies...
Cloning python-gbinder build files...
Generating python-gbinder information...
Checking python-gbinder dependencies...
Resolving dependencies...
Checking inter-conflicts...

Building libglibutil...
==> Making package: libglibutil 1.0.69-1 (Wed 24 May 2023 11:42:07 PM PDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating libglibutil git repo...
==> Validating source files with sha512sums...
    libglibutil ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of libglibutil git repo...
Cloning into 'libglibutil'...
done.
Switched to a new branch 'makepkg'
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
grep: warning: stray \ before #
grep: warning: stray \ before #
grep: warning: stray \ before #
mkdir -p build/release
sed -e 's|@version@|1.0.69|g' -e 's|@libdir@|/usr/lib|g' libglibutil.pc.in > build/libglibutil.pc
make: pkg-config: No such file or directory
cc -c -fPIC -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection  -Wall -Iinclude -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_MAX_ALLOWED -MMD -MP  -g -O2 -MT"build/release/gutil_datapack.o" -MF"build/release/gutil_datapack.d" src/gutil_datapack.c -o build/release/gutil_datapack.o
make: pkg-config: No such file or directory
cc -c -fPIC -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection  -Wall -Iinclude -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_MAX_ALLOWED -MMD -MP  -g -O2 -MT"build/release/gutil_history.o" -MF"build/release/gutil_history.d" src/gutil_history.c -o build/release/gutil_history.o
make: pkg-config: No such file or directory
In file included from include/gutil_datapack.h:35,
                 from src/gutil_datapack.c:32:
include/gutil_types.h:36:10: fatal error: glib.h: No such file or directory
   36 | #include <glib.h>
      |          ^~~~~~~~
compilation terminated.
make: *** [Makefile:191: build/release/gutil_datapack.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from include/gutil_history.h:36,
                 from src/gutil_history.c:33:
include/gutil_types.h:36:10: fatal error: glib.h: No such file or directory
   36 | #include <glib.h>
      |          ^~~~~~~~
compilation terminated.
make: *** [Makefile:191: build/release/gutil_history.o] Error 1
==> ERROR: A failure occurred in build().
    Aborting...

Moderator edit: In the future, please use proper formatting: [HowTo] Post command output and file content as formatted text

If you are using stable branch

pacman-mirrors --status

You should switch to testing or unstable.

If you can reproduce the issue you should create a comment at AUR (en) - waydroid to inform the maintainer.

You have to install pkgconf package. Even better… as you are compiling from AUR, you should install the meta-package base-devel to get the basic utilities that are usually used in compiling (this includes pkgconf)

Mucho grassey everyone, I’ll give it a try and get back to you

Just checked and I am using the testing branch
Thankyou

That helped alot. still not able to install chirp-daily. will keep working on it