Created attachment 218531 [details]
Output of portmaster upgrade of pkg
For a few weeks now, pkg port fails to link in our FreeBSD jails (12.1-RELEASE-p7 amd64). Attached is a log of portmaster's output. The package builds without problem on the host.
The kernel on the host is an unmodified GENERIC one.
Let me know what else you'd need to help fix the issue.