Modify

#669 closed defect (fixed)

bzr rev >= #643 fails to build

Reported by: Christian Ebert <blacktrash@…> 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 Changed at 2010-08-12T09:57:59Z by Wilmer van der Gaast <wilmer@…>

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?

comment:2 Changed at 2010-08-12T10:02:16Z by Wilmer van der Gaast <wilmer@…>

Instead of misc.c, I obviously meant proxy.c.

comment:3 in reply to:  1 Changed at 2010-08-12T10:43:15Z by Christian Ebert <blacktrash@…>

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:

http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/10.5/man3/getaddrinfo.3.html?useVersion=10.5

comment:4 Changed at 2010-08-12T10:44:59Z by 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?

comment:5 in reply to:  4 Changed at 2010-08-12T10:52:03Z by Christian Ebert <blacktrash@…>

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 Changed at 2010-08-12T10:58:26Z by 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.

comment:7 in reply to:  6 Changed at 2010-08-12T11:13:03Z by Christian Ebert <blacktrash@…>

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 Wilmer van der Gaast <wilmer@…>

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 wilmer

Resolution: fixed
Status: newclosed

Oh yes, this was fixed by changeset:devel,655.

Modify Ticket

Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.