Man page missing in latest Cobbler release (2.0.4-1.el5)

Ian Ward Comfort icomfort at stanford.edu
Thu May 27 19:59:49 UTC 2010


On 14 May 2010, at 2:35 AM, Roberto wrote:
> I'm using cobbler 2.0.4 and when I try to read the man page this is  
> the result:
>
> gunzip: /usr/share/man/man1/cobbler.1.gz: unexpected end of file
> fgets: No such file or directory
> Error reading man page /usr/share/man/man1/cobbler.1.gz
> No manual entry for cobbler

On 20 May 2010, at 3:25 AM, Paul Maunders wrote:
> We are using the latest version of cobbler from the EPEL testing  
> repository, and it seems the man page for Cobbler is missing from  
> this version.

Yes, this is a problem with cobbler-2.0.4-1 in EPEL testing.  Ccing - 
devel for bugfix discussion.

This problem almost certainly due to commit f0b6e96 (Build the man  
pages from the spec files, 2010-02-16).  Probably the problem is that  
the specfile's pod2man invocation fails (because docs/*.pod are not  
present?) but rpmbuild doesn't notice because it collects the exit  
status of gzip, which happily compresses nothing while truncating docs/ 
*.1.gz.

My guess is that this commit should just be reverted, because it seems  
the "make rpms" target wants to generate the manpages, then have  
"setup.py sdist" include them in the source distribution.  But I'm  
confused because there are so many (too many?) ways to build from  
source -- "make rpms", "make sdist && rpmbuild -ta", "git archive &&  
rpmbuild -ta", "setup.py sdist && rpmbuild -ta", ...

Cc also to Scott, the EPEL maintainer, who will know best.

-- 
Ian Ward Comfort <icomfort at stanford.edu>
Systems Team Lead, Academic Computing Services, Stanford University



More information about the cobbler-devel mailing list