build error on osx

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

build error on osx

Jean-Christophe Helary
I was able to build emacs without any issues until the git pull I did this morning.

Now I have this error when I run make install:

  CC       nsimage.o
make[1]: Circular bootstrap-emacs <- temacs dependency dropped.
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C ../admin/unidata all EMACS="../../src/bootstrap-emacs"
make[2]: Nothing to be done for `all'.
  CC       macfont.o
  CC       terminfo.o
  CC       lastfile.o
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C ../admin/charsets all
make[2]: Nothing to be done for `all'.
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C ../admin/unidata charscript.el
make[2]: Nothing to be done for `charscript.el'.
  CCLD     temacs
../build-aux/install-sh -c -d ../etc
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C ../lisp autoloads EMACS="../src/bootstrap-emacs"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C ../leim all EMACS="../src/bootstrap-emacs"
make[3]: Nothing to be done for `all'.
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C ../admin/grammars all EMACS="../../src/bootstrap-emacs"
make[3]: Nothing to be done for `all'.
Directories for loaddefs: . ./calc ./calendar ./cedet ./cedet/ede ./cedet/semantic ./cedet/semantic/analyze ./cedet/semantic/bovine ./cedet/semantic/decorate ./cedet/semantic/symref ./cedet/semantic/wisent ./cedet/srecode ./emacs-lisp ./emulation ./erc ./eshell ./gnus ./image ./international ./language ./leim ./leim/ja-dic ./leim/quail ./mail ./mh-e ./net ./nxml ./org ./play ./progmodes ./textmodes ./url ./vc
  GEN      loaddefs.el
dyld: Library not loaded: /usr/local/opt/jpeg/lib/libjpeg.8.dylib
  Referenced from: /Users/suzume/Documents/Code/emacs/lisp/../src/bootstrap-emacs
  Reason: image not found
/bin/sh: line 1: 96083 Abort trap: 6           EMACSLOADPATH= '../src/bootstrap-emacs' -batch --no-site-file --no-site-lisp -l autoload --eval '(setq autoload-ensure-writable t)' --eval '(setq autoload-builtin-package-versions t)' --eval '(setq generated-autoload-file (expand-file-name (unmsys--file-name "loaddefs.el")))' -f batch-update-autoloads . ./calc ./calendar ./cedet ./cedet/ede ./cedet/semantic ./cedet/semantic/analyze ./cedet/semantic/bovine ./cedet/semantic/decorate ./cedet/semantic/symref ./cedet/semantic/wisent ./cedet/srecode ./emacs-lisp ./emulation ./erc ./eshell ./gnus ./image ./international ./language ./leim ./leim/ja-dic ./leim/quail ./mail ./mh-e ./net ./nxml ./org ./play ./progmodes ./textmodes ./url ./vc
make[2]: *** [loaddefs.el] Error 134
make[1]: *** [../lisp/loaddefs.el] Error 2
make: *** [src] Error 2

and nothing from here.

Do you have any idea what could cause that in recent code modifications (I think my previous git pull was made about 2 weeks ago)?

Jean-Christophe
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: build error on osx

Paul Eggert
I suggest "make bootstrap", or failing that, rebuilding from a fresh checkout.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: build error on osx

Jean-Christophe Helary

> On Aug 12, 2017, at 1:09, Paul Eggert <[hidden email]> wrote:
>
> I suggest "make bootstrap", or failing that, rebuilding from a fresh checkout.

Thank you for the hint Paul. It looks like make was looking for a makeinfo >= 4.13 that I had but the path did not catch it. So I reorganized my path and things seem to work fine now.

Jean-Christophe
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: build error on osx

Jean-Christophe Helary
More problems with the build process (just made a git pull):

  ELC      ../lisp/emacs-lisp/tabulated-list.elc
Reloading stale files.el
Loading /Users/suzume/Documents/Code/emacs/lisp/files.el (source)...
Reloading stale faces.el
Loading /Users/suzume/Documents/Code/emacs/lisp/faces.el (source)...
Reloading stale loaddefs.el
Loading /Users/suzume/Documents/Code/emacs/lisp/loaddefs.el (source)...
Reloading stale simple.el
Loading /Users/suzume/Documents/Code/emacs/lisp/simple.el (source)...
Reloading stale tabulated-list.el
Loading /Users/suzume/Documents/Code/emacs/lisp/emacs-lisp/tabulated-list.el (source)...
>>Error occurred processing ../lisp/emacs-lisp/tabulated-list.el: Symbol's function definition is void ((make-temp-file-internal))
make[2]: *** [../lisp/emacs-lisp/tabulated-list.elc] Error 1
make[1]: *** [../lisp/emacs-lisp/tabulated-list.elc] Error 2
make: *** [src] Error 2

Any idea ?

Jean-Christophe

> On Aug 12, 2017, at 9:33, Jean-Christophe Helary <[hidden email]> wrote:
>
>
>> On Aug 12, 2017, at 1:09, Paul Eggert <[hidden email]> wrote:
>>
>> I suggest "make bootstrap", or failing that, rebuilding from a fresh checkout.
>
> Thank you for the hint Paul. It looks like make was looking for a makeinfo >= 4.13 that I had but the path did not catch it. So I reorganized my path and things seem to work fine now.
>
> Jean-Christophe


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: build error on osx

Paul Eggert
Jean-Christophe Helary wrote:
>>> Error occurred processing ../lisp/emacs-lisp/tabulated-list.el: Symbol's function definition is void ((make-temp-file-internal))
> make[2]: *** [../lisp/emacs-lisp/tabulated-list.elc] Error 1
> make[1]: *** [../lisp/emacs-lisp/tabulated-list.elc] Error 2
> make: *** [src] Error 2
>
> Any idea ?

Looks like you're building with an out-of-date Emacs. Try "make bootstrap", and
if that doesn't work, a fresh checkout.

Loading...