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:16:50 -0700 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e013a211c3c8a5004fdbafa64 X-Trace: ger.gmane.org 1405040184 32150 80.91.229.3 (11 Jul 2014 00:56:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Jul 2014 00:56:24 +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:56:18 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 1X5P8M-0002kR-7z for geb-bug-gnu-emacs@m.gmane.org; Fri, 11 Jul 2014 02:56:18 +0200 Original-Received: from localhost ([::1]:41463 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5P8L-000213-U8 for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 Jul 2014 20:56:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47422) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4jJa-0004EH-P2 for bug-gnu-emacs@gnu.org; Wed, 09 Jul 2014 00:17:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X4jJW-0000Bd-Cf for bug-gnu-emacs@gnu.org; Wed, 09 Jul 2014 00:17:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56324) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4jJW-0000BX-8p for bug-gnu-emacs@gnu.org; Wed, 09 Jul 2014 00:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1X4jJV-0000pY-Pv for bug-gnu-emacs@gnu.org; Wed, 09 Jul 2014 00:17:01 -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:17: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.14048794203182 (code B ref 17971); Wed, 09 Jul 2014 04:17:01 +0000 Original-Received: (at 17971) by debbugs.gnu.org; 9 Jul 2014 04:17:00 +0000 Original-Received: from localhost ([127.0.0.1]:47474 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X4jJT-0000pF-90 for submit@debbugs.gnu.org; Wed, 09 Jul 2014 00:16:59 -0400 Original-Received: from mail-oa0-f52.google.com ([209.85.219.52]:35019) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X4jJQ-0000om-Jv for 17971@debbugs.gnu.org; Wed, 09 Jul 2014 00:16:57 -0400 Original-Received: by mail-oa0-f52.google.com with SMTP id j17so7382842oag.25 for <17971@debbugs.gnu.org>; Tue, 08 Jul 2014 21:16:51 -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=1LygY5wl6Ka4jJe0dMXzc5DmBVD28V/sYdZgNnmRbeg=; b=OLhyp4GKlgqZcy1UqrVHP7m3HqcW24odFehMpnHaw+K9OAnSkGfUc5pt2TKXc8YVEB r9UZCkPDiI3oJnZj88x9iKo9y4VD4DDtzLBUpSJS6qSiAB3oMqM/O52hOBXXnT2xDufO lD1YEk2UgNgWfxZKlK+BC5TNBAUC1A5A77OWI= 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=1LygY5wl6Ka4jJe0dMXzc5DmBVD28V/sYdZgNnmRbeg=; b=Ip8V1cVk0OOGWPOFXfvlBhH/zSDgwPMNjwpJ7N0eH4AEJBSUGmKiYKSMjVfInOpa/P rN+CkqUGjxaDVJDGtSATf5vak9i+9mRplAL2Aqbv4ODYAfg847lVw6soPqJHkqryTBkP xU9Yk9mwiqIy+wtpooJ5NvB2cbahj6UCDxQv1wFb7cuI4CjaOYOsIQXm0Iit2ImHaYLX 7/xCd0SE1bgEfGkeKkKmU8oU8FtyhgoW/YAZ46KmW64ihAYxfFEPABIS0NtlH44gD0Xg Mb8sl3e1lMM1p7nu7iV3fZhPz0BRVtdz1XHTE7PBuYqcfWYkkKGfaU223W9PXZmhU5ap O1qg== X-Gm-Message-State: ALoCoQmtMB2i0p8cQDFs6eEthdrAB4bnL4haCf+XzGAL8blIZNIGU2MxLaGH21XaKCXlQPKMWUNt X-Received: by 10.182.224.163 with SMTP id rd3mr44049093obc.41.1404879410852; Tue, 08 Jul 2014 21:16:50 -0700 (PDT) Original-Received: by 10.76.114.71 with HTTP; Tue, 8 Jul 2014 21:16:50 -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:91426 Archived-At: --089e013a211c3c8a5004fdbafa64 Content-Type: text/plain; charset=UTF-8 For fun I built a copy of findutils-4.5.12 from alpha.gnu.org and found that it's suffering the same regression as CentOS's bundled find. On Tue, Jul 8, 2014 at 9:07 PM, Stephen Hassard wrote: > 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. >> > > --089e013a211c3c8a5004fdbafa64 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
For fun I built a copy of findutils-4.5.12 from alpha.gnu.org and found that it's suffering = the same regression as CentOS's bundled find.


On Tue, Jul 8, 2014 at 9:07 PM, Stephen = Hassard <steve@hassard.net> wrote:
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 Tue, Jul 8, 2014 at 6:10 PM, Glenn Mo= rris <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.


--089e013a211c3c8a5004fdbafa64--