> I saw that, but they are referring only to compile time only.
It also needed for node-gyp (to build binary addons), so you need it not 
only for compile time.

Tests success/failures should not depends on Python version IMO.

воскресенье, 29 июля 2012 г., 3:22:26 UTC+4 пользователь Floren Munteanu 
написал:
>
> On Saturday, July 28, 2012 4:30:01 PM UTC-4, Oleg Efimov (Sannis) wrote:
>>
>> We do not keep exact dependencies, because we had a patch to solve some 
>> ABI incompatibles acros v8 3.8/3.9/3.10.
>>
>> 1). You should not pass openssl/whatever include dir, because pkgconfig 
>> is used to pick up right compile flags.
>> Also, --shared-v8-includes=%{_includedir} is redundant.
>>
>
> Thank you Oleg, useful.
>  
>
>>
>> 2). Latest node uses GYP for building itself and addons.
>> GYP require Python 2.6 or higher: 
>> https://github.com/joyent/node/issues/3604
>>
>>
> I saw that, but they are referring only to compile time only.
> In CentOS 5 (which provides python-2.4.3) I use python26-2.6.8 for compile 
> nodejs and I was wondering if I could skip the python26 dependency for 
> nodejs-devel. If I cannot, then I will have to change the /usr/bin/env to 
> python2.6 and force a dep to python26 on that package also.
>
> I ran the nodejs tests with both python-2.4.3/python-2.6.8 and I get more 
> failures with python26, go figure. :)
> *test-tls-server-verify* and *test-http-dns-fail* fail for both versions, 
> while release *test-net-connect-timeout* fails only for python26:
>
> python26 tools/test.py --mode=release simple message
>> === release test-net-connect-timeout ===                                 
>>       
>> Path: simple/test-net-connect-timeout
>> events.js:66
>>         throw arguments[1]; // Unhandled 'error' event
>>                        ^
>> Error: connect ENETUNREACH
>>     at errnoException (net.js:782:11)
>>     at Object.afterConnect [as oncomplete] (net.js:773:19)
>> Command: out/Release/node 
>> /home/floren/redhat/BUILD/node-v0.8.4/test/simple/test-net-connect-timeout.js
>> === release test-tls-server-verify ===                                   
>>       
>> Path: simple/test-tls-server-verify
>> connecting with agent1
>>   connecting with agent2
>>   connecting with agent3
>>   connecting with nocert
>>   connecting with agent1
>> Running 'Do not request certs. Everyone is unauthorized.'
>> - unauthed connection: undefined
>>   * unauthed
>> - unauthed connection: undefined
>>   * unauthed
>> - unauthed connection: undefined
>>   * unauthed
>> - unauthed connection: undefined
>>   * unauthed
>> Running 'Allow both authed and unauthed connections with CA1'
>> assert.js:104
>>   throw new assert.AssertionError({
>>         ^
>> AssertionError: agent1 rejected, but should NOT have been
>>     at ChildProcess.<anonymous> 
>> (/home/floren/redhat/BUILD/node-v0.8.4/test/simple/test-tls-server-verify.js:217:14)
>>     at ChildProcess.EventEmitter.emit (events.js:91:17)
>>     at Process._handle.onexit (child_process.js:674:10)
>> Command: out/Release/node 
>> /home/floren/redhat/BUILD/node-v0.8.4/test/simple/test-tls-server-verify.js
>> === release test-http-dns-fail ===                                 
>> Path: simple/test-http-dns-fail
>> assert.js:104
>>   throw new assert.AssertionError({
>>         ^
>> AssertionError: false == true
>>     at process.<anonymous> 
>> (/home/floren/redhat/BUILD/node-v0.8.4/test/simple/test-http-dns-fail.js:60:10)
>>     at process.EventEmitter.emit (events.js:115:20)
>> Command: out/Release/node 
>> /home/floren/redhat/BUILD/node-v0.8.4/test/simple/test-http-dns-fail.js
>> [01:54|% 100|+ 437|-   3]: Done
>
>
>

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to