From owner-svn-ports-all@freebsd.org Fri Apr 12 20:03:35 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 705DA1584E77; Fri, 12 Apr 2019 20:03:35 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0AED28A5AB; Fri, 12 Apr 2019 20:03:35 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D5A3E263A3; Fri, 12 Apr 2019 20:03:34 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x3CK3YN5065103; Fri, 12 Apr 2019 20:03:34 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x3CK3Yln065097; Fri, 12 Apr 2019 20:03:34 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201904122003.x3CK3Yln065097@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Fri, 12 Apr 2019 20:03:34 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r498740 - in head/databases/cockroach: . files X-SVN-Group: ports-head X-SVN-Commit-Author: swills X-SVN-Commit-Paths: in head/databases/cockroach: . files X-SVN-Commit-Revision: 498740 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 0AED28A5AB X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.96)[-0.963,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Apr 2019 20:03:35 -0000 Author: swills Date: Fri Apr 12 20:03:33 2019 New Revision: 498740 URL: https://svnweb.freebsd.org/changeset/ports/498740 Log: databases/cockroach: Unbreak, update to 2.0.7 PR: 236478 Submitted by: Dmitri Goutnik (slightly modified) Approved by: maintainer timeout (freebsd@jen20.com, >4 weeks) Added: head/databases/cockroach/files/patch-src_github.com_cockroachdb_cockroach_c-deps_rocksdb_CMakeLists.txt (contents, props changed) head/databases/cockroach/files/patch-src_github.com_cockroachdb_cockroach_pkg_storage_engine_rocksdb.go (contents, props changed) Modified: head/databases/cockroach/Makefile (contents, props changed) head/databases/cockroach/distinfo (contents, props changed) Modified: head/databases/cockroach/Makefile ============================================================================== --- head/databases/cockroach/Makefile Fri Apr 12 19:43:05 2019 (r498739) +++ head/databases/cockroach/Makefile Fri Apr 12 20:03:33 2019 (r498740) @@ -2,7 +2,7 @@ PORTNAME= cockroach DISTVERSIONPREFIX= v -DISTVERSION= 2.0.6 +DISTVERSION= 2.0.7 CATEGORIES= databases MASTER_SITES= https://binaries.cockroachdb.com/ EXTRACT_SUFX= .src.tgz @@ -13,8 +13,6 @@ COMMENT= Cloud-native SQL database that survive disast LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/src/github.com/cockroachdb/cockroach/LICENSE -BROKEN= fails to build - ONLY_FOR_ARCHS= amd64 ONLY_FOR_ARCHS_REASON= "Only supported on amd64" @@ -38,9 +36,11 @@ post-patch: @${REINPLACE_CMD} -e 's|LDFLAGS: -ledit|LDFLAGS: -L${LOCALBASE}/lib -ledit|g' \ -e 's|CPPFLAGS: -Ishim|CPPFLAGS: -I${LOCALBASE}/include -Ishim|g' \ ${WRKSRC}/src/github.com/cockroachdb/cockroach/vendor/github.com/knz/go-libedit/unix/editline_unix.go + @${REINPLACE_CMD} -e 's|build -i -o|build -o|g' \ + ${WRKSRC}/src/github.com/cockroachdb/cockroach/Makefile do-build: - @${SETENV} -i PATH="${PATH}" \ + @${SETENV} -i ${MAKE_ENV} \ ${MAKE_CMD} -C ${WRKSRC} buildoss do-install: Modified: head/databases/cockroach/distinfo ============================================================================== --- head/databases/cockroach/distinfo Fri Apr 12 19:43:05 2019 (r498739) +++ head/databases/cockroach/distinfo Fri Apr 12 20:03:33 2019 (r498740) @@ -1,3 +1,3 @@ -TIMESTAMP = 1538829109 -SHA256 (cockroach-v2.0.6.src.tgz) = fd1d966542565cbeca6c390db6b7afd98bc239e6e2a4602b3edff973be472097 -SIZE (cockroach-v2.0.6.src.tgz) = 45566359 +TIMESTAMP = 1552343259 +SHA256 (cockroach-v2.0.7.src.tgz) = 0aa42e8a87d0b915d6e7a9df39e3bb32eac250c1afc25e37cc36585f3afa081a +SIZE (cockroach-v2.0.7.src.tgz) = 45565811 Added: head/databases/cockroach/files/patch-src_github.com_cockroachdb_cockroach_c-deps_rocksdb_CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/cockroach/files/patch-src_github.com_cockroachdb_cockroach_c-deps_rocksdb_CMakeLists.txt Fri Apr 12 20:03:33 2019 (r498740) @@ -0,0 +1,11 @@ +--- src/github.com/cockroachdb/cockroach/c-deps/rocksdb/CMakeLists.txt.orig 2019-04-12 18:43:38 UTC ++++ src/github.com/cockroachdb/cockroach/c-deps/rocksdb/CMakeLists.txt +@@ -209,7 +209,7 @@ if(HAVE_THREAD_LOCAL) + add_definitions(-DROCKSDB_SUPPORT_THREAD_LOCAL) + endif() + +-option(FAIL_ON_WARNINGS "Treat compile warnings as errors" ON) ++option(FAIL_ON_WARNINGS "Treat compile warnings as errors" OFF) + if(FAIL_ON_WARNINGS) + if(MSVC) + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /WX") Added: head/databases/cockroach/files/patch-src_github.com_cockroachdb_cockroach_pkg_storage_engine_rocksdb.go ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/cockroach/files/patch-src_github.com_cockroachdb_cockroach_pkg_storage_engine_rocksdb.go Fri Apr 12 20:03:33 2019 (r498740) @@ -0,0 +1,29 @@ +--- src/github.com/cockroachdb/cockroach/pkg/storage/engine/rocksdb.go.orig 2018-12-10 15:51:01 UTC ++++ src/github.com/cockroachdb/cockroach/pkg/storage/engine/rocksdb.go +@@ -1986,22 +1986,22 @@ func (r *rocksDBIterator) Valid() (bool, error) { + + func (r *rocksDBIterator) Next() { + r.checkEngineOpen() +- r.setState(C.DBIterNext(r.iter, false /* skip_current_key_versions */)) ++ r.setState(C.DBIterNext(r.iter, C.bool(false) /* skip_current_key_versions */)) + } + + func (r *rocksDBIterator) Prev() { + r.checkEngineOpen() +- r.setState(C.DBIterPrev(r.iter, false /* skip_current_key_versions */)) ++ r.setState(C.DBIterPrev(r.iter, C.bool(false) /* skip_current_key_versions */)) + } + + func (r *rocksDBIterator) NextKey() { + r.checkEngineOpen() +- r.setState(C.DBIterNext(r.iter, true /* skip_current_key_versions */)) ++ r.setState(C.DBIterNext(r.iter, C.bool(true) /* skip_current_key_versions */)) + } + + func (r *rocksDBIterator) PrevKey() { + r.checkEngineOpen() +- r.setState(C.DBIterPrev(r.iter, true /* skip_current_key_versions */)) ++ r.setState(C.DBIterPrev(r.iter, C.bool(true) /* skip_current_key_versions */)) + } + + func (r *rocksDBIterator) Key() MVCCKey {