On current 10.3 system (FreeBSD othniel 10.3-RELEASE-p4 FreeBSD 10.3-RELEASE-p4 #0: Sat May 28 12:23:44 UTC 2016 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64) when I had ftp/curl configured for CARES : on THREADED_RESOLVER: off and dns/c-ares-1.11.0 installed www/node4-4.4.5_2 failed to build: >>>>> cc '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D_GNU_SOURCE' '-DCARES_STATICLIB' '-DHAVE_CONFIG_H' -I/usr/local/include -I../deps/cares/include -I../deps/cares/src -I../deps/cares/config/freebsd -pthread -Wall -Wextra -Wno-unused-parameter -m64 -g -pedantic -Wall -Wextra -Wno-unused-parameter --std=gnu89 -O3 -ffunction-sections -fdata-sections -fno-omit-frame-pointer -MMD -MF /usr/ports/www/node4/work/node-v4.4.5/out/Release/.deps//usr/ports/www/node4/work/node-v4.4.5/out/Release/obj.target/cares/deps/cares/src/ares_parse_txt_reply.o.d.raw -O2 -pipe -Wno-unused-private-field -Wno-nested-anon-types -Wno-unused-function -Wno-unused-const-variable -fstack-protector -fno-strict-aliasing -c -o /usr/ports/www/node4/work/node-v4.4.5/out/Release/obj.target/cares/deps/cares/src/ares_parse_txt_reply.o ../deps/cares/src/ares_parse_txt_reply.c ../deps/cares/src/ares_parse_txt_reply.c:153:25: error: no member named 'record_start' in 'struct ares_txt_reply' txt_curr->record_start = strptr == aptr; ~~~~~~~~ ^ 1 error generated. gmake[3]: *** [deps/cares/cares.target.mk:147: /usr/ports/www/node4/work/node-v4.4.5/out/Release/obj.target/cares/deps/cares/src/ares_parse_txt_reply.o] Error 1 gmake[3]: Leaving directory '/usr/ports/www/node4/work/node-v4.4.5/out' gmake[2]: *** [Makefile:45: node] Error 2 gmake[2]: Leaving directory '/usr/ports/www/node4/work/node-v4.4.5' *** Error code 1 Stop. make[1]: stopped in /usr/ports/www/node4 *** Error code 1 Stop. <<<<< After reconfig of ftp/curl to CARES : off THREADED_RESOLVER: on and rebuild; followed by removing dns-c-ares, node4-4.4.5_2 builds fine. These were pointers: * https://trac.macports.org/ticket/49637 * https://github.com/nodejs/node/issues/2637
This should be fixed by the patch in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210618. I'm waiting for a committer to pick it up.
Thanks for the report! :)
Should be fixed as suggested by maintainer