FS#77257 - [librdkafka] broken pkgconf file (Requires: 'curl' not 'libcurl')

Attached to Project: Community Packages
Opened by Paul Stemmet (pbazaah) - Wednesday, 25 January 2023, 09:56 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 23 May 2023, 04:05 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Anatol Pomozov (anatolik)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

So this is a PSA not an issue for Archlinux directly.

Currently, this package generates a faulty rdkafka.pc that erroneously depends on a
'curl' pkgconf module, rather than the correct 'libcurl'.

I've opened an issue with the upstream here: https://github.com/confluentinc/librdkafka/issues/4155
And my original investigation is tracked here: https://github.com/bazaah/aur-ceph/issues/11

Until this is fixed, anything depending on rdkafka and using pkgconf (e.g cmake's FindPkgConfig [1] module)


[1]: https://cmake.org/cmake/help/latest/module/FindPkgConfig.html

---

Additional info:

* package version(s)
v2.0.0+

* config and/or log files etc.
Output of pkgconf when searching for rdkafka:

> Package curl was not found in the pkg-config search path.
> Perhaps you should add the directory containing `curl.pc'
> to the PKG_CONFIG_PATH environment variable
> Package 'curl', required by 'rdkafka', not found

* link to upstream bug report, if any
https://github.com/confluentinc/librdkafka/issues/4155

Steps to reproduce:
1. pacman -Sy --needed --noconfirm pkgconf librdkafka
2. pkg-config --print-requires --print-variables --modversion rdkafka
This task depends upon

Closed by  Toolybird (Toolybird)
Tuesday, 23 May 2023, 04:05 GMT
Reason for closing:  Fixed
Additional comments about closing:  librdkafka 2.1.0-1
Comment by Toolybird (Toolybird) - Wednesday, 25 January 2023, 21:33 GMT
Thanks for PSA. We await a fix from upstream..

Loading...