Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 895698 - dev-db/mariadb-10.5.17 fails to compile (GCC-13-SYSTEM): error: stderr was not declared in this scope
Summary: dev-db/mariadb-10.5.17 fails to compile (GCC-13-SYSTEM):
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
Keywords: PATCH
Depends on:
Blocks: gcc-13
  Show dependency tree
Reported: 2023-02-21 10:16 UTC by Agostino Sarubbo
Modified: 2023-03-27 13:51 UTC (History)
0 users

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

build.log (build.log,447.03 KB, text/plain)
2023-02-21 10:16 UTC, Agostino Sarubbo

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-02-21 10:16:47 UTC

Issue: dev-db/mariadb-10.5.17 fails to compile (GCC-13-SYSTEM).
Discovered on: amd64 (internal ref: gcc13_tinderbox)

(GCC-13-SYSTEM) in the summary means that the bug was found on a machine that runs gcc-13 but this bug MAY or MAY NOT BE related to the new compiler
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-21 10:16:51 UTC
Created attachment 853468 [details]

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-02-21 10:16:51 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:

FAILED: tpool/CMakeFiles/tpool.dir/ 
--   Package 'heimdal-gssapi', required by 'virtual:world', not found
--   Package 'heimdal-krb5', required by 'virtual:world', not found
--   Package 'mit-krb5-gssapi', required by 'virtual:world', not found
--   Package 'mit-krb5', required by 'virtual:world', not found
/var/tmp/portage/dev-db/mariadb-10.5.17/work/mysql/tpool/ error: ‘stderr’ was not declared in this scope
Comment 3 Larry the Git Cow gentoo-dev 2023-03-27 13:51:44 UTC
The bug has been closed via the following commit(s):

commit fae8773de0a78fd9b311c09d38ee0bea2a854630
Author:     Sam James <>
AuthorDate: 2023-03-27 13:50:55 +0000
Commit:     Sam James <>
CommitDate: 2023-03-27 13:51:08 +0000

    dev-db/mariadb: fix build w/ gcc-13
    Signed-off-by: Sam James <>

 dev-db/mariadb/files/mariadb-10.5.17-gcc-13.patch | 23 +++++++++++++++++++++++
 dev-db/mariadb/mariadb-10.5.19-r1.ebuild          |  1 +
 2 files changed, 24 insertions(+)