[Pkg-javascript-devel] Bug#972150: Bug#972150: node-debbundle-acorn: lack versions for provided virtual packages

Xavier yadd at debian.org
Tue Oct 13 12:29:08 BST 2020


Le 13/10/2020 à 13:03, Jonas Smedegaard a écrit :
> Package: node-debbundle-acorn
> Version: 8.0.4+ds+~cs13.19.27-3
> Severity: important
>
> acorn and related packages are now provided by a bundle package.
> 
> That's fine.
> 
> Problematic, however, that virtual packages are provided without version,
> making it hard to handle versioned relationships.
> 
> it seems no packages are directly affected by this
> (becuase node-debbundle-insert-module-globals is consumed by the bundle)
> but that is because package relations for emscripten is sloppy.
> 
> Please declare the version for each of the bundled modules.
> 
> See source package jsbundle-web-interfaces for a way to do it.
> What is done there is to _first_ use the module version
> and then _append_ the version of the bundle package -
> to ensure that binary package gets updated whenever bundle source is changed.
> 
>  - Jonas

Hi,

a `dpkg --control` shows this (automatically provided by ${nodejs:Provides}:

  Provides: acorn (= 8.0.4+ds+~cs13.19.27-2),
            node-acorn (= 8.0.4+ds+~cs13.19.27-2),
            node-acorn-bigint (= 1.0.0),
            node-acorn-class-fields (= 0.3.7),
            node-acorn-dynamic-import (= 4.0.0),
            node-acorn-export-ns-from (= 0.2.0),
            node-acorn-import-meta (= 1.1.0),
            node-acorn-jsx (= 5.3.1),
            node-acorn-loose (= 8.0.0),
            node-acorn-node (= 2.0.1),
            node-acorn-numeric-separator (= 0.3.4),
            node-acorn-private-class-elements (= 0.2.7),
            node-acorn-private-methods (= 0.3.3),
            node-acorn-static-class-features (= 0.2.4),
            node-acorn-walk (= 8.0.0)

So what can I do to resolve this bug ? Split acorn into multiple
packages (and then go back to NEW queue for some months) ?



More information about the Pkg-javascript-devel mailing list