Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 939814 - dev-util/pkgconf-2.2.0: not using more modules from [list of modules]
Summary: dev-util/pkgconf-2.2.0: not using more modules from [list of modules]
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-18 13:22 UTC by Petr Bahula
Modified: 2024-09-18 14:20 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 Petr Bahula 2024-09-18 13:22:15 UTC
Unexpected behaviour change between versions 1.6.3 and 2.2.0 when using --print-requires argument with multiple modules. Seems that behaviour changed when version 2.X was introduced. There was no change to man pages, which leads me to conclusion that this is unwanted regression. 


Wrong behaviour:

$ pkg-config --version
2.2.0

$ pkg-config --print-requires atk
glib-2.0 >= 2.67.4
gobject-2.0 >= 2.0.0

$ pkg-config --print-requires atspi-2
dbus-1 >= 1.5
glib-2.0 >= 2.67.4

$ pkg-config --print-requires atk atspi-2
glib-2.0 >= 2.67.4
gobject-2.0 >= 2.0.0
^^^ here is missing print-requires for atspi-2


Correct behaviouir (with old version):
$ pkg-config --version
1.6.3

$ pkg-config --print-requires atk atspi-2
glib-2.0 >= 2.38.0
gobject-2.0 >= 2.38.0
dbus-1
glib-2.0


Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-09-18 13:51:06 UTC
Would you mind filing an upstream bug at https://github.com/pkgconf/pkgconf/issues and linking it here?
Comment 2 Petr Bahula 2024-09-18 14:17:29 UTC
It is reported just now: https://github.com/pkgconf/pkgconf/issues/366
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-09-18 14:20:36 UTC
Thank you!