Created attachment 184140 [details] src/ patch This is a patch to add libdl.so. See more extensive explanation and some questions answered in https://reviews.freebsd.org/D11504 . Hopefully this would not change anything for working ports, but I am asking for exp-run to be on the safe side.
There is 1 new failure on head: devel/xparam Failure log: http://package22.nyi.freebsd.org/data/headamd64PR220525-default/2017-07-09_16h18m10s/logs/errors/xparam-1.22_3.log The configure script output differs: -checking for dlopen in -ldl... no +checking for dlopen in -ldl... yes Then build doesn't have the extra -DNO_DYNAMIC_LOADING anymore.
(In reply to Antoine Brodin from comment #1) Thank you for the run. I will go forward with the src commit, then provide a patch for the port. It is clearly due to a code which was never compiled, at least not on FreeBSD, uncovered by the environment change.
(In reply to Konstantin Belousov from comment #2) The fix for devel/xparam is to remove files/patch-lib__sources__xpv_dynamic_loader.cpp.
A commit references this bug: Author: antoine Date: Tue Jul 11 08:05:40 UTC 2017 New revision: 445472 URL: https://svnweb.freebsd.org/changeset/ports/445472 Log: Remove unneeded patch, that breaks build with libdl PR: 220525 Changes: head/devel/xparam/files/patch-lib__sources__xpv_dynamic_loader.cpp
Apparently committed.
The code has landed long ago in SRC, if there are fallouts from this a dedicated PR should be opened