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

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

devel/capnproto/Makefile
4
DISTVERSIONPREFIX=	v
DISTVERSION=	0.6.1
14

Drop the +

USES=

dbaio added inline comments.
devel/capnproto/Makefile
6

And you can remove MASTER_SITES as you are using Github.

  • 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 an inline comment as done.
  • Break out version prefix.
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

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 inline comments.
devel/capnproto/Makefile
17

missing tab.

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>

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.