Changeset View
Standalone View
net/ceph/Makefile
# Created by: Willem Jan Withagen <wjw@digiware.nl> | # Created by: Willem Jan Withagen <wjw@digiware.nl> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= ceph | PORTNAME= ceph | ||||
DISTVERSION= v12.2.0 | DISTVERSION= v12.2.2 | ||||
ultima: DISTVERSIONPREFIX= v | |||||
Done Inline Actions@ultima wjw_digiware.nl: @ultima
Looks like a sensible one, will test once poudriere is done running the 11.1 version | |||||
PORTREVISION= 2 | |||||
CATEGORIES= net | CATEGORIES= net | ||||
MAINTAINER= wjw@digiware.nl | MAINTAINER= wjw@digiware.nl | ||||
COMMENT=Ceph delivers object, block, and file storage in a unified system | COMMENT=Ceph delivers object, block, and file storage in a unified system | ||||
LICENSE= GPLv2 LGPL3 | LICENSE= GPLv2 LGPL3 | ||||
LICENSE_COMB= dual | LICENSE_COMB= dual | ||||
# even though i386 will build, it is not really advised. | # even though i386 will build, it is not really advised. | ||||
ONLY_FOR_ARCHS= amd64 | ONLY_FOR_ARCHS= amd64 | ||||
IGNORE_FreeBSD_10= Doesnt build for FreeBSD 10.x | IGNORE_FreeBSD_10= Doesnt build for FreeBSD 10.x | ||||
BUILD_DEPENDS= \ | BUILD_DEPENDS= \ | ||||
yasm:devel/yasm \ | yasm:devel/yasm \ | ||||
pkgconf:devel/pkgconf \ | pkgconf:devel/pkgconf \ | ||||
sphinx-build:textproc/py-sphinx@${PY_FLAVOR} \ | cython:lang/cython \ | ||||
Done Inline ActionsConvert to USE_PYTHON=cython, see rP455210. jbeich: Convert to `USE_PYTHON=cython`, see rP455210. | |||||
Not Done Inline ActionsAh, I did add that line from the online version but did Sort of a pitty that changes by others to the port I maintain Will change wjw_digiware.nl: Ah, I did add that line from the online version but did
not remove this line.
Sort of a pitty… | |||||
sphinx-build:textproc/py-sphinx \ | |||||
gperf:devel/gperf \ | gperf:devel/gperf \ | ||||
${LOCALBASE}/lib/libatomic_ops.a:devel/libatomic_ops | ${LOCALBASE}/lib/libatomic_ops.a:devel/libatomic_ops | ||||
LIB_DEPENDS= \ | LIB_DEPENDS= \ | ||||
libboost_python.so:devel/boost-python-libs \ | libboost_python.so:devel/boost-python-libs \ | ||||
libboost_thread.so:devel/boost-libs \ | libboost_thread.so:devel/boost-libs \ | ||||
libleveldb.so:databases/leveldb \ | libleveldb.so:databases/leveldb \ | ||||
libldap.so:net/openldap24-client \ | libldap.so:net/openldap24-client \ | ||||
libnss3.so:security/nss \ | libnss3.so:security/nss \ | ||||
Show All 9 Lines | RUN_DEPENDS= \ | ||||
bash:shells/bash \ | bash:shells/bash \ | ||||
${LOCALBASE}/bin/getopt:misc/getopt \ | ${LOCALBASE}/bin/getopt:misc/getopt \ | ||||
xml:textproc/xmlstarlet \ | xml:textproc/xmlstarlet \ | ||||
jq:textproc/jq \ | jq:textproc/jq \ | ||||
flock:sysutils/flock \ | flock:sysutils/flock \ | ||||
virtualenv:devel/py-virtualenv@${PY_FLAVOR} \ | virtualenv:devel/py-virtualenv@${PY_FLAVOR} \ | ||||
${PYTHON_PKGNAMEPREFIX}prettytable>=0:devel/py-prettytable@${PY_FLAVOR} | ${PYTHON_PKGNAMEPREFIX}prettytable>=0:devel/py-prettytable@${PY_FLAVOR} | ||||
CONFLICTS_INSTALL= ceph-devel | CONFLICTS_INSTALL= ceph-devel | ||||
USES= gmake cmake:outsource,noninja python:2.7 fuse gettext-runtime shebangfix | USES= gmake cmake:outsource,noninja python:2.7 fuse gettext-runtime shebangfix | ||||
USE_PYTHON= cython | USE_PYTHON= cython | ||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
GH_ACCOUNT= ceph:DEFAULT | GH_ACCOUNT= ceph:DEFAULT | ||||
GH_TUPLE+= ceph:ceph-erasure-code-corpus:2d7d78b:ceph_erasure_code_corpus/ceph-erasure-code-corpus | GH_TUPLE+= ceph:ceph-erasure-code-corpus:2d7d78b:ceph_erasure_code_corpus/ceph-erasure-code-corpus | ||||
GH_TUPLE+= ceph:ceph-object-corpus:f0ba19f:ceph_object_corpus/ceph-object-corpus | GH_TUPLE+= ceph:ceph-object-corpus:f0ba19f:ceph_object_corpus/ceph-object-corpus | ||||
GH_TUPLE+= ceph:Beast:d8db5f1:Beast/src/Beast | |||||
GH_TUPLE+= ceph:civetweb:de23828:civetweb/src/civetweb | GH_TUPLE+= ceph:civetweb:de23828:civetweb/src/civetweb | ||||
GH_TUPLE+= 01org:isa-l_crypto:603529a:isa_l_crypto/src/crypto/isa-l/isa-l_crypto | GH_TUPLE+= 01org:isa-l_crypto:603529a:isa_l_crypto/src/crypto/isa-l/isa-l_crypto | ||||
GH_TUPLE+= ceph:gf-complete:7e61b44:gf_complete/src/erasure-code/jerasure/gf-complete | GH_TUPLE+= ceph:gf-complete:7e61b44:gf_complete/src/erasure-code/jerasure/gf-complete | ||||
GH_TUPLE+= ceph:jerasure:96c76b8:jerasure/src/erasure-code/jerasure/jerasure | GH_TUPLE+= ceph:jerasure:96c76b8:jerasure/src/erasure-code/jerasure/jerasure | ||||
GH_TUPLE+= ceph:googletest:fdb8504:googletest/src/googletest | GH_TUPLE+= ceph:googletest:fdb8504:googletest/src/googletest | ||||
GH_TUPLE+= ceph:isa-l:7e1a337:isa_l/src/isa-l | GH_TUPLE+= ceph:isa-l:7e1a337:isa_l/src/isa-l | ||||
GH_TUPLE+= ceph:lua:1fce39c:lua/src/lua | GH_TUPLE+= ceph:lua:1fce39c:lua/src/lua | ||||
GH_TUPLE+= ceph:rapidjson:f54b0e4:rapidjson/src/rapidjson | GH_TUPLE+= ceph:rapidjson:f54b0e4:rapidjson/src/rapidjson | ||||
GH_TUPLE+= ceph:rocksdb:e15382c:rocksdb/src/rocksdb | GH_TUPLE+= ceph:rocksdb:e15382c:rocksdb/src/rocksdb | ||||
GH_TUPLE+= ceph:xxHash:1f40c65:xxHash/src/xxHash | GH_TUPLE+= ceph:xxHash:1f40c65:xxHash/src/xxHash | ||||
GH_TUPLE+= facebook:zstd:dc99312:zstd/src/zstd | GH_TUPLE+= facebook:zstd:dc99312:zstd/src/zstd | ||||
CMAKE_BUILD_TYPE= Release | CMAKE_BUILD_TYPE= Release | ||||
CMAKE_ARGS= \ | CMAKE_ARGS= \ | ||||
-D CMAKE_C_LINK_FLAGS:STRING=" -v -v -fuse-ld=/usr/bin/ld.lld" \ | |||||
-D CMAKE_CXX_LINK_FLAGS:STRING=" -v -v -fuse-ld=/usr/bin/ld.lld" \ | |||||
Not Done Inline ActionsWhy do you need LLD? If it's just to fix build maybe try the following: .if ${/usr/bin/ld:L:tA} != "/usr/bin/ld.lld" # <describe rationale or error message briefly> USE_BINUTILS= yes LDFLAGS+= -B${LOCALBASE}/bin .endif
jbeich: Why do you need LLD? If it's just to fix build maybe try the following:
```lang=bsdmake
.if… | |||||
Not Done Inline Actions@jbeich wjw_digiware.nl: @jbeich
This `.if-.endif` construct prevents misery on 11.1?
Because it seems to work for me… | |||||
Not Done Inline ActionsI haven't tested in net/ceph yet but the conditional is based on rP457430 which itself is based on rP448576 and relies on ld.lld being a symlink (unlike ld.bfd). -B${LOCALBASE}/bin doesn't force LLD, so is less likely to break custom LDFLAGS in make.conf or on architectures still stuck with GCC (powerpc*). jbeich: I haven't tested in net/ceph yet but the conditional is based on rP457430 which itself is based… | |||||
Not Done Inline ActionsWould not be able to help with PPC stuff if it broke. :) wjw_digiware.nl: Would not be able to help with PPC stuff if it broke. :)
Running it now in my 11.1 poudriere… | |||||
Not Done Inline Actionsceph-12.2.2 built fine on 11.1 against boost 1.65.1 with the above workaround instead of -fuse-ld=. jbeich: ceph-12.2.2 [built fine on 11.1](https://ptpb.pw/0ICp) against boost 1.65.1 with the above… | |||||
Not Done Inline ActionsYup, this is what I found in my poudriere this morning. wjw_digiware.nl: Yup, this is what I found in my poudriere this morning.
So there is no problem there for 11.1 | |||||
-D WITH_SYSTEM_BOOST:BOOL=ON \ | -D WITH_SYSTEM_BOOST:BOOL=ON \ | ||||
-D CEPH_MAN_DIR:STRING=man \ | -D CEPH_MAN_DIR:STRING=man \ | ||||
-D WITH_LTTNG:BOOL=OFF \ | -D WITH_LTTNG:BOOL=OFF \ | ||||
-D WITH_FUSE:BOOL=ON \ | -D WITH_FUSE:BOOL=ON \ | ||||
-D WITH_KRBD:BOOL=OFF \ | -D WITH_KRBD:BOOL=OFF \ | ||||
-D WITH_XFS:BOOL=OFF \ | -D WITH_XFS:BOOL=OFF \ | ||||
-D WITH_KVS:BOOL=OFF \ | -D WITH_KVS:BOOL=OFF \ | ||||
-D WITH_BABELTRACE:BOOL=OFF \ | -D WITH_BABELTRACE:BOOL=OFF \ | ||||
-D HAVE_BABELTRACE:BOOL=OFF \ | -D HAVE_BABELTRACE:BOOL=OFF \ | ||||
-D WITH_LIBCEPHFS:BOOL=OFF \ | -D WITH_LIBCEPHFS:BOOL=OFF \ | ||||
-D WITH_CEPHFS:BOOL=OFF \ | -D WITH_CEPHFS:BOOL=OFF \ | ||||
-D WITH_EMBEDDED:BOOL=OFF | -D WITH_EMBEDDED:BOOL=OFF \ | ||||
-D WITH_RADOSGW_BEAST_FRONTEND:BOOL=OFF | |||||
SHEBANG_FILES=src/rbdmap src/ceph-post-file.in src/rbd-replay-many \ | SHEBANG_FILES=src/rbdmap src/ceph-post-file.in src/rbd-replay-many \ | ||||
src/brag/client/ceph-brag src/ceph-rest-api \ | src/brag/client/ceph-brag src/ceph-rest-api \ | ||||
src/tools/ceph-monstore-update-crush.sh src/mount.fuse.ceph \ | src/tools/ceph-monstore-update-crush.sh src/mount.fuse.ceph \ | ||||
src/ceph-create-keys | src/ceph-create-keys | ||||
CONFLICTS_INSTALL= ceph-devel | |||||
USE_RC_SUBR= ceph | USE_RC_SUBR= ceph | ||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
USERS= ceph | USERS= ceph | ||||
GROUPS= ceph | GROUPS= ceph | ||||
pre-configure: | pre-configure: | ||||
${LN} -s ${CONFIGURE_WRKSRC} ${WRKSRC}/build | ${LN} -s ${CONFIGURE_WRKSRC} ${WRKSRC}/build | ||||
▲ Show 20 Lines • Show All 45 Lines • Show Last 20 Lines |
DISTVERSIONPREFIX= v