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
Message #11 received at 17971 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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
find: ‘./progmodes/m4-mode.el’: No such file or directory
find: ‘./progmodes/cc-fonts.el’: No such file or directory
find: ‘./progmodes/cc-engine.el’: No such file or directory
find: ‘./progmodes/idlw-complete-structtag.el’: No such file or directory
find: ‘./progmodes/meta-mode.el’: No such file or directory
find: ‘./progmodes/bat-mode.el’: No such file or directory
find: ‘./progmodes/gud.el’: No such file or directory
find: ‘./progmodes/simula.el’: No such file or directory
find: ‘./progmodes/autoconf.el’: No such file or directory
find: ‘./progmodes/prog-mode.el’: No such file or directory
----
make immediately fails after this point.
I've attached a revised patch that adds the -9n flag to the gzip command
and switch back to -exec for find.
On Mon, Jul 7, 2014 at 11:04 PM, Glenn Morris <rgm <at> gnu.org> wrote:
> Stephen Hassard wrote:
>
> > The current alpha builds are failing during 'make install' while
> > performing the .elc compression on CentOS 7.
>
> Please tell us how it fails.
>
> > I've cleaned up the find command in the Makefile and have a patch that
> > fixes the problem while retaining function on Ubuntu/Debian. Please find
> > it attached.
>
> Sadly I don't think -execdir is portable.
>
[Message part 2 (text/html, inline)]
[0001-Fix-.el-compression-on-CentOS-7.patch (text/x-diff, attachment)]
This bug report was last modified 10 years and 311 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.