Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 608144 - app-arch/lz4-1.7.5 empty version in liblz4.pc
Summary: app-arch/lz4-1.7.5 empty version in liblz4.pc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Richard Yao (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-03 18:48 UTC by Johannes Hirte
Modified: 2017-02-05 10:13 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Hirte 2017-02-03 18:48:44 UTC
In app-arch/lz4-1.7.5 the version-field in liblz4.pc is left empty. This leads packages that depend on this like app-emulation/spice to fail during configure:

configure:13849: checking for LZ4
configure:13856: $PKG_CONFIG --exists --print-errors "liblz4 >= 129"
Requested 'liblz4 >= 129' but version of lz4 is 
You may find new versions of lz4 at http://www.lz4.org/
configure:13859: $? = 1
configure:13873: $PKG_CONFIG --exists --print-errors "liblz4 >= 129"
Requested 'liblz4 >= 129' but version of lz4 is 
You may find new versions of lz4 at http://www.lz4.org/
configure:13876: $? = 1
configure:13890: result: no
Requested 'liblz4 >= 129' but version of lz4 is 
You may find new versions of lz4 at http://www.lz4.org/
configure:13924: error: lz4 support requested but liblz4 could not be found

workaround for me was setting the value by hand, but this needs really to be fixed.

Reproducible: Always
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-02-05 08:38:35 UTC
I'll look into it. However, I should note that upstream 'rebooted' versioning, so '>= 129' will not work anyway.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-02-05 10:13:24 UTC
commit 7bd1e138670b484e76bf52736f65ceac37305ba2
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: Sun Feb 5 11:10:58 2017
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: Sun Feb 5 11:12:45 2017

    app-arch/lz4: Fix missing Version in .pc, #608144

 app-arch/lz4/{lz4-1.7.5.ebuild => lz4-1.7.5-r1.ebuild} | 3 +++
 1 file changed, 3 insertions(+)