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

Builds failing on travis #13

Closed
felipeochoa opened this issue Jan 14, 2018 · 8 comments
Closed

Builds failing on travis #13

felipeochoa opened this issue Jan 14, 2018 · 8 comments

Comments

@felipeochoa
Copy link

I think something changed in the travis environment, because make -f emacs-travis.mk install_emacs now fails with the following error:


Warning: Your system has a gap between BSS and the
heap (2525848 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.


make[2]: *** [bootstrap-emacs] Segmentation fault (core dumped)
make[1]: *** [src] Error 2
make: *** [install_emacs] Error 2
The command "make -f emacs-travis.mk install_emacs" failed and exited with 2 during .

Here are a couple of failed builds:

felipeochoa added a commit to felipeochoa/rjsx-mode that referenced this issue Jan 14, 2018
This reverts commit 931d4ab, as the
flycheck emacs buildfile appears to be broken flycheck/emacs-travis#13
@greghendershott
Copy link

greghendershott commented Jan 14, 2018

I'm seeing the same thing.

  • A Travis CI "CRON" build from about a month ago succeeded.

  • But suddenly yesterday a CRON build of the exact same commit failed.

@fmdkdd
Copy link
Member

fmdkdd commented Jan 14, 2018

Indeed, I'm seeing failures as well after emptying the cache on our Travis builds. Compiling Emacs from source now fails. In fact, I'm getting a core dump trying to compile (24.5) on my machine as well, so it might not be an issue with Travis:

/bin/sh: line 7:  8304 Segmentation fault      (core dumped) ./temacs --batch --load loadup bootstrap

And the emacs-travis script hasn't changed since the succeeded builds, so I don't think it's the issue either.

Edit: 25.3 compiles fine on my machine. Not on Travis.

greghendershott pushed a commit to greghendershott/racket-mode that referenced this issue Jan 15, 2018
As described in this blog post:

  https://blog.travis-ci.com/2017-12-12-new-trusty-images-q4-launch

I'm just experimenting here, trying to learn more about:

  flycheck/emacs-travis#13
@greghendershott
Copy link

Although I don't really know anything about building Emacs, I want to help somehow.

I know how to read blog posts and how to push buttons to see what happens. 😄 In that spirit:

@fmdkdd
Copy link
Member

fmdkdd commented Jan 15, 2018

Looks like this is it! It seems to work fine with the previous Trusty image. I'll add the workaround to the README until the issue is resolved.

Should you raise it here?

Done. Thank you for finding a workaround 👍

fmdkdd added a commit that referenced this issue Jan 15, 2018
This is a workaround until the latest Trusty image on Travis is able to dump
Emacs.

Reported upstream: travis-ci/travis-ci#9073

See GH-13.
fmdkdd added a commit to flycheck/flycheck that referenced this issue Jan 15, 2018
See flycheck/emacs-travis#13.

This commit also adds Emacs 25.3 to the tested versions.
fmdkdd added a commit to flycheck/flycheck that referenced this issue Jan 15, 2018
See flycheck/emacs-travis#13.

This commit also adds Emacs 25.3 to the tested versions.
@felipeochoa
Copy link
Author

@greghendershott Thanks a ton Greg! The change worked for me: https://travis-ci.org/felipeochoa/rjsx-mode/builds/329049924.

@fmdkdd From my POV, this issue is resolved, and it seems like it's more a travis issue. Feel free to close if you like!

@fmdkdd
Copy link
Member

fmdkdd commented Jan 15, 2018

@felipeochoa Thanks for reporting. I'll keep this open until the upstream issue is fixed. I'm not sure if the workaround can work in the long run (i.e., if Travis drops the previous image completely).

@greghendershott
Copy link

Yes. Also: Needing to use sudo: required to get the older image, means using a different infrastructure.

snogge added a commit to snogge/cov that referenced this issue Jan 18, 2018
snogge added a commit to snogge/cov that referenced this issue Jan 18, 2018
@fmdkdd
Copy link
Member

fmdkdd commented Jan 18, 2018

Update: the issue seems to be with container-based builds specifically, and not the update from December. See travis-ci/travis-ci#9061 (and this comment specifically).

That means sudo: required is necessary for building Emacs, but we can at least use the current image.

An alternative would be to grab binaries instead of building from source. See EVM and https://github.com/npostavs/emacs-travis/releases.

@fmdkdd fmdkdd closed this as completed Jan 18, 2018
greghendershott pushed a commit to greghendershott/racket-mode that referenced this issue Jan 19, 2018
joaotavora added a commit to joaotavora/sly that referenced this issue Jan 24, 2018
A problem in the travis infrastructure broke the dumping step in
flycheck/emacs-travis/emacs-travis.mk Makefile.

See also:

flycheck/emacs-travis#13

And more importantly:

travis-ci/travis-ci#9061.

* .travis.yml (dist): Require sudo once again.
alex-hhh added a commit to alex-hhh/emacs-sql-indent that referenced this issue Jan 28, 2018
felipeochoa added a commit to felipeochoa/mole that referenced this issue Mar 19, 2018
snogge added a commit to snogge/cov that referenced this issue Apr 7, 2018
snogge added a commit to snogge/cov that referenced this issue Apr 7, 2018
snogge added a commit to snogge/cov that referenced this issue Apr 7, 2018
AdamNiederer pushed a commit to AdamNiederer/cov that referenced this issue Apr 7, 2018
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

3 participants