Your message dated Tue, 10 Jan 2017 17:03:52 +0000
with message-id <e1cqzpw-00088k...@fasolo.debian.org>
and subject line Bug#848823: fixed in ltx 2.4.2-2
has caused the Debian Bug report #848823,
regarding node-ltx does not work with its main user node-node-xmpp
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
848823: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=848823
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: node-ltx
Version: 2.4.2-1
Severity: important

Dear Maintainer,

I tried using node-node-xmpp, and trying with the examples leads to this
error:

/tmp $ nodejs echo_bot.js
(node) sys is deprecated. Use util instead.
module.js:327
    throw err;
    ^

Error: Cannot find module 'ltx'
    at Function.Module._resolveFilename (module.js:325:15)
    at Function.Module._load (module.js:276:25)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> 
(/usr/lib/nodejs/node-xmpp/lib/xmpp/connection.js:4:11)
    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 Module.require (module.js:353:17)

(I had to fix a relative path in the echo_bot.js example.)

The infringing line in xmpp/connection.js is this:

var ltx = require('ltx');

And indeed, doing that with nodejs directly results in the same issue:

/tmp $ echo "var ltx = require('ltx');" | nodejs 
module.js:327
    throw err;
    ^

Error: Cannot find module 'ltx'
    at Function.Module._resolveFilename (module.js:325:15)
    at Function.Module._load (module.js:276:25)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at [stdin]:1:11
    at Object.exports.runInThisContext (vm.js:54:17)
    at Object.<anonymous> ([stdin]-wrapper:6:22)
    at Module._compile (module.js:409:26)
    at node.js:579:27
    at nextTickCallbackWith0Args (node.js:420:9)

strace shows it tries to access these files:

stat("/usr/lib/nodejs/ltx", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/usr/lib/nodejs/ltx/package.json", O_RDONLY|O_CLOEXEC) = -1 ENOENT
stat("/usr/lib/nodejs/ltx.js", 0x7ffc6fd397f0) = -1 ENOENT
stat("/usr/lib/nodejs/ltx.json", 0x7ffc6fd397f0) = -1 ENOENT
stat("/usr/lib/nodejs/ltx.node", 0x7ffc6fd397f0) = -1 ENOENT
open("/usr/lib/nodejs/ltx/package.json", O_RDONLY|O_CLOEXEC) = -1 ENOENT
stat("/usr/lib/nodejs/ltx/index.js", 0x7ffc6fd397f0) = -1 ENOENT
stat("/usr/lib/nodejs/ltx/index.json", 0x7ffc6fd397f0) = -1 ENOENT
stat("/usr/lib/nodejs/ltx/index.node", 0x7ffc6fd397f0) = -1 ENOENT

(ENOENT = No such file or directory, I truncated for readability)

The exact same thing happens with "require('node-xmpp')".

I do not know whether the bug is in node-node-xmpp or node-ltx, but I
suspect it is in the packaging of the later.

Regards,

-- 
  Nicolas GEorge


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (50, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.8.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages node-ltx depends on:
ii  nodejs  4.6.1~dfsg-1

node-ltx recommends no packages.

Versions of packages node-ltx suggests:
ii  node-node-expat  2.3.15-1
pn  node-sax         <none>

-- no debconf information

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: ltx
Source-Version: 2.4.2-2

We believe that the bug you reported is fixed in the latest version of
ltx, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 848...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jonas Smedegaard <d...@jones.dk> (supplier of updated ltx package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 10 Jan 2017 17:37:48 +0100
Source: ltx
Binary: node-ltx
Architecture: source
Version: 2.4.2-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers 
<pkg-javascript-devel@lists.alioth.debian.org>
Changed-By: Jonas Smedegaard <d...@jones.dk>
Description:
 node-ltx   - XML DOM builder library for Node
Closes: 848823
Changes:
 ltx (2.4.2-2) unstable; urgency=medium
 .
   * Fix install all code files.
     Closes: Bug#848823. Thanks to Nicolas George.
   * Update watch file: Use substitution string @PACKAGE@.
   * Drop obsolete lintian override regarding debhelper 9.
   * Update copyright info: Extend coverage of Debian packaging.
Checksums-Sha1:
 adf943634189385857e08d0fe28b0e4bf0f9e179 1899 ltx_2.4.2-2.dsc
 06452b4810db98205633ebcbdbcd14f3d2028dac 5244 ltx_2.4.2-2.debian.tar.xz
Checksums-Sha256:
 8c76ff2868af1cba7e5115d451cd4209ffa4a2e1fe7a983479c8c9a14397736e 1899 
ltx_2.4.2-2.dsc
 72cc5cb989123aa845846cc4c9563d7638018f810521c59df5f375280e21f63c 5244 
ltx_2.4.2-2.debian.tar.xz
Files:
 deeaa0bc89ce885e638b488ed9374274 1899 web optional ltx_2.4.2-2.dsc
 db12332d85a0eea1742a6e216af1d4f4 5244 web optional ltx_2.4.2-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCAAGBQJYdQ+oAAoJECx8MUbBoAEhPzcP/RzeMfw+qHOIa8CZQTRS6T1Y
5BHwpsU60suw7nbk+0E4W6Ptct5qxN62dxBRs6CPOmSm379AaYezFm7wNHwki2Oh
YsLZttS+8XSK9K6SgLsB1ahufSrSfi4h75H/gPyl9U79q2rmq3nIqLa4sDsfA0jf
dkCiB8TCPyKKprV3ABOKUfTxJh8NQg3dqhgbDqb7qnHhhbNxBpbOwDtHvn+b/nhn
QApdAE4/WDHz2RDhUn3TP65R043R4cwJGHCYpqiYrbJ8vquZwPTPRQNc1LRaLnaE
bMd5JnEyK4W3YGW2wHB4AIAq3I7ZJU9lvdF1rZMB5TDMhNgjbWuj5kfPrjGfex5A
u76CFKgo+3Nu2BcX2utFBoNnH2WgSpPTCF1CGAmQXumaueTVF0eQorJ1p+3lybFA
oXV05GHxEj1IkGW2aoTBbtddoxjJoq+DH7fUNidze+QlooumT+SpDFb1tjt+WwP/
aO8jwKUlH6FcMMRIrOe+IMEgrW7uigvOLsIqVAbra3sgCIm6VKhrDWq4n1WZr+Vi
V6VKVhmSP9v8QnyQ4m5uuGII4TsoViDv/PLYCHFa3jpMx/t3Pwa3VjAXM0M3vLNw
kUJe24FQEvip4pOxpVEcQBnmwJQurAO22H6SlKXitoyFZ7ydvtzlsCvFw6FfEN6K
H8d+fF956Jl1X3P5Pyo2
=XzQx
-----END PGP SIGNATURE-----

--- End Message ---
-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to