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

Bug 607326

Summary: dev-libs/jemalloc-4.4.0: wrong include dir in pkgconfig file
Product: Gentoo Linux Reporter: hexum <hexumg>
Component: Current packagesAssignee: Jory A. Pratt <anarchy>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 607128    

Description hexum 2017-01-26 17:41:56 UTC
/usr/lib/pkgconfig/jemalloc.pc contains wrond includedir value after installlation.
Should be:
    includedir=${prefix}/include/jemalloc
Actual:
    includedir=${prefix}/include

Ralates to bug 607128
Comment 1 Jory A. Pratt gentoo-dev 2017-01-27 03:12:06 UTC
Please read 'man jemalloc' for proper usage of how to include jemalloc.h
Comment 2 hexum 2017-01-27 13:48:37 UTC
Direct include setting is a good solution. But some build systems (like CMake) relies on pkg-config DB and do not allow direct include directory setting (without hardcode patching).
See related bug 607128.
Comment 3 Jory A. Pratt gentoo-dev 2017-01-28 00:03:48 UTC
I have done spoken with upstream and the pkg-config is correct. I will not argue the point Cmake needs to be fixed no jemalloc
Comment 4 hexum 2017-01-28 00:18:31 UTC
Ye, this time I got it.