Thanks Daniel, the patch helped me to build Ganesha.
But for installation it is requiring python3-dbus package ? Is this expected on RHEL 7.2 ?

Error: Package: nfs-ganesha-utils-2.9-dev.10.el7.x86_64 (/nfs-ganesha-utils-2.9-dev.10.el7.x86_64)
           Requires: python3-dbus
[root@c72n2 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.2 (Maipo)
[root@c72n2 ~]# rpm -qa | grep python | grep dbus
dbus-python-1.1.1-9.el7.x86_64



On Tue, Oct 1, 2019 at 8:22 PM Daniel Gryniewicz <dang@redhat.com> wrote:
This fixes it for me:

https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/470027

Daniel

On 10/1/19 5:23 AM, Sachin Punadikar wrote:
> Hello All,
> I getting below failure for building Ganesha 2.9-dev.10.
>
> Processing files: nfs-ganesha-gpfs-2.9-dev.10.el7.x86_64
> error: File not found:
> /root/rpmbuild/BUILDROOT/nfs-ganesha-2.9-dev.10.el7.x86_64/usr/libexec/ganesha/gpfs-epoch
>
>
> RPM build errors:
>      File not found:
> /root/rpmbuild/BUILDROOT/nfs-ganesha-2.9-dev.10.el7.x86_64/usr/libexec/ganesha/gpfs-epoch
>
> I am using below command:
>
> src (next)]# cd ../../; cd nfs-ganesha && rm -rf build && mkdir build &&
> cd build && cmake ../src -DBUILD_CONFIG=rpmbuild
> -DCMAKE_BUILD_TYPE=Release -DUSE_FSAL_GPFS=ON -DUSE_ADMIN_TOOLS=ON
> -DUSE_GUI_ADMIN_TOOLS=OFF -DUSE_DBUS=ON -D_MSPAC_SUPPORT=ON; make dist ;
> QA_RPATHS=2 rpmbuild -ta nfs-ganesha*.tar.gz; cd ../src
>
>
> If I revert below patch, Ganesha gets built correctly:
> 3a186994e35cf3b98cf2bc4a4d3a1bdcf998b1a0 python: run setup.py for
> gpfs-epoch(.py) to fix its shebang
>
> Is there any step I am missing ?
> --
> with regards,
> Sachin Punadikar
>
> _______________________________________________
> Devel mailing list -- devel@lists.nfs-ganesha.org
> To unsubscribe send an email to devel-leave@lists.nfs-ganesha.org
>
_______________________________________________
Devel mailing list -- devel@lists.nfs-ganesha.org
To unsubscribe send an email to devel-leave@lists.nfs-ganesha.org


--
with regards,
Sachin Punadikar