https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: sci-libs/gmsh-4.11.1 fails to compile. Discovered on: amd64 (internal ref: ci)
CC'ing also the author of the commit (dae904a2d9c40cd0a549576706abecd596692cfc)
Created attachment 861031 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: FAILED: CMakeFiles/gmsh.dir/src/mesh/meshGFacePack.cpp.o /var/tmp/portage/sci-libs/gmsh-4.11.1/work/gmsh-4.11.1-source/src/mesh/meshGFacePack.cpp:209:7: error: ‘uint32_t’ was not declared in this scope
It seems it GCC 13 related issue. In GCC 13 changelog and porting tips [1] is stated: """ The following headers are used less widely in libstdc++ and may need to be included explicitly when compiling with GCC 13: <string> (for std::string, std::to_string, std::stoi etc.) <system_error> (for std::error_code, std::error_category, std::system_error). <cstdint> (for std::int8_t, std::int32_t etc.) <cstdio> (for std::printf, std::fopen etc.) <cstdlib> (for std::strtol, std::malloc etc.) """ So maybe smth else. with <cstdint> additionnaly must be added. [1] https://gcc.gnu.org/gcc-13/porting_to.html
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=020a22ee51f59b72936943e69953b0971acf127f commit 020a22ee51f59b72936943e69953b0971acf127f Author: Sergey Torokhov <torokhov-s-a@yandex.ru> AuthorDate: 2023-05-02 17:14:21 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-05-02 17:44:57 +0000 sci-libs/gmsh: 4.11.1 fix GCC-13 compatibility Closes: https://bugs.gentoo.org/905445 Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru> Closes: https://github.com/gentoo/gentoo/pull/30839 Signed-off-by: Sam James <sam@gentoo.org> .../gmsh-4.11.1_gcc13_fix_cstdint_include.patch | 29 ++++++++++++++++++++++ sci-libs/gmsh/gmsh-4.11.1.ebuild | 5 +++- 2 files changed, 33 insertions(+), 1 deletion(-)