Description of problem: After having dowloaded the freeipa 1.1 tarball, the rpm build failed because of the wrong path of some manpages Steps to Reproduce: 1. Download freeipa-1.1.0.tar.gz 2. Uncompress it 3. run "make local-dist" The following lines are the failure's output. Let me know if I can help in any way, thanks. + /usr/lib/rpm/brp-strip-comment-note Processing files: ipa-server-1.1.0-2 error: File not found: /var/tmp/ipa-server-1.1.0-2-root-root/usr/share/man/man8/ipactl.8.gz error: File not found: /var/tmp/ipa-server-1.1.0-2-root-root/usr/share/man/man8/ipa_kpasswd.8.gz error: File not found: /var/tmp/ipa-server-1.1.0-2-root-root/usr/share/man/man8/ipa_webgui.8.gz error: File not found: /var/tmp/ipa-server-1.1.0-2-root-root/usr/share/man/man1/ipa-replica-install.1.gz error: File not found: /var/tmp/ipa-server-1.1.0-2-root-root/usr/share/man/man1/ipa-replica-manage.1.gz error: File not found: /var/tmp/ipa-server-1.1.0-2-root-root/usr/share/man/man1/ipa-replica-prepare.1.gz error: File not found: /var/tmp/ipa-server-1.1.0-2-root-root/usr/share/man/man1/ipa-server-certinstall.1.gz error: File not found: /var/tmp/ipa-server-1.1.0-2-root-root/usr/share/man/man1/ipa-server-install.1.gz RPM build errors: File not found: /var/tmp/ipa-server-1.1.0-2-root-root/usr/share/man/man8/ipactl.8.gz File not found: /var/tmp/ipa-server-1.1.0-2-root-root/usr/share/man/man8/ipa_kpasswd.8.gz File not found: /var/tmp/ipa-server-1.1.0-2-root-root/usr/share/man/man8/ipa_webgui.8.gz File not found: /var/tmp/ipa-server-1.1.0-2-root-root/usr/share/man/man1/ipa-replica-install.1.gz File not found: /var/tmp/ipa-server-1.1.0-2-root-root/usr/share/man/man1/ipa-replica-manage.1.gz File not found: /var/tmp/ipa-server-1.1.0-2-root-root/usr/share/man/man1/ipa-replica-prepare.1.gz File not found: /var/tmp/ipa-server-1.1.0-2-root-root/usr/share/man/man1/ipa-server-certinstall.1.gz File not found: /var/tmp/ipa-server-1.1.0-2-root-root/usr/share/man/man1/ipa-server-install.1.gz make: *** [rpm-ipa-server] Error 1
What Linux distribution are you using? Can you see where the man pages were installed?
Sorry I forgot to add that info. I'm testing it on Centos 5.2. The files are installed in: /var/tmp/ipa-server-1.1.0-2-root-root/usr/man/man1 /var/tmp/ipa-server-1.1.0-2-root-root/usr/man/man8 instead of /var/tmp/ipa-server-1.1.0-2-root-root/usr/share/man as the script expects.
Created attachment 312654 [details] Specify --mandir to fix build breakage on CentOS 5.2
I've tested the proposed patch and it solved the problem, thanks.
mater: 9f2ee2921890dd246f087dc7338c4ba9fca89acc
Is this bug relative to Enterprise IPA or only FreeIPA?
FreeIPA only