Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 878527 - dev-python/pythran: error: ‘uint8_t’ was not declared in this scope with GCC 13
Summary: dev-python/pythran: error: ‘uint8_t’ was not declared in this scope with GCC 13
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
Depends on:
Blocks: gcc-13
  Show dependency tree
Reported: 2022-10-28 11:04 UTC by Alexander
Modified: 2022-10-28 11:50 UTC (History)
1 user (show)

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

build.log (build.log,618.22 KB, text/x-log)
2022-10-28 11:04 UTC, Alexander
emerge --info output (emerge-info.txt,10.58 KB, text/plain)
2022-10-28 11:06 UTC, Alexander

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander 2022-10-28 11:04:49 UTC
Created attachment 825699 [details]

dev-python/scipy-1.9.3 fialed to build
Comment 1 Alexander 2022-10-28 11:06:30 UTC
Created attachment 825701 [details]
emerge --info output
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-28 11:08:45 UTC
Are you intentionally using GCC 13?

Please note that in future in bugs.

/usr/lib/python3.10/site-packages/pythran/pythonic/include/types/combined.hpp:304:17: error: ‘uint8_t’ was not declared in this scope
  304 | SCALAR_COMBINER(uint8_t)
      |                 ^~~~~~~
/usr/lib/python3.10/site-packages/pythran/pythonic/include/types/combined.hpp:300:21: note: in definition of macro ‘SCALAR_COMBINER’
  300 |   struct __combined<Type, Type> {                                              \
      |                     ^~~~
/usr/lib/python3.10/site-packages/pythran/pythonic/include/types/combined.hpp:5:1: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
    4 | #include "pythonic/include/types/traits.hpp"
  +++ |+#include <cstdint>

The issue is in Pythran.
Comment 3 Larry the Git Cow gentoo-dev 2022-10-28 11:50:55 UTC
The bug has been closed via the following commit(s):

commit 09eab4d4c13faf484c7622c51ea14ba0b53d6877
Author:     Sam James <>
AuthorDate: 2022-10-28 11:50:43 +0000
Commit:     Sam James <>
CommitDate: 2022-10-28 11:50:43 +0000

    dev-python/pythran: fix installed headers for GCC 13
    Signed-off-by: Sam James <>

 .../pythran/files/pythran-0.12.0-gcc13.patch       | 36 ++++++++++++++++++++++
 ...n-0.12.0-r1.ebuild => pythran-0.12.0-r2.ebuild} |  1 +
 2 files changed, 37 insertions(+)