Applying ports 174de7854349 to lang/mono6.8 breaks build: elfctl -i -e +wxneeded WRKSRC/mono/mini/mono-sgen elfctl: error opening file WRKSRC/mono/mini/mono-sgen: Text file busy
mono-sgen should be executing while you are trying to apply elfctl to it. Ensure that the file is not used as a process text.
lang/mono6.8 vendor build is broken: mono-sgen process doesn't terminate at the end of build. USES=elfctl is also broken: uses mono-sgen under BUILD_WRKSRC (mutable) instead of STAGEDIR (pseudo-immutable). Similar to bug 283836 but the build here aborts instead of producing a package that no longer runs with kern.elf64.allow_wx=0. The easiest workaround is to assume USES=elfctl is broken by design and switch to invoke elfctl(1) directly.