Re: emacs23* fails to install due to PostInstScript
Hanspeter Niederstrasser <[email protected]> Tue, 26 Dec 2017 20:50:49 -0600
| Newsgroups | gmane.os.apple.fink.devel |
|---|---|
| Organization | Snaggled Works |
| Message-ID | <[email protected]> |
On 12/26/17 12:18 PM, Derek Homeier wrote: > On 25 Dec 2017, at 11:50 am, Hanspeter Niederstrasser <[email protected]> wrote: >> >> In fink-run-directories: >> ../../../share/emacs23/site-lisp/fink-startup.el:129:25:Warning: `mapcar' >> called for effect; use `mapc' or `dolist' instead >> Wrote /sw/share/emacs23/site-lisp/fink-startup.elc >> sh: /sw/share/info/emacs-23/*.info.gz: No such file or directory >> install-info(/sw/share/info/emacs-23/*.info.gz): read gzip -cd </sw/share/info/emacs-23/*.info.gz |: 256 >> /sw/bin/dpkg: error processing emacs23 (--install): >> subprocess post-installation script returned error exit status 1 >> Errors were encountered while processing: >> emacs23 >> >> >> The info files for emacs-23 are not gzipped (as in emacs24,emacs25). >> This was introduced here: >> https://github.com/fink/fink-distributions/commit/8e8509e2246d05bd9603bfd89bdb77d8c317bc13#diff-bd51196878bd7e5ef7f32b0190ed39daR173 >> >> Fixing it should be easy, but I wanted to confirm it's broken elsewhere before I do. >> > Confirmed here; also they don’t have a .info suffix. I got it to build with > > @@ -174,7 +174,7 @@ > > # Since we're placing our info files in a subdirectory of %p/share/info > # we need to manually add each doc to the info dir-file > - for file in $(basename %p/share/info/emacs-23/*.info.gz) > + for file in $(basename %p/share/info/emacs-23/[a-z]*) I solved it with for file in $(basename %p/share/info/emacs-23/* | grep -v ^dir$)' since the `dir' directory is created by install-info and has to be ignored when installing/removing emacs23. Hanspeter ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Fink-devel mailing list [email protected] List archive: https://sourceforge.net/p/fink/mailman/fink-devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel