all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#5191: 23.1.90; Make target compile-main fails under GNU/Linux Kernel 2.6.16
@ 2009-12-12 21:00 Chong Yidong
  2009-12-12 21:07 ` Glenn Morris
  0 siblings, 1 reply; 13+ messages in thread
From: Chong Yidong @ 2009-12-12 21:00 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: Harald Maier, 5191

> Does this patch fix it?  Instead of passing ELCFILES on the command
> line, it saves it to a .elcfiles file, and the recursive Make includes
> that.  (I am assuming the "-include" directive is supported, but we seem
> to use it in src/Makefile already anyhow.)

On second thought, I don't think this is a good idea.  Looks like the
BSDs use ".sinclude" for silent inclusion, and older systems don't even
support that.

If no better plan is forthcoming that can simultaneously cope with
ARG_MAX limitations and cross-Unix incompatibilities, I think it's
better to revert Makefile.in to the "ELCFILES abomination".  We can live
with it for a while longer.





^ permalink raw reply	[flat|nested] 13+ messages in thread
* bug#5191: 23.1.90; Make target compile-main fails under GNU/Linux Kernel 2.6.16
@ 2009-12-12 20:24 Chong Yidong
  2009-12-12 21:40 ` Jan Djärv
  2009-12-15  4:21 ` Stefan Monnier
  0 siblings, 2 replies; 13+ messages in thread
From: Chong Yidong @ 2009-12-12 20:24 UTC (permalink / raw)
  To: Harald Maier; +Cc: 5191

Does this patch fix it?  Instead of passing ELCFILES on the command
line, it saves it to a .elcfiles file, and the recursive Make includes
that.  (I am assuming the "-include" directive is supported, but we seem
to use it in src/Makefile already anyhow.)

*** emacs/lisp/Makefile.in.~1.215.~	2009-12-09 09:21:04.000000000 -0500
--- emacs/lisp/Makefile.in	2009-12-12 15:13:02.000000000 -0500
***************
*** 211,216 ****
--- 211,218 ----
  
  compile-first: $(COMPILE_FIRST)
  
+ -include $(lisp)/.elcfiles
+ 
  # ELCFILES is set dynamically in the recursive call from `compile-main'.
  compile-elcfiles: $(ELCFILES)
  
***************
*** 219,230 ****
  compile-main:
  	@wd=$(lisp); $(setwins); \
  	els=`echo "$$wins " | sed -e 's|/\./|/|g' -e 's|/\. | |g' -e 's| |/*.el |g'`; \
  	for el in $$els; do \
  	  test -f $$el || continue; \
  	  test ! -f $${el}c && GREP_OPTIONS= grep '^;.*no-byte-compile: t' $$el > /dev/null && continue; \
! 	  files="$$files $${el}c"; \
  	done; \
! 	$(MAKE) $(MFLAGS) compile-elcfiles EMACS=$(EMACS) ELCFILES="$$files"
  
  # Erase left-over .elc files that do not have a corresponding .el file.
  compile-clean:
--- 221,233 ----
  compile-main:
  	@wd=$(lisp); $(setwins); \
  	els=`echo "$$wins " | sed -e 's|/\./|/|g' -e 's|/\. | |g' -e 's| |/*.el |g'`; \
+ 	echo -n "ELCFILES=" > $(lisp)/.elcfiles; \
  	for el in $$els; do \
  	  test -f $$el || continue; \
  	  test ! -f $${el}c && GREP_OPTIONS= grep '^;.*no-byte-compile: t' $$el > /dev/null && continue; \
! 	  echo -n "$${el}c " >> $(lisp)/.elcfiles; \
  	done; \
! 	$(MAKE) $(MFLAGS) compile-elcfiles EMACS=$(EMACS)
  
  # Erase left-over .elc files that do not have a corresponding .el file.
  compile-clean:





^ permalink raw reply	[flat|nested] 13+ messages in thread
* bug#5191: 23.1.90; Make target compile-main fails under GNU/Linux Kernel 2.6.16
@ 2009-12-12 10:28 Harald Maier
  2009-12-12 19:45 ` Glenn Morris
  0 siblings, 1 reply; 13+ messages in thread
From: Harald Maier @ 2009-12-12 10:28 UTC (permalink / raw)
  To: emacs-pretest-bug

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list,
and to the gnu.emacs.bug news group.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug.  If you can, give
a recipe starting from `emacs -Q':

With the checkout today the build failed on a GNU/Linux Kernel
2.6.16. The problem ist the make target "compile-main" in the lisp 
directory.

$ LANG=en_US make compile-main
make[1]: Entering directory `/home/maierh/build/cvs/emacs/lisp'
make[1]: execvp: echo: Argument list too long
make[1]: *** [/home/maierh/build/cvs/emacs/lisp/mh-e/mh-alias.elc] Error 127
make[1]: Leaving directory `/home/maierh/build/cvs/emacs/lisp'
make: *** [compile-main] Error 2

Harald

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
For information about debugging Emacs, please read the file
/usr/local/share/emacs/23.1.90/etc/DEBUG.


In GNU Emacs 23.1.90.1 (i686-pc-linux-gnu, GTK+ Version 2.8.11)
 of 2009-12-12 on nyx-s10
Windowing system distributor `The X.Org Foundation', version 11.0.60900000
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: de_DE.UTF-8
  value of $XMODIFIERS: @im=local
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t





^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2011-03-10  1:49 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-12 21:00 bug#5191: 23.1.90; Make target compile-main fails under GNU/Linux Kernel 2.6.16 Chong Yidong
2009-12-12 21:07 ` Glenn Morris
2009-12-14 23:29   ` Chong Yidong
2009-12-15  0:28     ` Dan Nicolaescu
2009-12-15  2:26       ` Chong Yidong
2009-12-15  3:11         ` Dan Nicolaescu
  -- strict thread matches above, loose matches on Subject: below --
2009-12-12 20:24 Chong Yidong
2009-12-12 21:40 ` Jan Djärv
2009-12-15  4:21 ` Stefan Monnier
2009-12-15  5:36   ` Eli Zaretskii
2011-03-10  1:49     ` Glenn Morris
2009-12-12 10:28 Harald Maier
2009-12-12 19:45 ` Glenn Morris

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.