unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Two problems on MacOS Catalina...
@ 2019-11-16 22:40 Perry E. Metzger
  2019-11-17 19:19 ` Alan Third
  0 siblings, 1 reply; 10+ messages in thread
From: Perry E. Metzger @ 2019-11-16 22:40 UTC (permalink / raw)
  To: Emacs developers

Howdy!

I just built the master branch (Emacs 27) for the first time since
the last release, and I've gotten two problems on MacOS Catalina.

First, for whatever reason, even though configure is finding other
libraries (like jansson), it doesn't seem to find libgmp even though
it's located in the same place. That's minor.

This is a bit worse:

$ emacs
desired fingerprint:
 4255d546e65066d0177c04ba6112773507dd59bbd37d5d7814f8f3d24e77c322
 found fingerprint:
 0e8d2b0f7034ed891fd2020cfc523c70aa7f0d2670e725a5797f4f95a1756124
 emacs: could not load dump file
 "/Applications/Emacs.app/Contents/MacOS/Emacs.pdmp": not built for
 this Emacs executable

I'm not quite sure how to debug that; this was with the first
invocation of emacs immediately after building it and moving the app
bundle into place.

Perry
-- 
Perry E. Metzger		perry@piermont.com



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

* Re: Two problems on MacOS Catalina...
  2019-11-16 22:40 Two problems on MacOS Catalina Perry E. Metzger
@ 2019-11-17 19:19 ` Alan Third
  2019-11-17 23:15   ` Perry E. Metzger
  0 siblings, 1 reply; 10+ messages in thread
From: Alan Third @ 2019-11-17 19:19 UTC (permalink / raw)
  To: Perry E. Metzger; +Cc: Emacs developers

On Sat, Nov 16, 2019 at 05:40:18PM -0500, Perry E. Metzger wrote:
> Howdy!
> 
> I just built the master branch (Emacs 27) for the first time since
> the last release, and I've gotten two problems on MacOS Catalina.
> 
> First, for whatever reason, even though configure is finding other
> libraries (like jansson), it doesn't seem to find libgmp even though
> it's located in the same place. That's minor.

How is it installed? Homebrew, or does it come with the system?

> This is a bit worse:
> 
> $ emacs
> desired fingerprint:
>  4255d546e65066d0177c04ba6112773507dd59bbd37d5d7814f8f3d24e77c322
>  found fingerprint:
>  0e8d2b0f7034ed891fd2020cfc523c70aa7f0d2670e725a5797f4f95a1756124
>  emacs: could not load dump file
>  "/Applications/Emacs.app/Contents/MacOS/Emacs.pdmp": not built for
>  this Emacs executable
> 
> I'm not quite sure how to debug that; this was with the first
> invocation of emacs immediately after building it and moving the app
> bundle into place.

My first thought is to try "make bootstrap;make install" and then copy
the Emacs.app directory again.
-- 
Alan Third



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

* Re: Two problems on MacOS Catalina...
  2019-11-17 19:19 ` Alan Third
@ 2019-11-17 23:15   ` Perry E. Metzger
  2019-11-18 16:17     ` Perry E. Metzger
  2019-11-18 16:54     ` Filipp Gunbin
  0 siblings, 2 replies; 10+ messages in thread
From: Perry E. Metzger @ 2019-11-17 23:15 UTC (permalink / raw)
  To: Alan Third; +Cc: Emacs developers

On Sun, 17 Nov 2019 19:19:16 +0000 Alan Third <alan@idiocy.org> wrote:
> On Sat, Nov 16, 2019 at 05:40:18PM -0500, Perry E. Metzger wrote:
> > Howdy!
> > 
> > I just built the master branch (Emacs 27) for the first time since
> > the last release, and I've gotten two problems on MacOS Catalina.
> > 
> > First, for whatever reason, even though configure is finding other
> > libraries (like jansson), it doesn't seem to find libgmp even
> > though it's located in the same place. That's minor.  
> 
> How is it installed? Homebrew, or does it come with the system?

MacPorts. Again, it seems like it can find the MacPorts install of
Jansson.

> > This is a bit worse:
> > 
> > $ emacs
> > desired fingerprint:
> >  4255d546e65066d0177c04ba6112773507dd59bbd37d5d7814f8f3d24e77c322
> >  found fingerprint:
> >  0e8d2b0f7034ed891fd2020cfc523c70aa7f0d2670e725a5797f4f95a1756124
> >  emacs: could not load dump file
> >  "/Applications/Emacs.app/Contents/MacOS/Emacs.pdmp": not built
> > for this Emacs executable
> > 
> > I'm not quite sure how to debug that; this was with the first
> > invocation of emacs immediately after building it and moving the
> > app bundle into place.  
> 
> My first thought is to try "make bootstrap;make install" and then
> copy the Emacs.app directory again.

I will try that and report back.

FYI, I'm doing make -j4; I'm wondering if that might be breaking
something?

Perry
-- 
Perry E. Metzger		perry@piermont.com



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

* Re: Two problems on MacOS Catalina...
  2019-11-17 23:15   ` Perry E. Metzger
@ 2019-11-18 16:17     ` Perry E. Metzger
  2019-11-18 20:36       ` Alan Third
  2019-11-18 16:54     ` Filipp Gunbin
  1 sibling, 1 reply; 10+ messages in thread
From: Perry E. Metzger @ 2019-11-18 16:17 UTC (permalink / raw)
  To: Alan Third; +Cc: Emacs developers

On Sun, 17 Nov 2019 18:15:31 -0500 "Perry E. Metzger"
<perry@piermont.com> wrote:
> On Sun, 17 Nov 2019 19:19:16 +0000 Alan Third <alan@idiocy.org>
> wrote:
> > My first thought is to try "make bootstrap;make install" and then
> > copy the Emacs.app directory again.
>
> I will try that and report back.

That works. But: it was never necessary to "make bootstrap" before to
get a working emacs. What has changed, and can it be documented in
INSTALL?

Also, I had to explicitly disable harfbuzz or the build gave me an
error that it had detected but was not using it (whatever that
meant).

Perry
-- 
Perry E. Metzger		perry@piermont.com



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

* Re: Two problems on MacOS Catalina...
  2019-11-17 23:15   ` Perry E. Metzger
  2019-11-18 16:17     ` Perry E. Metzger
@ 2019-11-18 16:54     ` Filipp Gunbin
  1 sibling, 0 replies; 10+ messages in thread
From: Filipp Gunbin @ 2019-11-18 16:54 UTC (permalink / raw)
  To: Perry E. Metzger; +Cc: Alan Third, Emacs developers

FWIW, updating macports according to
https://trac.macports.org/wiki/Migration and doing "make bootstrap"
produced fully working Emacs with no problems.  Did you update macports
properly?

Filipp



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

* Re: Two problems on MacOS Catalina...
  2019-11-18 16:17     ` Perry E. Metzger
@ 2019-11-18 20:36       ` Alan Third
  2019-11-18 23:00         ` Perry E. Metzger
  2019-11-18 23:01         ` Perry E. Metzger
  0 siblings, 2 replies; 10+ messages in thread
From: Alan Third @ 2019-11-18 20:36 UTC (permalink / raw)
  To: Perry E. Metzger; +Cc: Emacs developers

On Mon, Nov 18, 2019 at 11:17:03AM -0500, Perry E. Metzger wrote:
> On Sun, 17 Nov 2019 18:15:31 -0500 "Perry E. Metzger"
> <perry@piermont.com> wrote:
> > On Sun, 17 Nov 2019 19:19:16 +0000 Alan Third <alan@idiocy.org>
> > wrote:
> > > My first thought is to try "make bootstrap;make install" and then
> > > copy the Emacs.app directory again.
> >
> > I will try that and report back.
> 
> That works. But: it was never necessary to "make bootstrap" before to
> get a working emacs. What has changed, and can it be documented in
> INSTALL?

Sometimes it is necessary. I don’t know why but some changes to the
codebase have required ‘make bootstrap’ for as long as I’ve been
building Emacs. Usually a number of people post to emacs-dev asking
why they can’t build master any more.

> Also, I had to explicitly disable harfbuzz or the build gave me an
> error that it had detected but was not using it (whatever that
> meant).

That’s very strange. I have harfbuzz installed using brew and
configure is clever enough to ignore it.

Was this error before or after doing make bootstrap?
-- 
Alan Third



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

* Re: Two problems on MacOS Catalina...
  2019-11-18 20:36       ` Alan Third
@ 2019-11-18 23:00         ` Perry E. Metzger
  2019-11-19  7:51           ` Lars Ingebrigtsen
  2019-11-18 23:01         ` Perry E. Metzger
  1 sibling, 1 reply; 10+ messages in thread
From: Perry E. Metzger @ 2019-11-18 23:00 UTC (permalink / raw)
  To: Alan Third; +Cc: Emacs developers

On Mon, 18 Nov 2019 20:36:37 +0000 Alan Third <alan@idiocy.org> wrote:
> On Mon, Nov 18, 2019 at 11:17:03AM -0500, Perry E. Metzger wrote:
> > Also, I had to explicitly disable harfbuzz or the build gave me an
> > error that it had detected but was not using it (whatever that
> > meant).
>
> That___s very strange. I have harfbuzz installed using brew and
> configure is clever enough to ignore it.
>
> Was this error before or after doing make bootstrap?

It happened during configure. Here's the exact error:

"configure: error: HarfBuzz wanted, but won't be used.  Maybe some library files are missing?"

Perry
-- 
Perry E. Metzger		perry@piermont.com



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

* Re: Two problems on MacOS Catalina...
  2019-11-18 20:36       ` Alan Third
  2019-11-18 23:00         ` Perry E. Metzger
@ 2019-11-18 23:01         ` Perry E. Metzger
  2019-11-19  3:37           ` Eli Zaretskii
  1 sibling, 1 reply; 10+ messages in thread
From: Perry E. Metzger @ 2019-11-18 23:01 UTC (permalink / raw)
  To: Alan Third; +Cc: Emacs developers

On Mon, 18 Nov 2019 20:36:37 +0000 Alan Third <alan@idiocy.org> wrote:
> > > > My first thought is to try "make bootstrap;make install" and
> > > > then copy the Emacs.app directory again.  
> > >
> > > I will try that and report back.  
> > 
> > That works. But: it was never necessary to "make bootstrap"
> > before to get a working emacs. What has changed, and can it be
> > documented in INSTALL?  
> 
> Sometimes it is necessary. I don’t know why but some changes to the
> codebase have required ‘make bootstrap’ for as long as I’ve been
> building Emacs. Usually a number of people post to emacs-dev asking
> why they can’t build master any more.

In that case, I think it would be good to document this in INSTALL.

Perry
-- 
Perry E. Metzger		perry@piermont.com



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

* Re: Two problems on MacOS Catalina...
  2019-11-18 23:01         ` Perry E. Metzger
@ 2019-11-19  3:37           ` Eli Zaretskii
  0 siblings, 0 replies; 10+ messages in thread
From: Eli Zaretskii @ 2019-11-19  3:37 UTC (permalink / raw)
  To: Perry E. Metzger; +Cc: alan, emacs-devel

> Date: Mon, 18 Nov 2019 18:01:17 -0500
> From: "Perry E. Metzger" <perry@piermont.com>
> Cc: Emacs developers <emacs-devel@gnu.org>
> 
> > Sometimes it is necessary. I don’t know why but some changes to the
> > codebase have required ‘make bootstrap’ for as long as I’ve been
> > building Emacs. Usually a number of people post to emacs-dev asking
> > why they can’t build master any more.
> 
> In that case, I think it would be good to document this in INSTALL.

It already is documented, only in INSTALL.REPO, not INSTALL.  The
latter is for building a release tarball, where bootstrapping should
never be required.



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

* Re: Two problems on MacOS Catalina...
  2019-11-18 23:00         ` Perry E. Metzger
@ 2019-11-19  7:51           ` Lars Ingebrigtsen
  0 siblings, 0 replies; 10+ messages in thread
From: Lars Ingebrigtsen @ 2019-11-19  7:51 UTC (permalink / raw)
  To: Perry E. Metzger; +Cc: Alan Third, Emacs developers

"Perry E. Metzger" <perry@piermont.com> writes:

> It happened during configure. Here's the exact error:
>
> "configure: error: HarfBuzz wanted, but won't be used.  Maybe some
> library files are missing?"

This should be fixed now.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



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

end of thread, other threads:[~2019-11-19  7:51 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-16 22:40 Two problems on MacOS Catalina Perry E. Metzger
2019-11-17 19:19 ` Alan Third
2019-11-17 23:15   ` Perry E. Metzger
2019-11-18 16:17     ` Perry E. Metzger
2019-11-18 20:36       ` Alan Third
2019-11-18 23:00         ` Perry E. Metzger
2019-11-19  7:51           ` Lars Ingebrigtsen
2019-11-18 23:01         ` Perry E. Metzger
2019-11-19  3:37           ` Eli Zaretskii
2019-11-18 16:54     ` Filipp Gunbin

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