You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Branko Čibej <br...@hermes.si> on 2003/02/03 10:02:59 UTC

Re: svn rev 4298: FAIL (hppa2.0w-hp-hpux11.11 update)

Hi Joe,

Try as I might, I can't make the getaddrinfo() code path in 
ne_addr_resolve() to work in HP-UX 11.11. If I tweak the configuration 
to use the gethostbyname() path, everything works fine.

Oh, BTW: I noticed the following line in the getaddrinfo code path:

    hints.ai_family = AF_UNSPEC;

According to the man page, that should be PF_UNSPEC, no AF_UNSPEC. 
(The're both the same on that particular box, but might not be elsewhere.)

    Brane

> Subject:
> Re: svn rev 4298: FAIL (hppa2.0w-hp-hpux11.11 update)
> From:
> Joe Orton <jo...@manyfish.co.uk>
> Date:
> Fri, 17 Jan 2003 00:04:15 +0000
> To:
> dev@subversion.tigris.org
>
>
>On Thu, Jan 16, 2003 at 12:54:19AM +0100, Branko Čibej wrote:
>  
>
>>brane@xbc.nu wrote:
>>
>>    
>>
>>>PASS: update apr
>>>PASS: update apr-util
>>>
>>>Last 100 lines of the log file follow:
>>>svn: RA layer request failed
>>>svn: REPORT request failed on /repos/svn/trunk
>>>svn: REPORT of /repos/svn/trunk: Could not resolve hostname `svn.collab.net': Host not found
>>>Complete log saved in /home/brane/svn/LOG_up_svn.failed
>>>FAIL: update subversion
>>> 
>>>
>>>      
>>>
>>In case someone was wondering what's goint on: Recently, I updated the
>>subversion I used to do the svn update for this test from 0.14.x to
>>0.16.0+ with neon-0.23.4, and this started happening. I suspect a neon
>>bug, but I haven't had time yet.
>>    
>>
>
>neon 0.23 will use getaddrinfo() if available, maybe HPUX 11.11 has a
>weird getaddrinfo().  If you build neon outside the SVN tree (configure
>using --without-webdav to avoid XML parser depedency), then make and
>"make resolve" in the test directory, you can use the "resolve" tool as
>a minimal repro case for resolver problems.
>
>Regards,
>
>joe
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: svn rev 4298: FAIL (hppa2.0w-hp-hpux11.11 update)

Posted by Greg Hudson <gh...@MIT.EDU>.
On Mon, 2003-02-03 at 05:02, Branko Čibej wrote:
> According to the man page, that should be PF_UNSPEC, no AF_UNSPEC. 
> (The're both the same on that particular box, but might not be elsewhere.)

They'll be the same everywhere.  AF_* versus PF_* has been a point of
confusion in Unix networking code for a long time, but it doesn't cause
any practical problems.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: svn rev 4298: FAIL (hppa2.0w-hp-hpux11.11 update)

Posted by Greg Stein <gs...@lyra.org>.
On Mon, Feb 03, 2003 at 09:31:44PM +0100, Branko Cibej wrote:
>...
> Hm, no. I'll try that. One second...no, it doesn't help. I think we'll
> just have to add a hint to configure to not use getaddrinfo on this
> version of HP-UX. Judging by what Google shows me, we're not the first
> to get hit by this problem.
> 
> Let me know if you'd like a patch.

Bah. All that complexity. Just port it to APR!!

;-)

-- 
Greg Stein, http://www.lyra.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: svn rev 4298: FAIL (hppa2.0w-hp-hpux11.11 update)

Posted by Joe Orton <jo...@manyfish.co.uk>.
On Mon, Feb 03, 2003 at 09:31:44PM +0100, Branko Čibej wrote:
...
> >Hi - did you try changing this line to use AF_INET instead?
> >  
> >
> 
> Hm, no. I'll try that. One second...no, it doesn't help. I think we'll
> just have to add a hint to configure to not use getaddrinfo on this
> version of HP-UX. Judging by what Google shows me, we're not the first
> to get hit by this problem.

Yeah, it's infuriating as HP's C library is usually pretty good, I can't
help but wonder if we just need to press the *red* button and it'll
work.

> Let me know if you'd like a patch.

No worries, I've just added:

/* don't use the broken getaddrinfo shipped in HP-UX 11.11 */
#ifdef USE_GETADDRINFO
#undef USE_GETADDRINFO
#endif

inside the "#ifdef __hpux" in ne_socket.c for the time being.

Thanks for looking into this.

joe

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: svn rev 4298: FAIL (hppa2.0w-hp-hpux11.11 update)

Posted by Branko Čibej <br...@xbc.nu>.
Joe Orton wrote:

>On Mon, Feb 03, 2003 at 11:02:59AM +0100, Branko Čibej wrote:
>  
>
>>Hi Joe,
>>
>>Try as I might, I can't make the getaddrinfo() code path in 
>>ne_addr_resolve() to work in HP-UX 11.11. If I tweak the configuration 
>>to use the gethostbyname() path, everything works fine.
>>
>>Oh, BTW: I noticed the following line in the getaddrinfo code path:
>>
>>   hints.ai_family = AF_UNSPEC;
>>    
>>
>
>Hi - did you try changing this line to use AF_INET instead?
>  
>

Hm, no. I'll try that. One second...no, it doesn't help. I think we'll
just have to add a hint to configure to not use getaddrinfo on this
version of HP-UX. Judging by what Google shows me, we're not the first
to get hit by this problem.

Let me know if you'd like a patch.

-- 
Brane Čibej   <br...@xbc.nu>   http://www.xbc.nu/brane/


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: svn rev 4298: FAIL (hppa2.0w-hp-hpux11.11 update)

Posted by Joe Orton <jo...@manyfish.co.uk>.
On Mon, Feb 03, 2003 at 11:02:59AM +0100, Branko Čibej wrote:
> Hi Joe,
> 
> Try as I might, I can't make the getaddrinfo() code path in 
> ne_addr_resolve() to work in HP-UX 11.11. If I tweak the configuration 
> to use the gethostbyname() path, everything works fine.
> 
> Oh, BTW: I noticed the following line in the getaddrinfo code path:
> 
>    hints.ai_family = AF_UNSPEC;

Hi - did you try changing this line to use AF_INET instead?

Regards,

joe

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org