xxhash: broken pkgconfig file

Bug #1911152 reported by Gianfranco Costamagna
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xxhash (Debian)
Fix Released
Unknown
xxhash (Ubuntu)
Fix Released
Undecided
Unassigned
Groovy
Fix Released
Undecided
Unassigned

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

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

Uploaded in unapproved queue

Changed in xxhash (Ubuntu):
status: New → Fix Released
Changed in xxhash (Ubuntu Groovy):
status: New → In Progress
description: updated
Revision history for this message
Andy Whitcroft (apw) wrote : Please test proposed package

Hello Gianfranco, or anyone else affected,

Accepted xxhash into groovy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/xxhash/0.8.0-1ubuntu1.20.10.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-groovy to verification-done-groovy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-groovy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in xxhash (Ubuntu Groovy):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-groovy
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

Yay for the fixed version!

thanks!

# xxHash - Extremely fast hash algorithm
# Copyright (C) 2012-2020, Yann Collet, Facebook
# BSD 2-Clause License (https://www.opensource.org/licenses/bsd-license.php)

prefix=/usr
exec_prefix=${prefix}
includedir=${prefix}/include
libdir=${exec_prefix}/lib/x86_64-linux-gnu

Name: xxhash
Description: extremely fast hash algorithm
URL: https://www.xxhash.com/
Version: 0.8.0
Libs: -L${libdir} -lxxhash
Cflags: -I${includedir}

tags: added: verification-done verification-done-groovy
removed: verification-needed verification-needed-groovy
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

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

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

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xxhash - 0.8.0-1ubuntu1.20.10.1

---------------
xxhash (0.8.0-1ubuntu1.20.10.1) groovy; urgency=medium

  * Cherry-pick upstream: Fix empty version in .pc file (Closes: #979758)
    LP: #1911152

 -- Gianfranco Costamagna <email address hidden> Tue, 12 Jan 2021 12:17:01 +0100

Changed in xxhash (Ubuntu Groovy):
status: Fix Committed → Fix Released
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Update Released

The verification of the Stable Release Update for xxhash has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Changed in xxhash (Debian):
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.