Bug 151089

Summary: zsh fails to recompile from source rpm because of an problem related to texi2html
Product: [Fedora] Fedora Reporter: Nathan G. Grennan <redhat-bugzilla>
Component: zshAssignee: Colin Walters <walters>
Status: CLOSED DUPLICATE QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-09-11 22:39:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nathan G. Grennan 2005-03-14 19:36:12 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050309 Galeon/1.3.19

Description of problem:
The errors below come from trying to recompile zsh from source rpm after adding Buildrequires: texi2html and installing texi2html. It seems to be a format problem in zsh.texi, or a bug in texi2html.

zsh-4.2.1-2
texi2html 1.76-2

+ texi2html -expand info -split chapter ./zsh.texi
** closing `table' (l. 20575)
*** @end table without corresponding opening (l. 20640)
...
+ rm -rf /home/builder/rpmbuild/TMP/zsh-4.2.1-root/usr/share/doc/zsh-html-4.2.1
+ /bin/mkdir -p /home/builder/rpmbuild/TMP/zsh-4.2.1-root/usr/share/doc/zsh-html-4.2.1
+ cp -pr 'Doc/*.html' /home/builder/rpmbuild/TMP/zsh-4.2.1-root/usr/share/doc/zsh-html-4.2.1
cp: cannot stat `Doc/*.html': No such file or directory
error: Bad exit status from /home/builder/rpmbuild/TMP/rpm-tmp.29919 (%doc)

Version-Release number of selected component (if applicable):
zsh-4.2.1-2

How reproducible:
Always

Steps to Reproduce:
1. rpm -i zsh-4.2.0-2.src.rpm
2. cd /usr/src/redhat/SPECS
3. Edit zsh.spec to add BuildRequires: texi2html
4. Make sure texi2html is installed
5. rpmbuild -bb zsh.spec 

Actual Results:  cp: cannot stat `Doc/*.html': No such file or directory

Expected Results:  No errors

Additional info:

Comment 1 Nathan G. Grennan 2005-03-14 19:40:29 UTC
I have commented out the html subpackage and have been successful in recompiling
zsh from source rpm.

Comment 2 Mathieu Chouquet-Stringer 2005-12-05 11:31:26 UTC
Actually if you replace the following line in the spec file:
%doc Doc/*.html

with:
%doc Doc/zsh/*.html


You should be good to go (even with the texi2html error).

Bug #155239 is actually the same thing.

Comment 3 Christopher Aillon 2006-09-11 22:39:54 UTC
Fixed by 191647.

*** This bug has been marked as a duplicate of 191647 ***