Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Nov 2020 14:36:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 251271] net-p2p/openethereum: fails to build with clang10
Message-ID:  <bug-251271-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251271

            Bug ID: 251271
           Summary: net-p2p/openethereum: fails to build with clang10
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ale@FreeBSD.org
          Reporter: mikael@FreeBSD.org
          Assignee: ale@FreeBSD.org
             Flags: maintainer-feedback?(ale@FreeBSD.org)

In file included from
/wrkdirs/usr/ports/net-p2p/openethereum/work/openethereum-3.1.0/cargo-crate=
s/parity-rocksdb-sys-0.5.6/rocksdb/utilities/backupable/backupable_db.cc:16:
=20
/wrkdirs/usr/ports/net-p2p/openethereum/work/openethereum-3.1.0/cargo-crate=
s/parity-rocksdb-sys-0.5.6/rocksdb/util/channel.h:35:33:
error: no matching constructor for initialization of
'std::lock_guard<std::mutex>'
      std::lock_guard<std::mutex> lk(lock_);
                                  ^  ~~~~~
  /usr/include/c++/v1/__mutex_base:90:14: note: candidate constructor not
viable: 1st argument ('const std::mutex') would lose const qualifier
      explicit lock_guard(mutex_type& __m)
_LIBCPP_THREAD_SAFETY_ANNOTATION(acquire_capability(__m))
               ^
  /usr/include/c++/v1/__mutex_base:100:5: note: candidate constructor not
viable: no known conversion from 'const std::mutex' to 'const
std::__1::lock_guard<std::__1::mutex>' for 1st argument
      lock_guard(lock_guard const&) _LIBCPP_EQUAL_DELETE;
      ^
  /usr/include/c++/v1/__mutex_base:94:5: note: candidate constructor not
viable: requires 2 arguments, but 1 was provided
      lock_guard(mutex_type& __m, adopt_lock_t)
_LIBCPP_THREAD_SAFETY_ANNOTATION(requires_capability(__m))
      ^
  1 error generated.


probably fixed with:
https://github.com/cockroachdb/rocksdb/pull/79

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251271-7788>