dns/py-dnspython does not install anything at all except license information, examples, and README files - the module itself is missing. Even if every option in make config is checked, the options do not affect the behaviour. Ports depending on this port complain about the missing dns module. root@host# pkg info -l py39-dnspython-2.4.1,1 py39-dnspython-2.4.1,1: /usr/local/lib/python3.9/site-packages/dnspython-2.4.1.dist-info/LICENSE /usr/local/lib/python3.9/site-packages/dnspython-2.4.1.dist-info/METADATA /usr/local/lib/python3.9/site-packages/dnspython-2.4.1.dist-info/RECORD /usr/local/lib/python3.9/site-packages/dnspython-2.4.1.dist-info/WHEEL /usr/local/share/examples/py39-dnspython/ddns.py /usr/local/share/examples/py39-dnspython/e164.py /usr/local/share/examples/py39-dnspython/mx.py /usr/local/share/examples/py39-dnspython/name.py /usr/local/share/examples/py39-dnspython/reverse.py /usr/local/share/examples/py39-dnspython/reverse_name.py /usr/local/share/examples/py39-dnspython/xfr.py /usr/local/share/examples/py39-dnspython/zonediff.py /usr/local/share/licenses/py39-dnspython-2.4.1,1/ISCL /usr/local/share/licenses/py39-dnspython-2.4.1,1/LICENSE /usr/local/share/licenses/py39-dnspython-2.4.1,1/catalog.mk
Ahh! This is why iocage stopped working.
Are you using ports or packages? Which FreeBSD version are you using? I cannot reproduce this on clean environment.
(In reply to Muhammad Moinur Rahman from comment #2) FreeBSD server 13.2-STABLE FreeBSD 13.2-STABLE stable/13-n255938-fec383bb5385 MAILIN amd64 I'm using the port.
I'm also having the same problem (dependency of pyspf in my case) and have been trying to identify the problem without success. I've had to revert to 2.3.0,1 which still installs correctly.
Looks like 2.4.0 is fine, 2.4.1 is not. Also, the 2.4.1 tar.gz file size at https://github.com/rthalley/dnspython/archive/refs/tags/v2.4.1.tar.gz is 357296 bytes, but the one in distinfo is 327929. It is possible that the archive was since repacked/fixed, and this explains the issue. In any case, there is also a just released version 2.4.2.
(In reply to Dmitry Petrov from comment #5) 2.4.2 doesn't work either: root@host# pkg info -l py39-dnspython-2.4.2,1 py39-dnspython-2.4.2,1: /usr/local/lib/python3.9/site-packages/dnspython-2.4.2.dist-info/LICENSE /usr/local/lib/python3.9/site-packages/dnspython-2.4.2.dist-info/METADAT A /usr/local/lib/python3.9/site-packages/dnspython-2.4.2.dist-info/RECORD /usr/local/lib/python3.9/site-packages/dnspython-2.4.2.dist-info/WHEEL /usr/local/share/examples/py39-dnspython/ddns.py /usr/local/share/examples/py39-dnspython/e164.py /usr/local/share/examples/py39-dnspython/mx.py /usr/local/share/examples/py39-dnspython/name.py /usr/local/share/examples/py39-dnspython/reverse.py /usr/local/share/examples/py39-dnspython/reverse_name.py /usr/local/share/examples/py39-dnspython/xfr.py /usr/local/share/examples/py39-dnspython/zonediff.py /usr/local/share/licenses/py39-dnspython-2.4.2,1/ISCL /usr/local/share/licenses/py39-dnspython-2.4.2,1/LICENSE /usr/local/share/licenses/py39-dnspython-2.4.2,1/catalog.mk
(In reply to Torsten Schneider from comment #6) Same here: every version after 2.3.0,1 won't install any Python files other than the examples. I've tried numerous combinations of config options in case it's that but always the same result.
It seems to only happen when it is installed from the port. Installing using "pkg install" seems to be okay.
I have the same problem. pkg install works, install from ports does not. How and where in the Makefiles does a python module get installed?
Created attachment 244166 [details] Patch Makefile I blindly take the patch from bug #270549 at it solve this problem.
That patch fixed it for me. Am I correct to understand that when git is present the install of the modules follows a different flow compared to when git is not installed? That would explain why on a jail in the same box, the install works fine.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=18aa04f15f9552c9ac84cdd67ec6b594ec72fb75 commit 18aa04f15f9552c9ac84cdd67ec6b594ec72fb75 Author: Torsten Schneider <fbsd-bug@tschneider.org> AuthorDate: 2023-10-27 17:30:05 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-10-27 17:40:42 +0000 dns/py-dnspython: Fix installation - When git is installed and ports tree is used files are not properly installed. [1] - TRIO_DESC is very short and do not explain the real reason of the OPTION hence update the DESC in details. [2] - There was a typo in the IDNA_DESC which is fixed. [3] PR: 272932 [1], 274416 [2], 272624 [3] Reported by: fbsd-bug@tschneider.org [1], dewayne@heuristicsystems.com.au [2] dns/py-dnspython/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)