[Pkg-javascript-devel] Bug#1094466: perlnavigator: incorrect syntax warnings with perl 5.40

David Nebauer davidnebauer at gmail.com
Tue Jan 28 11:34:33 GMT 2025


Package: perlnavigator
Version: 0.6.0~dfsg-3
Severity: normal
X-Debbugs-Cc: davidnebauer at gmail.com

Dear Maintainer,

With perl 5.40 perlnavigator began reporting syntax errors on the
following line:

  use namespace::clean -except => [qw( _options_data _options_config)];

The exact error is:

  Syntax: Attempt to call undefined import method with arguments
          ("-except" ...) via package "namespace::clean" (Perhaps you
          forgot to load the package?)

Upstream has identified the problem (see issue #138 on github repo) and
fixed it on 20 August 2024, stating:

  The fixed version is available in the vscode marketplace and on NPM,
  both as version 0.8.15

This is an irritating error and updating the package with the
fixed/current version of perlnavigator would save users a lot of stress
and annoyance.

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (995, 'testing'), (750, 'stable'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.10-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages perlnavigator depends on:
ii  libclass-inspector-perl            1.36-3
ii  libdevel-symdump-perl              2.18-5
ii  node-jsdom [node-types-whatwg-url  20.0.3+~cs124.18.21-4
    ]
ii  node-lru-cache                     10.0.1-3
ii  node-postcss [node-nanoid]         8.4.49+~cs9.2.32-1
ii  node-vscode-languageserver         8.2.0~next.0~1.0.0~git20230424.1320922-3
ii  node-vscode-languageserver-textdo  1.0.10~1.0.0~git20230424.1320922-3
    cument
ii  nodejs                             20.18.1+dfsg-2

Versions of packages perlnavigator recommends:
ii  libperl-critic-perl  1.156-1
ii  perlimports          0.000055-1

perlnavigator suggests no packages.

-- no debconf information


More information about the Pkg-javascript-devel mailing list