Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 690742 - pango 1.42.4 fails configure phase "No package 'cairo-quartz-font' found"
Summary: pango 1.42.4 fails configure phase "No package 'cairo-quartz-font' found"
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-26 02:51 UTC by Daiajo Tibdixious
Modified: 2019-08-12 05:51 UTC (History)
0 users

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


Attachments
configure log (pango-config.log.gz,8.43 KB, application/gzip)
2019-07-26 02:51 UTC, Daiajo Tibdixious
Details
build log (pango-config.log.gz,8.43 KB, application/gzip)
2019-07-26 02:54 UTC, Daiajo Tibdixious
Details
emerge --info (pango-info.txt,6.26 KB, text/plain)
2019-07-26 02:55 UTC, Daiajo Tibdixious
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daiajo Tibdixious 2019-07-26 02:51:32 UTC
Created attachment 584672 [details]
configure log

Trying to rebuild pango where it complains that no font backend support is present, and it spuriously reports cairo-quartz-font not found, which is not supposed to even been there on Linux.

configure checks for cairo-ft, then cairo-win32, then cairo-quartz-font.
The check for cairo-ft is only done if freetype2 is present:
# grep freetype ../pango-1.42.4-abi_x86_32.x86/config.log
pkg_cv_CAIRO_CFLAGS='-I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16'
CAIRO_CFLAGS='-I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16'

Since /usr/include/freetype2 is there I assume that configure has found it.

# ls /usr/*/pkgconfig/cairo-ft.pc
/usr/lib64/pkgconfig/cairo-ft.pc  /usr/lib/pkgconfig/cairo-ft.pc

The check for cairo-ft has >= $version_required
# grep "cairo_required=" configure.ac
cairo_required=1.12.10
# grep "Version: " /usr/lib/pkgconfig/cairo-ft.pc
Version: 1.16.0

Manually running pkg-config works:
# pkg-config --exists --print-errors "cairo-ft >= 1.12.10"
Puting in a spurious version gives an error as expected:
# pkg-config --exists --print-errors "cairo-ft >= 1.20.10"
Requested 'cairo-ft >= 1.20.10' but version of cairo-ft is 1.16.0

I can't understand why configure is failing and why with the wrong error message.
Comment 1 Daiajo Tibdixious 2019-07-26 02:54:14 UTC
Created attachment 584674 [details]
build log
Comment 2 Daiajo Tibdixious 2019-07-26 02:55:59 UTC
Created attachment 584676 [details]
emerge --info
Comment 3 Daiajo Tibdixious 2019-07-26 02:57:33 UTC
# emerge -pqv '=x11-libs/pango-1.42.4-r1::gentoo'
[ebuild   R   ] x11-libs/pango-1.42.4-r1  USE="X introspection -test" ABI_X86="32 (64) (-x32)"
Comment 4 Mart Raudsepp gentoo-dev 2019-07-26 08:58:00 UTC
This looks like another incarnation of bug 675566. In short, it is picking up your crossdev pkg-config and everything goes sad.

*** This bug has been marked as a duplicate of bug 675566 ***
Comment 5 Mart Raudsepp gentoo-dev 2019-07-26 09:01:41 UTC
Actually, a i686-pc-linux-gnu-pkg-config exists when all is good too. So not quite sure if that's it or not, depends if it's crossdev pkg-config or not.

ls -l /usr/bin/i686-pc-linux-gnu-pkg-config
qfile -e /usr/bin/i686-pc-linux-gnu-pkg-config
Comment 6 Daiajo Tibdixious 2019-07-26 09:37:45 UTC
# ls -l /usr/bin/i686-pc-linux-gnu-pkg-config
-rwxr-xr-x 1 root root 46800 Dec  3  2017 /usr/bin/i686-pc-linux-gnu-pkg-config
# qfile -e /usr/bin/i686-pc-linux-gnu-pkg-config
dev-util/pkgconfig-0.29.2 (/usr/bin/i686-pc-linux-gnu-pkg-config)
Comment 7 Daiajo Tibdixious 2019-07-26 09:41:19 UTC
I don't have crossdev installed.
Comment 8 Daiajo Tibdixious 2019-08-01 01:32:57 UTC
# /usr/bin/i686-pc-linux-gnu-pkg-config --print-errors cairo-ft
Package cairo-ft was not found in the pkg-config search path.
Perhaps you should add the directory containing `cairo-ft.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cairo-ft' found

# ls /usr/*/pkgconfig/cairo-ft.pc
/usr/lib64/pkgconfig/cairo-ft.pc  /usr/lib/pkgconfig/cairo-ft.pc

# export PKG_CONFIG_PATH=/usr/lib/pkgconfig
# /usr/bin/i686-pc-linux-gnu-pkg-config --print-errors cairo-ft

No errors interactively with PKG_CONFIG_PATH set to /usr/lib. However adding this to make.conf does not work:
# grep PKG /etc/portage/make.conf
PKG_CONFIG_PATH=/usr/lib/pkgconfig      # 32 big configure is not finding it

Why doesn't the setting here not affect the normal build?
What else can I do to get i686-pc-linux-gnu-pkg-config to work?
Comment 9 Mart Raudsepp gentoo-dev 2019-08-12 05:21:04 UTC
you have reinstalled your pkgconfig provider (hopefully dev-util/pkgconf) after the migration to 17.1 profiles, yes?
Comment 10 Daiajo Tibdixious 2019-08-12 05:51:00 UTC
I rebuilt pkfconf several times. Note that this bug is probably irrelevant now.

I was working through rebuilding every 32 bit package, got through 50 of them with no problems, then configure starts failing on everything, and pkfconf itself will not rebuild.
I am getting a new disk and will do a fresh install on it, as its looking like a partial disk failure to me. I cannot install nor rebuild any software at the moment.