x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./gui -DPS_GS -I/usr/lib64 -I/usr/include -I/usr/lib64 -Wimplicit -Wreturn-type -O2 -pipe -march=native -c -o dvi-draw.o dvi-draw.c In file included from dvi-draw.c:54:0: dvi-init.h:30:11: fatal error: ft2build.h: No such file or directory # include <ft2build.h> ^~~~~~~~~~~~ compilation terminated. ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-desktop-plasma_ffmpeg4_20180501-112342 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.0 * Available Python interpreters, in order of preference: [1] python3.5 [2] python3.6 (fallback) [3] python2.7 (fallback) [4] pypy3 (fallback) [5] pypy (fallback) [6] jython2.7 (fallback) Available Ruby profiles: [1] ruby23 (with Rubygems) * java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.7.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm emerge -qpv app-text/xdvik [ebuild N ] app-text/xdvik-22.87.03-r1 USE="-Xaw3d -emacs -motif -neXt"
Created attachment 530616 [details] emerge-info.txt
Created attachment 530618 [details] app-text:xdvik-22.87.03-r1:20180509-095111.log
Created attachment 530620 [details] emerge-history.txt
Created attachment 530622 [details] environment
Created attachment 530624 [details] etc.portage.tbz2
Created attachment 530626 [details] logs.tbz2
checking for x86_64-pc-linux-gnu-freetype-config... no checking for freetype-config... no
I have the same issue. Is there any patch?
I miss freetype-config on my systems as well. root@lynx:/root(9)# genlop -t freetype | tail Fri May 4 23:47:55 2018 >>> media-libs/freetype-2.9.1-r1 merge time: 33 seconds. Thu May 10 09:45:27 2018 >>> media-libs/freetype-2.9 merge time: 34 seconds. Wed Jun 6 19:30:35 2018 >>> media-libs/freetype-2.9.1-r4 merge time: 42 seconds.
There's a line in freetype ebuild that disables freetype-config. I think it should be replaced to either always enabling freetype-config or bind it to some USE flag which is required by this package.
(In reply to TSM from comment #10) > There's a line in freetype ebuild that disables freetype-config. > I think it should be replaced to either always enabling freetype-config or > bind it to some USE flag which is required by this package. Wrong. xdvik needs to be fixed to no longer use freetype-config which is long deprecated.
As a workaround I masked: >media-libs/freetype-2.9 .
On my system downgrading media-libs/freetype from version 2.9.1-r4 to version 2.9.1-r3 fixes the problem.
(In reply to Francesco Turco from comment #13) > On my system downgrading media-libs/freetype from version 2.9.1-r4 to > version 2.9.1-r3 fixes the problem. This worked for me as well.
It looks as the same bug as https://bugs.gentoo.org/654770
It builds on freetype > 2.8 when you add "-I/usr/include/freetype" to CFLAGS and "-lfreetype" to LIBS for the package
Created attachment 549202 [details, diff] Use pkgconfig to find freetype2 This patch should fix the problem if you can get eautoreconf to complete successfully. I was stumped by it erroring out later on due to an apparently-unrelated issue. Good luck! (Patch is somewhat tested; autoreconf manages to rebuild the necessary files before failing, and that's enough to compile xdvik.)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a975bbac7fdb2ee7d70131caa9b039a5801ddd13 commit a975bbac7fdb2ee7d70131caa9b039a5801ddd13 Author: Naohiro Aota <naota@gentoo.org> AuthorDate: 2018-10-08 21:43:02 +0000 Commit: Naohiro Aota <naota@gentoo.org> CommitDate: 2018-10-08 21:51:19 +0000 app-text/xdvik: use pkg-config instead of freetype-config Also, bump to EAPI=6 and introduced CDEPEND variable. Thanks to Aidan Thornton for the patch. Closes: https://bugs.gentoo.org/655358 Signed-off-by: Naohiro Aota <naota@gentoo.org> Package-Manager: Portage-2.3.50, Repoman-2.3.11 .../files/xdvik-22.87.03-freetype2-config.patch | 23 +++++ app-text/xdvik/xdvik-22.87.03-r2.ebuild | 115 +++++++++++++++++++++ 2 files changed, 138 insertions(+)
(In reply to Francesco Turco from comment #13) > On my system downgrading media-libs/freetype from version 2.9.1-r4 to > version 2.9.1-r3 fixes the problem. fails with stable media-libs/freetype-2.10.2-r1 amd64. Advice succeded. :) Thks 4 ur attention, interest & support.
Once above done, did update freetype to latest stable. Thks 4 ur attention, interest & support.