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.
Created attachment 584674 [details] build log
Created attachment 584676 [details] emerge --info
# 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)"
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 ***
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
# 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)
I don't have crossdev installed.
# /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?
you have reinstalled your pkgconfig provider (hopefully dev-util/pkgconf) after the migration to 17.1 profiles, yes?
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.