* revno 101399 fails to build
@ 2010-09-10 5:40 joakim
2010-09-10 6:27 ` Glenn Morris
2010-09-10 8:37 ` Andreas Schwab
0 siblings, 2 replies; 12+ messages in thread
From: joakim @ 2010-09-10 5:40 UTC (permalink / raw)
To: Emacs developers
...
In toplevel form:
calc/calc-help.el:30:1:Error: Required feature `calc-ext' was not provided
make[3]: *** [calc/calc-help.elc] Error 1
make[3]: *** Waiting for unfinished jobs....
Wrote /var/lib/hudson/jobs/emacs-trunk-daily/workspace/lisp/calc/calc-graph.elc
Wrote /var/lib/hudson/jobs/emacs-trunk-daily/workspace/lisp/calc/calc-incom.elc
make[3]: Leaving directory `/var/lib/hudson/jobs/emacs-trunk-daily/workspace/lisp'
make[2]: *** [compile-main] Error 2
make[2]: Leaving directory `/var/lib/hudson/jobs/emacs-trunk-daily/workspace/lisp'
make[1]: *** [lisp] Error 2
make[1]: Leaving directory `/var/lib/hudson/jobs/emacs-trunk-daily/workspace'
make: *** [bootstrap] Error 2
--
Joakim Verona
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: revno 101399 fails to build
2010-09-10 5:40 revno 101399 fails to build joakim
@ 2010-09-10 6:27 ` Glenn Morris
2010-09-10 7:48 ` joakim
2010-09-10 8:37 ` Andreas Schwab
1 sibling, 1 reply; 12+ messages in thread
From: Glenn Morris @ 2010-09-10 6:27 UTC (permalink / raw)
To: joakim; +Cc: Emacs developers
joakim@verona.se wrote:
> calc/calc-help.el:30:1:Error: Required feature `calc-ext' was not provided
> make[3]: *** [calc/calc-help.elc] Error 1
> make[3]: *** Waiting for unfinished jobs....
Builds fine for me. I imagine this was a transient parallel build
failure, as can happen from time to time. Meditate on success and try
again.
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6858
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: revno 101399 fails to build
2010-09-10 6:27 ` Glenn Morris
@ 2010-09-10 7:48 ` joakim
2010-09-11 4:58 ` Stephen J. Turnbull
0 siblings, 1 reply; 12+ messages in thread
From: joakim @ 2010-09-10 7:48 UTC (permalink / raw)
To: Glenn Morris; +Cc: Emacs developers
Glenn Morris <rgm@gnu.org> writes:
> joakim@verona.se wrote:
>
>> calc/calc-help.el:30:1:Error: Required feature `calc-ext' was not provided
>> make[3]: *** [calc/calc-help.elc] Error 1
>> make[3]: *** Waiting for unfinished jobs....
>
> Builds fine for me. I imagine this was a transient parallel build
> failure, as can happen from time to time. Meditate on success and try
> again.
>
> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6858
Ok thanks for this information.
I now removed the "-j4" flag I had in my emacs build server.
Funnily though, I had 2 jobs building emacs, both failed the same way.
The chance of that ought to be rather low if its a race condition.
--
Joakim Verona
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: revno 101399 fails to build
2010-09-10 5:40 revno 101399 fails to build joakim
2010-09-10 6:27 ` Glenn Morris
@ 2010-09-10 8:37 ` Andreas Schwab
2010-09-10 8:52 ` joakim
2010-09-13 11:52 ` Eli Zaretskii
1 sibling, 2 replies; 12+ messages in thread
From: Andreas Schwab @ 2010-09-10 8:37 UTC (permalink / raw)
To: joakim; +Cc: Emacs developers
joakim@verona.se writes:
> ...
> In toplevel form:
> calc/calc-help.el:30:1:Error: Required feature `calc-ext' was not provided
Do you build with more that one job in parallel? In this case it can
happen that one emacs process writes out the elc file while another one
is reading the same (partial) file at the same time. To fix that the
creation of the elc file need to be made atomic.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: revno 101399 fails to build
2010-09-10 8:37 ` Andreas Schwab
@ 2010-09-10 8:52 ` joakim
2010-09-13 11:52 ` Eli Zaretskii
1 sibling, 0 replies; 12+ messages in thread
From: joakim @ 2010-09-10 8:52 UTC (permalink / raw)
To: Andreas Schwab; +Cc: Emacs developers
Andreas Schwab <schwab@linux-m68k.org> writes:
> joakim@verona.se writes:
>
>> ...
>> In toplevel form:
>> calc/calc-help.el:30:1:Error: Required feature `calc-ext' was not provided
>
> Do you build with more that one job in parallel? In this case it can
> happen that one emacs process writes out the elc file while another one
> is reading the same (partial) file at the same time. To fix that the
> creation of the elc file need to be made atomic.
Ok, given the current infrastructure, what combination of build commands
would be as reliable as possible and reasonably fast?
is it possible to do, in pseudo-code:
make -j4 all-c-targets && \
make elc-files && \
make -j4 all-other-stuff-requiring-c-targets-and-elc-files
This is for a build server, and I want very reliable build results.
I have/want nightly, slow, code quality builds, and continus, fast, builds
polling bzr.
> Andreas.
--
Joakim Verona
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: revno 101399 fails to build
2010-09-10 7:48 ` joakim
@ 2010-09-11 4:58 ` Stephen J. Turnbull
2010-09-13 12:08 ` Eli Zaretskii
0 siblings, 1 reply; 12+ messages in thread
From: Stephen J. Turnbull @ 2010-09-11 4:58 UTC (permalink / raw)
To: joakim; +Cc: Emacs developers
joakim@verona.se writes:
> Funnily though, I had 2 jobs building emacs, both failed the same
> way. The chance of that ought to be rather low if its a race
> condition.
(1) Not if they're both using the same files! Offhand, I don't know
about Emacs's build process, but in XEmacs the elc building
process is very lazy since there is normally no dependency on
platform or build in the elcs, only on changes in the els -- we
symlink the whole lisp directory into the build directory, and
build the elcs in-place.
(2) Since race conditions depend on timing (otherwise they'd be easy
to diagnose and fix plain ol' bugs!), there may be something about
the build host that frequently creates the right timing. Or
possibly building from the same source directory does that on your
host.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: revno 101399 fails to build
2010-09-10 8:37 ` Andreas Schwab
2010-09-10 8:52 ` joakim
@ 2010-09-13 11:52 ` Eli Zaretskii
2010-09-13 15:52 ` Stefan Monnier
2010-09-13 16:17 ` Glenn Morris
1 sibling, 2 replies; 12+ messages in thread
From: Eli Zaretskii @ 2010-09-13 11:52 UTC (permalink / raw)
To: Andreas Schwab; +Cc: joakim, emacs-devel
> From: Andreas Schwab <schwab@linux-m68k.org>
> Date: Fri, 10 Sep 2010 10:37:43 +0200
> Cc: Emacs developers <emacs-devel@gnu.org>
>
> joakim@verona.se writes:
>
> > ...
> > In toplevel form:
> > calc/calc-help.el:30:1:Error: Required feature `calc-ext' was not provided
>
> Do you build with more that one job in parallel? In this case it can
> happen that one emacs process writes out the elc file while another one
> is reading the same (partial) file at the same time. To fix that the
> creation of the elc file need to be made atomic.
Or specify explicit dependencies in the Makefile. Or get Emacs to
generate such dependencies given the `require's.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: revno 101399 fails to build
2010-09-11 4:58 ` Stephen J. Turnbull
@ 2010-09-13 12:08 ` Eli Zaretskii
2010-09-14 12:22 ` Stephen J. Turnbull
0 siblings, 1 reply; 12+ messages in thread
From: Eli Zaretskii @ 2010-09-13 12:08 UTC (permalink / raw)
To: Stephen J. Turnbull; +Cc: joakim, emacs-devel
> From: "Stephen J. Turnbull" <stephen@xemacs.org>
> Date: Sat, 11 Sep 2010 13:58:46 +0900
> Cc: Emacs developers <emacs-devel@gnu.org>
>
> Offhand, I don't know
> about Emacs's build process, but in XEmacs the elc building
> process is very lazy since there is normally no dependency on
> platform or build in the elcs, only on changes in the els -- we
> symlink the whole lisp directory into the build directory
Which doesn't work on Windows.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: revno 101399 fails to build
2010-09-13 11:52 ` Eli Zaretskii
@ 2010-09-13 15:52 ` Stefan Monnier
2010-09-13 17:05 ` Eli Zaretskii
2010-09-13 16:17 ` Glenn Morris
1 sibling, 1 reply; 12+ messages in thread
From: Stefan Monnier @ 2010-09-13 15:52 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: Andreas Schwab, joakim, emacs-devel
>> > ...
>> > In toplevel form:
>> > calc/calc-help.el:30:1:Error: Required feature `calc-ext' was not provided
>>
>> Do you build with more that one job in parallel? In this case it can
>> happen that one emacs process writes out the elc file while another one
>> is reading the same (partial) file at the same time. To fix that the
>> creation of the elc file need to be made atomic.
> Or specify explicit dependencies in the Makefile. Or get Emacs to
> generate such dependencies given the `require's.
BTW, I did play with that a long time ago and the result was that it
works to some extent but it's not enough: many dependencies come from
autoloaded functions/macros, there are circular require-dependencies,
many dependencies come from preloaded files without any `require'
in sight.
Maybe a more promising direction is to let the byte-compiler emit
dependencies as it goes, just like gcc can do.
Stefan
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: revno 101399 fails to build
2010-09-13 11:52 ` Eli Zaretskii
2010-09-13 15:52 ` Stefan Monnier
@ 2010-09-13 16:17 ` Glenn Morris
1 sibling, 0 replies; 12+ messages in thread
From: Glenn Morris @ 2010-09-13 16:17 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: Andreas Schwab, joakim, emacs-devel
>> To fix that the creation of the elc file need to be made atomic.
Hopefully done now, BTW.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: revno 101399 fails to build
2010-09-13 15:52 ` Stefan Monnier
@ 2010-09-13 17:05 ` Eli Zaretskii
0 siblings, 0 replies; 12+ messages in thread
From: Eli Zaretskii @ 2010-09-13 17:05 UTC (permalink / raw)
To: Stefan Monnier; +Cc: schwab, joakim, emacs-devel
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: Andreas Schwab <schwab@linux-m68k.org>, joakim@verona.se, emacs-devel@gnu.org
> Date: Mon, 13 Sep 2010 17:52:59 +0200
>
> Maybe a more promising direction is to let the byte-compiler emit
> dependencies as it goes, just like gcc can do.
That's what I had in mind, yes.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: revno 101399 fails to build
2010-09-13 12:08 ` Eli Zaretskii
@ 2010-09-14 12:22 ` Stephen J. Turnbull
0 siblings, 0 replies; 12+ messages in thread
From: Stephen J. Turnbull @ 2010-09-14 12:22 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: joakim, emacs-devel
Eli Zaretskii writes:
> > From: "Stephen J. Turnbull" <stephen@xemacs.org>
> > Date: Sat, 11 Sep 2010 13:58:46 +0900
> > Cc: Emacs developers <emacs-devel@gnu.org>
> >
> > Offhand, I don't know
> > about Emacs's build process, but in XEmacs the elc building
> > process is very lazy since there is normally no dependency on
> > platform or build in the elcs, only on changes in the els --
> > we symlink the whole lisp directory into the build directory
>
> Which doesn't work on Windows.
My understanding was that we were discussing a build on a POSIX-ish
platform. If not, my bad.
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2010-09-14 12:22 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-10 5:40 revno 101399 fails to build joakim
2010-09-10 6:27 ` Glenn Morris
2010-09-10 7:48 ` joakim
2010-09-11 4:58 ` Stephen J. Turnbull
2010-09-13 12:08 ` Eli Zaretskii
2010-09-14 12:22 ` Stephen J. Turnbull
2010-09-10 8:37 ` Andreas Schwab
2010-09-10 8:52 ` joakim
2010-09-13 11:52 ` Eli Zaretskii
2010-09-13 15:52 ` Stefan Monnier
2010-09-13 17:05 ` Eli Zaretskii
2010-09-13 16:17 ` Glenn Morris
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).