Summary: | www/node: Error getaddrinfo EAI_BADFLAGS on 0.12.0 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | komarov | ||||||
Component: | Individual Port(s) | Assignee: | Steve Wills <swills> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Only Me | CC: | linpct, saper, swills, vivek | ||||||
Priority: | --- | Keywords: | needs-patch, needs-qa | ||||||
Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(linpct) |
||||||
Hardware: | amd64 | ||||||||
OS: | Any | ||||||||
Attachments: |
|
Description
komarov
2015-02-11 15:09:40 UTC
Maintainer CC'd (In reply to komarov from comment #0) Issue confirmed, will try to find out why. Same issue on other platform with node 0.12.0 (In reply to linpct from comment #3) https://github.com/joyent/node/issues/8540 The EAI_BADFLAGS is from node-v0.12.0/deps/uv/src, will try to get patch. I had try https://github.com/joyent/node/issues/9204 and it works well, please use my new patch. Created attachment 152940 [details]
node.0.12.0_1.patch
The www/node-devel 0.11.16 has the same issue, will test and send another patch for it. Created attachment 152943 [details]
node-devel.0.11.16_1.patch
A commit references this bug: Author: swills Date: Fri Feb 13 17:59:05 UTC 2015 New revision: 378937 URL: https://svnweb.freebsd.org/changeset/ports/378937 Log: www/node: fix error getaddrinfo EAI_BADFLAGS PR: 197539 Reported by: Valery Komarov <komarov@valerka.net> Submitted by: Daniel Lin <linpct@gmail.com> (maintainer) Obtained from: https://github.com/joyent/node/issues/9204 Changes: head/www/node/Makefile head/www/node/files/patch-lib_dns.js A commit references this bug: Author: swills Date: Fri Feb 13 19:52:54 UTC 2015 New revision: 378942 URL: https://svnweb.freebsd.org/changeset/ports/378942 Log: www/node: fix error getaddrinfo EAI_BADFLAGS PR: 197539 Reported by: Valery Komarov <komarov@valerka.net> Submitted by: Daniel Lin <linpct@gmail.com> (maintainer) Obtained from: https://github.com/joyent/node/issues/9204 Changes: head/www/node-devel/Makefile head/www/node-devel/files/patch-lib_dns.js Committed, thanks! I am running now into https://github.com/npm/npm/issues/7508 under poudriere jails: npm ERR! node v0.12.0 npm ERR! npm v2.6.0 npm ERR! code EAI_FAIL npm ERR! errno EAI_FAIL npm ERR! syscall getaddrinfo I think I didn't have this before, is this related? Sorry for noise, the EAI_FAIL problem seems to be unrelated |