unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* make error on pinyin, leim,
@ 2019-02-25  9:53 Colin Baxter
  2019-02-25 12:20 ` Stephen Berman
  0 siblings, 1 reply; 9+ messages in thread
From: Colin Baxter @ 2019-02-25  9:53 UTC (permalink / raw)
  To: emacs-devel

After a pull from master, I get the make error:

Makefile:147: recipe for target '../lisp/language/pinyin.el' failed
make[3]: *** [../lisp/language/pinyin.el] Error 255
make[3]: Leaving directory '/home/redknight/git/emacs/leim'
Makefile:356: recipe for target 'leim' failed
make[2]: *** [leim] Error 2
make[2]: Leaving directory '/home/redknight/git/emacs/lisp'
Makefile:787: recipe for target '../lisp/loaddefs.el' failed
make[1]: *** [../lisp/loaddefs.el] Error 2
make[1]: Leaving directory '/home/redknight/git/emacs/src'
Makefile:423: recipe for target 'src' failed
make: *** [src] Error 2

I'm on 3.16.0-7-686-pae #1 SMP Debian 3.16.59-1 (2018-10-03) i686
GNU/Linux.

Best wishes,

Colin Baxter
m43cap@yandex.com




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

* Re: make error on pinyin, leim,
  2019-02-25  9:53 make error on pinyin, leim, Colin Baxter
@ 2019-02-25 12:20 ` Stephen Berman
  2019-02-25 14:45   ` Colin Baxter
  2019-02-25 16:00   ` Eli Zaretskii
  0 siblings, 2 replies; 9+ messages in thread
From: Stephen Berman @ 2019-02-25 12:20 UTC (permalink / raw)
  To: Colin Baxter; +Cc: emacs-devel

On Mon, 25 Feb 2019 09:53:38 +0000 Colin Baxter <m43cap@yandex.com> wrote:

> After a pull from master, I get the make error:
>
> Makefile:147: recipe for target '../lisp/language/pinyin.el' failed
> make[3]: *** [../lisp/language/pinyin.el] Error 255
> make[3]: Leaving directory '/home/redknight/git/emacs/leim'
> Makefile:356: recipe for target 'leim' failed
> make[2]: *** [leim] Error 2
> make[2]: Leaving directory '/home/redknight/git/emacs/lisp'
> Makefile:787: recipe for target '../lisp/loaddefs.el' failed
> make[1]: *** [../lisp/loaddefs.el] Error 2
> make[1]: Leaving directory '/home/redknight/git/emacs/src'
> Makefile:423: recipe for target 'src' failed
> make: *** [src] Error 2

I got this too today.  I deleted the .elc files in lisp/international
and reinvoked make, and then the build succeeded.

Steve Berman



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

* Re: make error on pinyin, leim,
  2019-02-25 12:20 ` Stephen Berman
@ 2019-02-25 14:45   ` Colin Baxter
  2019-02-25 16:00   ` Eli Zaretskii
  1 sibling, 0 replies; 9+ messages in thread
From: Colin Baxter @ 2019-02-25 14:45 UTC (permalink / raw)
  To: Stephen Berman; +Cc: emacs-devel

Dear Steve,
>>>>> Stephen Berman <stephen.berman@gmx.net> writes:

    > On Mon, 25 Feb 2019 09:53:38 +0000 Colin Baxter <m43cap@yandex.com> wrote:
    >> After a pull from master, I get the make error:
    >> 
    >> Makefile:147: recipe for target '../lisp/language/pinyin.el'
    >> failed make[3]: *** [../lisp/language/pinyin.el] Error 255
    >> make[3]: Leaving directory '/home/redknight/git/emacs/leim'
    >> Makefile:356: recipe for target 'leim' failed make[2]: *** [leim]
    >> Error 2 make[2]: Leaving directory
    >> '/home/redknight/git/emacs/lisp' Makefile:787: recipe for target
    >> '../lisp/loaddefs.el' failed make[1]: *** [../lisp/loaddefs.el]
    >> Error 2 make[1]: Leaving directory
    >> '/home/redknight/git/emacs/src' Makefile:423: recipe for target
    >> 'src' failed make: *** [src] Error 2

    > I got this too today.  I deleted the .elc files in
    > lisp/international and reinvoked make, and then the build
    > succeeded.

Thanks for the advice, yes that works. Something to remember for the
future.

Best wishes,

Colin Baxter
m43cap@yandex.com



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

* Re: make error on pinyin, leim,
  2019-02-25 12:20 ` Stephen Berman
  2019-02-25 14:45   ` Colin Baxter
@ 2019-02-25 16:00   ` Eli Zaretskii
  2019-02-25 19:11     ` Eric Abrahamsen
  1 sibling, 1 reply; 9+ messages in thread
From: Eli Zaretskii @ 2019-02-25 16:00 UTC (permalink / raw)
  To: Stephen Berman; +Cc: m43cap, emacs-devel

> From: Stephen Berman <stephen.berman@gmx.net>
> Date: Mon, 25 Feb 2019 13:20:06 +0100
> Cc: emacs-devel@gnu.org
> 
> I got this too today.  I deleted the .elc files in lisp/international
> and reinvoked make, and then the build succeeded.

Deleting titdic-cnv.elc should be enough.  Interestingly, I saw the
error message, but the build did run to completion, compiling the
updated titdic-cnv, and then saying "make" one more time generated the
missing pinyin.el.



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

* Re: make error on pinyin, leim,
  2019-02-25 16:00   ` Eli Zaretskii
@ 2019-02-25 19:11     ` Eric Abrahamsen
  2019-02-25 21:22       ` Eric Abrahamsen
  0 siblings, 1 reply; 9+ messages in thread
From: Eric Abrahamsen @ 2019-02-25 19:11 UTC (permalink / raw)
  To: emacs-devel

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Stephen Berman <stephen.berman@gmx.net>
>> Date: Mon, 25 Feb 2019 13:20:06 +0100
>> Cc: emacs-devel@gnu.org
>> 
>> I got this too today.  I deleted the .elc files in lisp/international
>> and reinvoked make, and then the build succeeded.
>
> Deleting titdic-cnv.elc should be enough.  Interestingly, I saw the
> error message, but the build did run to completion, compiling the
> updated titdic-cnv, and then saying "make" one more time generated the
> missing pinyin.el.

Bah, I hope that's not something I did wrong. That was my first stab at
messing with "make".




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

* Re: make error on pinyin, leim,
  2019-02-25 19:11     ` Eric Abrahamsen
@ 2019-02-25 21:22       ` Eric Abrahamsen
  2019-02-26  3:30         ` Eli Zaretskii
  0 siblings, 1 reply; 9+ messages in thread
From: Eric Abrahamsen @ 2019-02-25 21:22 UTC (permalink / raw)
  To: emacs-devel

Eric Abrahamsen <eric@ericabrahamsen.net> writes:

> Eli Zaretskii <eliz@gnu.org> writes:
>
>>> From: Stephen Berman <stephen.berman@gmx.net>
>>> Date: Mon, 25 Feb 2019 13:20:06 +0100
>>> Cc: emacs-devel@gnu.org
>>> 
>>> I got this too today.  I deleted the .elc files in lisp/international
>>> and reinvoked make, and then the build succeeded.
>>
>> Deleting titdic-cnv.elc should be enough.  Interestingly, I saw the
>> error message, but the build did run to completion, compiling the
>> updated titdic-cnv, and then saying "make" one more time generated the
>> missing pinyin.el.
>
> Bah, I hope that's not something I did wrong. That was my first stab at
> messing with "make".

I have to assume I did something wrong with the dependencies, since the
whole point of make is that it should detect that titdic-cnv.el (or
pinyin.el?) is out of date and recompile -- isn't it?




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

* Re: make error on pinyin, leim,
  2019-02-25 21:22       ` Eric Abrahamsen
@ 2019-02-26  3:30         ` Eli Zaretskii
  2019-02-26  3:55           ` Eric Abrahamsen
  2019-02-26 14:07           ` Stefan Monnier
  0 siblings, 2 replies; 9+ messages in thread
From: Eli Zaretskii @ 2019-02-26  3:30 UTC (permalink / raw)
  To: Eric Abrahamsen; +Cc: emacs-devel

> From: Eric Abrahamsen <eric@ericabrahamsen.net>
> Date: Mon, 25 Feb 2019 13:22:41 -0800
> 
> I have to assume I did something wrong with the dependencies, since the
> whole point of make is that it should detect that titdic-cnv.el (or
> pinyin.el?) is out of date and recompile -- isn't it?

No, the dependencies are OK.  The problem is the old titdic-cnv.elc,
which doesn't include the new function required to produce pinyin.el,
and the fact that Emacs loads a .elc file in preference to the
corresponding .el file.  If anything is wrong, it's the fact that we
do "make all" in leim/ before we compile Lisp files in lisp/.  So it's
a one-time thing.



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

* Re: make error on pinyin, leim,
  2019-02-26  3:30         ` Eli Zaretskii
@ 2019-02-26  3:55           ` Eric Abrahamsen
  2019-02-26 14:07           ` Stefan Monnier
  1 sibling, 0 replies; 9+ messages in thread
From: Eric Abrahamsen @ 2019-02-26  3:55 UTC (permalink / raw)
  To: emacs-devel

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Eric Abrahamsen <eric@ericabrahamsen.net>
>> Date: Mon, 25 Feb 2019 13:22:41 -0800
>> 
>> I have to assume I did something wrong with the dependencies, since the
>> whole point of make is that it should detect that titdic-cnv.el (or
>> pinyin.el?) is out of date and recompile -- isn't it?
>
> No, the dependencies are OK.  The problem is the old titdic-cnv.elc,
> which doesn't include the new function required to produce pinyin.el,
> and the fact that Emacs loads a .elc file in preference to the
> corresponding .el file.  If anything is wrong, it's the fact that we
> do "make all" in leim/ before we compile Lisp files in lisp/.  So it's
> a one-time thing.

Okay, thanks.




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

* Re: make error on pinyin, leim,
  2019-02-26  3:30         ` Eli Zaretskii
  2019-02-26  3:55           ` Eric Abrahamsen
@ 2019-02-26 14:07           ` Stefan Monnier
  1 sibling, 0 replies; 9+ messages in thread
From: Stefan Monnier @ 2019-02-26 14:07 UTC (permalink / raw)
  To: emacs-devel

> No, the dependencies are OK.

[...]

> If anything is wrong, it's the fact that we do "make all" in leim/
> before we compile Lisp files in lisp/.

Hmm... indeed, if the leim Makefile had a dependency that forced
(re)compilation of titdic-cnv.el, then the problem would not happen.
So it is also a dependency problem.

> So it's a one-time thing.

And it's not the first/only/last quirk of our Makefiles, so indeed it's
not high-priority to fix it.


        Stefan




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

end of thread, other threads:[~2019-02-26 14:07 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-25  9:53 make error on pinyin, leim, Colin Baxter
2019-02-25 12:20 ` Stephen Berman
2019-02-25 14:45   ` Colin Baxter
2019-02-25 16:00   ` Eli Zaretskii
2019-02-25 19:11     ` Eric Abrahamsen
2019-02-25 21:22       ` Eric Abrahamsen
2019-02-26  3:30         ` Eli Zaretskii
2019-02-26  3:55           ` Eric Abrahamsen
2019-02-26 14:07           ` Stefan Monnier

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).