GNU bug report logs - #17971
24.3.92; Patch to fix el compression on RHEL/CentOS 7

Previous Next

Package: emacs;

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


Message #32 received at 17971 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Stephen Hassard <steve <at> hassard.net>
Cc: Paul Eggert <eggert <at> cs.ucla.edu>, 17971 <at> debbugs.gnu.org
Subject: Re: bug#17971: 24.3.92; Patch to fix el compression on RHEL/CentOS 7
Date: Thu, 10 Jul 2014 12:06:37 -0400
My inclination is to revert install-arch-indep to how it used to be
before 2014-02-13. This has the virtue of having had more testing. It
was changed to avoid some unexplained HP make problem, which frankly I
don't think matters much (eg we require GNU make anyway in Emacs trunk
now).

Does this work for you:

*** Makefile.in	2014-02-14 08:05:18 +0000
--- Makefile.in	2014-07-10 15:59:29 +0000
***************
*** 614,622 ****
  	  ${write_subdir} || true
  	[ -z "${GZIP_PROG}" ] || { \
  	  echo "Compressing *.el ..." && \
! 	  cd "$(DESTDIR)${lispdir}" && \
! 	  find . -name '*.elc' -exec $(SHELL) -c \
! 	    '${GZIP_PROG} -9n `expr "$$1" : "\\(.*\\)c"`' dummy '{}' ';'; \
  	}
  	-chmod -R a+r "$(DESTDIR)${datadir}/emacs/${version}" ${COPYDESTS}
  
--- 614,624 ----
  	  ${write_subdir} || true
  	[ -z "${GZIP_PROG}" ] || { \
  	  echo "Compressing *.el ..." && \
! 	  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 ; \
  	}
  	-chmod -R a+r "$(DESTDIR)${datadir}/emacs/${version}" ${COPYDESTS}
  





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.