Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 883971 - sci-mathematics/flint-2.9.0 fails to compile (CLANG-STRICTER-SYSTEM): mul_blas.c:24:10: fatal error: cblas.h file not found
Summary: sci-mathematics/flint-2.9.0 fails to compile (CLANG-STRICTER-SYSTEM): mul_bla...
Status: RESOLVED DUPLICATE of bug 787032
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michael Orlitzky
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-02 06:54 UTC by Agostino Sarubbo
Modified: 2022-12-20 02:42 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,577.71 KB, text/plain)
2022-12-02 06:54 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-12-02 06:54:48 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-mathematics/flint-2.9.0 fails to compile (CLANG-STRICTER-SYSTEM).
Discovered on: amd64 (internal ref: clang-stricter_tinderbox)

NOTE:
(CLANG-STRICTER-SYSTEM) in the summary means that the bug was found on a machine that runs clang with stricter mode

This machine uses clang with CFLAGS/CXXFLAGS=-Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-function-pointer-types

See also:
https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240
https://wiki.gentoo.org/wiki/Modern_C_porting
Comment 1 Agostino Sarubbo gentoo-dev 2022-12-02 06:54:51 UTC
Created attachment 838891 [details]
build.log

build log and emerge --info
Comment 2 Michael Orlitzky gentoo-dev 2022-12-20 02:27:29 UTC
Something is very strange here. The flint-2.9.0 ebuild has,

  DEPEND="dev-libs/gmp:=                                                                                                                                                       
    dev-libs/mpfr:=                                                                                                                                                          
    ntl? ( dev-libs/ntl:= )                                                                                                                                                  
    virtual/cblas"

yet you don't have virtual/cblas installed when you try to build flint. You *do* have both virtual/lapack and virtual/blas installed, both of which should pull in sci-libs/lapack as well. But regardless, sci-libs/lapack is not installed somehow, which is why cblas.h is missing...
Comment 3 Michael Orlitzky gentoo-dev 2022-12-20 02:42:56 UTC
Oh, right, this felt very familiar: bug 860018.

*** This bug has been marked as a duplicate of bug 787032 ***