[Pkg-javascript-devel] Bug#886287: node-coveralls: FTBFS: makes assumptions about build path

Chris Lamb lamby at debian.org
Wed Jan 3 22:41:17 UTC 2018


Source: node-coveralls
Version: 3.0.0-1
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-coveralls fails to build from source in amd64/unstable if you
rename the build directory. I see you patch the upstream function
but the whole thing is too brittle IMHO.

eg.

  $ cd $(mktemp -d)
  $ apt-get source node-coveralls
  $ mv node-coveralls*/ renamed
  $ cd renamed
  $ dpkg-buildpackage -uc -us

  […]
    
    2) detectLocalGit
         "after all" hook:
       Error: Tried to clean a temp git directory that did not match path: node-coveralls/test
        at _deleteFolderRecursive (test/detectLocalGit.js:61:11)
        at _cleanTempGitDir (test/detectLocalGit.js:55:5)
        at Context.<anonymous> (test/detectLocalGit.js:19:9)
        at callFn (/usr/lib/nodejs/mocha/lib/runnable.js:354:21)
        at Hook.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:346:7)
        at next (/usr/lib/nodejs/mocha/lib/runner.js:304:10)
        at Immediate.<anonymous> (/usr/lib/nodejs/mocha/lib/runner.js:334:5)
  
  
  
  debian/rules:30: recipe for target 'override_dh_auto_test' failed
  make[1]: *** [override_dh_auto_test] Error 1
  make[1]: Leaving directory '/build/node-coveralls-3.0.0/2nd'
  debian/rules:10: recipe for target 'build' failed
  make: *** [build] Error 2
  dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
  I: copying local configuration
  E: Failed autobuilding of package

  […]


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: node-coveralls.3.0.0-1.logs.unstable.log.txt.gz
Type: application/octet-stream
Size: 14305 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20180103/2922d99f/attachment.obj>


More information about the Pkg-javascript-devel mailing list