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

Bug 898280

Summary: sci-libs/gmsh-4.10.3 fails to compile (MUSL-CLANG-SYSTEM): edgegen.c:1680:18: error: call to undeclared library function strlen with type unsigned long (const char ); ISO C99 and later do not support implicit function declarations [-Wimplicit-function-de
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Matthias Maier <tamiko>
Status: CONFIRMED ---    
Severity: normal CC: sci
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: ~arch only
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: build.log.xz

Description Agostino Sarubbo gentoo-dev 2023-02-28 09:43:16 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-libs/gmsh-4.10.3 fails to compile (MUSL-CLANG-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-CLANG-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc + clang16 but this bug MAY or MAY NOT BE related to musl/clang16.
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-28 09:43:18 UTC
Created attachment 855104 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2023-02-28 09:43:20 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED: CMakeFiles/gmsh.dir/contrib/blossom/concorde97/EDGEGEN/edgegen.c.o 
/var/tmp/portage/sci-libs/gmsh-4.10.3/work/gmsh-4.10.3-source/contrib/blossom/concorde97/EDGEGEN/edgegen.c:1680:18: error: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]