unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* error building emacs from clean clone
@ 2017-10-09 14:25 Jean-Christophe Helary
  2017-10-09 15:58 ` Noam Postavsky
  0 siblings, 1 reply; 15+ messages in thread
From: Jean-Christophe Helary @ 2017-10-09 14:25 UTC (permalink / raw)
  To: emacs-devel

What I did is:

git clone -b master git://git.sv.gnu.org/emacs.git
cd emacs
make install

(autogen.sh is automatically launched etc.)

and I get a:

In toplevel form:
cedet/semantic/bovine/make.el:31:1:Error: Cannot open load file: No such file or directory, semantic/bovine/make-by
make[3]: *** [cedet/semantic/bovine/make.elc] Error 1
make[2]: *** [compile-main] Error 2
make[1]: *** [lisp] Error 2
make: *** [install] Error 2

I'm on macOS 10.13, freshly installed.

Jean-Christophe 


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

* Re: error building emacs from clean clone
  2017-10-09 14:25 error building emacs from clean clone Jean-Christophe Helary
@ 2017-10-09 15:58 ` Noam Postavsky
  2017-10-09 22:32   ` Jean-Christophe Helary
  0 siblings, 1 reply; 15+ messages in thread
From: Noam Postavsky @ 2017-10-09 15:58 UTC (permalink / raw)
  To: Jean-Christophe Helary; +Cc: emacs-devel

On Mon, Oct 9, 2017 at 10:25 AM, Jean-Christophe Helary
<jean.christophe.helary@gmail.com> wrote:

> cedet/semantic/bovine/make.el:31:1:Error: Cannot open load file: No such file or directory, semantic/bovine/make-by
> make[3]: *** [cedet/semantic/bovine/make.elc] Error 1
> make[2]: *** [compile-main] Error 2
> make[1]: *** [lisp] Error 2
> make: *** [install] Error 2
>
> I'm on macOS 10.13, freshly installed.
>
> Jean-Christophe

See Bug#28760.

https://debbugs.gnu.org/cgi/bugreport.cgi?users=emacs;bug=28760#8
https://lists.gnu.org/archive/html/emacs-devel/2017-10/msg00316.html



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

* Re: error building emacs from clean clone
  2017-10-09 15:58 ` Noam Postavsky
@ 2017-10-09 22:32   ` Jean-Christophe Helary
  2017-10-09 22:35     ` Noam Postavsky
  0 siblings, 1 reply; 15+ messages in thread
From: Jean-Christophe Helary @ 2017-10-09 22:32 UTC (permalink / raw)
  To: Noam Postavsky; +Cc: emacs-devel

Thank you Noam.

Maybe it's because I just woke up but I don't see a way to properly build emacs there.

Jean-Christophe 

> On Oct 10, 2017, at 0:58, Noam Postavsky <npostavs@users.sourceforge.net> wrote:
> 
> On Mon, Oct 9, 2017 at 10:25 AM, Jean-Christophe Helary
> <jean.christophe.helary@gmail.com> wrote:
> 
>> cedet/semantic/bovine/make.el:31:1:Error: Cannot open load file: No such file or directory, semantic/bovine/make-by
>> make[3]: *** [cedet/semantic/bovine/make.elc] Error 1
>> make[2]: *** [compile-main] Error 2
>> make[1]: *** [lisp] Error 2
>> make: *** [install] Error 2
>> 
>> I'm on macOS 10.13, freshly installed.
>> 
>> Jean-Christophe
> 
> See Bug#28760.
> 
> https://debbugs.gnu.org/cgi/bugreport.cgi?users=emacs;bug=28760#8
> https://lists.gnu.org/archive/html/emacs-devel/2017-10/msg00316.html




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

* Re: error building emacs from clean clone
  2017-10-09 22:32   ` Jean-Christophe Helary
@ 2017-10-09 22:35     ` Noam Postavsky
  2017-10-10  0:45       ` Stefan Monnier
  2017-10-10  2:03       ` Jean-Christophe Helary
  0 siblings, 2 replies; 15+ messages in thread
From: Noam Postavsky @ 2017-10-09 22:35 UTC (permalink / raw)
  To: Jean-Christophe Helary; +Cc: emacs-devel

On Mon, Oct 9, 2017 at 6:32 PM, Jean-Christophe Helary
<jean.christophe.helary@gmail.com> wrote:

> Maybe it's because I just woke up but I don't see a way to properly build emacs there.

Update to latest master and try again.



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

* Re: error building emacs from clean clone
  2017-10-09 22:35     ` Noam Postavsky
@ 2017-10-10  0:45       ` Stefan Monnier
  2017-10-10  2:03       ` Jean-Christophe Helary
  1 sibling, 0 replies; 15+ messages in thread
From: Stefan Monnier @ 2017-10-10  0:45 UTC (permalink / raw)
  To: emacs-devel

>> Maybe it's because I just woke up but I don't see a way to properly
>> build emacs there.
> Update to latest master and try again.

Funnily enough, dropping support completely for old-style backquotes
(which is what I have in my local tree, instead of signaling an error
when faced for an old-style backquote) doesn't bump into this
problem ;-)


        Stefan




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

* Re: error building emacs from clean clone
  2017-10-09 22:35     ` Noam Postavsky
  2017-10-10  0:45       ` Stefan Monnier
@ 2017-10-10  2:03       ` Jean-Christophe Helary
  2017-10-10  8:35         ` Noam Postavsky
  2017-10-10  8:47         ` Andreas Schwab
  1 sibling, 2 replies; 15+ messages in thread
From: Jean-Christophe Helary @ 2017-10-10  2:03 UTC (permalink / raw)
  To: Noam Postavsky; +Cc: emacs-devel

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



> On Oct 10, 2017, at 7:35, Noam Postavsky <npostavs@users.sourceforge.net> wrote:
> 
> On Mon, Oct 9, 2017 at 6:32 PM, Jean-Christophe Helary
> <jean.christophe.helary@gmail.com> wrote:
> 
>> Maybe it's because I just woke up but I don't see a way to properly build emacs there.
> 
> Update to latest master and try again.

Isn't what

git clone -b master git://git.sv.gnu.org/emacs.git <git://git.sv.gnu.org/emacs.git>

is supposed to do ?

Jean-Christophe 

[-- Attachment #2: Type: text/html, Size: 1391 bytes --]

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

* Re: error building emacs from clean clone
  2017-10-10  2:03       ` Jean-Christophe Helary
@ 2017-10-10  8:35         ` Noam Postavsky
  2017-10-10  8:51           ` Jean-Christophe Helary
  2017-10-10  8:47         ` Andreas Schwab
  1 sibling, 1 reply; 15+ messages in thread
From: Noam Postavsky @ 2017-10-10  8:35 UTC (permalink / raw)
  To: Jean-Christophe Helary; +Cc: emacs-devel

On Mon, Oct 9, 2017 at 10:03 PM, Jean-Christophe Helary
<jean.christophe.helary@gmail.com> wrote:

>> Update to latest master and try again.
>
> Isn't what
>
> git clone -b master git://git.sv.gnu.org/emacs.git
>
> is supposed to do ?

Yes.  But "latest" generally means something different every time you
do it. When you did it before, the "latest" commit was broken, and now
it's not (I hope).



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

* Re: error building emacs from clean clone
  2017-10-10  2:03       ` Jean-Christophe Helary
  2017-10-10  8:35         ` Noam Postavsky
@ 2017-10-10  8:47         ` Andreas Schwab
  2017-10-10  8:52           ` Jean-Christophe Helary
  1 sibling, 1 reply; 15+ messages in thread
From: Andreas Schwab @ 2017-10-10  8:47 UTC (permalink / raw)
  To: Jean-Christophe Helary; +Cc: emacs-devel, Noam Postavsky

On Okt 10 2017, Jean-Christophe Helary <jean.christophe.helary@gmail.com> wrote:

> Isn't what
>
> git clone -b master git://git.sv.gnu.org/emacs.git <git://git.sv.gnu.org/emacs.git>
>
> is supposed to do ?

You are supposed to use git pull.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



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

* Re: error building emacs from clean clone
  2017-10-10  8:35         ` Noam Postavsky
@ 2017-10-10  8:51           ` Jean-Christophe Helary
  2017-10-10  9:17             ` Noam Postavsky
  0 siblings, 1 reply; 15+ messages in thread
From: Jean-Christophe Helary @ 2017-10-10  8:51 UTC (permalink / raw)
  To: Noam Postavsky; +Cc: emacs-devel



> On Oct 10, 2017, at 17:35, Noam Postavsky <npostavs@users.sourceforge.net> wrote:
> 
> On Mon, Oct 9, 2017 at 10:03 PM, Jean-Christophe Helary
> <jean.christophe.helary@gmail.com> wrote:
> 
>>> Update to latest master and try again.
>> 
>> Isn't what
>> 
>> git clone -b master git://git.sv.gnu.org/emacs.git
>> 
>> is supposed to do ?
> 
> Yes.  But "latest" generally means something different every time you
> do it. When you did it before, the "latest" commit was broken, and now
> it's not (I hope).

I don't know what "now" is for you, but I've tried that a number of times in the past 24 hours and it still does not work.

I think it's Stephan who suggested a while back that when a build failed for no obvious reasons, just starting from scratch was the best way to fix the issue. So I just erased my emacs directory and did the git clone dance, but this time without success.

Last attempt was 10mn ago.

Jean-Christophe 


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

* Re: error building emacs from clean clone
  2017-10-10  8:47         ` Andreas Schwab
@ 2017-10-10  8:52           ` Jean-Christophe Helary
  2017-10-10  8:57             ` Andreas Schwab
  0 siblings, 1 reply; 15+ messages in thread
From: Jean-Christophe Helary @ 2017-10-10  8:52 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: emacs-devel, Noam Postavsky



> On Oct 10, 2017, at 17:47, Andreas Schwab <schwab@suse.de> wrote:
> 
> On Okt 10 2017, Jean-Christophe Helary <jean.christophe.helary@gmail.com> wrote:
> 
>> Isn't what
>> 
>> git clone -b master git://git.sv.gnu.org/emacs.git <git://git.sv.gnu.org/emacs.git>
>> 
>> is supposed to do ?
> 
> You are supposed to use git pull.

Not when you've trashed your emacs directory if I understand correctly.

I usually do pulls, once a day, but then I got this error that I could not fix so I decided to restart from scratch and not I can't get a clone that works.

Jean-Christophe 


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

* Re: error building emacs from clean clone
  2017-10-10  8:52           ` Jean-Christophe Helary
@ 2017-10-10  8:57             ` Andreas Schwab
  2017-10-10  9:09               ` Jean-Christophe Helary
  0 siblings, 1 reply; 15+ messages in thread
From: Andreas Schwab @ 2017-10-10  8:57 UTC (permalink / raw)
  To: Jean-Christophe Helary; +Cc: emacs-devel, Noam Postavsky

On Okt 10 2017, Jean-Christophe Helary <jean.christophe.helary@gmail.com> wrote:

> I usually do pulls, once a day, but then I got this error that I could not fix so I decided to restart from scratch and not I can't get a clone that works.

Restart from scratch means make bootstrap.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



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

* Re: error building emacs from clean clone
  2017-10-10  8:57             ` Andreas Schwab
@ 2017-10-10  9:09               ` Jean-Christophe Helary
  0 siblings, 0 replies; 15+ messages in thread
From: Jean-Christophe Helary @ 2017-10-10  9:09 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: emacs-devel, Noam Postavsky



> On Oct 10, 2017, at 17:57, Andreas Schwab <schwab@suse.de> wrote:
> 
> On Okt 10 2017, Jean-Christophe Helary <jean.christophe.helary@gmail.com> wrote:
> 
>> I usually do pulls, once a day, but then I got this error that I could not fix so I decided to restart from scratch and not I can't get a clone that works.
> 
> Restart from scratch means make bootstrap.

Ok, so is a clone of the repository supposed to give me code that properly builds, or not ?

https://savannah.gnu.org/projects/emacs/

Jean-Christophe 


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

* Re: error building emacs from clean clone
  2017-10-10  8:51           ` Jean-Christophe Helary
@ 2017-10-10  9:17             ` Noam Postavsky
  2017-10-10  9:32               ` Phillip Lord
  0 siblings, 1 reply; 15+ messages in thread
From: Noam Postavsky @ 2017-10-10  9:17 UTC (permalink / raw)
  To: Jean-Christophe Helary; +Cc: emacs-devel

On Tue, Oct 10, 2017 at 4:51 AM, Jean-Christophe Helary
<jean.christophe.helary@gmail.com> wrote:

> I don't know what "now" is for you, but I've tried that a number of times in the past 24 hours and it still does not work.

Ah, okay. It was reported that updating fixed an error which seems the
same as what you posted:
https://debbugs.gnu.org/cgi/bugreport.cgi?users=emacs;bug=28760#11

Perhaps you have something else though?

> I think it's Stephan who suggested a while back that when a build failed for no obvious reasons, just starting from scratch was the best way to fix the issue. So I just erased my emacs directory and did the git clone dance, but this time without success.

Cloning from scratch is overkill, 'git clean -fx' will delete
everything not directly from git. That way you don't have to download
everything from the beginning.

Andreas' suggestion of 'make bootstrap' is *usually* enough, but not
in every case (see INSTALL.REPO for a couple of counter-examples).

> Last attempt was 10mn ago.

Which revision are you at? 'git log -1'



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

* Re: error building emacs from clean clone
  2017-10-10  9:17             ` Noam Postavsky
@ 2017-10-10  9:32               ` Phillip Lord
  2017-10-10  9:45                 ` Noam Postavsky
  0 siblings, 1 reply; 15+ messages in thread
From: Phillip Lord @ 2017-10-10  9:32 UTC (permalink / raw)
  To: Noam Postavsky; +Cc: Jean-Christophe Helary, emacs-devel

Noam Postavsky <npostavs@users.sourceforge.net> writes:

> On Tue, Oct 10, 2017 at 4:51 AM, Jean-Christophe Helary
> <jean.christophe.helary@gmail.com> wrote:
>
>> I don't know what "now" is for you, but I've tried that a number of
>> times in the past 24 hours and it still does not work.
>
> Ah, okay. It was reported that updating fixed an error which seems the
> same as what you posted:
> https://debbugs.gnu.org/cgi/bugreport.cgi?users=emacs;bug=28760#11
>
> Perhaps you have something else though?
>
>> I think it's Stephan who suggested a while back that when a build
>> failed for no obvious reasons, just starting from scratch was the
>> best way to fix the issue. So I just erased my emacs directory and
>> did the git clone dance, but this time without success.
>
> Cloning from scratch is overkill, 'git clean -fx' will delete
> everything not directly from git. That way you don't have to download
> everything from the beginning.

git clean -xdf

I got hit by this once. Need to kill the directories as well.

We could add that to top-level Makefile.

Phil



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

* Re: error building emacs from clean clone
  2017-10-10  9:32               ` Phillip Lord
@ 2017-10-10  9:45                 ` Noam Postavsky
  0 siblings, 0 replies; 15+ messages in thread
From: Noam Postavsky @ 2017-10-10  9:45 UTC (permalink / raw)
  To: Phillip Lord; +Cc: Jean-Christophe Helary, emacs-devel

On Tue, Oct 10, 2017 at 5:32 AM, Phillip Lord
<phillip.lord@russet.org.uk> wrote:

>> Cloning from scratch is overkill, 'git clean -fx' will delete
>> everything not directly from git. That way you don't have to download
>> everything from the beginning.
>
> git clean -xdf
>
> I got hit by this once. Need to kill the directories as well.

Oh thanks, updated INSTALL.REPO.

> We could add that to top-level Makefile.

I think it's a bit too dangerous for the Makefile.



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

end of thread, other threads:[~2017-10-10  9:45 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-09 14:25 error building emacs from clean clone Jean-Christophe Helary
2017-10-09 15:58 ` Noam Postavsky
2017-10-09 22:32   ` Jean-Christophe Helary
2017-10-09 22:35     ` Noam Postavsky
2017-10-10  0:45       ` Stefan Monnier
2017-10-10  2:03       ` Jean-Christophe Helary
2017-10-10  8:35         ` Noam Postavsky
2017-10-10  8:51           ` Jean-Christophe Helary
2017-10-10  9:17             ` Noam Postavsky
2017-10-10  9:32               ` Phillip Lord
2017-10-10  9:45                 ` Noam Postavsky
2017-10-10  8:47         ` Andreas Schwab
2017-10-10  8:52           ` Jean-Christophe Helary
2017-10-10  8:57             ` Andreas Schwab
2017-10-10  9:09               ` Jean-Christophe Helary

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