Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 840990 - dev-db/mysql-8.0.27 - /.../logger.cc: error: date was not declared in this scope
Summary: dev-db/mysql-8.0.27 - /.../logger.cc: error: date was not declared in this scope
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-26 11:32 UTC by Toralf Förster
Modified: 2022-06-17 22:50 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.81 KB, text/plain)
2022-04-26 11:32 UTC, Toralf Förster
Details
dev-db:mysql-8.0.27:20220425-201123.log.bz2 (dev-db:mysql-8.0.27:20220425-201123.log.bz2,19.67 KB, application/x-bzip)
2022-04-26 11:32 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,115.27 KB, text/plain)
2022-04-26 11:32 UTC, Toralf Förster
Details
environment (environment,158.99 KB, text/plain)
2022-04-26 11:33 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,43.14 KB, application/x-bzip)
2022-04-26 11:33 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,177.22 KB, application/x-bzip)
2022-04-26 11:33 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,55.17 KB, application/x-bzip)
2022-04-26 11:33 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-26 11:32:55 UTC
   30 | 
/var/tmp/portage/dev-db/mysql-8.0.27/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/mysql-8.0.27/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-20220424-220004

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.0.1 *
clang/llvm (if any):
/usr/lib/llvm/13
13.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:
  [1]   php8.1 *

  HEAD of ::gentoo
commit fa6dbbf4021c91f3b94df9bd43091deedaba7ff3
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Apr 25 19:33:16 2022 +0000

    2022-04-25 19:33:16 UTC

emerge -qpvO dev-db/mysql
[ebuild  N    ] dev-db/mysql-8.0.27  USE="perl server -cjk -cracklib -debug -jemalloc -latin1 -numa -profiling -router (-selinux) -tcmalloc -test"
Comment 1 Toralf Förster gentoo-dev 2022-04-26 11:32:56 UTC
Created attachment 774609 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-04-26 11:32:57 UTC
Created attachment 774612 [details]
dev-db:mysql-8.0.27:20220425-201123.log.bz2
Comment 3 Toralf Förster gentoo-dev 2022-04-26 11:32:59 UTC
Created attachment 774615 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-04-26 11:33:00 UTC
Created attachment 774618 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-04-26 11:33:01 UTC
Created attachment 774621 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-04-26 11:33:03 UTC
Created attachment 774624 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-04-26 11:33:04 UTC
Created attachment 774627 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-11 19:20:00 UTC
Ping
Comment 9 Larry the Git Cow gentoo-dev 2022-06-10 02:45:16 UTC
The bug has been closed via the following commit(s):

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

commit 722c73d9fba456c1ae7eefb46845a3149658fd59
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-10 01:45:50 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-10 02:27:00 +0000

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

 dev-db/mysql/files/mysql-8.0.27-gcc-12.patch | 21 +++++++++++++++++++++
 dev-db/mysql/mysql-8.0.27.ebuild             |  1 +
 2 files changed, 22 insertions(+)
Comment 10 Larry the Git Cow gentoo-dev 2022-06-17 22:50:01 UTC
The bug has been referenced in the following commit(s):

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

commit 90b072cf17b8ac2f45434a430f029887683c4649
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-17 22:31:56 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-17 22:49:07 +0000

    dev-db/mysql: fix build with GCC 12
    
    Bug: https://bugs.gentoo.org/840990
    Closes: https://bugs.gentoo.org/852737
    Signed-off-by: Sam James <sam@gentoo.org>

 .../{mysql-8.0.27-gcc-12.patch => mysql-8.0.27-gcc12.patch}  | 12 ++++++++++++
 dev-db/mysql/mysql-8.0.27.ebuild                             |  2 +-
 2 files changed, 13 insertions(+), 1 deletion(-)