Menu

#4553 nodejs-0.10.38-1

Added_to_Fink
closed-accepted
None
5
2016-10-25
2015-06-26
No

The attached info file updates the nodejs package to the 0.10.38 release and uses the current debian patch set. The failures in the InfoTest for...

=== release test-child-process-customfd-bounded ===
Path: simple/test-child-process-customfd-bounded
child_process.js:935
throw errnoException(process._errno, 'spawn');

are eliminated by using an explicit shell for the InfoTest and setting "ulimit -n 4096". The changes from the current info file are...

~~~~~~
Index: nodejs.info
===================================================================
RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/web/nodejs.info,v
retrieving revision 1.4
diff -r1.4 nodejs.info
2,3c2,3
< Version: 0.10.26
< Revision: 1.1


Version: 0.10.38
Revision: 1
5a6
fink (>= 0.32),
22,24c23,25
< Source-MD5: 15e9018dadc63a2046f61eb13dfd7bd6
< Source2: mirror:debian:pool/main/n/%n/%n_%v~dfsg1-1.debian.tar.gz
< Source2-MD5: 567c20416ff552b43f48cf0e7cc5d497


Source-MD5: 3f45f994f1f02736576bf7bff1870897
Source2: mirror:debian:pool/main/n/%n/%n_%v~dfsg-1.debian.tar.xz
Source2-MD5: e24ca253edc3851bbeafa331a60fec4a
28a30
SetCFLAGS: -Os
52c54
< patch -p1 < debian/patches/2011_mipsel.patch


patch -p1 < debian/patches/2011_mips_mipsel.patch
60a63,66
patch -p1 < debian/patches/1006_relax_timeouts_in_tests.patch
patch -p1 < debian/patches/1007_revert_invalid_utf8_fix.patch
patch -p1 < debian/patches/1008_revert_abort_uncaught_1.patch
patch -p1 < debian/patches/1008_revert_abort_uncaught_2.patch
111a118,119

!/bin/sh -ev

ulimit -n 4096
~~~~~

Tested with 'fink -m' on 10.10.

Discussion

  • Jack Howarth

    Jack Howarth - 2015-06-26

    Info file for nodejs-0.10.38-1

     
  • Justin F. Hallett

    This one is tough for me as I have one in my exp but requires my PR for newer dpkg. So I have no way of testing it easily without breaking my system which I use everyday. Can anyone else test this for me?

    I'd like to keep a clean update path to my current version in my exp if possible as I'm still hopeful for my PR someday ;)

     
  • Justin F. Hallett

    I have a new version of nodejs finally in my exp, updating it to 4.6 which now builds it's own static libv8 and c-ares. Both of which were problems for me on this port in the past, I just need to get it tested on 10.9 or 10 or 11 so I can commit it since I only have 10.12 ATM.

    It's in my exp dir if you are interested.

    I did not get any test failures when I built it with -m on 10.12

     
  • Daniel Macks

    Daniel Macks - 2016-10-19

    self-test problems on 10.11.....

    === release test-chdir ===                   epth_trace        
    Path: simple/test-chdir
    assert.js:92
      throw new assert.AssertionError({
            ^
    AssertionError: false == true
        at Object.<anonymous> (/sw/build.build/nodejs-0.10.26-1.1/node-v0.10.26/test/simple/test-chdir.js:36:1)
        at Module._compile (module.js:456:26)
        at Object.Module._extensions..js (module.js:474:10)
        at Module.load (module.js:356:32)
        at Function.Module._load (module.js:312:12)
        at Function.Module.runMain (module.js:497:10)
        at startup (node.js:119:16)
        at node.js:902:3
    Command: out/Release/node /sw/build.build/nodejs-0.10.26-1.1/node-v0.10.26/test/simple/test-chdir.js
    
    === release test-child-process-customfd-bounded ===                    
    Path: simple/test-child-process-customfd-bounded
    child_process.js:935
        throw errnoException(process._errno, 'spawn');
              ^
    Error: spawn EMFILE
        at errnoException (child_process.js:988:11)
        at ChildProcess.spawn (child_process.js:935:11)
        at exports.spawn (child_process.js:723:9)
        at Object.exports.spawnPwd (/sw/build.build/nodejs-0.10.26-1.1/node-v0.10.26/test/common.js:83:12)
        at Object.<anonymous> (/sw/build.build/nodejs-0.10.26-1.1/node-v0.10.26/test/simple/test-child-process-customfd-bounded.js:29:8)
        at Module._compile (module.js:456:26)
        at Object.Module._extensions..js (module.js:474:10)
        at Module.load (module.js:356:32)
        at Function.Module._load (module.js:312:12)
        at Function.Module.runMain (module.js:497:10)
    Command: out/Release/node /sw/build.build/nodejs-0.10.26-1.1/node-v0.10.26/test/simple/test-child-process-customfd-bounded.js
    [00:04|% 100|+  14|-   0]: Done                                       
    

    This one's maybe because I ran it unattended, and didn't click to accept an incoming network connection?...

    === release test-dgram-implicit-bind ===                                  
    Path: simple/test-dgram-implicit-bind
    Command: out/Release/node /sw/build.build/nodejs-0.10.26-1.1/node-v0.10.26/test/simple/test-dgram-implicit-bind.js
    --- TIMEOUT ---
    

    This one's maybe because I ran it unattended, and didn't click to accept an incoming network connection, so it couldn't set up a server to run the test?...

    === release test-https-foafssl ===                                             
    Path: simple/test-https-foafssl
    executing "curl --insecure https://127.0.0.1:12346/ --cert /sw/build.build/nodejs-0.10.26-1.1/node-v0.10.26/test/fixtures/foafssl.crt --key /sw/build.build/nodejs-0.10.26-1.1/node-v0.10.26/test/fixtures/foafssl.key"
    
    /sw/build.build/nodejs-0.10.26-1.1/node-v0.10.26/test/simple/test-https-foafssl.js:70
        if (err) throw err;
                       ^
    Error: Command failed:   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     02016-10-19 09:43:16.175 curl[95243:11699723] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[0]'
    *** First throw call stack:
    (
        0   CoreFoundation                      0x00007fff910014f2 __exceptionPreprocess + 178
        1   libobjc.A.dylib                     0x00007fff8f42273c objc_exception_throw + 48
        2   CoreFoundation                      0x00007fff90ef3372 -[__NSPlaceholderArray initWithObjects:count:] + 290
        3   CoreFoundation                      0x00007fff90ef2f7d CFArrayCreate + 141
        4   libcurl.4.dylib                     0x00000001011fabcf darwinssl_connect_common + 2166
        5   libcurl.4.dylib                     0x00000001011f992e Curl_ssl_connect_nonblocking + 77
        6   libcurl.4.dylib                     0x00000001011b9bac https_connecting + 23
        7   libcurl.4.dylib                     0x00000001011b9b77 Curl_http_connect + 71
        8   libcurl.4.dylib                     0x00000001011c85fd Curl_protocol_connect + 127
        9   libcurl.4.dylib                     0x00000001011db982 multi_runsingle + 896
        10  libcurl.4.dylib                     0x00000001011db589 curl_multi_perform + 92
        11  libcurl.4.dylib                     0x00000001011d456d curl_easy_perform + 339
        12  curl                                0x000000010118f3e9 operate_do + 12609
        13  curl                                0x000000010118c23d operate + 369
        14  curl                                0x000000010118b13d main + 351
        15  libdyld.dylib                       0x00007fff9a4075ad start + 1
    )
    libc++abi.dylib: terminating with uncaught exception of type NSException
    
        at ChildProcess.exithandler (child_process.js:637:15)
        at ChildProcess.EventEmitter.emit (events.js:98:17)
        at maybeClose (child_process.js:743:16)
        at Socket.<anonymous> (child_process.js:956:11)
        at Socket.EventEmitter.emit (events.js:95:17)
        at Pipe.close (net.js:465:12)
    Command: out/Release/node /sw/build.build/nodejs-0.10.26-1.1/node-v0.10.26/test/simple/test-https-foafssl.js
    

    ~~~=== release test-tls-honorcipherorder ===
    Path: simple/test-tls-honorcipherorder
    assert.js:92
    throw new assert.AssertionError({
    ^
    AssertionError: "RC4-SHA" == "DES-CBC-SHA"
    at CleartextStream.<anonymous> (/sw/build.build/nodejs-0.10.26-1.1/node-v0.10.26/test/simple/test-tls-honorcipherorder.js:60:14)
    at CleartextStream.g (events.js:180:16)
    at CleartextStream.EventEmitter.emit (events.js:92:17)
    at SecurePair.<anonymous> (tls.js:1392:19)
    at SecurePair.EventEmitter.emit (events.js:92:17)
    at SecurePair.maybeInitFinished (tls.js:982:10)
    at CleartextStream.read [as _read] (tls.js:469:13)
    at CleartextStream.Readable.read (_stream_readable.js:320:10)
    at EncryptedStream.write [as _write] (tls.js:366:25)
    at doWrite (_stream_writable.js:226:10)
    Command: out/Release/node /sw/build.build/nodejs-0.10.26-1.1/node-v0.10.26/test/simple/test-tls-honorcipherorder.js

    
    

    === release test-tls-securepair-client ===
    Path: simple/test-tls-securepair-client
    Using default temp DH parameters
    ACCEPT
    client connected
    client: connected+secure!
    client pair.cleartext.getPeerCertificate(): {"subject":{"C":"AU","ST":"Some-State","O":"Internet Widgits Pty Ltd"},"issuer":{"C":"AU","ST":"Some-State","O":"Internet Widgits Pty Ltd"},"modulus":"CFE2D764E8DC40226ADFE64A50569B8FBD68A3F7B1FD7B01705AAD0538638D3C3D095115C1F3D0429E17C2D3E2076D38BE7617C10D7F47635D4D0A8266EE3B97BF4BB2C2FFBB66B963DFB43445379D0039A9DB7ED45004D1CE687B13E29973AB4771967CACFB3E66763B4D75EC87825145CF1B953CBA68437BFE260C5E1934988A738D385AD86AB93AA04BBACB4191E167A0F41271A73A4CE59B124C60F34748E635FFA8AF74D514702F3B6B03440379607E1CB6E48C812B740973E69828D4DBB7BD0B7ABCB76EEDB058B146B663621A54134B826CC48991B0409323BDBB39B4BBFC558042CA96F8238BD126B906E305AC52298CFAC47B48A1EEF4516DD99747","exponent":"10001","valid_from":"Nov 16 09:32:49 2010 GMT","valid_to":"Nov 15 09:32:49 2013 GMT","fingerprint":"FF:91:92:D1:18:5D:21:9B:E2:7D:C7:9E:63:F2:51:73:A9:61:77:CA"}
    client pair.cleartext.getCipher(): {"name":"AES128-SHA","version":"TLSv1/SSLv3"}
    -----BEGIN SSL SESSION PARAMETERS-----
    MGICAQECAgMDBAIALwQABDDJ5mPp9F5BfMSDidpZwxSqM7yfiozMzpVBqHEwJCWs
    EnG1EcxOwEVmsR6nPtV2tq2hBgIEWAd4t6IEAgIcIKQGBAQBAAAApgsECXVuZGVm
    aW5lZA==
    -----END SSL SESSION PARAMETERS-----
    Shared ciphers:AES128-SHA:AES256-SHA
    Signature Algorithms: RSA+SHA512:DSA+SHA512:ECDSA+SHA512:RSA+SHA384:DSA+SHA384:ECDSA+SHA384:RSA+SHA256:DSA+SHA256:ECDSA+SHA256:RSA+SHA224:DSA+SHA224:ECDSA+SHA224:RSA+SHA1:DSA+SHA1:ECDSA+SHA1
    Shared Signature Algorithms: RSA+SHA512:DSA+SHA512:ECDSA+SHA512:RSA+SHA384:DSA+SHA384:ECDSA+SHA384:RSA+SHA256:DSA+SHA256:ECDSA+SHA256:RSA+SHA224:DSA+SHA224:ECDSA+SHA224:RSA+SHA1:DSA+SHA1:ECDSA+SHA1
    CIPHER is AES128-SHA
    Secure Renegotiation IS supported
    hello
    DONE
    shutdown accept socket
    client close
    shutting down SSL
    CONNECTION CLOSED
    0 items in the session cache
    0 client connects (SSL_connect())
    0 client renegotiates (SSL_connect())
    0 client connects that finished
    1 server accepts (SSL_accept())
    0 server renegotiates (SSL_accept())
    1 server accepts that finished
    0 session cache hits
    0 session cache misses
    0 session cache timeouts
    0 callback cache hits
    0 cache full overflows (128 allowed)
    Using default temp DH parameters
    error setting certificate
    140735207489536:error:0906D06C:PEM routines:PEM_read_bio:no start line:crypto/pem/pem_lib.c:691:Expecting: DH PARAMETERS
    140735207489536:error:140AB18F:SSL routines:SSL_CTX_use_certificate:ee key too small:ssl/ssl_rsa.c:305:
    WAIT-ACCEPT
    WAIT-ACCEPT
    WAIT-HELLO
    WAIT-HELLO
    WAIT-SERVER-CLOSE
    WAIT-SERVER-CLOSE
    WAIT-ACCEPT

    assert.js:92
    throw new assert.AssertionError({
    ^
    AssertionError: 0 == 1
    at process.<anonymous> (/sw/build.build/nodejs-0.10.26-1.1/node-v0.10.26/test/simple/test-tls-securepair-client.js:197:12)
    at process.EventEmitter.emit (events.js:117:20)
    Command: out/Release/node /sw/build.build/nodejs-0.10.26-1.1/node-v0.10.26/test/simple/test-tls-securepair-client.js

    ~~~=== release test-tls-set-ciphers ===                               
    Path: simple/test-tls-set-ciphers
    /sw/build.build/nodejs-0.10.26-1.1/node-v0.10.26/test/simple/test-tls-set-ciphers.js:58
        if (err) throw err;
                       ^
    Error: Command failed: Error with command: "-cipher RC4-MD5"
    140735207489536:error:1410D0B9:SSL routines:SSL_CTX_set_cipher_list:no cipher match:ssl/ssl_lib.c:2018:
    
        at ChildProcess.exithandler (child_process.js:637:15)
        at ChildProcess.EventEmitter.emit (events.js:98:17)
        at maybeClose (child_process.js:743:16)
        at Socket.<anonymous> (child_process.js:956:11)
        at Socket.EventEmitter.emit (events.js:95:17)
        at Pipe.close (net.js:465:12)
    Command: out/Release/node /sw/build.build/nodejs-0.10.26-1.1/node-v0.10.26/test/simple/test-tls-set-ciphers.js
    [04:13|% 100|+ 591|-   7]: Done                                                
    
     
    • Daniel Macks

      Daniel Macks - 2016-10-19

      Ignore me there...was the current in fink, not the new one being submitted.

       
  • Daniel Macks

    Daniel Macks - 2016-10-20

    10.11, TestScript warns:

    ~~~
    export HOME = /sw/build.build/nodejs-4.6.0-2.1/node-v4.6.0/test/tmp
    /tmp/fink.PPfIG: line 3: export: =': not a valid identifier /tmp/fink.PPfIG: line 3: export:/sw/build.build/nodejs-4.6.0-2.1/node-v4.6.0/test/tmp': not a valid identifier

    execution of /tmp/fink.PPfIG failed, exit code 1

    execution of /tmp/fink.LJ30G failed, exit code 1

    phase test: warning
    ~~~

    Shell hates whitespace around "=" in variable assignments.

     
  • Justin F. Hallett

    new version in my exp now runs the tests and on 10.12 only produces 4 tls errors out of 1040 tests, so pretty good though I'm still trying to figure out why the 4 failures. Could you retest on 10.11 see if it's the same out come please?

    not ok 823 parallel/test-tick-processor
    # 
    # assert.js:89
    #   throw new assert.AssertionError({
    #   ^
    # AssertionError: false == true
    #     at runTest (/sw/src/fink.build/nodejs-4.6.0-2.1/node-v4.6.0/test/parallel/test-tick-processor.js:58:3)
    #     at Object.<anonymous> (/sw/src/fink.build/nodejs-4.6.0-2.1/node-v4.6.0/test/parallel/test-tick-processor.js:38:1)
    #     at Module._compile (module.js:409:26)
    #     at Object.Module._extensions..js (module.js:416:10)
    #     at Module.load (module.js:343:32)
    #     at Function.Module._load (module.js:300:12)
    #     at Function.Module.runMain (module.js:441:10)
    #     at startup (node.js:139:18)
    #     at node.js:974:3
    
    not ok 864 parallel/test-tls-cnnic-whitelist
    # 
    # assert.js:89
    #   throw new assert.AssertionError({
    #   ^
    # AssertionError: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE' === 'CERT_REVOKED'
    #     at TLSSocket.<anonymous> (/sw/src/fink.build/nodejs-4.6.0-2.1/node-v4.6.0/test/parallel/test-tls-cnnic-whitelist.js:71:14)
    #     at emitOne (events.js:77:13)
    #     at TLSSocket.emit (events.js:169:7)
    #     at emitErrorNT (net.js:1269:8)
    #     at nextTickCallbackWith2Args (node.js:442:9)
    #     at process._tickCallback (node.js:356:17)
    
    not ok 876 parallel/test-tls-ecdh-disable
    # 
    # assert.js:89
    #   throw new assert.AssertionError({
    #   ^
    # AssertionError: -1 != -1
    #     at /sw/src/fink.build/nodejs-4.6.0-2.1/node-v4.6.0/test/parallel/test-tls-ecdh-disable.js:43:12
    #     at ChildProcess.exithandler (child_process.js:220:5)
    #     at emitTwo (events.js:87:13)
    #     at ChildProcess.emit (events.js:172:7)
    #     at maybeClose (internal/child_process.js:829:16)
    #     at Socket.<anonymous> (internal/child_process.js:319:11)
    #     at emitOne (events.js:77:13)
    #     at Socket.emit (events.js:169:7)
    #     at Pipe._onclose (net.js:486:12)
    
    not ok 911 parallel/test-tls-pfx-gh-5100-regr
    # 
    # assert.js:89
    #   throw new assert.AssertionError({
    #   ^
    # AssertionError: authorizationError must be null
    #     at Server.<anonymous> (/sw/src/fink.build/nodejs-4.6.0-2.1/node-v4.6.0/test/parallel/test-tls-pfx-gh-5100-regr.js:24:3)
    #     at Server.<anonymous> (/sw/src/fink.build/nodejs-4.6.0-2.1/node-v4.6.0/test/common.js:384:15)
    #     at emitOne (events.js:77:13)
    #     at Server.emit (events.js:169:7)
    #     at TLSSocket.<anonymous> (_tls_wrap.js:795:14)
    #     at emitNone (events.js:67:13)
    #     at TLSSocket.emit (events.js:166:7)
    #     at TLSSocket._init.ssl.onclienthello.ssl.oncertcb.TLSSocket._finishInit (_tls_wrap.js:586:8)
    #     at TLSSocket.onhandshakedone (_tls_wrap.js:65:8)
    #     at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:411:49)
    
     
    • Daniel Macks

      Daniel Macks - 2016-10-22

      I get those four on 10.11, but also one more:

      not ok 988 parallel/test-zlib-params
      # 
      # assert.js:89
      #   throw new assert.AssertionError({
      #   ^
      # AssertionError: <Buffer 02 00 5a 82 a5 7d 79 53 f9 b9 66 2c f1 9e 20 47 7b 66 4d a1 4f 14 95 8f 36 f9 f6 cc e7 19 4e b8 ab 86 29 66 9e 4e 0a 2c  deepEqual <Buffer 00 5a 82 a5 7d 79 53 f9 b9 66 2c f1 9e 20 47 7b 66 4d a1 4f 14 95 8f 36 f9 f6 cc e7 19 4e b8 ab 86 29 66 9e 4e 0a 2c 42 
      #     at process.<anonymous> (/sw/build.build/nodejs-4.6.0-2.1/node-v4.6.0/test/parallel/test-zlib-params.js:33:10)
      #     at process.g (events.js:260:16)
      #     at emitOne (events.js:82:20)
      #     at process.emit (events.js:169:7)
      
       
  • Justin F. Hallett

    I believe most of these tls tests fail based on the IPv6 issue from https://github.com/nodejs/build/issues/415

    I'm setting them all to FLAKY for now, the zlib one you got though I'm unsure of as I do get it, I'm setting it to flaky for now too, if I get reports I'll dig deeper.

     
  • Justin F. Hallett

    okay commited in my exp if someone wants to test it on 10.11,10 or 9

    tested on 10.12 same failures but none fatal now. And a few other build system cleanups. Also updated to 4.6.1

     
  • Justin F. Hallett

    • status: open --> closed-accepted
    • Group: Undergoing_Validation --> Added_to_Fink
     
  • Justin F. Hallett

    Commited 4.6.1

     

Log in to post a comment.