Created attachment 158504 [details] Attached shar file New port for apache kafka library, usefull to use with devel/collectd5 for the write_kafka plugin
- The source repository has tags, you should use these instead of commit (just drop GH_TAGNAME). - GH_PROJECT= should also be dropped, as it's redundant - It doesn't configure ===> Configuring for librdkafka-0.8.6 env: ./configure: No such file or directory ===> Script "configure" failed unexpectedly. configure has /bin/bash shebang - that should be fixed with USES=shebangfix and bash build-dependency added. - There are portlint warnings: % portlint WARN: pkg-descr: includes lines that exceed 80 characters. WARN: Makefile: Consider defining LICENSE. 0 fatal errors and 2 warnings found.
Created attachment 158530 [details] librdkafka shar file ( fixed) New shar file with fixes for all comments below
I'm just truing to test this port. I can see that there is an error inside: it seems that configure script going to recursive infinite loop inside (try run bash -x configure). So you have to check what's wrong with this script. And I've made simple patch for configure: s!/bin/bash!/usr/local/bin/bash!
Created attachment 158850 [details] librdkafka shar file (added SHEBANG_FILES= configure*) Added SHEBANG_FILES= configure*
Created attachment 158852 [details] make install log
Created attachment 158867 [details] librdkafka.shar I've modified Makefile and added pkg-plist file. This time poudriere did not complain about errors. Fulle testport log is available at https://rtm.bsdserwis.com/poudriere/data/a1amd64-testing/2015-07-16_22h11m40s/logs/librdkafka-0.8.6.log
In the mean time a port for librdkafka has been commited under https://reviews.freebsd.org/rP392820 and it is already available under /usr/ports/net/librdkafka so I will close this request