GNU bug report logs -
#17971
24.3.92; Patch to fix el compression on RHEL/CentOS 7
Previous Next
Reported by: Stephen Hassard <steve <at> hassard.net>
Date: Tue, 8 Jul 2014 05:35:02 UTC
Severity: important
Found in version 24.3.92
Done: Paul Eggert <eggert <at> cs.ucla.edu>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Glenn Morris wrote:
> My inclination is to revert install-arch-indep to how it used to be
> before 2014-02-13.
The patch you proposed is a simplification of the pre-2014-02-13 code, a
simplification that should also avoid the HP-UX problm. (HP-UX make is
still relevant for the emacs-24 branch, I guess.)
> ! cd "$(DESTDIR)${lispdir}" || exit 1 ; \
> ! for f in `find . -name "*.elc" -print`; do \
> ! f_el=`echo "$$f" | sed 's/.elc$$/.el/'`; \
> ! ${GZIP_PROG} -9n "$$f_el" ; \
> ! done ; \
This has the problem that 'make' can succeed even if a 'gzip' fails
(e.g., due to being out of disk space). Also, it can be simplified a
bit. How about something like this instead?
cd "$(DESTDIR)${lispdir}" && \
for f in `find . -name '*.elc' -print | sed 's/.elc$$/.el/'`; do \
${GZIP_PROG} -9n "$$f" || exit; \
done; \
This bug report was last modified 10 years and 312 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.