[Pkg-javascript-devel] Bug#650552: node-expat: FTBFS: EBADF, Bad file descriptor '/usr/lib/package.json'
Aaron M. Ucko
ucko at debian.org
Wed Nov 30 19:45:50 UTC 2011
Source: node-expat
Version: 1.4.1-1
Severity: serious
Justification: fails to build from source
The automated build of node-expat on i386 (the only platform besides
amd64 for which its build dependencies are available) failed with a
test suite error:
NODE_PATH=/.../node-expat-1.4.1/debian/node-node-expat//usr/lib/nodejs node test.js
node.js:134
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: EBADF, Bad file descriptor '/usr/lib/package.json'
at Object.openSync (fs.js:221:18)
at Object.readFileSync (fs.js:112:15)
at Object.<anonymous> (/usr/lib/nodejs/vows.js:254:28)
at Module._compile (module.js:411:26)
at Object..js (module.js:417:10)
at Module.load (module.js:343:31)
at Function._load (module.js:302:12)
at require (module.js:355:19)
at Object.<anonymous> (/.../node-expat-1.4.1/test.js:4:12)
at Module._compile (module.js:411:26)
make: *** [build/node-node-expat] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
I don't have time to dig too deeply, but see that the npm package
ships a package.json (under /usr/share/npm); a build dependency on
it may be in order. At any rate, could you please take a look?
Thanks!
More information about the Pkg-javascript-devel
mailing list