Created attachment 223057 [details] libserdes-6.0.2 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++" \ "#include <librdkafka/rdkafkacpp.h>" 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: Author: rhurlin Date: Sun Mar 7 15:34:47 UTC 2021 New revision: 567573 URL: https://svnweb.freebsd.org/changeset/ports/567573 Log: 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. https://github.com/confluentinc/libserdes PR: 254099 Submitted by: Sergey Akhmatov <sergey@akhmatov.ru> (maintainer) Changes: head/devel/Makefile head/devel/libserdes/ head/devel/libserdes/Makefile head/devel/libserdes/distinfo head/devel/libserdes/pkg-descr head/devel/libserdes/pkg-plist
Committing, thanks! net/librdkafka was added, because it is mentioned as a 'semi-optional' dependency in configure.self and will be linked, if present ...