Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 664122

Summary: dev-db/cockroach-2.0.1 : /.../inlineskiplist.h:282:11: error: void* memcpy(void*, const void*, size_t) writing to an object of type struct std::atomic<rocksdb::InlineSkipList<const rocksdb::MemTableRep::KeyComparator&>::Node*
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: William Hubbs <williamh>
Status: CONFIRMED ---    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/11765
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-db:cockroach-2.0.1:20180820-022541.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2018-08-20 17:25:41 UTC
/var/tmp/portage/dev-db/cockroach-2.0.1/work/cockroach-v2.0.1/src/github.com/cockroachdb/cockroach/c-deps/rocksdb/memtable/skiplistrep.cc:28:28:   required from here
/var/tmp/portage/dev-db/cockroach-2.0.1/work/cockroach-v2.0.1/src/github.com/cockroachdb/cockroach/c-deps/rocksdb/memtable/inlineskiplist.h:282:11: error: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::atomic<rocksdb::InlineSkipList<const rocksdb::MemTableRep::KeyComparator&>::Node*>’ with no trivial copy-assignment [-Werror=class-memaccess]
     memcpy(&next_[0], &height, sizeof(int));
     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/tmp/portage/dev-db/cockroach-2.0.1/work/cockroach-v2.0.1/src/github.com/cockroachdb/cockroach/c-deps/rocksdb/memtable/inlineskiplist.h:47,

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-no-multilib_libressl_20180811-095734

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0
 [2] x86_64-pc-linux-gnu-7.3.1
 [3] x86_64-pc-linux-gnu-8.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
  [4]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
java-config:
The following VMs are available for generation-2:


emerge -qpv dev-db/cockroach
[ebuild  N    ] dev-db/cockroach-2.0.1
Comment 1 Toralf Förster gentoo-dev 2018-08-20 17:25:44 UTC
Created attachment 544116 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-08-20 17:25:47 UTC
Created attachment 544118 [details]
dev-db:cockroach-2.0.1:20180820-022541.log
Comment 3 Toralf Förster gentoo-dev 2018-08-20 17:25:49 UTC
Created attachment 544120 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-08-20 17:25:53 UTC
Created attachment 544122 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-08-20 17:25:55 UTC
Created attachment 544124 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-08-20 17:25:58 UTC
Created attachment 544126 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-08-20 17:26:01 UTC
Created attachment 544128 [details]
temp.tbz2