[Pkg-javascript-devel] Bug#856830: node-dateformat: FTBFS: dateformat([now], [mask]) should format `longTime` mask

Chris Lamb lamby at debian.org
Sun Mar 5 09:28:55 UTC 2017


Source: node-dateformat
Version: 1.0.11-2
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Dear Maintainer,

node-dateformat fails to build from source in unstable/amd64:

  […]

  dh build
     dh_testdir
     dh_update_autotools_config
     dh_auto_configure
     dh_auto_build
     debian/rules override_dh_auto_test
  make[1]: Entering directory '«BUILDDIR»'
  mocha -R spec
  
  
    dayOfWeek
  
    ✓ should correctly format the timezone part 
  
    dateformat([now], [mask])
  
    ✓ should format `default` mask 
  
    ✓ should format `shortDate` mask 
  
    ✓ should format `mediumDate` mask 
  
    ✓ should format `longDate` mask 
  
    ✓ should format `fullDate` mask 
  
    ✓ should format `shortTime` mask 
  
    ✓ should format `mediumTime` mask 
  
    1) should format `longTime` mask
  
    ✓ should format `isoDate` mask 
  
    ✓ should format `isoTime` mask 
  
    ✓ should format `isoDateTime` mask 
  
    ✓ should format `isoUtcDateTime` mask 
  
    2) should format `expiresHeaderFormat` mask
  
    ✓ should use `default` mask, when `mask` is empty 
  
    isoUtcDateTime
  
    ✓ should correctly format the timezone part 
  
  
    14 passing (22ms)
    2 failing
  
    1) dateformat([now], [mask]) should format `longTime` mask:
  
        AssertionError: '1:19:44 PM GMT' === '1:19:44 PM UTC'
        + expected - actual
  
        -1:19:44 PM GMT
        +1:19:44 PM UTC
        
        at Context.<anonymous> («BUILDDIR»/test/test_formats.js:64:14)
        at Test.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:196:15)
        at Runner.runTest (/usr/lib/nodejs/mocha/lib/runner.js:373:10)
        at /usr/lib/nodejs/mocha/lib/runner.js:451:12
        at next (/usr/lib/nodejs/mocha/lib/runner.js:298:14)
        at /usr/lib/nodejs/mocha/lib/runner.js:308:7
        at next (/usr/lib/nodejs/mocha/lib/runner.js:246:23)
        at Immediate._onImmediate (/usr/lib/nodejs/mocha/lib/runner.js:275:5)
        at processImmediate [as _immediateCallback] (timers.js:396:17)
  
    2) dateformat([now], [mask]) should format `expiresHeaderFormat` mask:
  
        AssertionError: 'Wed, 26 Nov 2014 13:19:44 GMT' === 'Wed, 26 Nov 2014 13:19:44 UTC'
        + expected - actual
  
        -Wed, 26 Nov 2014 13:19:44 GMT
        +Wed, 26 Nov 2014 13:19:44 UTC
        
        at Context.<anonymous> («BUILDDIR»/test/test_formats.js:64:14)
        at Test.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:196:15)
        at Runner.runTest (/usr/lib/nodejs/mocha/lib/runner.js:373:10)
        at /usr/lib/nodejs/mocha/lib/runner.js:451:12
        at next (/usr/lib/nodejs/mocha/lib/runner.js:298:14)
        at /usr/lib/nodejs/mocha/lib/runner.js:308:7
        at next (/usr/lib/nodejs/mocha/lib/runner.js:246:23)
        at Immediate._onImmediate (/usr/lib/nodejs/mocha/lib/runner.js:275:5)
        at processImmediate [as _immediateCallback] (timers.js:396:17)
  
  
  
  debian/rules:7: recipe for target 'override_dh_auto_test' failed
  make[1]: *** [override_dh_auto_test] Error 2
  make[1]: Leaving directory '«BUILDDIR»'
  debian/rules:3: recipe for target 'build' failed
  make: *** [build] Error 2
  dpkg-buildpackage: error: debian/rules build gave error exit status 2

  […]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: node-dateformat.1.0.11-2.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 8234 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20170305/85e234b8/attachment.obj>


More information about the Pkg-javascript-devel mailing list