Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 639570 - app-editors/emacs-24.5-r4 fails to dump (with 17.0 profile)
Summary: app-editors/emacs-24.5-r4 fails to dump (with 17.0 profile)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: GNU Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: default-pie
  Show dependency tree
 
Reported: 2017-12-03 07:35 UTC by Ulrich Müller
Modified: 2022-04-21 08:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,182.61 KB, text/plain)
2017-12-03 07:36 UTC, Ulrich Müller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Müller gentoo-dev 2017-12-03 07:35:31 UTC
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.
Comment 1 Ulrich Müller gentoo-dev 2017-12-03 07:36:54 UTC
Created attachment 507824 [details]
build.log
Comment 2 Larry the Git Cow gentoo-dev 2017-12-10 23:58:17 UTC
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(+)