unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Jackson Ray Hamilton <jackson@jacksonrayhamilton.com>
To: Noam Postavsky <npostavs@users.sourceforge.net>,
	Michael Heerdegen <michael_heerdegen@web.de>
Cc: Emacs Development <emacs-devel@gnu.org>
Subject: Re: make fails for Gnu Elpa
Date: Thu, 29 Dec 2016 00:32:52 -0800	[thread overview]
Message-ID: <2ab8427e-f7a7-494a-19cd-f32c40772675@jacksonrayhamilton.com> (raw)
In-Reply-To: <CAM-tV-8E4uR8w+6yL5H+iyiV_x8edBqu+xc-kG=Up3gN2zMZfw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2000 bytes --]

Weird, the order of the arguments to tar produces the same output with
both of those commands on my machine.

$ tar --version
tar (GNU tar) 1.27.1

Michael, does the attached patch fix the issue for you?

Jackson

On 12/27/2016 06:35 PM, Noam Postavsky wrote:
> On Tue, Dec 27, 2016 at 9:58 AM, Michael Heerdegen
> <michael_heerdegen@web.de> wrote:
>> Jackson Ray Hamilton <jackson@jacksonrayhamilton.com> writes:
>>
>>> Hi Michael,
>>>
>>> Sorry about that.  The GNUmakefile is supposed to not compile that
>>> file.  I've just pushed another patch in that area; will you pull and
>>> see if the issue still occurs?
>>
>> Yes, still occurs.
>>
>>> That doesn't happen on my system (Debian 8).  Can you also please
>>> describe your system?
>>
>> Debian testing (mostly).  make is from testing, version 4.1-9.
> 
> I think the problem is that the file arguments to tar have to go after
> the other options. Changing directory doesn't seem needed.
> 
> ~/src/emacs/elpa$ pt=packages/context-coloring
> ~/src/emacs/elpa$ tar -cvh $pt/*.el -X $pt/.elpaignore > /dev/null
> packages/context-coloring/context-coloring-benchmark.el
> packages/context-coloring/context-coloring-coverage.el
> packages/context-coloring/context-coloring.el
> packages/context-coloring/context-coloring-emacs-lisp.el
> packages/context-coloring/context-coloring-javascript.el
> packages/context-coloring/context-coloring-test.el
> ~/src/emacs/elpa$ tar -cvh -X $pt/.elpaignore $pt/*.el > /dev/null
> packages/context-coloring/context-coloring.el
> packages/context-coloring/context-coloring-emacs-lisp.el
> packages/context-coloring/context-coloring-javascript.el
> ~/src/emacs/elpa$ tar --version
> tar (GNU tar) 1.29
> Copyright (C) 2015 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
> 
> Written by John Gilmore and Jay Fenlason.
> 

[-- Attachment #2: 0001-Put-tar-d-files-at-the-end-to-fix-build-in-some-envi.patch --]
[-- Type: text/x-patch, Size: 872 bytes --]

From 098f6c9ad4e9b2613f4a6c1046b45a18c9758406 Mon Sep 17 00:00:00 2001
From: Jackson Ray Hamilton <jackson@jacksonrayhamilton.com>
Date: Thu, 29 Dec 2016 00:28:25 -0800
Subject: [PATCH] Put tar'd files at the end to fix build in some environments.

---
 GNUmakefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/GNUmakefile b/GNUmakefile
index 8edb2f8..e9dd3db 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -153,8 +153,8 @@ included_els := $(shell \
           prev=$$(pwd);					\
           cd $$pt;					\
           if [ -f .elpaignore ]; then			\
-              tar -ch *.el --no-recursion		\
-                  --exclude-vcs -X .elpaignore		\
+              tar -ch --no-recursion			\
+                  --exclude-vcs -X .elpaignore *.el	\
                 | tar --list;				\
           else						\
               ls -1 *.el;				\
-- 
2.1.4


  reply	other threads:[~2016-12-29  8:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-27 12:44 make fails for Gnu Elpa Michael Heerdegen
2016-12-27 14:32 ` Jackson Ray Hamilton
2016-12-27 14:58   ` Michael Heerdegen
2016-12-28  2:35     ` Noam Postavsky
2016-12-29  8:32       ` Jackson Ray Hamilton [this message]
2016-12-31 12:19         ` Michael Heerdegen
2016-12-31 15:47           ` Jackson Ray Hamilton
2016-12-31 16:20             ` Michael Heerdegen
2016-12-31 17:56               ` Jackson Ray Hamilton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2ab8427e-f7a7-494a-19cd-f32c40772675@jacksonrayhamilton.com \
    --to=jackson@jacksonrayhamilton.com \
    --cc=emacs-devel@gnu.org \
    --cc=michael_heerdegen@web.de \
    --cc=npostavs@users.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).