unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Emacs bootstrap: 'ignored' errors [trunk]
@ 2010-10-06 15:15 Angelo Graziosi
  2010-10-08 19:14 ` Angelo Graziosi
  0 siblings, 1 reply; 12+ messages in thread
From: Angelo Graziosi @ 2010-10-06 15:15 UTC (permalink / raw)
  To: Emacs

Just for completeness, the bootstrap log of current trunk (rev.101821) 
shows up the following 'ignored' errors:

[...]
make[1]: Entering directory `/tmp/emacs/Work/doc/emacs'
rm -f *.aux *.log *.toc *.cp *.cps *.fn *.fns *.ky *.kys \
	  *.op *.ops *.pg *.pgs *.tp *.tps *.vr *.vrs
cd ../../info && rm -f emacs emacs-[1-9] emacs-[1-9][0-9]
/bin/sh: line 0: cd: ../../info: No such file or directory
make[1]: [infoclean] Error 1 (ignored)
rm -f emacs.dvi emacs-xtra.dvi emacs.pdf emacs-xtra.pdf
make[1]: Leaving directory `/tmp/emacs/Work/doc/emacs'
[...]
make[1]: Entering directory `/tmp/emacs/Work/doc/lispref'
rm -f *.aux *.log *.toc *.cp *.cps *.fn *.fns *.ky *.kys \
	  *.op *.ops *.pg *.pgs *.tp *.tps *.vr *.vrs
cd ../../info && rm -f elisp elisp-[1-9] elisp-[1-9][0-9]
/bin/sh: line 0: cd: ../../info: No such file or directory
make[1]: [infoclean] Error 1 (ignored)
rm -f elisp[12]*
rm -f elisp.dvi elisp.pdf vol[12].pdf
make[1]: Leaving directory `/tmp/emacs/Work/doc/lispref'
[...]
make[1]: Entering directory `/tmp/emacs/Work/doc/lispintro'
rm -f *.aux *.log *.toc *.cp *.cps *.fn *.fns *.ky *.kys \
	  *.op *.ops *.pg *.pgs *.tp *.tps *.vr *.vrs
cd ../../info && rm -f eintr eintr-[1-9]
/bin/sh: line 0: cd: ../../info: No such file or directory
make[1]: [infoclean] Error 1 (ignored)
rm -f emacs-lisp-intro.dvi emacs-lisp-intro.pdf
rm -rf emacs-lisp-intro.html/
make[1]: Leaving directory `/tmp/emacs/Work/doc/lispintro'
[...]

Those errors were absent in the bootstraps of previous revisions.

Ciao,
Angelo.



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

* Re: Emacs bootstrap: 'ignored' errors [trunk]
  2010-10-06 15:15 Emacs bootstrap: 'ignored' errors [trunk] Angelo Graziosi
@ 2010-10-08 19:14 ` Angelo Graziosi
  2010-10-09 18:10   ` Glenn Morris
  0 siblings, 1 reply; 12+ messages in thread
From: Angelo Graziosi @ 2010-10-08 19:14 UTC (permalink / raw)
  To: Glenn Morris; +Cc: Emacs

Hi Glenn,

have you some comments?

I noticed this in 'doc/emacs/ChangeLog':

2010-10-06  Glenn Morris  <>

	[...]
	(infoclean, dist): New rules.
         [...]


Ciao,
Angelo.


Il 06/10/2010 17.15, Angelo Graziosi ha scritto:
> Just for completeness, the bootstrap log of current trunk (rev.101821)
> shows up the following 'ignored' errors:
>
> [...]
> make[1]: Entering directory `/tmp/emacs/Work/doc/emacs'
> rm -f *.aux *.log *.toc *.cp *.cps *.fn *.fns *.ky *.kys \
> *.op *.ops *.pg *.pgs *.tp *.tps *.vr *.vrs
> cd ../../info && rm -f emacs emacs-[1-9] emacs-[1-9][0-9]
> /bin/sh: line 0: cd: ../../info: No such file or directory
> make[1]: [infoclean] Error 1 (ignored)
> rm -f emacs.dvi emacs-xtra.dvi emacs.pdf emacs-xtra.pdf
> make[1]: Leaving directory `/tmp/emacs/Work/doc/emacs'
> [...]
> make[1]: Entering directory `/tmp/emacs/Work/doc/lispref'
> rm -f *.aux *.log *.toc *.cp *.cps *.fn *.fns *.ky *.kys \
> *.op *.ops *.pg *.pgs *.tp *.tps *.vr *.vrs
> cd ../../info && rm -f elisp elisp-[1-9] elisp-[1-9][0-9]
> /bin/sh: line 0: cd: ../../info: No such file or directory
> make[1]: [infoclean] Error 1 (ignored)
> rm -f elisp[12]*
> rm -f elisp.dvi elisp.pdf vol[12].pdf
> make[1]: Leaving directory `/tmp/emacs/Work/doc/lispref'
> [...]
> make[1]: Entering directory `/tmp/emacs/Work/doc/lispintro'
> rm -f *.aux *.log *.toc *.cp *.cps *.fn *.fns *.ky *.kys \
> *.op *.ops *.pg *.pgs *.tp *.tps *.vr *.vrs
> cd ../../info && rm -f eintr eintr-[1-9]
> /bin/sh: line 0: cd: ../../info: No such file or directory
> make[1]: [infoclean] Error 1 (ignored)
> rm -f emacs-lisp-intro.dvi emacs-lisp-intro.pdf
> rm -rf emacs-lisp-intro.html/
> make[1]: Leaving directory `/tmp/emacs/Work/doc/lispintro'
> [...]
>
> Those errors were absent in the bootstraps of previous revisions.
>
> Ciao,
> Angelo.




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

* Re: Emacs bootstrap: 'ignored' errors [trunk]
  2010-10-08 19:14 ` Angelo Graziosi
@ 2010-10-09 18:10   ` Glenn Morris
  2010-10-09 20:58     ` Angelo Graziosi
  0 siblings, 1 reply; 12+ messages in thread
From: Glenn Morris @ 2010-10-09 18:10 UTC (permalink / raw)
  To: Angelo Graziosi; +Cc: Emacs

Angelo Graziosi wrote:

> have you some comments?

My comment on ignored make errors is that they should be ignored.



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

* Re: Emacs bootstrap: 'ignored' errors [trunk]
  2010-10-09 18:10   ` Glenn Morris
@ 2010-10-09 20:58     ` Angelo Graziosi
  2010-10-09 21:51       ` Eli Zaretskii
  0 siblings, 1 reply; 12+ messages in thread
From: Angelo Graziosi @ 2010-10-09 20:58 UTC (permalink / raw)
  To: Glenn Morris; +Cc: Emacs

Il 09/10/2010 20.10, Glenn Morris ha scritto:
> Angelo Graziosi wrote:
>
>> have you some comments?
>
> My comment on ignored make errors is that they should be ignored.

No, as you have seen, 'errors' should never been ignored...


Ciao,
Angelo.



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

* Re: Emacs bootstrap: 'ignored' errors [trunk]
  2010-10-09 20:58     ` Angelo Graziosi
@ 2010-10-09 21:51       ` Eli Zaretskii
  2010-10-09 22:06         ` Angelo Graziosi
  0 siblings, 1 reply; 12+ messages in thread
From: Eli Zaretskii @ 2010-10-09 21:51 UTC (permalink / raw)
  To: Angelo Graziosi; +Cc: emacs-devel

> Date: Sat, 09 Oct 2010 22:58:43 +0200
> From: Angelo Graziosi <angelo.graziosi@alice.it>
> Cc: Emacs <emacs-devel@gnu.org>
> 
> Il 09/10/2010 20.10, Glenn Morris ha scritto:
> > Angelo Graziosi wrote:
> >
> >> have you some comments?
> >
> > My comment on ignored make errors is that they should be ignored.
> 
> No, as you have seen, 'errors' should never been ignored...

??? Commands that begin with a "-" in the Makefile are written that
way to ignore errors if they happen.



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

* Re: Emacs bootstrap: 'ignored' errors [trunk]
  2010-10-09 21:51       ` Eli Zaretskii
@ 2010-10-09 22:06         ` Angelo Graziosi
  2010-10-09 22:21           ` Eli Zaretskii
  2010-10-09 22:39           ` Glenn Morris
  0 siblings, 2 replies; 12+ messages in thread
From: Angelo Graziosi @ 2010-10-09 22:06 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

Il 09/10/2010 23.51, Eli Zaretskii ha scritto:
>> Date: Sat, 09 Oct 2010 22:58:43 +0200
>> From: Angelo Graziosi<angelo.graziosi@alice.it>
>> Cc: Emacs<emacs-devel@gnu.org>
>>
>> Il 09/10/2010 20.10, Glenn Morris ha scritto:
>>> Angelo Graziosi wrote:
>>>
>>>> have you some comments?
>>>
>>> My comment on ignored make errors is that they should be ignored.
>>
>> No, as you have seen, 'errors' should never been ignored...
>
> ??? Commands that begin with a "-" in the Makefile are written that
> way to ignore errors if they happen.

The errors 'ignored'[1] were related to fatal errors which broke the 
bootstrap (out of tree) in rev.101874 [2].

In rev.101887 all seems fixed.

Thanks,
Angelo.

---
[1] http://lists.gnu.org/archive/html/emacs-devel/2010-10/msg00272.html
[2] http://lists.gnu.org/archive/html/emacs-devel/2010-10/msg00406.html



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

* Re: Emacs bootstrap: 'ignored' errors [trunk]
  2010-10-09 22:06         ` Angelo Graziosi
@ 2010-10-09 22:21           ` Eli Zaretskii
  2010-10-09 22:41             ` Angelo Graziosi
  2010-10-09 22:39           ` Glenn Morris
  1 sibling, 1 reply; 12+ messages in thread
From: Eli Zaretskii @ 2010-10-09 22:21 UTC (permalink / raw)
  To: Angelo Graziosi; +Cc: emacs-devel

> Date: Sun, 10 Oct 2010 00:06:56 +0200
> From: Angelo Graziosi <angelo.graziosi@alice.it>
> CC: rgm@gnu.org, emacs-devel@gnu.org
> 
> Il 09/10/2010 23.51, Eli Zaretskii ha scritto:
> >> Date: Sat, 09 Oct 2010 22:58:43 +0200
> >> From: Angelo Graziosi<angelo.graziosi@alice.it>
> >> Cc: Emacs<emacs-devel@gnu.org>
> >>
> >> Il 09/10/2010 20.10, Glenn Morris ha scritto:
> >>> Angelo Graziosi wrote:
> >>>
> >>>> have you some comments?
> >>>
> >>> My comment on ignored make errors is that they should be ignored.
> >>
> >> No, as you have seen, 'errors' should never been ignored...
> >
> > ??? Commands that begin with a "-" in the Makefile are written that
> > way to ignore errors if they happen.
> 
> The errors 'ignored'[1] were related to fatal errors which broke the 
> bootstrap (out of tree) in rev.101874 [2].

Errors that should be ignored by Make can never break any build.



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

* Re: Emacs bootstrap: 'ignored' errors [trunk]
  2010-10-09 22:06         ` Angelo Graziosi
  2010-10-09 22:21           ` Eli Zaretskii
@ 2010-10-09 22:39           ` Glenn Morris
  1 sibling, 0 replies; 12+ messages in thread
From: Glenn Morris @ 2010-10-09 22:39 UTC (permalink / raw)
  To: Angelo Graziosi; +Cc: Eli Zaretskii, emacs-devel

Angelo Graziosi wrote:

> The errors 'ignored'[1] were related to fatal errors

No, they were not related at all.

The ignored errors are also present in Emacs 23 (and before) and are
harmless. They don't happen to show up in the build log there, so you
remain blisfully ignorant of them.




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

* Re: Emacs bootstrap: 'ignored' errors [trunk]
  2010-10-09 22:21           ` Eli Zaretskii
@ 2010-10-09 22:41             ` Angelo Graziosi
  2010-10-09 22:44               ` Glenn Morris
  0 siblings, 1 reply; 12+ messages in thread
From: Angelo Graziosi @ 2010-10-09 22:41 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

Il 10/10/2010 0.21, Eli Zaretskii ha scritto:
>> Date: Sun, 10 Oct 2010 00:06:56 +0200
>> From: Angelo Graziosi<angelo.graziosi@alice.it>
>> CC: rgm@gnu.org, emacs-devel@gnu.org
>>
>> Il 09/10/2010 23.51, Eli Zaretskii ha scritto:
>>>> Date: Sat, 09 Oct 2010 22:58:43 +0200
>>>> From: Angelo Graziosi<angelo.graziosi@alice.it>
>>>> Cc: Emacs<emacs-devel@gnu.org>
>>>>
>>>> Il 09/10/2010 20.10, Glenn Morris ha scritto:
>>>>> Angelo Graziosi wrote:
>>>>>
>>>>>> have you some comments?
>>>>>
>>>>> My comment on ignored make errors is that they should be ignored.
>>>>
>>>> No, as you have seen, 'errors' should never been ignored...
>>>
>>> ??? Commands that begin with a "-" in the Makefile are written that
>>> way to ignore errors if they happen.
>>
>> The errors 'ignored'[1] were related to fatal errors which broke the
>> bootstrap (out of tree) in rev.101874 [2].
>
> Errors that should be ignored by Make can never break any build.

I haven't said that they break the build.

If I have understood, they were generated by the build out of tree 
(OOT). In rev.101874 there were similar changes (all in docs) *which* 
caused the break in the bootstrap OOT.

In some ways, the 'ignored' errors were the basis of the upcoming fatal 
ones. Perhaps, asking 'why I got these ignored?' could avoid the break 
in r101874: the recent changes in docs did not take into account for 
bootstrap OOT.

Ciao,
Angelo.



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

* Re: Emacs bootstrap: 'ignored' errors [trunk]
  2010-10-09 22:41             ` Angelo Graziosi
@ 2010-10-09 22:44               ` Glenn Morris
  2010-10-09 22:56                 ` Angelo Graziosi
  2010-10-10 16:00                 ` Angelo Graziosi
  0 siblings, 2 replies; 12+ messages in thread
From: Glenn Morris @ 2010-10-09 22:44 UTC (permalink / raw)
  To: Angelo Graziosi; +Cc: Eli Zaretskii, emacs-devel

Angelo Graziosi wrote:

> In some ways, the 'ignored' errors were the basis of the upcoming
> fatal ones. Perhaps, asking 'why I got these ignored?' could avoid the
> break in r101874: the recent changes in docs did not take into account
> for bootstrap OOT.

This is all bunkum.



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

* Re: Emacs bootstrap: 'ignored' errors [trunk]
  2010-10-09 22:44               ` Glenn Morris
@ 2010-10-09 22:56                 ` Angelo Graziosi
  2010-10-10 16:00                 ` Angelo Graziosi
  1 sibling, 0 replies; 12+ messages in thread
From: Angelo Graziosi @ 2010-10-09 22:56 UTC (permalink / raw)
  To: Glenn Morris; +Cc: Eli Zaretskii, emacs-devel

Il 10/10/2010 0.44, Glenn Morris ha scritto:
> Angelo Graziosi wrote:
>
>> In some ways, the 'ignored' errors were the basis of the upcoming
>> fatal ones. Perhaps, asking 'why I got these ignored?' could avoid the
>> break in r101874: the recent changes in docs did not take into account
>> for bootstrap OOT.
>
> This is all bunkum.

For completeness, I did also bootstraps 'in tree' (using the same 
revisions) and the logs didn't show up 'ignored' errors regarding 
'infoclean' [*] (rev.101821, [1]) nor the bootstrap was broken with 
rev.101874 [2].

I did this on GNU/Linux an on Cygwin.

Cheers,
Angelo.

---
[*] There were other 'ignored', but I do not remember for what :(
[1] http://lists.gnu.org/archive/html/emacs-devel/2010-10/msg00272.html
[2] http://lists.gnu.org/archive/html/emacs-devel/2010-10/msg00406.html




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

* Re: Emacs bootstrap: 'ignored' errors [trunk]
  2010-10-09 22:44               ` Glenn Morris
  2010-10-09 22:56                 ` Angelo Graziosi
@ 2010-10-10 16:00                 ` Angelo Graziosi
  1 sibling, 0 replies; 12+ messages in thread
From: Angelo Graziosi @ 2010-10-10 16:00 UTC (permalink / raw)
  To: Glenn Morris; +Cc: Eli Zaretskii, emacs-devel

Il 10/10/2010 0.44, Glenn Morris ha scritto:
> Angelo Graziosi wrote:
>
>> In some ways, the 'ignored' errors were the basis of the upcoming
>> fatal ones. Perhaps, asking 'why I got these ignored?' could avoid the
>> break in r101874: the recent changes in docs did not take into account
>> for bootstrap OOT.
>
> This is all bunkum.

Why?

The following is on GNU/Linux Kubuntu 10.04.

[A] - Out of tree build, rev. 101821
$ rsync -av --delete emacs-trunk/ emacs/
$ cd emacs
$ bzr up -r 101821
$ mkdir build_dir
$ cd build_dir
$ ../configure 2>&1 | tee oot_build.log
$ make bootstrap -j4 2>&1 | tee -a oot_build.log

$ grep -i error oot_build.log
checking jerror.h usability... yes
checking jerror.h presence... yes
checking for jerror.h... yes
checking for strerror... yes
checking for gai_strerror... yes
rm -f libXMenu11.a Activate.o AddPane.o AddSel.o ChgPane.o ChgSel.o 
Create.o DelPane.o DelSel.o Destroy.o Error.o EvHand.o FindPane.o 
FindSel.o InsPane.o InsSel.o Internal.o Locate.o Post.o Recomp.o 
SetAEQ.o SetFrz.o SetPane.o SetSel.o XDelAssoc.o XLookAssoc.o XCrAssoc.o 
XDestAssoc.o XMakeAssoc.o insque.o
make[1]: [infoclean] Errore 2 (ignorato)
make[1]: [infoclean] Errore 2 (ignorato)
make[1]: [infoclean] Errore 2 (ignorato)
/tmp/emacs/lib-src/../src/regex.c: In function ‘regerror’:

[B] - In tree build, rev. 101821
$ rsync -av --delete emacs-trunk/ emacs/
$ cd emacs
$ bzr up -r 101821
$ ./configure 2>&1 | tee in_tree_build.log
$ make bootstrap -j4 2>&1 | tee -a in_tree_build.log

$ grep -i error in_tree_build.log
checking jerror.h usability... yes
checking jerror.h presence... yes
checking for jerror.h... yes
checking for strerror... yes
checking for gai_strerror... yes
rm -f libXMenu11.a Activate.o AddPane.o AddSel.o ChgPane.o ChgSel.o 
Create.o DelPane.o DelSel.o Destroy.o Error.o EvHand.o FindPane.o 
FindSel.o InsPane.o InsSel.o Internal.o Locate.o Post.o Recomp.o 
SetAEQ.o SetFrz.o SetPane.o SetSel.o XDelAssoc.o XLookAssoc.o XCrAssoc.o 
XDestAssoc.o XMakeAssoc.o insque.o
/tmp/emacs/lib-src/../src/regex.c: In function ‘regerror’:
make[2]: [stamp-rcs-checkin] Errore 1 (ignorato)
make[2]: [stamp-grep-changelog] Errore 1 (ignorato)
make[2]: [stamp-rcs2log] Errore 1 (ignorato)
make[2]: [stamp-vcdiff] Errore 1 (ignorato)

In [B], the 'ignored' errors regard something like 'cp foo foo' _NOT_ 
your changes in 'infoclean'.

Repeating the same with rev. 101874, [A] gives:

$ grep -i error oot_build.log
checking jerror.h usability... yes
checking jerror.h presence... yes
checking for jerror.h... yes
checking for strerror... yes
checking for gai_strerror... yes
rm -f libXMenu11.a Activate.o AddPane.o AddSel.o ChgPane.o ChgSel.o 
Create.o DelPane.o DelSel.o Destroy.o Error.o EvHand.o FindPane.o 
FindSel.o InsPane.o InsSel.o Internal.o Locate.o Post.o Recomp.o 
SetAEQ.o SetFrz.o SetPane.o SetSel.o XDelAssoc.o XLookAssoc.o XCrAssoc.o 
XDestAssoc.o XMakeAssoc.o insque.o
make[1]: [infoclean] Errore 2 (ignorato)
make[1]: [infoclean] Errore 2 (ignorato)
make[1]: [infoclean] Errore 2 (ignorato)
make[2]: *** [info-real] Errore 2
make[1]: *** [info] Errore 2
/tmp/emacs/lib-src/../src/regex.c: In function ‘regerror’:
make: *** [bootstrap] Errore 2

BOOTSTRAP FAILURE!

Instead, [B] with rev. 101874 has success:

$ grep -i error in_tree_build.log
checking jerror.h usability... yes
checking jerror.h presence... yes
checking for jerror.h... yes
checking for strerror... yes
checking for gai_strerror... yes
rm -f libXMenu11.a Activate.o AddPane.o AddSel.o ChgPane.o ChgSel.o 
Create.o DelPane.o DelSel.o Destroy.o Error.o EvHand.o FindPane.o 
FindSel.o InsPane.o InsSel.o Internal.o Locate.o Post.o Recomp.o 
SetAEQ.o SetFrz.o SetPane.o SetSel.o XDelAssoc.o XLookAssoc.o XCrAssoc.o 
XDestAssoc.o XMakeAssoc.o insque.o
/tmp/emacs/lib-src/../src/regex.c: In function ‘regerror’:
make[2]: [stamp-rcs-checkin] Errore 1 (ignorato)
make[2]: [stamp-grep-changelog] Errore 1 (ignorato)
make[2]: [stamp-rcs2log] Errore 1 (ignorato)
make[2]: [stamp-vcdiff] Errore 1 (ignorato)

Where 'ignored' recards 'cp foo foo'.

Your changes, at least up to rev. 101874, were affected by this issue: 
they did not work right in a bootstrap 'out of tree', and the 'ignored' 
errors, [A], of rev. 101821, were trying to flag this.

Cheers,
Angelo.



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

end of thread, other threads:[~2010-10-10 16:00 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-06 15:15 Emacs bootstrap: 'ignored' errors [trunk] Angelo Graziosi
2010-10-08 19:14 ` Angelo Graziosi
2010-10-09 18:10   ` Glenn Morris
2010-10-09 20:58     ` Angelo Graziosi
2010-10-09 21:51       ` Eli Zaretskii
2010-10-09 22:06         ` Angelo Graziosi
2010-10-09 22:21           ` Eli Zaretskii
2010-10-09 22:41             ` Angelo Graziosi
2010-10-09 22:44               ` Glenn Morris
2010-10-09 22:56                 ` Angelo Graziosi
2010-10-10 16:00                 ` Angelo Graziosi
2010-10-09 22:39           ` 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).