From owner-svn-ports-all@freebsd.org Sat Sep 1 13:12:38 2018 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 C7FF1FEF280; Sat, 1 Sep 2018 13:12:37 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7FC188B327; Sat, 1 Sep 2018 13:12:37 +0000 (UTC) (envelope-from jbeich@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 7ABB62A5B; Sat, 1 Sep 2018 13:12:37 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w81DCbI4041999; Sat, 1 Sep 2018 13:12:37 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w81DCbMC041998; Sat, 1 Sep 2018 13:12:37 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201809011312.w81DCbMC041998@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Sat, 1 Sep 2018 13:12:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r478689 - head/databases/hamsterdb X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: head/databases/hamsterdb X-SVN-Commit-Revision: 478689 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 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: Sat, 01 Sep 2018 13:12:38 -0000 Author: jbeich Date: Sat Sep 1 13:12:37 2018 New Revision: 478689 URL: https://svnweb.freebsd.org/changeset/ports/478689 Log: databases/hamsterdb: unbreak build with Clang 6 (C++14 by default) In file included from 4env/env_local.cc:21: In file included from ./2device/device_factory.h:31: ./2device/device_disk.h:72:7: error: no matching function for call to 'swap' std::swap(m_state, state); ^~~~~~~~~ /usr/include/c++/v1/type_traits:4643:1: note: candidate template ignored: requirement 'is_move_constructible::value' was not satisfied [with _Tp = hamsterdb::DiskDevice::State] swap(_Tp& __x, _Tp& __y) _NOEXCEPT_(is_nothrow_move_constructible<_Tp>::value && ^ /usr/include/c++/v1/utility:268:1: note: candidate template ignored: could not match '_Tp [_Np]' against 'hamsterdb::DiskDevice::State' swap(_Tp (&__a)[_Np], _Tp (&__b)[_Np]) _NOEXCEPT_(__is_nothrow_swappable<_Tp>::value) ^ /usr/include/c++/v1/utility:609:1: note: candidate template ignored: could not match 'pair' against 'hamsterdb::DiskDevice::State' swap(pair<_T1, _T2>& __x, pair<_T1, _T2>& __y) ^ /usr/include/c++/v1/tuple:163:6: note: candidate template ignored: could not match '__tuple_leaf<_Ip, type-parameter-0-1, >' against 'hamsterdb::DiskDevice::State' void swap(__tuple_leaf<_Ip, _Hp, _Ep>& __x, __tuple_leaf<_Ip, _Hp, _Ep>& __y) ^ /usr/include/c++/v1/tuple:949:1: note: candidate template ignored: could not match 'tuple' against 'hamsterdb::DiskDevice::State' swap(tuple<_Tp...>& __t, tuple<_Tp...>& __u) ^ /usr/include/c++/v1/memory:2257:6: note: candidate template ignored: could not match '__compressed_pair' against 'hamsterdb::DiskDevice::State' void swap(__compressed_pair<_T1, _T2>& __x, __compressed_pair<_T1, _T2>& __y) ^ /usr/include/c++/v1/memory:2905:1: note: candidate template ignored: could not match 'unique_ptr' against 'hamsterdb::DiskDevice::State' swap(unique_ptr<_Tp, _Dp>& __x, unique_ptr<_Tp, _Dp>& __y) _NOEXCEPT {__x.swap(__y);} ^ /usr/include/c++/v1/memory:4887:1: note: candidate template ignored: could not match 'shared_ptr' against 'hamsterdb::DiskDevice::State' swap(shared_ptr<_Tp>& __x, shared_ptr<_Tp>& __y) _NOEXCEPT ^ /usr/include/c++/v1/memory:5186:1: note: candidate template ignored: could not match 'weak_ptr' against 'hamsterdb::DiskDevice::State' swap(weak_ptr<_Tp>& __x, weak_ptr<_Tp>& __y) _NOEXCEPT ^ /usr/include/c++/v1/string:3889:1: note: candidate template ignored: could not match 'basic_string' against 'hamsterdb::DiskDevice::State' swap(basic_string<_CharT, _Traits, _Allocator>& __lhs, ^ /usr/include/c++/v1/__mutex_base:277:1: note: candidate template ignored: could not match 'unique_lock' against 'hamsterdb::DiskDevice::State' swap(unique_lock<_Mutex>& __x, unique_lock<_Mutex>& __y) _NOEXCEPT ^ /usr/include/c++/v1/functional:1975:1: note: candidate template ignored: could not match 'function' against 'hamsterdb::DiskDevice::State' swap(function<_Rp(_ArgTypes...)>& __x, function<_Rp(_ArgTypes...)>& __y) _NOEXCEPT ^ /usr/include/c++/v1/__bit_reference:86:1: note: candidate template ignored: could not match '__bit_reference::value>' against 'hamsterdb::DiskDevice::State' swap(__bit_reference<_Cp> __x, __bit_reference<_Cp> __y) _NOEXCEPT ^ /usr/include/c++/v1/__bit_reference:96:1: note: candidate template ignored: could not match '__bit_reference::value>' against 'hamsterdb::DiskDevice::State' swap(__bit_reference<_Cp> __x, __bit_reference<_Dp> __y) _NOEXCEPT ^ /usr/include/c++/v1/__bit_reference:106:1: note: candidate template ignored: could not match '__bit_reference::value>' against 'hamsterdb::DiskDevice::State' swap(__bit_reference<_Cp> __x, bool& __y) _NOEXCEPT ^ /usr/include/c++/v1/__bit_reference:116:1: note: candidate template ignored: could not match '__bit_reference::value>' against 'hamsterdb::DiskDevice::State' swap(bool& __x, __bit_reference<_Cp> __y) _NOEXCEPT ^ /usr/include/c++/v1/__tree:2681:1: note: candidate template ignored: could not match '__tree' against 'hamsterdb::DiskDevice::State' swap(__tree<_Tp, _Compare, _Allocator>& __x, ^ /usr/include/c++/v1/map:553:1: note: candidate template ignored: could not match '__map_value_compare' against 'hamsterdb::DiskDevice::State' swap(__map_value_compare<_Key, _CP, _Compare, __b>& __x, ^ /usr/include/c++/v1/map:1452:1: note: candidate template ignored: could not match 'map' against 'hamsterdb::DiskDevice::State' swap(map<_Key, _Tp, _Compare, _Allocator>& __x, ^ /usr/include/c++/v1/map:1917:1: note: candidate template ignored: could not match 'multimap' against 'hamsterdb::DiskDevice::State' swap(multimap<_Key, _Tp, _Compare, _Allocator>& __x, ^ /usr/include/c++/v1/sstream:431:1: note: candidate template ignored: could not match 'basic_stringbuf' against 'hamsterdb::DiskDevice::State' swap(basic_stringbuf<_CharT, _Traits, _Allocator>& __x, ^ /usr/include/c++/v1/sstream:718:1: note: candidate template ignored: could not match 'basic_istringstream' against 'hamsterdb::DiskDevice::State' swap(basic_istringstream<_CharT, _Traits, _Allocator>& __x, ^ /usr/include/c++/v1/sstream:836:1: note: candidate template ignored: could not match 'basic_ostringstream' against 'hamsterdb::DiskDevice::State' swap(basic_ostringstream<_CharT, _Traits, _Allocator>& __x, ^ /usr/include/c++/v1/sstream:955:1: note: candidate template ignored: could not match 'basic_stringstream' against 'hamsterdb::DiskDevice::State' swap(basic_stringstream<_CharT, _Traits, _Allocator>& __x, ^ /usr/include/c++/v1/__split_buffer:627:1: note: candidate template ignored: could not match '__split_buffer' against 'hamsterdb::DiskDevice::State' swap(__split_buffer<_Tp, _Allocator>& __x, __split_buffer<_Tp, _Allocator>& __y) ^ /usr/include/c++/v1/vector:3358:1: note: candidate template ignored: could not match 'vector' against 'hamsterdb::DiskDevice::State' swap(vector<_Tp, _Allocator>& __x, vector<_Tp, _Allocator>& __y) ^ /usr/include/c++/v1/list:2411:1: note: candidate template ignored: could not match 'list' against 'hamsterdb::DiskDevice::State' swap(list<_Tp, _Alloc>& __x, list<_Tp, _Alloc>& __y) ^ /usr/include/c++/v1/deque:2900:1: note: candidate template ignored: could not match 'deque' against 'hamsterdb::DiskDevice::State' swap(deque<_Tp, _Allocator>& __x, deque<_Tp, _Allocator>& __y) ^ /usr/include/c++/v1/set:800:1: note: candidate template ignored: could not match 'set' against 'hamsterdb::DiskDevice::State' swap(set<_Key, _Compare, _Allocator>& __x, ^ /usr/include/c++/v1/set:1209:1: note: candidate template ignored: could not match 'multiset' against 'hamsterdb::DiskDevice::State' swap(multiset<_Key, _Compare, _Allocator>& __x, ^ /usr/include/c++/v1/array:286:1: note: candidate template ignored: could not match 'array' against 'hamsterdb::DiskDevice::State' swap(array<_Tp, _Size>& __x, array<_Tp, _Size>& __y) ^ Reported by: pkg-fallout Modified: head/databases/hamsterdb/Makefile (contents, props changed) Modified: head/databases/hamsterdb/Makefile ============================================================================== --- head/databases/hamsterdb/Makefile Sat Sep 1 13:11:28 2018 (r478688) +++ head/databases/hamsterdb/Makefile Sat Sep 1 13:12:37 2018 (r478689) @@ -17,6 +17,7 @@ BROKEN_powerpc64= fails to configure: checking for the BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs USES= alias gmake libtool +USE_CXXSTD= gnu++98 USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-boost=${LOCALBASE} @@ -31,6 +32,7 @@ post-patch: ${REINPLACE_CMD} -e 's#-ldl##g' ${WRKSRC}/configure ${REINPLACE_CMD} -e 's#-ldl##g' ${WRKSRC}/unittests/Makefile.in ${REINPLACE_CMD} -e 's#-ldl##g' ${WRKSRC}/tools/ham_bench/Makefile.in + ${REINPLACE_CMD} -e '/^CXXFLAGS=$${CFLAGS}$$/d' ${WRKSRC}/configure post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR}