Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 600122 - media-libs/harfbuzz-1.3.1 fails to find cairo
Summary: media-libs/harfbuzz-1.3.1 fails to find cairo
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-17 20:13 UTC by Haelwenn (lanodan) Monnier
Modified: 2017-09-28 07:36 UTC (History)
4 users (show)

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


Attachments
emerge-harfbuzz.log (build.log,20.58 KB, text/plain)
2016-11-17 20:15 UTC, Haelwenn (lanodan) Monnier
Details
emerge --info harfbuzz (with LLVM/Clang) (emerge --info harfbuzz.log,8.00 KB, text/x-log)
2016-11-17 20:18 UTC, Haelwenn (lanodan) Monnier
Details
/var/tmp/portage/media-libs/harfbuzz-1.3.1/work/harfbuzz-1.3.1-abi_x86_64.amd64/config.log (config.log,54.56 KB, text/x-log)
2016-11-17 23:32 UTC, Haelwenn (lanodan) Monnier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Haelwenn (lanodan) Monnier 2016-11-17 20:13:09 UTC
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++
Comment 1 Haelwenn (lanodan) Monnier 2016-11-17 20:15:46 UTC
Created attachment 453682 [details]
emerge-harfbuzz.log
Comment 2 Haelwenn (lanodan) Monnier 2016-11-17 20:18:01 UTC
Created attachment 453684 [details]
emerge --info harfbuzz (with LLVM/Clang)
Comment 3 Haelwenn (lanodan) Monnier 2016-11-17 20:20:11 UTC
Turns out it fails with gcc too.
Comment 4 Kobboi 2016-11-17 23:27:58 UTC
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!
Comment 5 Haelwenn (lanodan) Monnier 2016-11-17 23:32:32 UTC
Created attachment 453696 [details]
/var/tmp/portage/media-libs/harfbuzz-1.3.1/work/harfbuzz-1.3.1-abi_x86_64.amd64/config.log
Comment 6 Kobboi 2016-11-17 23:37:37 UTC
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")
Comment 7 Kobboi 2016-11-17 23:47:11 UTC
A 

cat /var/db/pkg/x11-libs/cairo-*/USE 

will be fine as well
Comment 8 Kobboi 2016-11-17 23:54:40 UTC
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 ?
Comment 9 Gilles Dartiguelongue (RETIRED) gentoo-dev 2017-09-28 07:36:28 UTC
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 ?