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

Bug 898272

Summary: sci-libs/trilinos-13.4.1 fails to compile (MUSL-CLANG-SYSTEM): trilinos_klu_factor.c:506:19: error: call to undeclared function omp_get_num_threads; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
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:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: build.log

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

Issue: sci-libs/trilinos-13.4.1 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:36:57 UTC
Created attachment 855096 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-02-28 09:36:59 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
-- NOTE: Can't fill in version date files for Trilinos since /var/tmp/portage/sci-libs/trilinos-13.4.1/work/Trilinos-trilinos-release-13-4-1/.git/ does not exist!
-- Setting Trilinos_ENABLE_TriKota=OFF because '/var/tmp/portage/sci-libs/trilinos-13.4.1/work/Trilinos-trilinos-release-13-4-1/packages/TriKota/Dakota' does not exist!
/var/tmp/portage/sci-libs/trilinos-13.4.1/work/Trilinos-trilinos-release-13-4-1/packages/common/auxiliarySoftware/SuiteSparse/src/KLU/Source/trilinos_klu_factor.c:506:19: error: call to undeclared function 'omp_get_num_threads'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]