From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#17971: 24.3.92; Patch to fix el compression on RHEL/CentOS 7 Date: Thu, 10 Jul 2014 10:14:43 -0700 Organization: UCLA Computer Science Department Message-ID: <53BECA03.9010509@cs.ucla.edu> References: <30oawy32z0.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1405012594 1600 80.91.229.3 (10 Jul 2014 17:16:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Jul 2014 17:16:34 +0000 (UTC) Cc: 17971@debbugs.gnu.org To: Glenn Morris , Stephen Hassard Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 10 19:16:27 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1X5HxH-0007eF-Da for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 Jul 2014 19:16:23 +0200 Original-Received: from localhost ([::1]:39174 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5HxG-0000rQ-Na for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 Jul 2014 13:16:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42656) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5Hx4-0000q8-TP for bug-gnu-emacs@gnu.org; Thu, 10 Jul 2014 13:16:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X5Hww-000349-Fv for bug-gnu-emacs@gnu.org; Thu, 10 Jul 2014 13:16:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37636) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5Hww-000345-Cg for bug-gnu-emacs@gnu.org; Thu, 10 Jul 2014 13:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1X5Hww-0002jQ-1r for bug-gnu-emacs@gnu.org; Thu, 10 Jul 2014 13:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 10 Jul 2014 17:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17971 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17971-submit@debbugs.gnu.org id=B17971.140501251410405 (code B ref 17971); Thu, 10 Jul 2014 17:16:02 +0000 Original-Received: (at 17971) by debbugs.gnu.org; 10 Jul 2014 17:15:14 +0000 Original-Received: from localhost ([127.0.0.1]:52435 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X5Hw5-0002hg-Gj for submit@debbugs.gnu.org; Thu, 10 Jul 2014 13:15:14 -0400 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:36686) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X5Hvy-0002gj-Eg for 17971@debbugs.gnu.org; Thu, 10 Jul 2014 13:15:07 -0400 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 7211AA60005; Thu, 10 Jul 2014 10:14:56 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Original-Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RbmLEzH3ju+w; Thu, 10 Jul 2014 10:14:47 -0700 (PDT) Original-Received: from [192.168.1.9] (pool-108-0-233-62.lsanca.fios.verizon.net [108.0.233.62]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 9C78B39E8016; Thu, 10 Jul 2014 10:14:47 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:91396 Archived-At: 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; \