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

Bug 913557

Summary: dev-db/percona-server-8.0.26.16-r2 - /.../backup.cc: error: redefinition of 'read'
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-db:percona-server-8.0.26.16-r2:20230903-052455.log.xz
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2023-09-03 09:39:14 UTC
too long lines were shrinked:

[  9%] Building CXX object plugin/tokudb-backup-plugin/Percona-TokuBackup/backup/CMakeFiles/HotBackup.dir/MurmurHash3.cc.o
cd /var/tmp/portage/dev-db/percona-server-8.0.26.16-r2/work/percona-server-8.0.26.16_build/plugin/tokudb-backup-plugin/Percona-TokuBackup/backup && /usr/lib/llvm/16/bin/clang++ -DHAVE_CONFIG_H -DHAVE_TLSv13 -DHotBackup_EXPORTS -DLZ4_DISABLE_DEPRECATE_WARNINGS -DRAPIDJSON_NO_SIZETYPEDEFINE -DRAPIDJSO
[  9%] Building CXX object mysys/CMakeFiles/mysys_objlib.dir/my_chsize.cc.o
cd /var/tmp/portage/dev-db/percona-server-8.0.26.16-r2/work/percona-server-8.0.26.16_build/mysys && /usr/lib/llvm/16/bin/clang++ -DHAVE_CONFIG_H -DHAVE_TLSv13 -DLZ4_DISABLE_DEPRECATE_WARNINGS -DRAPIDJSON_NO_SIZETYPEDEFINE -DRAPIDJSON_SCHEMA_USE_INTERNALREGEX=0 -DRAPIDJSON_SCHEMA_USE_STDREGEX=1 -D_FI
[  9%] Building CXX object plugin/x/protocol/protobuf/CMakeFiles/mysqlxmessages.dir/__/__/generated/protobuf/mysqlx_expr.pb.cc.o
cd /var/tmp/portage/dev-db/percona-server-8.0.26.16-r2/work/percona-server-8.0.26.16_build/plugin/x/protocol/protobuf && /usr/lib/llvm/16/bin/clang++ -DHAVE_CONFIG_H -DHAVE_TLSv13 -DLOG_COMPONENT_TAG=\"mysqlx\" -DLZ4_DISABLE_DEPRECATE_WARNINGS -DPROTOBUF_INLINE_NOT_IN_HEADERS=0 -DRAPIDJSON_NO_SIZETY
/var/tmp/portage/dev-db/percona-server-8.0.26.16-r2/work/mysql/plugin/tokudb-backup-plugin/Percona-TokuBackup/backup/backup.cc:177:20: error: 
      redefinition of 'read'
extern "C" ssize_t read(int fd, void *buf, size_t nbyte) {

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_clang-20230902-205829

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.6+libcxx
Python 3.11.5
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.72.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.7_p7 [openjdk-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php8.1 *
go version go1.21.0 linux/amd64

  HEAD of ::gentoo
commit 10c265761621bbfadef5c3fd16234c28c3f34cd2
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Sep 3 04:46:52 2023 +0000

    2023-09-03 04:46:52 UTC

emerge -qpvO dev-db/percona-server
[ebuild  N    ] dev-db/percona-server-8.0.26.16-r2  USE="pam perl server -cjk -cracklib -debug -jemalloc -latin1 -ldap -numa -profiling -rocksdb -router (-selinux) -tcmalloc -test -tokudb -tokudb-backup-plugin"
Comment 1 Toralf Förster gentoo-dev 2023-09-03 09:39:15 UTC
Created attachment 869355 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-09-03 09:39:16 UTC
Created attachment 869356 [details]
dev-db:percona-server-8.0.26.16-r2:20230903-052455.log.xz
Comment 3 Toralf Förster gentoo-dev 2023-09-03 09:39:17 UTC
Created attachment 869357 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-09-03 09:39:21 UTC
Created attachment 869358 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-09-03 09:39:21 UTC
Created attachment 869359 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-09-03 09:39:22 UTC
Created attachment 869360 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-09-03 09:39:24 UTC
Created attachment 869361 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2023-09-03 09:39:25 UTC
Created attachment 869362 [details]
temp.tar.xz