Summary: | mail/postfix-policyd-spf-python: Issues when both py-ipaddr and py-ipaddress are installed | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Ken <mayhem30> | ||||
Component: | Individual Port(s) | Assignee: | Kubilay Kocak <koobs> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Many People | CC: | contact, dbaio, me, neil, python, vlad-fbsd, yasu | ||||
Priority: | --- | Keywords: | easy, patch | ||||
Version: | Latest | Flags: | me:
maintainer-feedback+
me: maintainer-feedback+ |
||||
Hardware: | amd64 | ||||||
OS: | Any | ||||||
See Also: |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205910 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206643 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206067 |
||||||
Bug Depends on: | 205907, 206643 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
Description
Ken
2016-01-01 20:53:47 UTC
Sorry, the last part should of read : ... is un-usable with the latest update that now requires dns/py-py3dns (which installs net/py-ipaddress). Created attachment 165035 [details] proposed patch. This issue is already reported by upstrem BTS. https://bugs.launchpad.net/pypolicyd-spf/+bug/1495159 According to above entry the source of the issue is not net/py-ipaddr but net/py-ipaddress, and the author says the solution is to use Python 3. So I propose attached patch. Can a forced requirement on Python 3 be permitted when there is a ports-wide default of Python 2.7? Would this be in violation of some policy? Yasuhiro, thanks for the patch. Can you confirm it passes Poudriere testport? Does it build and install against Python 3.4 and 3.5? (In reply to neil from comment #3) It's okay for ports to require specific Python version, since Python versions can be installed concurrently. The defaults matter when no specific version is preferred. See https://wiki.freebsd.org/DEFAULT_VERSIONS . Patch looks good to commit. (In reply to Giel van Schijndel from comment #6) Please set maintainer-feedback+ on the issue, and maintainer-approval+ on the patch if you think it's good to go. However, this does not build against Python 3 because it depends on py-ipaddr which is apparently not ready for 3. That's a separate issue that will have to be dealt with first. Guys, please confirm with a poudriere test? Comment on attachment 165035 [details]
proposed patch.
looks good, but make sure to confirm it actually works
The only way to fix this is to install Python 3.x? I already have Python 2.7 installed (required by a few other ports) and would hate to have to install yet another version just to use this one port. If that's the case, I'll remove it and install the Perl version instead. (In reply to Vladimir Krstulja from comment #4) Unfortunately the patch cannot be tested because it hits bug of poudriere. See Bug 206067 for the detail. This dependency problem was fixed in ports r407273 Correctly set resolution to FIXED, used for issues that are resolved *with* a change (commit). Use Overcome By Events to mean 'superseded' and/or for issues that are resolved *without* a change/commit. Given this report is not the same as, but is a symptom of underlying bug 206643, correctly set it as a 'Depends On'. Given I resolved bug 206643, assign it to myself Move/Add bug 206067 to See Also, instead of Depends On. Latter is for actual blocking issues/bugs |