Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 840335 - dev-db/percona-xtrabackup-8.0.26.18 - /.../keyring_log_builtins_definition.cc: error: date was not declared in this scope
Summary: dev-db/percona-xtrabackup-8.0.26.18 - /.../keyring_log_builtins_definition.cc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-12
  Show dependency tree
 
Reported: 2022-04-23 13:55 UTC by Toralf Förster
Modified: 2022-06-10 02:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.86 KB, text/plain)
2022-04-23 13:55 UTC, Toralf Förster
Details
dev-db:percona-xtrabackup-8.0.26.18:20220423-133524.log.bz2 (dev-db:percona-xtrabackup-8.0.26.18:20220423-133524.log.bz2,26.75 KB, application/x-bzip)
2022-04-23 13:55 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,165.34 KB, text/plain)
2022-04-23 13:55 UTC, Toralf Förster
Details
environment (environment,94.79 KB, text/plain)
2022-04-23 13:55 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,34.89 KB, application/x-bzip)
2022-04-23 13:55 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,293.91 KB, application/x-bzip)
2022-04-23 13:55 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,49.83 KB, application/x-bzip)
2022-04-23 13:55 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-04-23 13:55:38 UTC
   49 | #endif /* IN_DOXYGEN */
/var/tmp/portage/dev-db/percona-xtrabackup-8.0.26.18/work/percona-xtrabackup-8.0.26-18/components/keyrings/common/component_helpers/src/keyring_log_builtins_definition.cc:266:23: error: expected primary-expression before char’
  266 |       std::unique_ptr<char[]> date{new char[date_length]};
      |                       ^~~~
/var/tmp/portage/dev-db/percona-xtrabackup-8.0.26.18/work/percona-xtrabackup-8.0.26-18/components/keyrings/common/component_helpers/src/keyring_log_builtins_definition.cc:267:16: error: date’ was not declared in this scope
  267 |       strftime(date.get(), date_length, format, &tm);
      |                ^~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-j4-20220421-185427

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.0.1 *
clang/llvm (if any):
/usr/lib/llvm/14
14.0.1
Python 3.9.12
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.60.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 11.0.14_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 8.322_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit c7ad976144533880987c095dfbc014b2e4dda284
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Apr 23 12:19:20 2022 +0000

    2022-04-23 12:19:19 UTC

emerge -qpvO dev-db/percona-xtrabackup
[ebuild  N    ] dev-db/percona-xtrabackup-8.0.26.18
Comment 1 Toralf Förster gentoo-dev 2022-04-23 13:55:39 UTC
Created attachment 773576 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-04-23 13:55:40 UTC
Created attachment 773579 [details]
dev-db:percona-xtrabackup-8.0.26.18:20220423-133524.log.bz2
Comment 3 Toralf Förster gentoo-dev 2022-04-23 13:55:42 UTC
Created attachment 773582 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-04-23 13:55:43 UTC
Created attachment 773585 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-04-23 13:55:44 UTC
Created attachment 773588 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-04-23 13:55:46 UTC
Created attachment 773591 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-04-23 13:55:47 UTC
Created attachment 773594 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-06-10 02:45:14 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eeca3ee8974115da795637014aab52981ce4788c

commit eeca3ee8974115da795637014aab52981ce4788c
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-10 02:24:30 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-10 02:27:00 +0000

    dev-db/percona-xtrabackup: fix build with GCC 12
    
    Closes: https://bugs.gentoo.org/840335
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/percona-xtrabackup-8.0.26.18-gcc-12.patch | 21 +++++++++++++++++++++
 .../percona-xtrabackup-8.0.26.18.ebuild             |  3 ++-
 2 files changed, 23 insertions(+), 1 deletion(-)