Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 833895 - sys-libs/liburing-2.1 installs liburing.pc stating version 2.0
Summary: sys-libs/liburing-2.1 installs liburing.pc stating version 2.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-22 15:16 UTC by Florian Schmaus
Modified: 2022-04-12 02:00 UTC (History)
1 user (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 Florian Schmaus gentoo-dev 2022-02-22 15:16:20 UTC
Blast from the past. It appears that bug #809095 happened again: liburing-2.1 installations state in their package config files that they are version 2.0.
Comment 1 Florian Schmaus gentoo-dev 2022-02-22 15:18:26 UTC
Similar to last time, backporting e80b7ae99326 ("liburing.spec: bump to version 2.1") should fix this.
Comment 2 Larry the Git Cow gentoo-dev 2022-02-22 15:33:15 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aee2389acc66f1555ff924525c7b56bba2575b0d

commit aee2389acc66f1555ff924525c7b56bba2575b0d
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2022-02-22 15:28:41 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2022-02-22 15:33:07 +0000

    sys-libs/liburing: Revbump to fix version in pkgconfig files
    
    Closes: https://bugs.gentoo.org/833895
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 .../liburing/{liburing-2.1.ebuild => liburing-2.1-r1.ebuild}  | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-02-22 19:36:00 UTC
I'd suggest reading the .pc file in the ebuild, comparing with PV, and dying if it doesn't match, to allow it to be fixed/reported upstream properly.

A sed might mean we don't realise it's set improperly (sed malfunctioning/mismatching) and at the very least means it doesn't get sent upstream.
Comment 4 Larry the Git Cow gentoo-dev 2022-04-12 02:00:04 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/portage.git/commit/?id=7aa2e188d6732088ae2a2926cc465988e4f117f9

commit 7aa2e188d6732088ae2a2926cc465988e4f117f9
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-02-23 01:26:11 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-04-12 01:59:54 +0000

    install-qa-check.d/60pkgconfig: check for mismatched version
    
    We want to try catch cases where we're installing a pkg-config (.pc)
    file with an obviously incorrect version (here, we're testing for
    ${PV} != any version in all of the installed .pc files) because:
    1. it's bad;
    2. it has a large blast radius (breaking consumers).
    
    Bug: https://bugs.gentoo.org/833895
    Bug: https://bugs.gentoo.org/833887
    Bug: https://bugs.gentoo.org/833907
    Bug: https://bugs.gentoo.org/833884
    Bug: https://bugs.gentoo.org/833888
    Signed-off-by: Sam James <sam@gentoo.org>

 bin/install-qa-check.d/60pkgconfig | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)