[Bug 1761418] [NEW] pkg-config --modversion libargon2 reports wrong version

Herbert V. Riedel hvriedel at gmail.com
Thu Apr 5 08:53:59 UTC 2018


Public bug reported:

Currently on a Ubuntu 18.04 (alpha/beta) installation,

  pkg-config --modversion libargon2

reports

  0~20161029

instead of the expected

  20161029

output.

This however conflicts with the upstream pkg-config template,

  https://github.com/P-H-C/phc-winner-argon2/blob/master/libargon2.pc

which advises the version 20161029 w/o a prefixed `0~` to be advertised.

This breaks scripting which either parses the version reported by
pkg-config (e.g. `cabal`) or also scripting like

  pkg-config --atleast-version=20161029 libargon2

which then fails to report the correct status.

** Affects: argon2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to argon2 in Ubuntu.
https://bugs.launchpad.net/bugs/1761418

Title:
  pkg-config --modversion libargon2 reports wrong version

Status in argon2 package in Ubuntu:
  New

Bug description:
  Currently on a Ubuntu 18.04 (alpha/beta) installation,

    pkg-config --modversion libargon2

  reports

    0~20161029

  instead of the expected

    20161029

  output.

  This however conflicts with the upstream pkg-config template,

    https://github.com/P-H-C/phc-winner-argon2/blob/master/libargon2.pc

  which advises the version 20161029 w/o a prefixed `0~` to be
  advertised.

  This breaks scripting which either parses the version reported by
  pkg-config (e.g. `cabal`) or also scripting like

    pkg-config --atleast-version=20161029 libargon2

  which then fails to report the correct status.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/argon2/+bug/1761418/+subscriptions



More information about the foundations-bugs mailing list