kelleyk / ppa-emacs

Packaging repository for my Emacs PPA
https://launchpad.net/~kelleyk/+archive/ubuntu/emacs
99 stars 4 forks source link

PPA build failing for 26.3 on 16.04/amd64 #8

Closed kelleyk closed 4 years ago

kelleyk commented 5 years ago

I've tried repeating the build with the same outcome, so this doesn't seem like a transient problem. 26.2 built just fine on 16.04/amd64 (edited: I had typed "18.04/amd64"), and 26.3 builds successfully on other version/architecture combinations.

I need to dig in and figure out what's going on.

dmusican commented 5 years ago

Thanks for working on this, much appreciated. Though the problem I'm having with 26.3 is on Xenial, which is 16.04. Are you seeing different behavior than me, or is that just a typo in the description?

kelleyk commented 5 years ago

Oops: you're completely right. I meant 16.04 (Xenial), not 18.04 (Bionic). The Bionic build went off without a hitch, and Bionic users should be seeing packages for 26.3.

CarstenKoenig commented 4 years ago

is there any news on that?

I'm still on Xenial and emacs/melpa is basically unusable for me till I can update

kelleyk commented 4 years ago

@CarstenKoenig It's true that 26.3 ships with a still-valid ELPA signing key, but you can fix this issue now and quite easily! #9 discusses the key expiration issue, and the README for the gnu-elpa-keyring-update package has instructions on how to add the current key to the keyring.

I have not had a chance to dig into the build failure yet, but am hoping to have some time over the holidays to peek.

kelleyk commented 4 years ago

Here are some build logs:

It seems that the build does actually complete, but that one of the tests runs indefinitely until it is killed after 150 minutes. The successful builds take 10-15 minutes.

E: Caught signal ‘Terminated’: terminating immediately
Makefile:174: recipe for target 'lisp/shadowfile-tests.log' failed
make[5]: *** [lisp/shadowfile-tests.log] Terminated
make[5]: *** wait: No child processes.  Stop.
make[5]: *** Waiting for unfinished jobs....
make[5]: *** wait: No child processes.  Stop.
[...]
make: *** [build] Terminated
debian/rules:128: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Terminated
Build killed with signal TERM after 150 minutes of inactivity

Presumably this error is related to lisp/shadowfile.el or test/lisp/shadowfile-tests.el but neither of those files is modified between 26.2 and 26.3, so no easy answers there.

There are some other error messages, but none that don't appear in the successful runs as well.

I'm going to see if I can replicate locally, and if I can, there are only about 200 new commits between 26.2 and 26.3; maybe it's worth trying to bisect.

kelleyk commented 4 years ago

After spending several hours trying to reproduce this locally, I gave up and triggered a rebuild on Launchpad. It seems to have worked, so 16.04 users should now see packages for Emacs 26.3.

I'm going to close this, but we'll see if there are similar problems on the next upstream release.

dmusican commented 4 years ago

Thank you!