[Bug 1911152] Re: xxhash: broken pkgconfig file

Gianfranco Costamagna 1911152 at bugs.launchpad.net
Tue Jan 12 15:49:45 UTC 2021


>>> import pkgconfig
>>> pkgconfig.installed('libxxhash', '>= 0.7.3')
False


after installing the new version:
>>> pkgconfig.installed('libxxhash', '>= 0.7.3')
True

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

Title:
  xxhash: broken pkgconfig file

Status in xxhash package in Ubuntu:
  Fix Released
Status in xxhash source package in Groovy:
  Fix Committed
Status in xxhash package in Debian:
  Unknown

Bug description:
  [ Description ]
  From my Debian bug report:

  Source: xxhash
  Version: 0.8.0-1
  Severity: serious
  tags: patch

  Hello, after trying hard to see why python3-pkgconfig was not
  detecting xxhash I discovered that the Version field was empty

  https://github.com/Cyan4973/xxHash/commit/b4dbf5fefc37b8a5f80b3bbc6b8ff639cf5f0ec2

  This trivial commit fixes it.

  
  [ Test Case ]
  Check and open the pkgconfig file for the Version string, it shouldn't be empty

  To reproduce:
  $ python3

  >>> import pkgconfig
  >>> pkgconfig.installed('libxxhash', '>= 0.7.3')
  True

  This is what is expected

  If python gives false, this means that the library is not really found
  due to the version mismatch

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



More information about the foundations-bugs mailing list