configure: WARNING: could not find the required Xft headers and/or libraries. configure: please install Xft headers and libraries or use 'configure --disable-xft'. configure: error: Aborting. !!! Please attach the following file when seeking support: !!! /var/tmp/portage/x11-libs/fltk-1.3.4/work/fltk-1.3.4-abi_x86_64.amd64/config.log ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-no-multilib-hardened_libressl_20180501-232759 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.0 * Available Python interpreters, in order of preference: [1] python3.5 [2] python2.7 (fallback) Available Ruby profiles: [1] ruby23 (with Rubygems) * emerge -qpv x11-libs/fltk [ebuild N ] x11-libs/fltk-1.3.4 USE="opengl threads xft xinerama -cairo -debug -doc -examples -games -static-libs"
Created attachment 529618 [details] emerge-info.txt
Created attachment 529620 [details] emerge-history.txt
Created attachment 529622 [details] environment
Created attachment 529624 [details] etc.portage.tbz2
Created attachment 529626 [details] logs.tbz2
Created attachment 529628 [details] temp.tbz2
Created attachment 529630 [details] x11-libs:fltk-1.3.4:20180503-162821.log
Created attachment 529794 [details, diff] fltk-1.3.4-freetype_pkgconfig.patch Possible fix...
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42938eb5ccb07d39b4dcce0b6e04e30899e9925c commit 42938eb5ccb07d39b4dcce0b6e04e30899e9925c Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2018-05-07 21:01:12 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2018-05-07 21:01:26 +0000 x11-libs/fltk: Use pkg-config to find freetype Bug: https://bugs.gentoo.org/654752 Package-Manager: Portage-2.3.36, Repoman-2.3.9 .../fltk/files/fltk-1.3.4-freetype_pkgconfig.patch | 33 ++++++++++++++++++++++ x11-libs/fltk/fltk-1.3.4.ebuild | 2 ++ 2 files changed, 35 insertions(+)
The patch does not work because the PKG_CHECK_MODULE macro is not defined. And this is the error that I got with this patch: ./configure: line 7700: syntax error near unexpected token `FREETYPE,' ./configure: line 7700: ` PKG_CHECK_MODULES(FREETYPE, freetype2,' !!! Please attach the following file when seeking support: !!! /var/tmp/portage/x11-libs/fltk-1.3.4/work/fltk-1.3.4-abi_x86_64.amd64/config.log
(In reply to tokiclover from comment #10) > The patch does not work because the PKG_CHECK_MODULE macro is not defined. > And this is the error that I got with this patch: > > ./configure: line 7700: syntax error near unexpected token `FREETYPE,' > ./configure: line 7700: ` PKG_CHECK_MODULES(FREETYPE, freetype2,' > > !!! Please attach the following file when seeking support: > !!! > /var/tmp/portage/x11-libs/fltk-1.3.4/work/fltk-1.3.4-abi_x86_64.amd64/config. > log Please post your USE flag settings for fltk package.
(In reply to Lars Wendler (Polynomial-C) from comment #11) > (In reply to tokiclover from comment #10) > > The patch does not work because the PKG_CHECK_MODULE macro is not defined. > > And this is the error that I got with this patch: > > > > ./configure: line 7700: syntax error near unexpected token `FREETYPE,' > > ./configure: line 7700: ` PKG_CHECK_MODULES(FREETYPE, freetype2,' > > > > !!! Please attach the following file when seeking support: > > !!! > > /var/tmp/portage/x11-libs/fltk-1.3.4/work/fltk-1.3.4-abi_x86_64.amd64/config. > > log > > Please post your USE flag settings for fltk package. eix x11-libs/fltk [...] Installed versions: 1.3.4(1){tbz2}(07:32:59 PM 05/11/2018)(cairo opengl threads xft xinerama -debug -doc -examples -games -static-libs ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32") [...] emerge --info x11-libs/fltk [...] x11-libs/fltk-1.3.4::gentoo was built with the following: USE="cairo opengl threads xft xinerama -debug -doc -examples -games -static-libs" ABI_X86="(64) -32 (-x32)" CFLAGS="-O2 -march=native -pipe -floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block -ftree-vectorize" CXXFLAGS="-O2 -march=native -pipe -floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block -ftree-vectorize" LDFLAGS="-Wl,-O1 -Wl,--as-needed"
Can someone test and report back again please? I am quite sure this must be fixed now.
yep