Bug 201400 - [NEW PORT] devel/librdkafka: A C library implementation of the Apache Kafka protocol
Summary: [NEW PORT] devel/librdkafka: A C library implementation of the Apache Kafka p...
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-07 13:39 UTC by xoan
Modified: 2015-08-10 17:20 UTC (History)
1 user (show)

See Also:


Attachments
Attached shar file (1.36 KB, text/plain)
2015-07-07 13:39 UTC, xoan
no flags Details
librdkafka shar file ( fixed) (1.33 KB, text/plain)
2015-07-08 12:01 UTC, xoan
no flags Details
librdkafka shar file (added SHEBANG_FILES= configure*) (1.36 KB, text/plain)
2015-07-16 15:37 UTC, xoan
no flags Details
make install log (16.78 KB, text/plain)
2015-07-16 15:38 UTC, xoan
no flags Details
librdkafka.shar (1.82 KB, text/plain)
2015-07-16 20:16 UTC, Krzysztof
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description xoan 2015-07-07 13:39:40 UTC
Created attachment 158504 [details]
Attached shar file

New port for apache kafka library, usefull to use with devel/collectd5 for the write_kafka plugin
Comment 1 Dmitry Marakasov freebsd_committer freebsd_triage 2015-07-07 20:56:01 UTC
- 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.
Comment 2 xoan 2015-07-08 12:01:49 UTC
Created attachment 158530 [details]
librdkafka shar file ( fixed)

New shar file with fixes for all comments below
Comment 3 Krzysztof 2015-07-14 13:24:53 UTC
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!
Comment 4 xoan 2015-07-16 15:37:13 UTC
Created attachment 158850 [details]
librdkafka shar file (added SHEBANG_FILES=  configure*)

Added SHEBANG_FILES=  configure*
Comment 5 xoan 2015-07-16 15:38:11 UTC
Created attachment 158852 [details]
make install log
Comment 6 Krzysztof 2015-07-16 20:16:55 UTC
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
Comment 7 xoan 2015-08-10 17:20:49 UTC
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