From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010825 Description of problem: Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. rpm --rebuild --target i686 gettext-0.10.38-7.src.rpm 2. 3. Actual Results: RPM build errors: File not found by glob: /var/tmp/gettext-0.10.38-root/usr/share/emacs/site-lisp/*.el* Additional info: FIX (since there are no .el* files there): #%{_datadir}/emacs/site-lisp/*.el* The only .el* file is: %{_datadir}/emacs/site-lisp/site-start.d/po-mode-init.el
There should be an elc file there as well: [teg@halden teg]$ rpm -ql gettext |grep -E "(el|elc)$" /usr/share/emacs/site-lisp/po-mode.el /usr/share/emacs/site-lisp/po-mode.elc /usr/share/emacs/site-lisp/site-start.d/po-mode-init.el [teg@halden teg]$ rpm -q gettext gettext-0.10.38-7 [teg@halden teg]$
Sweet. I rebuilt twice. One worked, one didn't.
"Fixed" - I moved the el file to the emacs build. Emacs 20.7-42, gettext 0.10.40-1.
Found the probable cause of the problem, a typo in the misc/Makefile. This may still be interesting information, even though another solution has been found. (Don't know if the 0.10.40 misc/Makefile has changed from 0.10.38) Error in build log: ... mkdir /var/tmp/gettext-0.10.38-root/usr/share/emacs/site-lisp /bin/sh: @list=po-mode.el: command not found ... Fix: Change misc/Makefile: - @list='$(lisp_LISP)'; test '$(EMACS)' = no || for p in $$list; do \ + list='$(lisp_LISP)'; test '$(EMACS)' = no || for p in $$list; do \