Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 793011

Summary: sci-physics/espresso-4.1.3 fails to compile with gcc-11
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Science Physics related packages <sci-physics>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 732706    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2021-05-30 09:42:22 UTC
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
Comment 1 Agostino Sarubbo gentoo-dev 2021-05-30 09:42:24 UTC
Created attachment 712515 [details]
build.log

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):

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(+)