[Samba] Building NTP RPM Fails on CentOS 6.3

Thomas Simmons twsnnva at gmail.com
Wed Dec 12 12:50:16 MST 2012


Hello,

I am trying to build an NTP v4.2.6p5 RPM using the instructions in the S4
how-to, however rpmbuild fails with the following error:

error: File not found by glob:
/home/thomas/rpmbuild/BUILDROOT/ntp-4.2.6p5-2.el6.x86_64/usr/share/man/man8/ntpdtime.8*


RPM build errors:
    File not found by glob:
/home/thomas/rpmbuild/BUILDROOT/ntp-4.2.6p5-2.el6.x86_64/usr/share/man/man8/ntpdtime.8*

I have updated my ntp.spec by updating the version and commenting out all
lines that begin with %patch. I have also made the following changes, as
directed in the how-to. I assume the error is coming from the line addition
"%{_mandir}/man8/ntpdtime.8*", however I'm not sure of the fix. It seems
like that should be included in the source RPM?

<       --enable-linuxcaps
---
>       --enable-linuxcaps --enable-ntp-signd
330a331
> %{_sbindir}/sntp
348,349c349,350
< %{_mandir}/man8/ntptime.8*
< %{_mandir}/man8/tickadj.8*
---
> %{_mandir}/man8/ntpdtime.8*
> #%{_mandir}/man8/tickadj.8*
355c356
< %{_mandir}/man8/ntp-wait.8*
---
> #%{_mandir}/man8/ntp-wait.8*


More information about the samba mailing list