Attempting to build libiconv-1.14_9 (upgrading from 1.14_8) fails on FreeBSD 10.2-RELEASE amd64. This failure occurs consistently on multiple machines. If any additional information is needed, I would be happy to provide it. Partial output from "portmaster -bdg libiconv": /bin/sh ./build-aux/mkinstalldirs /usr/ports/converters/libiconv/work/libiconv-1.14/lib cannot open ./build-aux/mkinstalldirs: No such file or directory *** [install-lib] Error code 2 make[3]: stopped in /usr/ports/converters/libiconv/work/libiconv-1.14/libcharset 1 error make[3]: stopped in /usr/ports/converters/libiconv/work/libiconv-1.14/libcharset *** [lib/localcharset.h] Error code 2 make[2]: stopped in /usr/ports/converters/libiconv/work/libiconv-1.14 1 error make[2]: stopped in /usr/ports/converters/libiconv/work/libiconv-1.14 *** Error code 1 Stop. make[1]: stopped in /usr/ports/converters/libiconv *** Error code 1 Stop. make: stopped in /usr/ports/converters/libiconv ===>>> make build failed for converters/libiconv ===>>> Aborting update
Can you capture the full output and attach it to this bug?
Created attachment 162255 [details] Output from portmaster -bdg converters/libiconv 2>&1 Per @tijl's request, full build output from portmaster -bdg converters/libiconv 2>&1 >libiconv_build
It's doing a parallel build but this port does not support that. Did you modify the port or anything under /usr/ports/Mk? Anything special in /etc/make.conf? Does "env | grep MAKE" print anything?
(In reply to Tijl Coosemans from comment #3) > It's doing a parallel build but this port does not support that. I was unaware that this port doesn't support parallel builds. These servers' job is to build packages as updates appear continually. Is there a way to selectively remove parallelization for individual ports? > Did you modify the port or anything under /usr/ports/Mk? Nothing. > Anything special in /etc/make.conf? .if !(make(*install) || make(package)) MAKE_ARGS+=-j9 .endif for parallel builds. > Does "env | grep MAKE" print anything? Nothing. I guess the lesson here for me is to check if a port doesn't support parallel builds before submitting a PR.
(In reply to jake.guffey from comment #4) > .if !(make(*install) || make(package)) > MAKE_ARGS+=-j9 > .endif The ports tree already adds -jX wherever it can, with X equal to the output of "sysctl kern.smp.cpus" by default. You can set a custom value if you want, e.g. the three lines above can be replaced with MAKE_JOBS_NUMBER=9.
I was unaware of that. Thanks for your help. I'll mark this as closed now that the port has built successfully.