From owner-freebsd-ports-bugs@freebsd.org Sun Nov 17 00:35:57 2019 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 343941B15BB for ; Sun, 17 Nov 2019 00:35:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 47FtRc6Q49z4SBf for ; Sun, 17 Nov 2019 00:35:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id CB5451B15B9; Sun, 17 Nov 2019 00:35:56 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CB0881B15B8 for ; Sun, 17 Nov 2019 00:35:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47FtRc29dXz4S9b for ; Sun, 17 Nov 2019 00:35:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id ED5769AF5 for ; Sun, 17 Nov 2019 00:35:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id xAH0ZtF7054986 for ; Sun, 17 Nov 2019 00:35:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xAH0Ztn0054979 for ports-bugs@FreeBSD.org; Sun, 17 Nov 2019 00:35:55 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 242014] www/jetty8 jettyctl does not work with python3 Date: Sun, 17 Nov 2019 00:34:12 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: martin@waschbuesch.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: olgeni@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Nov 2019 00:35:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242014 Bug ID: 242014 Summary: www/jetty8 jettyctl does not work with python3 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: olgeni@FreeBSD.org Reporter: martin@waschbuesch.de Assignee: olgeni@FreeBSD.org Flags: maintainer-feedback?(olgeni@FreeBSD.org) 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 pytho= n, but said control script makes use of python2 syntax. When trying to start jetty, I get: Starting jetty. File "/usr/local/sbin/jettyctl", line 83 executable =3D 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 accep= ted, 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 s= till does not work. Upstream, there is a shell script for starting and stopping jetty. Maybe th= at 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 scr= ipt instead sounds like a reasonable thing to do? --=20 You are receiving this mail because: You are the assignee for the bug.=