[MacPorts] #36036: running jruby fails with "expr: syntax error"
#36036: running jruby fails with "expr: syntax error" ------------------------------+--------------------------------------------- Reporter: hum@… | Owner: ciserlohn@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: jruby ------------------------------+--------------------------------------------- I have got the same error explained at [http://jira.codehaus.org/browse/JRUBY-5318]. Soft link to jruby seems to cause the problem. I attach a patch for bin/jruby, but I am afraid there are other files to be patched and even files in jruby-devel port. -- Ticket URL: <https://trac.macports.org/ticket/36036> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36036: running jruby fails with "expr: syntax error" ------------------------------+--------------------------------------------- Reporter: hum@… | Owner: ciserlohn@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: jruby ------------------------------+--------------------------------------------- Comment(by gui_dos@…): In Mountain Lion, the expr command provided by Apple is based on the FreeBSD version and not on the old NetBSD one. ML's expr doesn't interpret correctly the single backslash. I found that another effective workaround consists in escaping the single slash from: {{{ if expr "$link" : '/' > /dev/null; then }}} into {{{ if expr "$link" : '\/' > /dev/null; then }}} The launcher script of jython suffers from the same problem. -- Ticket URL: <https://trac.macports.org/ticket/36036#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36036: running jruby fails with "expr: syntax error" -------------------------------+-------------------------------------------- Reporter: hum@… | Owner: ciserlohn@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: jruby | -------------------------------+-------------------------------------------- Changes (by ciserlohn@…): * status: new => closed * resolution: => fixed Comment: Fixed in r97665. -- Ticket URL: <https://trac.macports.org/ticket/36036#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts