Summary: | app-text/xdvik-22.87.03-r1 : dvi-init.h:30:11: fatal error: ft2build.h: No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | CJK Team <cjk> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | carlphilippreh, fturco, kaikaikai, makosoft, orzel, solpeth, tex, vityokster, zeekec |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 654792 | ||
Attachments: |
emerge-info.txt
app-text:xdvik-22.87.03-r1:20180509-095111.log emerge-history.txt environment etc.portage.tbz2 logs.tbz2 Use pkgconfig to find freetype2 |
Description
Toralf Förster
2018-05-09 15:55:04 UTC
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. |