hiredis_ssl.pc is installed with prefix set to $ED: prefix=/var/tmp/portage/dev-libs/hiredis-1.1.0/image/usr exec_prefix=${prefix} libdir=/var/tmp/portage/dev-libs/hiredis-1.1.0/image/usr/lib64 includedir=/var/tmp/portage/dev-libs/hiredis-1.1.0/image/usr/include pkgincludedir=/var/tmp/portage/dev-libs/hiredis-1.1.0/image/usr/include/hiredis Name: hiredis_ssl Description: SSL Support for hiredis. Version: 1.1.0 Requires: hiredis Libs: -L${libdir} -lhiredis_ssl Libs.private: -lssl -lcrypto Both available versions, 1.0.2 and 1.1.0 are affected. This happens because hiredis_ssl.pc is generated in install phase unlike hiredis.pc which is generated in compile phase.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e664103008aca17204231ff46d55c01362ea5b8 commit 5e664103008aca17204231ff46d55c01362ea5b8 Author: Petr Vaněk <arkamar@atlas.cz> AuthorDate: 2023-08-16 14:50:47 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-08-17 06:22:35 +0000 dev-libs/hiredis: Correct prefix in hiredis_ssl.pc Ensure hiredis_ssl.pc is generated during the compile phase. Without this, it contains the $ED prefix from the install phase. It's safe to generate it, even if not installed when USE=-ssl is specified. Closes: https://bugs.gentoo.org/912367 Signed-off-by: Petr Vaněk <arkamar@atlas.cz> Closes: https://github.com/gentoo/gentoo/pull/32345 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/hiredis/{hiredis-1.0.2-r2.ebuild => hiredis-1.0.2-r3.ebuild} | 4 ++-- dev-libs/hiredis/{hiredis-1.1.0.ebuild => hiredis-1.1.0-r1.ebuild} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)