Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 838319 - sci-libs/mkl-2020.4.304: incorrect Cflags in pkg-config file
Summary: sci-libs/mkl-2020.4.304: incorrect Cflags in pkg-config file
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-14 10:35 UTC by Andrew
Modified: 2022-04-15 19:12 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew 2022-04-14 10:35:30 UTC
A few *.pc files installed by sci-libs/mkl package have wrong Cflags, setting include dir to just /usr/incude, as opposed to correct one /usr/include/mkl.

Reproducible: Always

Steps to Reproduce:
$ cd /usr/lib64/pkgconfig
$ grep "include" mkl*pc
Actual Results:  
mkl-dynamic-ilp64-iomp.pc:includedir=${prefix}/include/mkl
mkl-dynamic-ilp64-iomp.pc:Cflags: -I${includedir}
mkl-dynamic-ilp64-seq.pc:includedir=${prefix}/include/mkl
mkl-dynamic-ilp64-seq.pc:Cflags: -I${includedir}
mkl-dynamic-lp64-iomp.pc:includedir=${prefix}/include/mkl
mkl-dynamic-lp64-iomp.pc:Cflags: -I${includedir}
mkl-dynamic-lp64-seq.pc:includedir=${prefix}/include
mkl-dynamic-lp64-seq.pc:Cflags: -I${includedir}
mkl-sdl-ilp64.pc:includedir=${prefix}/include/mkl
mkl-sdl-ilp64.pc:Cflags: -I${includedir} -DMKL_ILP64 -m64
mkl-sdl-lp64.pc:includedir=${prefix}/include/mkl
mkl-sdl-lp64.pc:Cflags: -I${includedir} -m64
mkl-static-ilp64-iomp.pc:includedir=${prefix}/include
mkl-static-ilp64-iomp.pc:Cflags: -I${includedir}
mkl-static-ilp64-seq.pc:includedir=${prefix}/include
mkl-static-ilp64-seq.pc:Cflags: -I${includedir}
mkl-static-lp64-iomp.pc:includedir=${prefix}/include
mkl-static-lp64-iomp.pc:Cflags: -I${includedir}
mkl-static-lp64-seq.pc:includedir=${prefix}/include
mkl-static-lp64-seq.pc:Cflags: -I${includedir}

Expected Results:  
Expected includedir to be /usr/include/mkl in all of the files.

This leads to another software depending on MKL fail at build time with messages like "fatal error: mkl.h: No such file or directory".