Summary: | dns/py-namebench: Fails to run: SyntaxError: invalid syntax (detecting python version) | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | tech-lists |
Component: | Individual Port(s) | Assignee: | Jason Helfman <jgh> |
Status: | Closed FIXED | ||
Severity: | Affects Many People | CC: | python |
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(jgh) koobs: merge-quarterly? |
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
tech-lists
2021-06-25 12:12:09 UTC
I don't believe namebench is Python 3 compatible [1], but if the issue can be isolated and resolved (patched), please do so. Trying 2to3 or using six may help This was broken by ports r559531 See Also: https://forums.gentoo.org/viewtopic-t-957080-start-0.html [1] https://github.com/catap/namebench/blob/master/namebench.py#L29 A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=46ce9a1b7fd9447aa59aebf1984846e8c8729192 commit 46ce9a1b7fd9447aa59aebf1984846e8c8729192 Author: Jason Helfman <jgh@FreeBSD.org> AuthorDate: 2021-10-07 20:59:12 +0000 Commit: Jason Helfman <jgh@FreeBSD.org> CommitDate: 2021-10-07 20:59:12 +0000 dns/py-namebench: chase r559531, mark broken PR: 256826 (based on) Reported by: tech-lists@zyxst.net dns/py-namebench/Makefile | 2 ++ 1 file changed, 2 insertions(+) I've marked this port broken. I can take a look at fixing this, but happy to accept any patch contributions to get this up to speed. Thanks for the report! -jgh ^Triage: Correct resolution (issue resolved by a change (commit): FIXED) I followed up with Jason offlist that if this port doesnt support Python 3.x, its USES=python:<version-spec> should be 2.7, and should never have been switched to port 3.6+ with changeset ports aa7a6c429ea6 I suggest replacing BROKEN with the <version-spec> change (bugfix, correction), and MFH'ing |