Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 898280 - 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
Summary: sci-libs/gmsh-4.10.3 fails to compile (MUSL-CLANG-SYSTEM): edgegen.c:1680:18:...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthias Maier
Depends on:
Blocks: c99-porting, clang-16-porting
  Show dependency tree
Reported: 2023-02-28 09:43 UTC by Agostino Sarubbo
Modified: 2023-02-28 09:43 UTC (History)
1 user (show)

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

build.log.xz (build.log.xz,24.45 KB, application/x-xz)
2023-02-28 09:43 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 2023-02-28 09:43:16 UTC

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

(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 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]