Page MenuHomeFreeBSD

New port: devel/capnproto
AbandonedPublic

Authored by jonathan on Oct 19 2017, 10:39 PM.

Details

Reviewers
None
Group Reviewers
Contributor Reviewers (ports)
Summary

Cap'n Proto is an insanely fast data interchange format and capability-based RPC system.

WWW: https://capnproto.org/

Test Plan

portlint: OK (looks fine.)
testport: OK (poudriere: 0.6.1, amd64, no options, Python v2.7, https://allendale.engr.mun.ca/poudriere-logs/cadets-head-ports-svn/2017-10-19_22h32m51s/build.html)

Diff Detail

Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 12134
Build 12435: arc lint + arc unit

Event Timeline

jonathan created this revision.Oct 19 2017, 10:39 PM
tobik added a subscriber: tobik.Oct 19 2017, 11:06 PM

Where's the pkg-plist? Have you done a test build in Poudriere?

devel/capnproto/Makefile
5
DISTVERSIONPREFIX=	v
DISTVERSION=	0.6.1
15

Drop the +

USES=

dbaio added a subscriber: dbaio.Oct 19 2017, 11:11 PM
dbaio added inline comments.
devel/capnproto/Makefile
7

And you can remove MASTER_SITES as you are using Github.

jonathan updated this revision to Diff 34160.Oct 19 2017, 11:52 PM
  • Commit missing pkg-plist
  • Remove MASTER_SITES.
  • Replace USES+= with USES=.

Where's the pkg-plist?

Oops! I've now committed it to this branch, thanks.

Have you done a test build in Poudriere?

I haven't, no... I'll get that started now.

jonathan marked 2 inline comments as done.Oct 19 2017, 11:55 PM
jonathan updated this revision to Diff 34161.Oct 19 2017, 11:57 PM
jonathan marked an inline comment as done.
  • Break out version prefix.
jonathan edited the summary of this revision. (Show Details)Oct 20 2017, 3:38 PM
jonathan edited the test plan for this revision. (Show Details)

[...] Have you done a test build in Poudriere?

The Poudriere build is now complete:
https://allendale.engr.mun.ca/poudriere-logs/cadets-head-ports-svn/2017-10-19_22h32m51s/build.html

dbaio added a comment.Oct 20 2017, 3:59 PM

Builded fine in 11-[amd64|i386] and CURRENT-[amd64|i386].
Problem here in 10-[amd64|i386].

Logs are here:
10-amd64
10-i386

Builded fine in 11-[amd64|i386] and CURRENT-[amd64|i386].
Problem here in 10-[amd64|i386].
Logs are here:
10-amd64
10-i386

I suspect the problem is that 10-STABLE's version of Clang is too old. I will try building on 10 with USES= compiler:c++11-lib.

mat added a subscriber: mat.Oct 26 2017, 2:56 PM
mat added inline comments.
devel/capnproto/Makefile
17

missing tab.

dbaio added a comment.Nov 4 2017, 12:24 PM

Builded fine in 11-[amd64|i386] and CURRENT-[amd64|i386].
Problem here in 10-[amd64|i386].
Logs are here:
10-amd64
10-i386

I suspect the problem is that 10-STABLE's version of Clang is too old. I will try building on 10 with USES= compiler:c++11-lib.

With USES= compiler:c++11-lib didn't work here.
10-amd64 Clang 3.4.1

With GCC it worked:

.include <bsd.port.pre.mk>

# https://github.com/capnproto/capnproto/blob/master/doc/install.md#supported-compilers
.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 35
USE_GCC= yes
.endif

.include <bsd.port.post.mk>
jonathan abandoned this revision.Feb 28 2018, 6:41 PM

Figuring out the 10.x compatibility isn't worth it for me any more, as the project I was thinking of using Cap'n Proto for has moved on.