https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: sci-physics/espresso-4.1.3 fails to compile with gcc-11. Discovered on: amd64 (internal ref: tinderbox) NOTE: This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
Created attachment 712515 [details] build.log build log and emerge --info
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
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4709d8e4ea9ec149753b98cabf365b3520070d65 commit 4709d8e4ea9ec149753b98cabf365b3520070d65 Author: Jakov Smolić <jsmolic@gentoo.org> AuthorDate: 2021-08-30 21:18:46 +0000 Commit: Jakov Smolić <jsmolic@gentoo.org> 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 Closes: https://bugs.gentoo.org/737534 Closes: https://bugs.gentoo.org/793011 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org> sci-physics/espresso/espresso-4.1.3.ebuild | 6 ++++ .../espresso/files/espresso-4.1.3-gcc-11.patch | 37 ++++++++++++++++++++++ 2 files changed, 43 insertions(+)