Created attachment 158684 [details] A C library implementation of the Apache Kafka protocol C library implementation of the Apache Kafka protocol, containing both Producer and Consumer support. WWW: https://github.com/edenhill/librdkafka/
The shar file seems broken, please resend another one, thanks.
Created attachment 158703 [details] fixed librdkafka.shar fixed shar
testing@work
It builds on 10.1a and 9.3a. It fails to build on i386, due to: snappy.c:133:19: error: unused function 'find_lsb_set_non_zero64' [-Werror,-Wunused-function] Using GH_TAGNAME= e3d98484a fixes this and the patch-configure is also no longer needed. If the submitter approves, I can commit this.
A commit references this bug: Author: pi Date: Fri Jul 24 11:14:43 UTC 2015 New revision: 392820 URL: https://svnweb.freebsd.org/changeset/ports/392820 Log: New port: net/librdkafka This is a port of librdkafka, a C library implementation of the Apache Kafka protocol, containing both Producer and Consumer support. It was designed with message delivery reliability and high performance in mind, current figures exceed 800000 msgs/second for the producer and 3 million msgs/second for the consumer. WWW: https://github.com/edenhill/librdkafka/ PR: 201521 Submitted by: Victor Yagofarov <xnasx@yandex.ru> Changes: head/net/Makefile head/net/librdkafka/ head/net/librdkafka/Makefile head/net/librdkafka/distinfo head/net/librdkafka/pkg-descr head/net/librdkafka/pkg-plist
Submitter feedback received, committed, thank you very much!
Build failed on freebsd.org's poudriere at Configure phase: http://beefy1.nyi.freebsd.org/data/93i386-default/392908/logs/librdkafka-0.8.6.log "checking for __atomic_32 (by compile)... failed" and other errors about "*atomic*" But it's ok on my company poudriere and two my PC's. Any idias how to fix it?
I also have this build failure on 9.3i with poudriere. No idea for a fix right now.
The solution is adding "-march=pentium" into compiler flags. But it is hard for me to write a patch for this configure scripts.
A commit references this bug: Author: pi Date: Sun Aug 2 18:59:02 UTC 2015 New revision: 393439 URL: https://svnweb.freebsd.org/changeset/ports/393439 Log: net/librdkafka: fix build on 9.3-i386 - Adding -march=pentium to CFLAGS on this arch PR: 201521 Submitted by: Victor Yagofarov <xnasx@yandex.ru> (maintainer) Changes: head/net/librdkafka/Makefile
Thanks for the hint, this allowed me to put a fix in the Makefile.