[MacPorts] #30854: nedit on lion is aborted
#30854: nedit on lion is aborted ---------------------------------+------------------------------------------ Reporter: linkofhyrule@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: nedit lion | Port: nedit ---------------------------------+------------------------------------------ I installed nedit on my mac with lion 10.7 via mac ports. the installation went fine. but when i tried to run it i got the following error message. {{{ locale not supported by Xlib, locale set to C Abort trap: 6 }}} I tried setting LANG=eng_US but that only changed the error message to this: {{{ locale not supported by C library, locale unchanged Abort trap: 6 }}} I couldn't find any solution on the net. Any ideas what might help? -- Ticket URL: <https://trac.macports.org/ticket/30854> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30854: nedit on lion is aborted ---------------------------------+------------------------------------------ Reporter: linkofhyrule@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: lion | Port: nedit ---------------------------------+------------------------------------------ Changes (by macsforever2000@…): * keywords: nedit lion => lion -- Ticket URL: <https://trac.macports.org/ticket/30854#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30854: nedit on lion is aborted ---------------------------------+------------------------------------------ Reporter: linkofhyrule@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: lion | Port: nedit ---------------------------------+------------------------------------------ Comment(by jmr@…): I can't help with why it's failing in the first place, but note that "eng_US" is not a valid locale. Run `locale -a` to see the available list. No doubt you meant "en_US". -- Ticket URL: <https://trac.macports.org/ticket/30854#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30854: nedit on lion is aborted ---------------------------------+------------------------------------------ Reporter: linkofhyrule@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: lion | Port: nedit ---------------------------------+------------------------------------------ Comment(by linkofhyrule@…): Replying to [comment:2 jmr@…]:
I can't help with why it's failing in the first place, but note that "eng_US" is not a valid locale. Run `locale -a` to see the available list. No doubt you meant "en_US".
thanks for pointing that out. yeah that was a typo in the ticket here. I tried it with en_US not eng_US. -- Ticket URL: <https://trac.macports.org/ticket/30854#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30854: nedit on lion is aborted ---------------------------------+------------------------------------------ Reporter: linkofhyrule@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: lion | Port: nedit ---------------------------------+------------------------------------------ Comment(by tim.gomeringer@…): Replying to [comment:5 tim.gomeringer@…]:
Cc Me!
Just upgraded to OSX 10.7.2 (Lion), Xcode 4.2.1, and MacPorts 2.0.3 and have the same issue describe above when I try to run nedit. Abort trap: 6 -- Ticket URL: <https://trac.macports.org/ticket/30854#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30854: nedit on lion is aborted ---------------------------------+------------------------------------------ Reporter: linkofhyrule@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: lion | Port: nedit ---------------------------------+------------------------------------------ Comment(by dan@…): I have the same problem. I built successfully with Mac Ports, but when I ran nedit the program exited immediately and I got error: "Abort trap: 6" Has anyone successfully built nedit on lion? With Mac Ports or any other way? (also, Fink's nedit does not support lion; tried building independently with target "macosx" as well but that failed too...) I miss nedit. -- Ticket URL: <https://trac.macports.org/ticket/30854#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30854: nedit on lion is aborted ----------------------------------+----------------------------------------- Reporter: linkofhyrule@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Resolution: duplicate | Keywords: lion Port: nedit | ----------------------------------+----------------------------------------- Changes (by raimue@…): * status: new => closed * resolution: => duplicate Comment: Duplicate of #30889. Other ticket has a crash report, closing this one. -- Ticket URL: <https://trac.macports.org/ticket/30854#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30854: nedit on lion is aborted ----------------------------------+----------------------------------------- Reporter: linkofhyrule@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Resolution: | Keywords: lion Port: nedit | ----------------------------------+----------------------------------------- Changes (by dan@…): * status: closed => reopened * resolution: duplicate => Comment: #30889 listed Mac OS X 10.6.8 (10K549). This problem is for 10.7.x. -- Ticket URL: <https://trac.macports.org/ticket/30854#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30854: nedit on lion is aborted ----------------------------------+----------------------------------------- Reporter: linkofhyrule@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Resolution: | Keywords: lion Port: nedit | ----------------------------------+----------------------------------------- Comment(by econoplas@…): This looks like a bug in nedit... not a problem with MacPorts per se. Below is the unified diff of the one-liner fix. Problem was call to memset with len=256 on 255-char long array. Makes memset_chk grumpy. Bummer. I built nedit-5.5-src.tar.gz source tarball on lion (10.7.2) with OpenMotif 2.1.32 and Xcode 4.2.1 and it seems to be running just fine so far. No more abort trap: 6 at startup. {{{ --- nedit-5.5/source/regularExp.c 2004-08-20 10:37:30.000000000 -0600 +++ nedit-5.5-macosx-lion-built/source/regularExp.c 2012-01-12 18:04:36.000000000 -0700 @@ -2645,7 +2645,7 @@ /* Default table for determining whether a character is a word delimiter. */ -static unsigned char Default_Delimiters [UCHAR_MAX] = {0}; +static unsigned char Default_Delimiters [UCHAR_MAX+1] = {0}; static unsigned char *Current_Delimiters; /* Current delimiter table */ }}} -- Ticket URL: <https://trac.macports.org/ticket/30854#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30854: nedit on lion is aborted ----------------------------------+----------------------------------------- Reporter: linkofhyrule@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Resolution: | Keywords: lion Port: nedit | ----------------------------------+----------------------------------------- Comment(by wroberts@…): Can you provide a little guidance on how to build nedit with OpenMotif 2.1.32 and Xcode 4.2, please? Thanks in advance -- Ticket URL: <https://trac.macports.org/ticket/30854#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30854: nedit on lion is aborted ----------------------------------+----------------------------------------- Reporter: linkofhyrule@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Resolution: fixed | Keywords: lion Port: nedit | ----------------------------------+----------------------------------------- Changes (by raimue@…): * status: reopened => closed * resolution: => fixed Comment: Thanks for the patch, this is now being applied as of r89222. -- Ticket URL: <https://trac.macports.org/ticket/30854#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts