if test "no" = "yes"; then \ rm -f bootstrap-emacs; \ ln temacs bootstrap-emacs; \ else \ ./temacs --batch --load loadup bootstrap || exit 1; \ test "X" = X || -zex emacs; \ mv -f emacs bootstrap-emacs; \ fi Loading loadup.el (source)... Using load-path (/var/tmp/portage/app-editors/emacs-24.5-r4/work/emacs-24.5/lisp /var/tmp/portage/app-editors/emacs-24.5-r4/work/emacs-24.5/lisp/emacs-lisp /var/tmp/portage/app-editors/emacs-24.5-r4/work/emacs-24.5/lisp/language /var/tmp/portage/app-editors/emacs-24.5-r4/work/emacs-24.5/lisp/international /var/tmp/portage/app-editors/emacs-24.5-r4/work/emacs-24.5/lisp/textmodes /var/tmp/portage/app-editors/emacs-24.5-r4/work/emacs-24.5/lisp/vc) Loading emacs-lisp/byte-run... Loading emacs-lisp/backquote... Loading subr... [...] Loading /var/tmp/portage/app-editors/emacs-24.5-r4/work/emacs-24.5/lisp/leim/leim-list.el (source)... Finding pointers to doc strings... Finding pointers to doc strings...done Dumping under the name emacs make[1]: *** [Makefile:816: bootstrap-emacs] Error 1 make[1]: Leaving directory '/var/tmp/portage/app-editors/emacs-24.5-r4/work/emacs-24.5/src' make: *** [Makefile:387: src] Error 2 * ERROR: app-editors/emacs-24.5-r4::gentoo failed (compile phase): * emake failed See attachment 507814 [details] for emerge --info.
Created attachment 507824 [details] build.log
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b54f926721074aced28664f5d8080dbc3a1d674 commit 7b54f926721074aced28664f5d8080dbc3a1d674 Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2017-12-10 23:42:43 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2017-12-10 23:56:49 +0000 app-editors/emacs: Fix build failure with 17.0 profiles. The following comment from upstream is in configure.ac of emacs-25.3: "-no-pie or -nopie fixes a temacs segfault on Gentoo, OpenBSD, Ubuntu, and other systems with "hardened" GCC configurations for some reason (Bug#18784). We don't know why this works, but not segfaulting is better than segfaulting." Adding -no-pie to 23.4 and 24.5 appears to make them build, too. Note that only append-ldflags fixes the build failure, while append-flags does not (at least not for 23.4). Thanks to Mats Lidell for pointing me to the above upstream comment. Closes: https://bugs.gentoo.org/639568 Closes: https://bugs.gentoo.org/639570 Package-Manager: Portage-2.3.17, Repoman-2.3.6 app-editors/emacs/emacs-23.4-r16.ebuild | 1 + app-editors/emacs/emacs-24.5-r4.ebuild | 1 + 2 files changed, 2 insertions(+)