Created attachment 223057 [details]
Libserdes is a schema-based serializer/deserializer
C/C++ library with support for Avro and the Confluent
Platform Schema Registry.
It's a new dependency for net/kafkacat introduced in #254093 update.
Poudriere passes fine on amd64 and i386 :)
In my real world box I get from the make:
====> Running Q/A tests (stage-qa)
Error: /usr/local/lib/libserdes.so.1 is linked to /usr/local/lib/librdkafka++.so.1 from net/librdkafka but it is not declared as a dependency
Warning: you need LIB_DEPENDS+=librdkafka++.so:net/librdkafka
So it seems, libserdes would like to have net/librdkafka as a dependency. If it is there, it is linked. You can find concrete hints for the usage in configure.self:
# Semi optional libs
mkl_lib_check "librdkafka" ENABLE_LIBRDKAFKA disable CXX "-lrdkafka++" \
Would it be OK for you, if a add this dependency before the commit?
(In reply to Rainer Hurling from comment #1)
"Semi optional" :(
I don't see a way to make it explicitly. Ok, let's add librdkafka as a dependency.
Thank you! I've always assumed poudriere testing is enough, seems I was wrong.
(In reply to Sergey Akhmatov from comment #2)
> I don't see a way to make it explicitly. Ok, let's add librdkafka
> as a dependency.
> Thank you! I've always assumed poudriere testing is enough, seems I was wrong.
I think Poudriere is doing exactly what it is asked to do.
This "semi-optional" thing in libserdes is not the best way to ask for a dependency :(
A commit references this bug:
Date: Sun Mar 7 15:34:47 UTC 2021
New revision: 567573
New port: devel/libserdes: schema-based serializer/deserializer C/C++ library
With support for Avro and the Confluent Platform Schema Registry.
The library is aimed to be used in the streaming pipeline, e.g.
Apache Kafka, to perform data serialization and deserialization
with centrally managed schemas.
Submitted by: Sergey Akhmatov <firstname.lastname@example.org> (maintainer)
net/librdkafka was added, because it is mentioned as a 'semi-optional' dependency in configure.self and will be linked, if present ...