Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't compile Emacs from source - symlink issue again? #236

Closed
PhilipDaniels opened this issue Apr 20, 2016 · 9 comments
Closed

Can't compile Emacs from source - symlink issue again? #236

PhilipDaniels opened this issue Apr 20, 2016 · 9 comments

Comments

@PhilipDaniels
Copy link

Have been trying to compile Emacs from git HEAD. "make bootstrap" fails with

Opening input file: No such file or directory, /root/repos/emacs/lisp/leim/quail/.#tsang-cns.el

I went into that directory and did an ls -al and saw

emacs-error

Just for laughs, I tried

$ cp tsang-cns.el .#tsang-cns.el
cp: not writing through dangling symlink '.#tsang-cns.el'

Is this related to the known symlink problems?

@benhillis
Copy link
Member

Which version of emacs are you trying to build? https://github.com/emacs-mirror/emacs?

@PhilipDaniels
Copy link
Author

PhilipDaniels commented Apr 20, 2016

Hi Ben, I didn't know about that mirror. After installing dependencies, I did

$ git clone --depth 1 git://git.sv.gnu.org/emacs.git
$ cd emacs
$ ./autogen.sh
$ ./configure
$ make bootstrap

Was on commit ed54b3f at the time I tried. Looks like the same commit is in the mirror too.

@benhillis
Copy link
Member

Thanks for the additional info. I tried this locally (after installing a ton of random packages) and the build is succeeding for me. Looks like this was fixed by the same symlink bug fix that is making its way to the flighting branch.

@PhilipDaniels
Copy link
Author

That's great, thank you. Please leave the bug open and when a new build is available I will check it.

@russalex
Copy link
Contributor

Adding a link to #6 so we have a record there of symlink issues.

@sunilmut
Copy link
Member

@PhilipDaniels symlink improvements were made in the new Windows build 14328, WSL specific release notes are here
Please let us know if this resolves your issue. If so, we would like to close this one out.

@PhilipDaniels
Copy link
Author

Windows updated itself to build 14328 last night, and I have done an apt-get dist-upgrade too, but the problem is still not fixed. Same error as reported above. I re-cloned the Emacs repo before trying to compile again

Opening input file: No such file or directory, /root/repos/emacs/lisp/leim/quail/.#tsang-cns.el

@PhilipDaniels
Copy link
Author

Can confirm this is fixed in Build 14332. Cheers!

@jchidley
Copy link

jchidley commented Jun 23, 2016

I have just tried installing emacs.24.5 and make is failing with:

**************************************************
Warning: Your system has a gap between BSS and the
heap (19938104 bytes).  This usually means that exec-shield
or something similar is in effect.  The dump may
fail because of this.  See the section about
exec-shield in etc/PROBLEMS for more information.
**************************************************
/bin/bash: line 7: 23681 Segmentation fault      (core dumped) ./temacs --batch --load loadup bootstrap
make[1]: *** [bootstrap-emacs] Error 1
make[1]: Leaving directory `/home/jack/emacs-24.5/src'
make: *** [src] Error 2 `

EDIT: This may be an emacs issue see moby/moby#22801

sudo apt-add-repository ppa:ubuntu-elisp/ppa
sudo apt-get update
sudo apt-get install emacs-snapshot emacs-snapshot-el

seemed to work for the snapshots

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants