Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 898272 - 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]
Summary: sci-libs/trilinos-13.4.1 fails to compile (MUSL-CLANG-SYSTEM): trilinos_klu_f...
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
  Show dependency tree
Reported: 2023-02-28 09:36 UTC by Agostino Sarubbo
Modified: 2023-02-28 09:36 UTC (History)
1 user (show)

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

build.log (build.log,824.85 KB, text/plain)
2023-02-28 09:36 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:36:54 UTC

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

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]