Created attachment 183233 [details] poudriere logs Please let me know if you require any additional logs or settings.
from the poudriere log: Shared object "libunwind.so.8" not found, required by "ruby23" Please rebuild lang/ruby23 first and let's see what happen later.
After some digging I found that devel/ruby-gems fails to build if the following option is set in lang/ruby23: OPTIONS_FILE_SET+=CAPIDOCS Once that options is unset devel/ruby-gems builds fine.
Actually, I will need to compare options for all packages that CAPIDOCS enables between their default settings and those in my environment in order to be able to tell if it's just CAPIDOCS or maybe one of the dependent packages. I will try to do it today.
Confirmed. I built devel/ruby-gems with defaults options for all dependencies apart from CAPIDOCS, which I enabled, and the build failed.
(In reply to Grzegorz Junka from comment #4) Here's the reason why it failed in poudriere. ruby's configure script checks for unw_backtrace() in libunwind. When CAPIDOCS enabled, libunwind is installed as a dependency of doxygen and graphviz. Then, ruby links against libunwind.so.8 but the dependency is not registered.
A commit references this bug: Author: swills Date: Tue Jul 11 21:03:09 UTC 2017 New revision: 445549 URL: https://svnweb.freebsd.org/changeset/ports/445549 Log: lang/ruby2{2,3,4}: require libunwind Since ruby detects this if it's installed, and it's more often installed now due to other deps, and ruby provides no way to not depend on it if it's found, pull it in as a dependency unconditionally. While here, fix plist for ruby 2.4 with the CAPIDOCS option on, and restore the MAKE_JOBS_UNSAFE flag when using that build option since it's not fixed like I thought it was. PR: 219796 Reported by: Grzegorz Junka <list1@gjunka.com> Changes: head/Mk/bsd.ruby.mk head/lang/ruby22/Makefile head/lang/ruby23/Makefile head/lang/ruby24/Makefile head/lang/ruby24/pkg-plist
Fix committed, thanks for reporting.