Summary: | x11-libs/fltk-1.3.4 - configure:7844: please install Xft headers and libraries or use 'configure --disable-xft'. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Desktop Misc. Team <desktop-misc> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | leonchik1976, polynomial-c, tokiclover |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | Need to submit the patch to upstream | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 654792 | ||
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tbz2 logs.tbz2 temp.tbz2 x11-libs:fltk-1.3.4:20180503-162821.log fltk-1.3.4-freetype_pkgconfig.patch |
Description
Toralf Förster
2018-05-03 17:13:07 UTC
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 |