Bug 456672 - freeipa: Cannot create RPMS from tarball [NEEDINFO]
Summary: freeipa: Cannot create RPMS from tarball
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: freeIPA
Classification: Retired
Component: build
Version: 1.1
Hardware: All
OS: Linux
low
medium
Target Milestone: v2 release
Assignee: Rob Crittenden
QA Contact: Chandrasekar Kannan
URL:
Whiteboard:
Depends On:
Blocks: freeipa20
TreeView+ depends on / blocked
 
Reported: 2008-07-25 14:03 UTC by Alessandro Gervaso
Modified: 2015-01-04 23:33 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-02-16 21:04:28 UTC
Embargoed:
jgalipea: needinfo?


Attachments (Terms of Use)
Specify --mandir to fix build breakage on CentOS 5.2 (970 bytes, patch)
2008-07-25 15:15 UTC, Rob Crittenden
no flags Details | Diff

Description Alessandro Gervaso 2008-07-25 14:03:05 UTC
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

Comment 1 Rob Crittenden 2008-07-25 14:22:46 UTC
What Linux distribution are you using?

Can you see where the man pages were installed?

Comment 2 Alessandro Gervaso 2008-07-25 14:32:53 UTC
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.

Comment 3 Rob Crittenden 2008-07-25 15:15:06 UTC
Created attachment 312654 [details]
Specify --mandir to fix build breakage on CentOS 5.2

Comment 4 Alessandro Gervaso 2008-07-25 16:27:01 UTC
I've tested the proposed patch and it solved the problem, thanks.

Comment 5 Rob Crittenden 2008-07-28 14:02:24 UTC
mater: 9f2ee2921890dd246f087dc7338c4ba9fca89acc

Comment 6 Jenny Severance 2008-12-03 18:31:42 UTC
Is this bug relative to Enterprise IPA or only FreeIPA?

Comment 7 Rob Crittenden 2008-12-03 18:46:20 UTC
FreeIPA only


Note You need to log in before you can comment on or make changes to this bug.