Hi, 

I am getting the following error building the latest dev branch in centOS 7.4.

Below is a snippet of the error log:

[ 88%] Built target idmap
[ 91%] Built target FsalCore
[ 94%] Built target MainServices
[ 95%] Built target gshdbus
[100%] Built target ganesha.nfsd
Install the project...
-- Install configuration: "Debug"
-- Installing: /root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64//etc/ganesha/ganesha.conf
-- Installing: /root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/share/doc/ganesha/config_samples
-- Installing: /root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/share/doc/ganesha/config_samples/README
-- Installing: /root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/share/doc/ganesha/config_samples/ceph.conf
-- Installing: /root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/share/doc/ganesha/config_samples/config.txt
-- Installing: /root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/share/doc/ganesha/config_samples/ds.conf
-- Installing: /root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/share/doc/ganesha/config_samples/export.txt
-- Installing: /root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/share/doc/ganesha/config_samples/ganesha.conf.example
-- Installing: /root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/share/doc/ganesha/config_samples/gluster.conf
-- Installing: /root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/share/doc/ganesha/config_samples/gpfs.conf
-- Installing: /root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/share/doc/ganesha/config_samples/gpfs.ganesha.exports.conf
-- Installing: /root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/share/doc/ganesha/config_samples/gpfs.ganesha.log.conf
-- Installing: /root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/share/doc/ganesha/config_samples/gpfs.ganesha.main.conf
-- Installing: /root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/share/doc/ganesha/config_samples/gpfs.ganesha.nfsd.conf
-- Installing: /root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/share/doc/ganesha/config_samples/logging.txt
-- Installing: /root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/share/doc/ganesha/config_samples/logrotate_fsal_gluster
-- Installing: /root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/share/doc/ganesha/config_samples/logrotate_ganesha
-- Installing: /root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/share/doc/ganesha/config_samples/lustre.conf
-- Installing: /root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/share/doc/ganesha/config_samples/gpfs.ganesha.main.conf
-- Installing: /root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/share/doc/ganesha/config_samples/gpfs.ganesha.nfsd.conf
-- Installing: /root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/share/doc/ganesha/config_samples/logging.txt
-- Installing: /root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/share/doc/ganesha/config_samples/logrotate_fsal_gluster
-- Installing: /root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/share/doc/ganesha/config_samples/logrotate_ganesha
-- Installing: /root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/share/doc/ganesha/config_samples/lustre.conf
-- Installing: /root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/share/doc/ganesha/config_samples/mem.conf
-- Installing: /root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/share/doc/ganesha/config_samples/proxy.conf
-- Installing: /root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/share/doc/ganesha/config_samples/rgw.conf
-- Installing: /root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/share/doc/ganesha/config_samples/rgw_bucket.conf
-- Installing: /root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/share/doc/ganesha/config_samples/vfs.conf
-- Installing: /root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/share/doc/ganesha/config_samples/xfs.conf
-- Installing: /root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/var/run/ganesha
-- Installing: /root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/lib64/pkgconfig/libntirpc.pc
-- Installing: /root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/include/ntirpc
-- Installing: /root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/include/ntirpc/fpmath.h
-- Installing: /root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/include/ntirpc/getpeereid.h
-- Installing: /root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/include/ntirpc/intrinsic.h
-- Installing: /root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/include/ntirpc/libc_private.h
-- Installing: /root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/include/ntirpc/misc
-- Installing: /root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/lib64/ganesha/libfsalvfs.so.4.2.0
-- Installing: /root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/lib64/ganesha/libfsalvfs.so.4
-- Installing: /root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/lib64/ganesha/libfsalvfs.so
-- Removed runtime path from "/root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/lib64/ganesha/libfsalvfs.so.4.2.0"
-- Installing: /root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/lib64/ganesha/libfsalxfs.so.4.2.0
-- Installing: /root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/lib64/ganesha/libfsalxfs.so.4
-- Installing: /root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/lib64/ganesha/libfsalxfs.so
-- Removed runtime path from "/root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/lib64/ganesha/libfsalxfs.so.4.2.0"
-- Installing: /root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/lib64/ganesha/libfsalmem.so.4.2.0
-- Installing: /root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/lib64/ganesha/libfsalmem.so.4
-- Installing: /root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/lib64/ganesha/libfsalmem.so
-- Removed runtime path from "/root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/lib64/ganesha/libfsalmem.so.4.2.0"
-- Installing: /root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/bin/ganesha.nfsd
-- Removed runtime path from "/root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/bin/ganesha.nfsd"
+ /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /root/rpmbuild/BUILD/nfs-ganesha-2.7-dev.21
extracting debug info from /root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/bin/ganesha.nfsd
*** ERROR: No build ID note found in /root/rpmbuild/BUILDROOT/nfs-ganesha-2.7-dev.21.el7.centos.x86_64/usr/bin/ganesha.nfsd
error: Bad exit status from /var/tmp/rpm-tmp.PwdLhe (%install)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.PwdLhe (%install)
make[3]: *** [rpm] Error 1
make[2]: *** [CMakeFiles/rpm.dir/all] Error 2
make[1]: *** [CMakeFiles/rpm.dir/rule] Error 2
make: *** [rpm] Error 2


this is a centOS 7.4 with the following version of RPM packages:

371 $ rpm -qa |grep rpm
perl-srpm-macros-1-8.el7.noarch
rpmlint-1.5-4.el7.noarch
rpm-libs-4.11.3-25.el7.x86_64
redhat-rpm-config-9.1.0-76.el7.centos.noarch
rpm-sign-4.11.3-25.el7.x86_64
rpmdevtools-8.3-5.el7.noarch
rpm-devel-4.11.3-25.el7.x86_64
rpm-4.11.3-25.el7.x86_64
rpm-python-4.11.3-25.el7.x86_64
rpm-plugin-systemd-inhibit-4.11.3-25.el7.x86_64
rpm-apidocs-4.11.3-25.el7.noarch
deltarpm-3.6-3.el7.x86_64
rpm-cron-4.11.3-25.el7.noarch
python-deltarpm-3.6-3.el7.x86_64
rpm-build-4.11.3-25.el7.x86_64
rpm-build-libs-4.11.3-25.el7.x86_64

It looks like the actual build does complete and it is coughing on some build ID ( number?, i guess).

Can you guys please give me a hand with this?

thanks.