Created attachment 154417 [details] Patch to fix build In my poudriere, clang produces a warning (unused compiler flag) which is treated as an error by the configure script that detects whether '-fPIC' works or not. This causes '-fPIC' to be dropped and the package will fail due to a linker error. I'm not certain why this issue seems to only manifest itself on my machine. Regardless, this patch seems reasonably correct, and should be committed anyways.
Created attachment 154418 [details] Poudriere build log from port BEFORE patch was applied
Created attachment 154419 [details] Poudriere build log from port AFTER patch was applied
I reported a similar issue in Bug #197405.
Hi, I can't reproduce this issue in my poudriere jails. About the CPPFLAGS line it is needed otherwise configure might not pick up all the enabled options correctly. Could you try to reproduce the failure, and add the resulting config.log to this bug?
Created attachment 155293 [details] Failed config.log A failure occurs around line 2026 with "warning: argument unused during compilation". Of course this might be a red herring with the actual failure elsewhere; in any case the attached patch fixes this issue. This issue seems very similar to #197405, which I also reported. This does seem like something funny about my poudriere environment, but I'm not sure what.
I can no longer reproduce the issue, so it's as good as fixed.