From owner-svn-ports-all@freebsd.org Mon Sep 23 11:56:26 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DD185F1704; Mon, 23 Sep 2019 11:56:26 +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.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 46cN8B5WjLz3QRl; Mon, 23 Sep 2019 11:56:26 +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 A2294E7B8; Mon, 23 Sep 2019 11:56:26 +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 x8NBuQ4s042693; Mon, 23 Sep 2019 11:56:26 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x8NBuQTb042692; Mon, 23 Sep 2019 11:56:26 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201909231156.x8NBuQTb042692@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Mon, 23 Sep 2019 11:56:26 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r512634 - head/databases/cassandra-cpp-driver X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: head/databases/cassandra-cpp-driver X-SVN-Commit-Revision: 512634 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.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: Mon, 23 Sep 2019 11:56:26 -0000 Author: jbeich Date: Mon Sep 23 11:56:26 2019 New Revision: 512634 URL: https://svnweb.freebsd.org/changeset/ports/512634 Log: databases/cassandra-cpp-driver: unbreak with clang 9 and gcc 9 In file included from src/config.hpp:23, from src/cluster.hpp:20, from src/cluster.cpp:17: src/execution_profile.hpp: In member function 'datastax::internal::core::ExecutionProfile& datastax::internal::core::ExecutionProfile::operator=(const datastax::internal::core::ExecutionProfile&)': src/execution_profile.hpp:28:7: error: implicitly-declared 'datastax::internal::Vector, datastax::internal::Allocator > >& datastax::internal::Vector, datastax::internal::Allocator > >::operator=(const datastax::internal::Vector, datastax::internal::Allocator > >&)' is deprecated [-Werror=deprecated-copy] 28 | class ExecutionProfile : public Allocated { | ^~~~~~~~~~~~~~~~ In file included from src/address.hpp:24, from src/serialization.hpp:20, from src/buffer.hpp:21, from src/auth.hpp:20, from src/config.hpp:20, from src/cluster.hpp:20, from src/cluster.cpp:17: src/vector.hpp:31:3: note: because 'datastax::internal::Vector, datastax::internal::Allocator > >' has user-provided 'datastax::internal::Vector::Vector(const datastax::internal::Vector&) [with T = std::__cxx11::basic_string, datastax::internal::Allocator >]' 31 | Vector(const Vector& other) | ^~~~~~ In file included from src/config.hpp:23, from src/cluster.hpp:20, from src/cluster.cpp:17: src/execution_profile.hpp:28:7: error: implicitly-declared 'datastax::internal::Vector, datastax::internal::Allocator > >& datastax::internal::Vector, datastax::internal::Allocator > >::operator=(const datastax::internal::Vector, datastax::internal::Allocator > >&)' is deprecated [-Werror=deprecated-copy] 28 | class ExecutionProfile : public Allocated { | ^~~~~~~~~~~~~~~~ In file included from src/address.hpp:24, from src/serialization.hpp:20, from src/buffer.hpp:21, from src/auth.hpp:20, from src/config.hpp:20, from src/cluster.hpp:20, from src/cluster.cpp:17: src/vector.hpp:31:3: note: because 'datastax::internal::Vector, datastax::internal::Allocator > >' has user-provided 'datastax::internal::Vector::Vector(const datastax::internal::Vector&) [with T = std::__cxx11::basic_string, datastax::internal::Allocator >]' 31 | Vector(const Vector& other) | ^~~~~~ In file included from src/config.hpp:23, from src/cluster.hpp:20, from src/cluster.cpp:17: src/execution_profile.hpp:28:7: error: implicitly-declared 'datastax::internal::Vector, datastax::internal::Allocator > >& datastax::internal::Vector, datastax::internal::Allocator > >::operator=(const datastax::internal::Vector, datastax::internal::Allocator > >&)' is deprecated [-Werror=deprecated-copy] 28 | class ExecutionProfile : public Allocated { | ^~~~~~~~~~~~~~~~ In file included from src/address.hpp:24, from src/serialization.hpp:20, from src/buffer.hpp:21, from src/auth.hpp:20, from src/config.hpp:20, from src/cluster.hpp:20, from src/cluster.cpp:17: src/vector.hpp:31:3: note: because 'datastax::internal::Vector, datastax::internal::Allocator > >' has user-provided 'datastax::internal::Vector::Vector(const datastax::internal::Vector&) [with T = std::__cxx11::basic_string, datastax::internal::Allocator >]' 31 | Vector(const Vector& other) | ^~~~~~ In file included from src/config.hpp:23, from src/cluster.hpp:20, from src/cluster.cpp:17: src/execution_profile.hpp:28:7: error: implicitly-declared 'datastax::internal::Vector, datastax::internal::Allocator > >& datastax::internal::Vector, datastax::internal::Allocator > >::operator=(const datastax::internal::Vector, datastax::internal::Allocator > >&)' is deprecated [-Werror=deprecated-copy] 28 | class ExecutionProfile : public Allocated { | ^~~~~~~~~~~~~~~~ In file included from src/address.hpp:24, from src/serialization.hpp:20, from src/buffer.hpp:21, from src/auth.hpp:20, from src/config.hpp:20, from src/cluster.hpp:20, from src/cluster.cpp:17: src/vector.hpp:31:3: note: because 'datastax::internal::Vector, datastax::internal::Allocator > >' has user-provided 'datastax::internal::Vector::Vector(const datastax::internal::Vector&) [with T = std::__cxx11::basic_string, datastax::internal::Allocator >]' 31 | Vector(const Vector& other) | ^~~~~~ In file included from src/cluster.hpp:20, from src/cluster.cpp:17: src/config.hpp: In member function 'void datastax::internal::core::Config::set_execution_profile(const String&, const datastax::internal::core::ExecutionProfile*)': src/config.hpp:318:23: note: synthesized method 'datastax::internal::core::ExecutionProfile& datastax::internal::core::ExecutionProfile::operator=(const datastax::internal::core::ExecutionProfile&)' first required here 318 | profiles_[name] = copy; | ^~~~ src/cluster.cpp: In member function 'datastax::internal::core::LockedHostMap& datastax::internal::core::LockedHostMap::operator=(const HostMap&)': src/cluster.cpp:194:12: error: implicitly-declared 'datastax::internal::Map >& datastax::internal::Map >::operator=(const datastax::internal::Map >&)' is deprecated [-Werror=deprecated-copy] 194 | hosts_ = hosts; | ^~~~~ In file included from src/serialization.hpp:22, from src/buffer.hpp:21, from src/auth.hpp:20, from src/config.hpp:20, from src/cluster.hpp:20, from src/cluster.cpp:17: src/map.hpp:28:3: note: because 'datastax::internal::Map >' has user-provided 'datastax::internal::Map::Map(const datastax::internal::Map&) [with K = datastax::internal::core::Address; V = datastax::internal::SharedRefPtr; Compare = std::less]' 28 | Map(const Map& other) | ^~~ cc1plus: all warnings being treated as errors src/utils.cpp:106:65: error: 'ptr_fun' is deprecated [-Werror,-Wdeprecated-declarations] std::find_if(str.begin(), str.end(), std::not1(std::ptr_fun(::isspace)))); ^ /usr/include/c++/v1/functional:1100:1: note: 'ptr_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:944:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:933:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ src/utils.cpp:109:61: error: 'ptr_fun' is deprecated [-Werror,-Wdeprecated-declarations] std::find_if(str.rbegin(), str.rend(), std::not1(std::ptr_fun(::isspace))).base(), ^ /usr/include/c++/v1/functional:1100:1: note: 'ptr_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:944:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:933:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ Reported by: pkg-fallout, antoine (via bug 240629 exp-run) Modified: head/databases/cassandra-cpp-driver/Makefile (contents, props changed) Modified: head/databases/cassandra-cpp-driver/Makefile ============================================================================== --- head/databases/cassandra-cpp-driver/Makefile Mon Sep 23 11:56:18 2019 (r512633) +++ head/databases/cassandra-cpp-driver/Makefile Mon Sep 23 11:56:26 2019 (r512634) @@ -30,4 +30,8 @@ PLIST_FILES= include/cassandra.h \ libdata/pkgconfig/cassandra.pc \ libdata/pkgconfig/cassandra_static.pc +post-patch: + @${REINPLACE_CMD} -e 's/ -Werror//' \ + ${WRKSRC}/cmake/modules/CppDriver.cmake + .include