From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Hassard Newsgroups: gmane.emacs.bugs Subject: bug#17971: 24.3.92; Patch to fix el compression on RHEL/CentOS 7 Date: Tue, 8 Jul 2014 21:07:04 -0700 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b33cf284a8d7f04fdbad7e0 X-Trace: ger.gmane.org 1405038931 17834 80.91.229.3 (11 Jul 2014 00:35:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Jul 2014 00:35:31 +0000 (UTC) Cc: 17971@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 11 02:35:25 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 1X5Oo8-0006Fo-Fr for geb-bug-gnu-emacs@m.gmane.org; Fri, 11 Jul 2014 02:35:24 +0200 Original-Received: from localhost ([::1]:41350 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5Oo7-0006PB-SQ for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 Jul 2014 20:35:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46582) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4jAs-0003aM-V6 for bug-gnu-emacs@gnu.org; Wed, 09 Jul 2014 00:08:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X4jAo-0006kD-E1 for bug-gnu-emacs@gnu.org; Wed, 09 Jul 2014 00:08:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56320) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4jAo-0006k9-C6 for bug-gnu-emacs@gnu.org; Wed, 09 Jul 2014 00:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1X4jAn-0000Xd-SU for bug-gnu-emacs@gnu.org; Wed, 09 Jul 2014 00:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Hassard Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Jul 2014 04:08:01 +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.14048788331988 (code B ref 17971); Wed, 09 Jul 2014 04:08:01 +0000 Original-Received: (at 17971) by debbugs.gnu.org; 9 Jul 2014 04:07:13 +0000 Original-Received: from localhost ([127.0.0.1]:47470 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X4jA0-0000Vz-Ih for submit@debbugs.gnu.org; Wed, 09 Jul 2014 00:07:13 -0400 Original-Received: from mail-oa0-f41.google.com ([209.85.219.41]:59343) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X4j9y-0000Vk-GZ for 17971@debbugs.gnu.org; Wed, 09 Jul 2014 00:07:11 -0400 Original-Received: by mail-oa0-f41.google.com with SMTP id l6so7591802oag.0 for <17971@debbugs.gnu.org>; Tue, 08 Jul 2014 21:07:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hassard.net; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ouakUgVvoC5sgxJkZXJjtAo+U9nek3ixsVYfZ3aN++o=; b=UsSq4qSRoVH/SGggq3djKsYSN03tkL4jnvWiDebbIfq7eRX3KeN6NfLMrHC2kLh52d LbHoztlWt/EtV+szvPgLKeOthPd1N3/UFf5yIvH5jjlKtbbvE1Et0jSNLMceDybXOWC9 FKlabp0tJx+ZfwT5CArQK9axO9+uBOb76n75o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=ouakUgVvoC5sgxJkZXJjtAo+U9nek3ixsVYfZ3aN++o=; b=ek29ZZdrh/smhyQsG7Dq/Ppfg4tkCe85+AOjwgZLFMndzgbCmSJAXT9OIQrma+GU5I +rzG6VBVvdg+tBQ49j9Xu1feoIMXcq0S0H2k6pASgKirNoBM4Exoo7IxKRTTr/VfyaTR zYMtZHc1eXnSQ1kf3kLpCagvqD3V0kcmMY8C20N9YAFEFAvz69174M6Ud2JQvPsviScB QBchKhTR3p6+UoSHuFiJObFJQeWKCUnVKNSA5IwOR9e3/zf1YfKOPL+8HCg1bh2iPTHK HySARoW/Plt/gEZjea0fLIKLXhJjYCnNSCb0/l9jV1E4Y6W/0REIPR4e9IUF7dMALL5A k3cQ== X-Gm-Message-State: ALoCoQkSSquevhuvG3zFzgtTLPKgB8B09qFQTrBlFPgBdDNl2zZle6vB22s8a9Tw+X5E9gcK9SO2 X-Received: by 10.60.125.195 with SMTP id ms3mr43575970oeb.40.1404878824568; Tue, 08 Jul 2014 21:07:04 -0700 (PDT) Original-Received: by 10.76.114.71 with HTTP; Tue, 8 Jul 2014 21:07:04 -0700 (PDT) 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:91424 Archived-At: --047d7b33cf284a8d7f04fdbad7e0 Content-Type: text/plain; charset=UTF-8 It's definitely a regression in CentOS7 vs 6.5. I've built a new 6.5 VM and have confirmed that it compresses the .el files without problem. It seems to be a regression in the bundled findutils. I've pulled in the find binary from CentOS 6.5 onto my CentOS 7 VM and the 'make install' process completed without problems with the old find. The version are: CentOS 7: findutils-4.5.11-3 CentOS 6.5: findutils-4.4.2-6 On Tue, Jul 8, 2014 at 6:10 PM, Glenn Morris wrote: > Stephen Hassard wrote: > > > Here's the relevant output from the 'make install' on CentOS 7: > > > > ---- > > [ -z "/usr/bin/gzip" ] || { \ > > echo "Compressing *.el ..." && \ > > cd "/home/shassard/opt/emacs/share/emacs/24.3.92/lisp" && \ > > find . -name '*.elc' -exec /bin/sh -c \ > > '/usr/bin/gzip -9n `expr "$1" : "\\(.*\\)c"`' dummy '{}' ';'; \ > > } > > Compressing *.el ... > > find: './progmodes/make-mode.el': No such file or directory > > Do you know why this happens? > What has changed since RHEL6, where it works fine? > > > I've attached a revised patch that adds the -9n flag to the gzip command > > and switch back to -exec for find. > > This fails if DESTDIR contains spaces. > --047d7b33cf284a8d7f04fdbad7e0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
It's definitely a r= egression in CentOS7 vs 6.5. I've built a new 6.5 VM and have confirmed= that it compresses the .el files without problem.

It see= ms to be a regression in the bundled findutils. I've pulled in the find= binary from CentOS 6.5 onto my CentOS 7 VM and the 'make install' = process completed without problems with the old find.

The version are:

CentOS 7:
findutils-4.5.11= -3

CentOS 6.5:
findutils-4.4.2-6

<= br>


On T= ue, Jul 8, 2014 at 6:10 PM, Glenn Morris <rgm@gnu.org> wrote:
Stephen Hassard wrote:

> Here's the relevant output from the 'make install' on Cent= OS 7:
>
> ----
> [ -z "/usr/bin/gzip" ] || { \
> =C2=A0 echo "Compressing *.el ..." && \
> =C2=A0 cd "/home/shassard/opt/emacs/share/emacs/24.3.92/lisp"= ; && \
> =C2=A0 find . -name '*.elc' -exec /bin/sh -c \
> =C2=A0 =C2=A0 '/usr/bin/gzip -9n `expr "$1" : "\\(.= *\\)c"`' dummy '{}' ';'; \
> }
> Compressing *.el ...
> find: './progmodes/make-mode.el': No such file or directory
Do you know why this happens?
What has changed since RHEL6, where it works fine?

> I've attached a revised patch that adds the -9n flag to the gzip c= ommand
> and switch back to -exec for find.

This fails if DESTDIR contains spaces.

--047d7b33cf284a8d7f04fdbad7e0--