Summary: | when wine is installed, xemacs needs --with-msw=no | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | jseng |
Component: | New packages | Assignee: | Matthew Kennedy (RETIRED) <mkennedy> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | agenkin, sloan |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
jseng
2002-04-03 11:26:31 UTC
I also had a compile error... So I added this to the ebuild file, and now it seems to compile without a hitch.. Could someone maybe add this officially? Ok so maybe I spoke to soon, it seems that though it compiled, trying to run xemacs causes a segfault.. :( Well to wrap it up, I got it to run twice. I'm not really sure that I did anything, but it ran. Now its back to segfaulting. What version of Xemacs are you guys talking about? xemacs version 21.1.14. I get the segfaulting too. Matt is an xemacs user, and he seems familiar with this issue, so I am passing this on to him. Just to give another data point for the debugging people, emerge xemacs worked fine for me, after I added the --with-msw=no switch. Doing "emerge xemacs" installed xemacs version 21.4.6. No segfaults for me. Howdy all, The xemacs segfaults you are seeing seem to be related to sandbox. This is a problem that is being currently researched by gentoo developers. In the mean time, there are two work-arounds: 1. If you have a segfaulting xemacs you can run xemacs like this to avoid the segfaulting: LD_PRELOAD=/usr/lib/portage/lib/libsandbox.so xemacs Better yet, define yourself an alias: alias xemacs='LD_PRELOAD=/usr/lib/portage/lib/libsandbox.so xemacs' 2. If you feel like re-emerging xemacs, temporarily change the FEATURES="..." line in /etc/make.conf from "sandbox" to "-sandbox". Then "emerge xemacs". The resulting xemacs binary should no longer segfault. At this point you can restore your old FEATURES="..." line in /etc/make.conf to include "sandbox" (a good idea). eg. If my FEATURES line looks like: FEATURES="sandbox digest noclean" then I change it to: FEATURES="-sandbox digest noclean" then "emerge xemacs", then change back to FEATURES="sandbox digest noclean" Then run xemacs as you normally would (ie. no LD_PRELOAD setting required). Oh, and option 2. above can be replaced with: SANDBOX_DISABLED="1" emerge xemacs Thanks to Sloan Poe et. al. Matt The segfaulting problem in relation to sandbox should be fixed in xemacs-21.4.6-r4. You no longer need to use the work-arounds above in -r4 -- the work-around is built into the ebuild (sandbox has ben turned off for this ebuild only). *** Bug 1574 has been marked as a duplicate of this bug. *** |