Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 654752 - x11-libs/fltk-1.3.4 - configure:7844: please install Xft headers and libraries or use 'configure --disable-xft'.
Summary: x11-libs/fltk-1.3.4 - configure:7844: please install Xft headers and librarie...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Desktop Misc. Team
URL:
Whiteboard: Need to submit the patch to upstream
Keywords:
Depends on:
Blocks: freetype-config
  Show dependency tree
 
Reported: 2018-05-03 17:13 UTC by Toralf Förster
Modified: 2018-07-08 08:34 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.28 KB, text/plain)
2018-05-03 17:13 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,111.20 KB, text/plain)
2018-05-03 17:13 UTC, Toralf Förster
Details
environment (environment,121.18 KB, text/plain)
2018-05-03 17:13 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.98 KB, application/x-bzip)
2018-05-03 17:13 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,8.41 KB, application/x-bzip)
2018-05-03 17:13 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,29.53 KB, application/x-bzip)
2018-05-03 17:13 UTC, Toralf Förster
Details
x11-libs:fltk-1.3.4:20180503-162821.log (x11-libs:fltk-1.3.4:20180503-162821.log,9.41 KB, text/plain)
2018-05-03 17:13 UTC, Toralf Förster
Details
fltk-1.3.4-freetype_pkgconfig.patch (fltk-1.3.4-freetype_pkgconfig.patch,1.00 KB, patch)
2018-05-04 18:16 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-05-03 17:13:07 UTC
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"
Comment 1 Toralf Förster gentoo-dev 2018-05-03 17:13:10 UTC
Created attachment 529618 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-05-03 17:13:13 UTC
Created attachment 529620 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-05-03 17:13:16 UTC
Created attachment 529622 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-05-03 17:13:19 UTC
Created attachment 529624 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-05-03 17:13:22 UTC
Created attachment 529626 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-05-03 17:13:25 UTC
Created attachment 529628 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-05-03 17:13:28 UTC
Created attachment 529630 [details]
x11-libs:fltk-1.3.4:20180503-162821.log
Comment 8 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-05-04 18:16:49 UTC
Created attachment 529794 [details, diff]
fltk-1.3.4-freetype_pkgconfig.patch

Possible fix...
Comment 9 Larry the Git Cow gentoo-dev 2018-05-07 21:01:32 UTC
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(+)
Comment 10 tokiclover 2018-05-15 17:01:59 UTC
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
Comment 11 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-05-16 15:57:52 UTC
(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.
Comment 12 tokiclover 2018-05-23 15:44:28 UTC
(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"
Comment 13 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-07-08 06:31:50 UTC
Can someone test and report back again please? I am quite sure this must be fixed now.
Comment 14 Toralf Förster gentoo-dev 2018-07-08 08:34:45 UTC
yep