Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 793011 - sci-physics/espresso-4.1.3 fails to compile with gcc-11
Summary: sci-physics/espresso-4.1.3 fails to compile with gcc-11
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Physics related packages
Depends on:
Blocks: gcc-11
  Show dependency tree
Reported: 2021-05-30 09:42 UTC by Agostino Sarubbo
Modified: 2021-08-30 21:23 UTC (History)
0 users

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

build.log (build.log,144.61 KB, text/plain)
2021-05-30 09:42 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 2021-05-30 09:42:22 UTC

Issue: sci-physics/espresso-4.1.3 fails to compile with gcc-11.
Discovered on: amd64 (internal ref: tinderbox)

This machine uses GCC-11:
Comment 1 Agostino Sarubbo gentoo-dev 2021-05-30 09:42:24 UTC
Created attachment 712515 [details]

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-05-30 09:42:27 UTC
Possible context of error(s):

-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
-- Could NOT find GSL (missing: GSL_INCLUDE_DIR GSL_LIBRARY) (found version "")
-- Could NOT find Sphinx (missing: SPHINX_EXECUTABLE SPHINX_API_DOC_EXE) (Required is at least version "1.6.6")
/var/tmp/portage/sci-physics/espresso-4.1.3/work/espresso/src/utils/include/utils/NumeratedContainer.hpp:160:3: error: ‘size_t’ does not name a type
Comment 3 Larry the Git Cow gentoo-dev 2021-08-30 21:23:19 UTC
The bug has been closed via the following commit(s):

commit 4709d8e4ea9ec149753b98cabf365b3520070d65
Author:     Jakov Smolić <>
AuthorDate: 2021-08-30 21:18:46 +0000
Commit:     Jakov Smolić <>
CommitDate: 2021-08-30 21:22:07 +0000

    sci-physics/espresso: Fix build with gcc-11
    * Call python_optimize for non byte-compiled modules
    * Builds with >=boost-1.75 versions
    Signed-off-by: Jakov Smolić <>

 sci-physics/espresso/espresso-4.1.3.ebuild         |  6 ++++
 .../espresso/files/espresso-4.1.3-gcc-11.patch     | 37 ++++++++++++++++++++++
 2 files changed, 43 insertions(+)