The latest stable release of Apache Cassandra version 2.0.4 Fix: Patch attached with submission follows:
Hi, if you are still interested in having this port in FreeBSD, it may need to be reworked to support stage, and it could need updating to other newer conventions such as "USES" which is expanding all time. See http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-May/000080.html Additionally, you need to provide some sort of quality assurance. In order of preference, we are looking for: 1) "poudriere testport" or "poudriere bulk -t" logs 2) Redports or tinderbox logs Please provide an updated shar file and attach a test log. Alternatively, please indicate if you are no longer interested in having this software in the Ports Collection and that we can close the PR. Thanks!
I apologize, but after 30 September I'm going to close all *unstaged* "new port" PRs, even if it is through no fault of the submitter. If you are still interested in getting the port into tree, please provide an updated share and some build verification (poudriere logs, redports logs, or Porter's Handbook[1]). If you do that, we'll fast-track the port into the tree. I'm sorry about this. "make check-plist" followed by "make stage-qa" output (https://www.freebsd.org/doc/en/books/porters-handbook/porting-testing.html)
Created attachment 146342 [details] Updated port shar file Here is an updated shar file to support staging. It also has latest Cassandra version.
The updated patch passed all tests as described in https://www.freebsd.org/doc/en/books/porters-handbook/porting-testing.html. I will provide poudriere logs when I get them (building java will take a LOT of time and space). Yours, Aleksey
great! understood and looking forward to seeing them.
Created attachment 146364 [details] Fixed pkg-plist as compained by poudriere
Created attachment 146365 [details] poudriere log
I sometimes feel very strict when I insist on logs, but when I see new submissions prior to the log attachment, I feel better. :) I was going to move this to patch-ready, but I see some immediate minor issues. MUST BE FIXED: 1) in the post-install and do-install targets, you precede all commands with "@". This suppresses the output and it is not allowed (with an exception made for mkdir commands) 2) It looks like tab alignment is all over the place. Use tabs=8 spaces 3) PORTDOCS is defined unconditionally. Remove the PORT_OPTIONS:MDOCS condition around it. staging takes care of this. (see https://www.freebsd.org/doc/en/books/porters-handbook/install.html#install-documentation ) 4) Remove post-install target, not necessary anymore (done automatically) NOT STRICTLY NECESSSARY BUT FIX IT ANYWAY A) Convert this to OPTIONS_SUB=yes to remove the need for PLIST_SUB https://www.freebsd.org/doc/en/books/porters-handbook/makefile-options.html B) use <OPT>_RUN_DEPENDS and <OPT>_USES (see same page above) Thanks! sorry about that, but either you fix it or a committer has to.
oops, i didn't mean to put this as patch-ready. That was my original plan though..
Created attachment 146388 [details] Updated Makefile per @John comment
Created attachment 146389 [details] Latest poudriere log
it looks like you got everything except for 3) did you have issue with that? disagree? forgot it?
Sorry, John. I missed the second condition. Working on it.
Created attachment 146401 [details] Removed DOC condition
Created attachment 146402 [details] Latest poudriere log
John, Any chance someone look at two other Cassandra's related ports: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=186055 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=186057 They were submitter about same time. I updated them to work with stage today. -- A
Okay, I think I've tortured you enough, moving this up to patch-ready pool. I'll take a quick look at the other PRs you mention.
As I mentioned on one of those PRs, they are already assigned to perl@ so there is nothing more I can do. The right people are in control of them.
I hope so. Just no comments from them for 8 months...
With option CQL this happens: .if ${PORT_OPTIONS:MCQL} ${PYTHON_CMD} -m compileall ${WRKSRC}/pylib .endif ends with: ===> Configuring for cassandra-2.0.10 ===> Building for cassandra-2.0.10 -m compileall /usr/local/home/pi/myp/databases/cassandra2/work/apache-cassandra-2.0.10/pylib make[1]: exec(-m) failed (No such file or directory) *** Error code 1 I don't know where PYTHON_CMD should be defined. If we find a fix for this, I can commit it.
> I don't know where PYTHON_CMD should be defined. If we find a fix for this, > I can commit it. Ah: USES=python:2 brings in the _CMD... One annoyance: portlint -AC has lots of SPACE vrs. TAB issues.
A commit references this bug: Author: pi Date: Fri Aug 29 07:18:12 UTC 2014 New revision: 366464 URL: http://svnweb.freebsd.org/changeset/ports/366464 Log: New port: databases/cassandra2 Cassandra is a highly scalable, eventually consistent, distributed, structured key-value store. Cassandra brings together the distributed systems technologies from Dynamo and the data model from Google's BigTable. Like Dynamo, Cassandra is eventually consistent. Like BigTable, Cassandra provides a ColumnFamily-based data model richer than typical key/value systems. Cassandra was open sourced by Facebook in 2008, where it was designed by one of the authors of Amazon's Dynamo. In a lot of ways you can think of Cassandra as Dynamo 2.0. Cassandra is in production use at Facebook but is still under heavy development. WWW: http://cassandra.apache.org/ The previous version is still available as databases/cassandra. PR: 186056 Submitted by: admins@perceptyx.com Changes: head/databases/Makefile head/databases/cassandra2/ head/databases/cassandra2/Makefile head/databases/cassandra2/distinfo head/databases/cassandra2/files/ head/databases/cassandra2/files/cassandra.in head/databases/cassandra2/files/patch-env head/databases/cassandra2/files/repaircluster.in head/databases/cassandra2/pkg-deinstall head/databases/cassandra2/pkg-descr head/databases/cassandra2/pkg-install head/databases/cassandra2/pkg-plist
Committed with minor changes, thank you for your patience!
Created attachment 146486 [details] Fixed duplicate LATEST_LINKs
Created attachment 146487 [details] Latest poudriere log
I added PKGNAMESUFFIX to avoid LATEST_LINKs duplicate.
Already fixed by antoine@ in r366508.