Date: Sat, 25 Mar 2017 21:12:57 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 218127] security/py-fail2ban makefile python3 compat issue, tries to install py27-sqlite3 Message-ID: <bug-218127-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218127 Bug ID: 218127 Summary: security/py-fail2ban makefile python3 compat issue, tries to install py27-sqlite3 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: umage@netvor.sk CC: theis@gmx.at Flags: maintainer-feedback?(theis@gmx.at) CC: theis@gmx.at I installed lang/python36 and set DEFAULT_VERSIONS+=3D python=3D3.6. When I run make on security/py-fail2ban, it attempts to install databases/py-sqlite3 even though databases/py36-sqlite3 is already present = in the system. Cause: RUN_DEPENDS=3D ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3 This line was introduced in ports r352813, stating "While I'm here, move RUN_DEPENDS upwards"; the commit message contradicts the changeset contents= . I think it's trying to include py-sqlite3 as a runtime dependency if it's alr= eady installed. I made the following change to get it to build. No idea if it's correct. -RUN_DEPENDS=3D ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3 +RUN_DEPENDS=3D=20=20=20 ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/${PYTHON_PKGNAMEPREFIX}sqlite3 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-218127-13>