[Pkg-javascript-devel] Bug#650552: Bug#650552: node-expat: FTBFS: EBADF, Bad file descriptor '/usr/lib/package.json'

Jonas Smedegaard dr at jones.dk
Sun Dec 4 09:45:55 UTC 2011


Hi Aaron,

On 11-11-30 at 02:45pm, Aaron M. Ucko wrote:
> 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)

[snip]

> 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?

Turns out node-vows depends on npm for resoĺving its version.  I will 
patch it to have its version hardcoded instead (as npm really should be 
avoided whenever possible IMO).

Not sure if the proper approach is to reasign or file another bug and 
make one of them affect the other - and since I maintain both packages I 
will simply spend my time on fixing the issue instead :-)

Thanks for reporting, and for the helpful suggestion.


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20111204/df820fe3/attachment-0001.pgp>


More information about the Pkg-javascript-devel mailing list