Summary: | app-editors/xemacs-21.5.34-r4: Segmentation fault while dumping | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mats Lidell <matsl> |
Component: | Current packages | Assignee: | XEmacs team <xemacs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | conardcox, scott, ulm |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 642232 |
Description
Mats Lidell
2017-12-03 15:20:09 UTC
Adding the following two lines right at the beginning of src_configure appears to fix the problem here (17.0 profile, gcc-6.4.0): test-flags -no-pie >/dev/null && append-flags -no-pie filter-flags -pie The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de27d8e5c53b1aaca10875b5fe5f5a19a7a9dcaf commit de27d8e5c53b1aaca10875b5fe5f5a19a7a9dcaf Author: Mats Lidell <matsl@gentoo.org> AuthorDate: 2017-12-10 12:34:21 +0000 Commit: Mats Lidell <matsl@gentoo.org> CommitDate: 2017-12-10 12:35:20 +0000 app-editors/xemacs: Use system malloc and -no-pie For 21.4 use system malloc on all architectures. For both 21.4 and 21.5 use -no-pie option since xemacs can't be built with positions indipendent code yet. This is for adopting to the 17.0 profiles which defaults to use PIE. Bug: https://bugs.gentoo.org/639214 Bug: https://bugs.gentoo.org/639508 Bug: https://bugs.gentoo.org/639642 Package-Manager: Portage-2.3.13, Repoman-2.3.3 app-editors/xemacs/xemacs-21.4.24-r1.ebuild | 18 +++++++----------- app-editors/xemacs/xemacs-21.4.24.ebuild | 18 +++++++----------- app-editors/xemacs/xemacs-21.5.34-r4.ebuild | 9 ++++++--- 3 files changed, 20 insertions(+), 25 deletions(-)} I ran into the exact same issue with xemacs-21.5.34-r4. Once I ran "emerge --sync" I was able to build. Is it normal to edit the ebuild in-place, without bumping the revision number? This isn't intended as a dig, just I don't understand everything about Gentoo versioning mechanisms/policy. Thanks for verifying that it works for you. About version bumps read: https://devmanual.gentoo.org/general-concepts/ebuild-revisions/ My conclusion was the build would be broken for users switching to the new 17.0 profile which warranted that it was done in place with no revision bump. |