www/jetty8 comes with a control script (/usr/local/sbin/jettyctl) written in python.
The package Makefile does not seem to depend on a specific version of python,
but said control script makes use of python2 syntax.
When trying to start jetty, I get:
File "/usr/local/sbin/jettyctl", line 83
executable = stat.S_IMODE(finfo) & 0111
SyntaxError: invalid token
/usr/local/etc/rc.d/jetty: WARNING: failed to start jetty
I do not know much python, but in python3 leading zeros are no longer accepted, so I guess an octal bitmask for file permissions would need to be written as 0o0111.
However, while doing so will fix the particular error message, the script still does not work.
Upstream, there is a shell script for starting and stopping jetty. Maybe that would be a better approach? If, as may well be, this control script is the only reason why jetty needs to pull in python as a dependency, using a shell script instead sounds like a reasonable thing to do?
*** This bug has been marked as a duplicate of bug 242014 ***