Red Hat Bugzilla – Bug 151089
zsh fails to recompile from source rpm because of an problem related to texi2html
Last modified: 2007-11-30 17:11:01 EST
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.
+ 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):
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
I have commented out the html subpackage and have been successful in recompiling
zsh from source rpm.
Actually if you replace the following line in the spec file:
You should be good to go (even with the texi2html error).
Bug #155239 is actually the same thing.
Fixed by 191647.
*** This bug has been marked as a duplicate of 191647 ***