gprofng.rc is installed into dbe_DATA = $(srcdir)/gprofng.rc while it probably should be installed into the sysconfdir, which can be specified by the --sysconfdir option.
i.e. it ends up in /usr/etc, but should be /etc when configured with --sysconfdir=/etc
The master branch has been updated by Vladimir Mezentsev <vmezents@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6284f0aa11381a472d7f0ecac6b24b989d2c12db commit 6284f0aa11381a472d7f0ecac6b24b989d2c12db Author: Vladimir Mezentsev <vladimir.mezentsev@oracle.com> Date: Tue Jun 28 09:04:49 2022 -0700 gprofng: use $(sysconfdir) instead $(prefix)/etc gprofng/ChangeLog 2022-06-28 Vladimir Mezentsev <vladimir.mezentsev@oracle.com> PR gprofng/29191 * src/Makefile.am: Use $(sysconfdir) instead $(prefix)/etc. * src/Settings.cc: Likewise. * src/Makefile.in: Rebuild.
Update status as resolved/fixed.