Opened at 2010-08-12T09:54:39Z
Closed at 2010-08-21T19:51:51Z
#669 closed defect (fixed)
bzr rev >= #643 fails to build
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | BitlBee | Version: | 1.3dev |
Keywords: | Cc: | ||
IRC client+version: | Client-independent | Operating System: | MacOS |
OS version/distro: | 10.5.8 |
Description
Since bzr #643 making bitlbee fails with:
proxy.c: In function ‘proxy_connect_none’: proxy.c:106: error: ‘AI_NUMERICSERV’ undeclared (first use in this function) proxy.c:106: error: (Each undeclared identifier is reported only once proxy.c:106: error: for each function it appears in.) make[1]: * [proxy.o] Error 1 make: * [lib] Error 2
$ sw_vers ProductName: Mac OS X ProductVersion: 10.5.8 BuildVersion: 9L30
Configure params:
--pidfile=/usr/local/var/run/bitlbee/bitlbee.pid \ --config=/usr/local/var/lib/bitlbee \ --ipcsocket=/usr/local/var/run/bitlbee/bitlbee.sock --ssl=gnutls
Let me know if you need more info.
Attachments (0)
Change History (9)
comment:1 follow-up: 3 Changed at 2010-08-12T09:57:59Z by
comment:3 Changed at 2010-08-12T10:43:15Z by
Replying to Wilmer van der Gaast <wilmer@…>:
According to the OS X manpage for getaddrinfo(): http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/man3/getaddrinfo.3.html
But that's the man page for MacOS 10.6.3 (Snow Leopard); I'm on 10.5.8.
AI_NUMERICSERV is definitely supported. Could you please do a recursive grep for that and see if maybe misc.c is missing one of the three includes also listed in the man page?
On 10.5.8 man 3 getaddrinfo only mentions AI_NUMERICHOST:
comment:4 follow-up: 5 Changed at 2010-08-12T10:44:59Z by
Oh damn it :-( That's indeed a surprisingly recent addition then.
Can you try removing it and see if things still work?
comment:5 Changed at 2010-08-12T10:52:03Z by
Replying to Wilmer van der Gaast <wilmer@…>:
Oh damn it :-( That's indeed a surprisingly recent addition then.
Can you try removing it and see if things still work?
Builds fine then. I don't have much time to use bitlbee atm. What would be a testcase? At a first glance everything works.
thx for looking into this btw.
comment:6 follow-up: 7 Changed at 2010-08-12T10:58:26Z by
No problem, I'm glad you reported this before it got into a release. If this successfully connects to *any* IM protocol, that's enough success for me. Just want to make sure that getaddrinfo() still accepts numeric services without NUMERICSERV.
comment:7 Changed at 2010-08-12T11:13:03Z by
Replying to Wilmer van der Gaast <wilmer@…>:
No problem, I'm glad you reported this before it got into a release. If this successfully connects to *any* IM protocol, that's enough success for me. Just want to make sure that getaddrinfo() still accepts numeric services without NUMERICSERV.
I don't use twitter or irc atm. So I can only confirm jabber, msn, and oscar.
comment:8 Changed at 2010-08-12T11:18:14Z by
That's a great list already. :-) No worries, if one of them works, I'm very sure they all do. I'll fix this in head some day soon. Thanks for your report!
comment:9 Changed at 2010-08-21T19:51:51Z by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Oh yes, this was fixed by changeset:devel,655.
Huh, this is odd.
According to the OS X manpage for getaddrinfo(): http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/man3/getaddrinfo.3.html
AI_NUMERICSERV is definitely supported. Could you please do a recursive grep for that and see if maybe misc.c is missing one of the three includes also listed in the man page?