* Master HEAD build failure?
@ 2021-09-30 0:24 Tim Cross
2021-09-30 0:55 ` Stefan Kangas
2021-09-30 1:23 ` Glenn Morris
0 siblings, 2 replies; 8+ messages in thread
From: Tim Cross @ 2021-09-30 0:24 UTC (permalink / raw)
To: Emacs developers
[-- Attachment #1: Type: text/plain, Size: 1107 bytes --]
Trying to build from current git master HEAD seems to be broken. Have tried
various recipes (make, make bootstrap, make extraclean make bootstrap etc).
Had no issues building a couple of days ago. Build fails with the following
error
Loading bindings (source)...
make -C ../lisp compile-first EMACS="../src/bootstrap-emacs"
make[3]: Entering directory '/home/tim/git/emacs/lisp'
ELC emacs-lisp/macroexp.elc
desired fingerprint:
85f312322694a812c6415eae9aea6afbbc20b2924e0617f410218006e1fc48c8
found fingerprint:
2db1c43551c18cfe037e9db53b353bb37add978d1134069ed31ee14138e7d2fc
emacs: could not load dump file
"/usr/local/libexec/emacs/28.0.50/x86_64-pc-linux-gnu/emacs.pdmp": not
built for this Emacs executable
make[3]: *** [Makefile:309: emacs-lisp/macroexp.elc] Error 1
make[3]: Leaving directory '/home/tim/git/emacs/lisp'
make[2]: *** [Makefile:850: bootstrap-emacs.pdmp] Error 2
make[2]: Leaving directory '/home/tim/git/emacs/src'
make[1]: *** [Makefile:449: src] Error 2
make[1]: Leaving directory '/home/tim/git/emacs'
make: *** [Makefile:1147: bootstrap] Error 2
This is on Ubuntu 21.04.
[-- Attachment #2: Type: text/html, Size: 1382 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Master HEAD build failure?
2021-09-30 0:24 Master HEAD build failure? Tim Cross
@ 2021-09-30 0:55 ` Stefan Kangas
2021-09-30 0:58 ` Tim Cross
2021-09-30 1:23 ` Glenn Morris
1 sibling, 1 reply; 8+ messages in thread
From: Stefan Kangas @ 2021-09-30 0:55 UTC (permalink / raw)
To: Tim Cross, Emacs developers
Tim Cross <theophilusx@gmail.com> writes:
> Trying to build from current git master HEAD seems to be broken. Have tried
> various recipes (make, make bootstrap, make extraclean make bootstrap etc).
> Had no issues building a couple of days ago. Build fails with the following
> error
>
> Loading bindings (source)...
> make -C ../lisp compile-first EMACS="../src/bootstrap-emacs"
> make[3]: Entering directory '/home/tim/git/emacs/lisp'
> ELC emacs-lisp/macroexp.elc
> desired fingerprint:
> 85f312322694a812c6415eae9aea6afbbc20b2924e0617f410218006e1fc48c8
> found fingerprint:
> 2db1c43551c18cfe037e9db53b353bb37add978d1134069ed31ee14138e7d2fc
> emacs: could not load dump file
> "/usr/local/libexec/emacs/28.0.50/x86_64-pc-linux-gnu/emacs.pdmp": not
> built for this Emacs executable
> make[3]: *** [Makefile:309: emacs-lisp/macroexp.elc] Error 1
> make[3]: Leaving directory '/home/tim/git/emacs/lisp'
> make[2]: *** [Makefile:850: bootstrap-emacs.pdmp] Error 2
> make[2]: Leaving directory '/home/tim/git/emacs/src'
> make[1]: *** [Makefile:449: src] Error 2
> make[1]: Leaving directory '/home/tim/git/emacs'
> make: *** [Makefile:1147: bootstrap] Error 2
>
> This is on Ubuntu 21.04.
I just built HEAD successfully using bootstrap here,
--with-native-compilation on Debian GNU/Linux bullseye/stable.
Which configuration options did you use?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Master HEAD build failure?
2021-09-30 0:55 ` Stefan Kangas
@ 2021-09-30 0:58 ` Tim Cross
2021-09-30 1:03 ` Tim Cross
0 siblings, 1 reply; 8+ messages in thread
From: Tim Cross @ 2021-09-30 0:58 UTC (permalink / raw)
To: Stefan Kangas; +Cc: Emacs developers
[-- Attachment #1: Type: text/plain, Size: 1725 bytes --]
I'm not using native compilation. I used
./configure --with-cairo --with-sound --with-file-notification
--with-xwidgets --with-json
This same configuraiton worked fine a few days ago.
On Thu, 30 Sept 2021 at 10:55, Stefan Kangas <stefankangas@gmail.com> wrote:
> Tim Cross <theophilusx@gmail.com> writes:
>
> > Trying to build from current git master HEAD seems to be broken. Have
> tried
> > various recipes (make, make bootstrap, make extraclean make bootstrap
> etc).
> > Had no issues building a couple of days ago. Build fails with the
> following
> > error
> >
> > Loading bindings (source)...
> > make -C ../lisp compile-first EMACS="../src/bootstrap-emacs"
> > make[3]: Entering directory '/home/tim/git/emacs/lisp'
> > ELC emacs-lisp/macroexp.elc
> > desired fingerprint:
> > 85f312322694a812c6415eae9aea6afbbc20b2924e0617f410218006e1fc48c8
> > found fingerprint:
> > 2db1c43551c18cfe037e9db53b353bb37add978d1134069ed31ee14138e7d2fc
> > emacs: could not load dump file
> > "/usr/local/libexec/emacs/28.0.50/x86_64-pc-linux-gnu/emacs.pdmp": not
> > built for this Emacs executable
> > make[3]: *** [Makefile:309: emacs-lisp/macroexp.elc] Error 1
> > make[3]: Leaving directory '/home/tim/git/emacs/lisp'
> > make[2]: *** [Makefile:850: bootstrap-emacs.pdmp] Error 2
> > make[2]: Leaving directory '/home/tim/git/emacs/src'
> > make[1]: *** [Makefile:449: src] Error 2
> > make[1]: Leaving directory '/home/tim/git/emacs'
> > make: *** [Makefile:1147: bootstrap] Error 2
> >
> > This is on Ubuntu 21.04.
>
> I just built HEAD successfully using bootstrap here,
> --with-native-compilation on Debian GNU/Linux bullseye/stable.
>
> Which configuration options did you use?
>
--
regards,
Tim
--
Tim Cross
[-- Attachment #2: Type: text/html, Size: 2527 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Master HEAD build failure?
2021-09-30 0:58 ` Tim Cross
@ 2021-09-30 1:03 ` Tim Cross
0 siblings, 0 replies; 8+ messages in thread
From: Tim Cross @ 2021-09-30 1:03 UTC (permalink / raw)
To: Stefan Kangas; +Cc: Emacs developers
[-- Attachment #1: Type: text/plain, Size: 2007 bytes --]
Just tried the following and got the same error
make extraclean
./autogen.sh
./configure
make bootstrap
On Thu, 30 Sept 2021 at 10:58, Tim Cross <theophilusx@gmail.com> wrote:
> I'm not using native compilation. I used
>
> ./configure --with-cairo --with-sound --with-file-notification
> --with-xwidgets --with-json
>
> This same configuraiton worked fine a few days ago.
>
> On Thu, 30 Sept 2021 at 10:55, Stefan Kangas <stefankangas@gmail.com>
> wrote:
>
>> Tim Cross <theophilusx@gmail.com> writes:
>>
>> > Trying to build from current git master HEAD seems to be broken. Have
>> tried
>> > various recipes (make, make bootstrap, make extraclean make bootstrap
>> etc).
>> > Had no issues building a couple of days ago. Build fails with the
>> following
>> > error
>> >
>> > Loading bindings (source)...
>> > make -C ../lisp compile-first EMACS="../src/bootstrap-emacs"
>> > make[3]: Entering directory '/home/tim/git/emacs/lisp'
>> > ELC emacs-lisp/macroexp.elc
>> > desired fingerprint:
>> > 85f312322694a812c6415eae9aea6afbbc20b2924e0617f410218006e1fc48c8
>> > found fingerprint:
>> > 2db1c43551c18cfe037e9db53b353bb37add978d1134069ed31ee14138e7d2fc
>> > emacs: could not load dump file
>> > "/usr/local/libexec/emacs/28.0.50/x86_64-pc-linux-gnu/emacs.pdmp": not
>> > built for this Emacs executable
>> > make[3]: *** [Makefile:309: emacs-lisp/macroexp.elc] Error 1
>> > make[3]: Leaving directory '/home/tim/git/emacs/lisp'
>> > make[2]: *** [Makefile:850: bootstrap-emacs.pdmp] Error 2
>> > make[2]: Leaving directory '/home/tim/git/emacs/src'
>> > make[1]: *** [Makefile:449: src] Error 2
>> > make[1]: Leaving directory '/home/tim/git/emacs'
>> > make: *** [Makefile:1147: bootstrap] Error 2
>> >
>> > This is on Ubuntu 21.04.
>>
>> I just built HEAD successfully using bootstrap here,
>> --with-native-compilation on Debian GNU/Linux bullseye/stable.
>>
>> Which configuration options did you use?
>>
>
>
> --
> regards,
>
> Tim
>
> --
> Tim Cross
>
>
--
regards,
Tim
--
Tim Cross
[-- Attachment #2: Type: text/html, Size: 3256 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Master HEAD build failure?
2021-09-30 0:24 Master HEAD build failure? Tim Cross
2021-09-30 0:55 ` Stefan Kangas
@ 2021-09-30 1:23 ` Glenn Morris
2021-09-30 1:36 ` Tim Cross
1 sibling, 1 reply; 8+ messages in thread
From: Glenn Morris @ 2021-09-30 1:23 UTC (permalink / raw)
To: Tim Cross; +Cc: Emacs developers
Tim Cross wrote:
> make[3]: Entering directory '/home/tim/git/emacs/lisp'
[...]
> desired fingerprint:
> 85f312322694a812c6415eae9aea6afbbc20b2924e0617f410218006e1fc48c8
> found fingerprint:
> 2db1c43551c18cfe037e9db53b353bb37add978d1134069ed31ee14138e7d2fc
> emacs: could not load dump file
> "/usr/local/libexec/emacs/28.0.50/x86_64-pc-linux-gnu/emacs.pdmp": not
> built for this Emacs executable
A build failure is a bug and should be reported as such.
Anyway, the problem is that the build is finding a previously installed
pdmp file in preference to the one in the build tree.
(I feel like this was reported before.)
Using the fingerprint in the pdmp name would avoid this, but there has
been no progress on this (bug#42790).
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Master HEAD build failure?
2021-09-30 1:23 ` Glenn Morris
@ 2021-09-30 1:36 ` Tim Cross
2021-09-30 3:10 ` dick
0 siblings, 1 reply; 8+ messages in thread
From: Tim Cross @ 2021-09-30 1:36 UTC (permalink / raw)
To: Glenn Morris; +Cc: Emacs developers
Glenn Morris <rgm@gnu.org> writes:
> Tim Cross wrote:
>
>> make[3]: Entering directory '/home/tim/git/emacs/lisp'
> [...]
>> desired fingerprint:
>> 85f312322694a812c6415eae9aea6afbbc20b2924e0617f410218006e1fc48c8
>> found fingerprint:
>> 2db1c43551c18cfe037e9db53b353bb37add978d1134069ed31ee14138e7d2fc
>> emacs: could not load dump file
>> "/usr/local/libexec/emacs/28.0.50/x86_64-pc-linux-gnu/emacs.pdmp": not
>> built for this Emacs executable
>
> A build failure is a bug and should be reported as such.
> Anyway, the problem is that the build is finding a previously installed
> pdmp file in preference to the one in the build tree.
> (I feel like this was reported before.)
> Using the fingerprint in the pdmp name would avoid this, but there has
> been no progress on this (bug#42790).
thanks Glenn. I also noticed the aparent reference to the previously
installed emacs version and figured it looked wrong. I tried manually
removing the previous installed version of Emacs from /usr/local/* and
then did
make extraclean
./autogen.sh
./configure
make bootstrap
and now get a segmentation fault i.e.
Loading bindings (source)...
Fatal error 11: Segmentation fault
make[3]: *** [Makefile:309: emacs-lisp/macroexp.elc] Segmentation fault (core dumped)
make[3]: Leaving directory '/home/tim/git/emacs/lisp'
make[2]: *** [Makefile:850: bootstrap-emacs.pdmp] Error 2
make[2]: Leaving directory '/home/tim/git/emacs/src'
make[1]: *** [Makefile:449: src] Error 2
make[1]: Leaving directory '/home/tim/git/emacs'
make: *** [Makefile:1147: bootstrap] Error 2
This was on a virtual machine running Ubuntu Mate 21.04 and which built
fine earlier this week.
If make extraclean and make bootstrap doesn't resolve this issue, what
needs to be done to get Emacs to build?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Master HEAD build failure?
2021-09-30 1:36 ` Tim Cross
@ 2021-09-30 3:10 ` dick
2021-09-30 5:58 ` Tim Cross
0 siblings, 1 reply; 8+ messages in thread
From: dick @ 2021-09-30 3:10 UTC (permalink / raw)
Cc: Emacs developers
Bug#50911
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Master HEAD build failure?
2021-09-30 3:10 ` dick
@ 2021-09-30 5:58 ` Tim Cross
0 siblings, 0 replies; 8+ messages in thread
From: Tim Cross @ 2021-09-30 5:58 UTC (permalink / raw)
To: dick; +Cc: emacs-devel
dick <dick.r.chiang@gmail.com> writes:
> Bug#50911
thanks. The patch for bug#50911 appears to have fixed the issue.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2021-09-30 5:58 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-30 0:24 Master HEAD build failure? Tim Cross
2021-09-30 0:55 ` Stefan Kangas
2021-09-30 0:58 ` Tim Cross
2021-09-30 1:03 ` Tim Cross
2021-09-30 1:23 ` Glenn Morris
2021-09-30 1:36 ` Tim Cross
2021-09-30 3:10 ` dick
2021-09-30 5:58 ` Tim Cross
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).