Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 842168 - dev-db/percona-server-8.0.26.16-r1 - /.../logger.cc: error: date was not declared in this scope
Summary: dev-db/percona-server-8.0.26.16-r1 - /.../logger.cc: error: date was not decl...
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-05-02 11:38 UTC by Toralf Förster
Modified: 2022-06-21 04:43 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,19.64 KB, text/plain)
2022-05-02 11:38 UTC, Toralf Förster
Details
dev-db:percona-server-8.0.26.16-r1:20220502-101655.log.bz2 (dev-db:percona-server-8.0.26.16-r1:20220502-101655.log.bz2,22.98 KB, application/x-bzip)
2022-05-02 11:38 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,120.61 KB, application/x-bzip)
2022-05-02 11:38 UTC, Toralf Förster
Details
environment (environment,166.64 KB, text/plain)
2022-05-02 11:38 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,53.84 KB, application/x-bzip)
2022-05-02 11:38 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,295.57 KB, application/x-bzip)
2022-05-02 11:38 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,64.20 KB, application/x-bzip)
2022-05-02 11:38 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-05-02 11:38:32 UTC
   30 | 
/var/tmp/portage/dev-db/percona-server-8.0.26.16-r1/work/mysql/client/logger.cc:39:19: error: expected primary-expression before char’
   39 |   std::unique_ptr<char[]> date{new char[date_length]};
      |                   ^~~~
/var/tmp/portage/dev-db/percona-server-8.0.26.16-r1/work/mysql/client/logger.cc:40:12: error: date’ was not declared in this scope
   40 |   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.3
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 ed5cbd510d2cb16f7e96c778dcd45b27a10fa0a0
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon May 2 09:18:05 2022 +0000

    2022-05-02 09:18:05 UTC

emerge -qpvO dev-db/percona-server
[ebuild  N    ] dev-db/percona-server-8.0.26.16-r1  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 2022-05-02 11:38:33 UTC
Created attachment 776048 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-05-02 11:38:34 UTC
Created attachment 776051 [details]
dev-db:percona-server-8.0.26.16-r1:20220502-101655.log.bz2
Comment 3 Toralf Förster gentoo-dev 2022-05-02 11:38:36 UTC
Created attachment 776054 [details]
emerge-history.txt.bz2
Comment 4 Toralf Förster gentoo-dev 2022-05-02 11:38:37 UTC
Created attachment 776057 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-05-02 11:38:39 UTC
Created attachment 776060 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-05-02 11:38:40 UTC
Created attachment 776063 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-05-02 11:38:42 UTC
Created attachment 776066 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-11 19:20:08 UTC
Ping
Comment 9 Larry the Git Cow gentoo-dev 2022-06-10 02:45:12 UTC
The bug has been closed via the following commit(s):

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

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

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

 .../files/percona-server-8.0.26.16-gcc-12.patch     | 21 +++++++++++++++++++++
 .../percona-server-8.0.26.16-r1.ebuild              |  1 +
 2 files changed, 22 insertions(+)