When CC=clang; CXX=clang++; harfbuzz fails to find cairo during the configure part. Reproducible: Always Steps to Reproduce: 1. Have clang 2. put CC=clang and CXX=clang++
Created attachment 453682 [details] emerge-harfbuzz.log
Created attachment 453684 [details] emerge --info harfbuzz (with LLVM/Clang)
Turns out it fails with gcc too.
It also says: configure: error: cairo support requested but not found !!! Please attach the following file when seeking support: !!! /var/tmp/portage/media-libs/harfbuzz-1.3.1/work/harfbuzz-1.3.1-abi_x86_64.amd64/config.log Can you do so? Thanks!
Created attachment 453696 [details] /var/tmp/portage/media-libs/harfbuzz-1.3.1/work/harfbuzz-1.3.1-abi_x86_64.amd64/config.log
I am assuming you only have 32-bit cairo installed. Can you verify that? (If you have eix installed, post the output of "eix x11-libs/cairo")
A cat /var/db/pkg/x11-libs/cairo-*/USE will be fine as well
Also note the following in the config.log: configure:18185: $PKG_CONFIG --exists --print-errors "cairo >= 1.8.0" Package egl was not found in the pkg-config search path. Perhaps you should add the directory containing `egl.pc' to the PKG_CONFIG_PATH environment variable Package 'egl', required by 'cairo', not found configure:18188: $? = 1 configure:18203: $PKG_CONFIG --exists --print-errors "cairo >= 1.8.0" Package egl was not found in the pkg-config search path. Perhaps you should add the directory containing `egl.pc' to the PKG_CONFIG_PATH environment variable Package 'egl', required by 'cairo', not found configure:18206: $? = 1 Package 'egl', required by 'cairo', not found configure:18234: result: no configure:18248: error: cairo support requested but not found Can you give me the same USE flag information for media-libs/mesa ?
Besides your system being built with LTO, I don't see a possible scenario for why cairo would be missing and/or broken. Could you please update the ticket with up-to-date information and information requested by Kobboi ?