jokerman <[EMAIL PROTECTED]> writes: F> i'm trying to rebuild emacs and rpm -ba doesn't work > it fails with the error > > LC_ALL=C ./temacs -batch -l loadup dump > Loading loadup (source)... > Using load-path (/home/fubar/rpm/BUILD/emacs-21.3/lisp) > Loading byte-run... > Loading subr... > Loading version.el (source)... > Loading widget... > Loading custom... > Loading emacs-lisp/backquote... > Loading map-ynp... > Loading env... > Loading cus-start (source)... > Wrong type argument: listp, [unset 0 custom-handle-all-keywords new-pass > rear-nonsticky margin inhibit-redisplay major-mode 0 env ...] > make[1]: *** [emacs] Error 255 > make[1]: Leaving directory `/home/fubar/rpm/BUILD/emacs-21.3/build-nox/src' > make: *** [src] Error 2 > error: Bad exit status from /home/fubar/rpm/tmp/rpm-tmp.55115 (%build) > > > RPM build errors: > Macro % has illegal name (%define) > Bad exit status from /home/fubar/rpm/tmp/rpm-tmp.55115 (%build) > error: Macro % has illegal name (%define) > [EMAIL PROTECTED] SPECS]$
works for me: bash-2.05b$ rpm --rebuild /SRPMS/emacs-21.3-6mdk.src.rpm (...) Finding Provides: /usr/lib/rpm/filter.sh ' ' /usr/lib/rpm/find-provides Using BuildRoot: /home/tv/rpm/tmp/emacs-root to search libs Finding Requires: /usr/lib/rpm/filter.sh ' ' /usr/lib/rpm/find-requires /home/tv/rpm/tmp/emacs-root i586 Provides: emacs-bin Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Requires(post): /bin/sh Requires(postun): /bin/sh Requires: emacs = 21.3-6mdk /bin/sh libICE.so.6 libSM.so.6 libX11.so.6 libXaw3d.so.7 libXext.so.6 libXmu.so.6 libXpm.so.4 libXt.so.6 libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.3) libjpeg.so.62 libm.so.6 libm.so.6(GLIBC_2.0) libncurses.so.5 libpng.so.3 libtiff.so.3 libungif.so.4 libz.so.1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/tv/rpm/tmp/emacs-root Wrote: /home/tv/rpm/RPMS/i586/emacs-21.3-6mdk.i586.rpm Wrote: /home/tv/rpm/RPMS/i586/emacs-el-21.3-6mdk.i586.rpm Wrote: /home/tv/rpm/RPMS/i586/emacs-leim-21.3-6mdk.i586.rpm Wrote: /home/tv/rpm/RPMS/i586/emacs-nox-21.3-6mdk.i586.rpm Wrote: /home/tv/rpm/RPMS/i586/emacs-X11-21.3-6mdk.i586.rpm Executing(%clean): /bin/sh -e /home/tv/rpm/tmp/rpm-tmp.18681 + umask 022 + cd /home/tv/rpm/BUILD + cd emacs-21.3 + rm -rf /home/tv/rpm/tmp/emacs-root + exit 0 Executing(--clean): /bin/sh -e /home/tv/rpm/tmp/rpm-tmp.18681 + umask 022 + cd /home/tv/rpm/BUILD + rm -rf emacs-21.3 + exit 0