Bug#923265: libconfig-model-dpkg-perl: cme is unable to parse build dependencies built by npm2deb

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#923265: libconfig-model-dpkg-perl: cme is unable to parse build dependencies built by npm2deb

Xavier Guimard-3
Package: libconfig-model-dpkg-perl
Version: 2.122
Severity: normal

Hi all,

npm2deb build dependencies using this format:

  Build-Depends:
   debhelper (>= 11)
   , nodejs (>= 6)

But cme is unable to parse it:

  $ LANG=C cme fix dpkg-control
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  Connecting to api.ftp-master.debian.org to check 1 package versions. Please wait...
  Got info from api.ftp-master.debian.org for 0 packages.
  Configuration item 'source Build-Depends:1' has a wrong value:
          Cannot parse: ''

Cheers,
Xavier

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

Kernel: Linux 4.14.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libconfig-model-dpkg-perl depends on:
ii  libapt-pkg-perl                    0.1.34+b1
ii  libarray-intspan-perl              2.003-1
ii  libconfig-model-backend-yaml-perl  2.133-2
ii  libconfig-model-perl               2.133-1
ii  libexporter-lite-perl              0.08-1
ii  liblog-log4perl-perl               1.49-1
pn  libmodule-corelist-perl            <none>
ii  libmouse-perl                      2.5.6-1+b1
ii  libparse-recdescent-perl           1.967015+dfsg-2
ii  libsoftware-licensemoreutils-perl  1.004-1
ii  libtext-autoformat-perl            1.740000-2
ii  libtext-levenshtein-damerau-perl   0.41-1
ii  liburi-perl                        1.76-1
ii  libwww-perl                        6.36-1
ii  libyaml-perl                       1.27-1
ii  licensecheck                       3.0.31-3
ii  lintian                            2.7.0
ii  perl                               5.28.1-4

Versions of packages libconfig-model-dpkg-perl recommends:
ii  libconfig-model-tkui-perl  1.369-2

libconfig-model-dpkg-perl suggests no packages.

-- no debconf information

Reply | Threaded
Open this post in threaded view
|

Bug#923265: libconfig-model-dpkg-perl: cme is unable to parse build dependencies built by npm2deb

Dominique Dumont
On Mon, 25 Feb 2019 17:08:53 +0100 Xavier Guimard <[hidden email]> wrote:
> npm2deb build dependencies using this format:
>
>   Build-Depends:
>    debhelper (>= 11)
>    , nodejs (>= 6)

Right ....

Could you send me a link to the whole control file ? (so that I can create a
complete test case).

All the best

Dod

Reply | Threaded
Open this post in threaded view
|

Bug#923265: libconfig-model-dpkg-perl: cme is unable to parse build dependencies built by npm2deb

Xavier Guimard-3
Le 27/02/2019 à 18:54, Dominique Dumont a écrit :

> On Mon, 25 Feb 2019 17:08:53 +0100 Xavier Guimard <[hidden email]> wrote:
>> npm2deb build dependencies using this format:
>>
>>   Build-Depends:
>>    debhelper (>= 11)
>>    , nodejs (>= 6)
>
> Right ....
>
> Could you send me a link to the whole control file ? (so that I can create a
> complete test case).
>
> All the best
>
> Dod

Thanks for looking at this. An example can be found here:
https://salsa.debian.org/js-team/node-millstone,
https://salsa.debian.org/js-team/node-millstone/blob/master/debian/control

Cheers,
Xavier