Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906950 - app-text/crengine-ng-0.9.9 - /.../textlang.h: fatal error: hb-ft.h: No such file or directory
Summary: app-text/crengine-ng-0.9.9 - /.../textlang.h: fatal error: hb-ft.h: No such f...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Andrey Grozin
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-22 16:46 UTC by Toralf Förster
Modified: 2023-05-23 12:39 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,20.12 KB, text/plain)
2023-05-22 16:46 UTC, Toralf Förster
Details
app-text:crengine-ng-0.9.9:20230522-004010.log (app-text:crengine-ng-0.9.9:20230522-004010.log,116.30 KB, text/plain)
2023-05-22 16:46 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,71.23 KB, application/x-bzip)
2023-05-22 16:46 UTC, Toralf Förster
Details
environment (environment,99.55 KB, text/plain)
2023-05-22 16:46 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,851 bytes, application/x-bzip)
2023-05-22 16:46 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,30.79 KB, application/x-bzip)
2023-05-22 16:46 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,30.78 KB, application/x-bzip)
2023-05-22 16:46 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-05-22 16:46:05 UTC
too long lines were shrinked:

[94/217] /usr/bin/x86_64-pc-linux-gnu-g++ -DCMARK_GFM_EXTENSIONS_STATIC_DEFINE -DCMARK_GFM_STATIC_DEFINE -DCR3_ANTIWORD_PATCH=1 -DDOC_BUFFER_SIZE=0x400000 -DDOC_DATA_COMPRESSION_LEVEL=1 -DLINUX=1 -DLVLONG_FILE_SUPPORT=1 -DMAX_IMAGE_SCALE_MUL=0 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -D_LINUX=
[95/217] /usr/bin/x86_64-pc-linux-gnu-g++ -DCMARK_GFM_EXTENSIONS_STATIC_DEFINE -DCMARK_GFM_STATIC_DEFINE -DCR3_ANTIWORD_PATCH=1 -DDOC_BUFFER_SIZE=0x400000 -DDOC_DATA_COMPRESSION_LEVEL=1 -DLINUX=1 -DLVLONG_FILE_SUPPORT=1 -DMAX_IMAGE_SCALE_MUL=0 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -D_LINUX=
[96/217] /usr/bin/x86_64-pc-linux-gnu-g++ -DCMARK_GFM_EXTENSIONS_STATIC_DEFINE -DCMARK_GFM_STATIC_DEFINE -DCR3_ANTIWORD_PATCH=1 -DDOC_BUFFER_SIZE=0x400000 -DDOC_DATA_COMPRESSION_LEVEL=1 -DLINUX=1 -DLVLONG_FILE_SUPPORT=1 -DMAX_IMAGE_SCALE_MUL=0 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -D_LINUX=
FAILED: crengine/CMakeFiles/crengine-ng.dir/src/lvstsheet.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DCMARK_GFM_EXTENSIONS_STATIC_DEFINE -DCMARK_GFM_STATIC_DEFINE -DCR3_ANTIWORD_PATCH=1 -DDOC_BUFFER_SIZE=0x400000 -DDOC_DATA_COMPRESSION_LEVEL=1 -DLINUX=1 -DLVLONG_FILE_SUPPORT=1 -DMAX_IMAGE_SCALE_MUL=0 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -D_LINUX=1 -Dcreng
In file included from /var/tmp/portage/app-text/crengine-ng-0.9.9/work/crengine-ng-0.9.9/crengine/src/lvstsheet.cpp:47:
/var/tmp/portage/app-text/crengine-ng-0.9.9/work/crengine-ng-0.9.9/crengine/src/textlang.h:33:10: fatal error: hb-ft.h: No such file or directory
   33 | #include <hb-ft.h>
      |          ^~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_hardened-j4-20230517-204506

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.4
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.4
Python 3.11.3
Available Ruby profiles:
  [1]   ruby30 (with Rubygems) *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.18_p10 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

php cli (if any):
go version go1.20.4 linux/amd64

  HEAD of ::gentoo
commit 66fe5dbee63507c3defc147ebcf3e3a073b6a7e2
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun May 21 23:16:59 2023 +0000

    2023-05-21 23:16:59 UTC

emerge -qpvO app-text/crengine-ng
[ebuild  N    ] app-text/crengine-ng-0.9.9  USE="chm fontconfig fribidi harfbuzz jpeg libunibreak libutf8proc png svg zstd -gif -lto -static-libs"
Comment 1 Toralf Förster gentoo-dev 2023-05-22 16:46:06 UTC
Created attachment 862202 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-05-22 16:46:07 UTC
Created attachment 862203 [details]
app-text:crengine-ng-0.9.9:20230522-004010.log
Comment 3 Toralf Förster gentoo-dev 2023-05-22 16:46:08 UTC
Created attachment 862204 [details]
emerge-history.txt.bz2
Comment 4 Toralf Förster gentoo-dev 2023-05-22 16:46:09 UTC
Created attachment 862205 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-05-22 16:46:10 UTC
Created attachment 862206 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-05-22 16:46:11 UTC
Created attachment 862207 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-05-22 16:46:12 UTC
Created attachment 862208 [details]
temp.tar.bz2
Comment 8 Aleksey Chernov 2023-05-22 16:53:57 UTC
Please post version of media-libs/harfbuzz
Comment 9 Toralf Förster gentoo-dev 2023-05-22 16:55:02 UTC
(In reply to Aleksey Chernov from comment #8)
> Please post version of media-libs/harfbuzz

pls have a look at the attached emerge history.
Comment 10 Aleksey Chernov 2023-05-22 17:30:03 UTC
For crengine-ng media-libs/harfbuzz must be build with "truetype" USE flag.
So app-text/crengine-ng ebuild should be changed.
Something like this:

--- crengine-ng-0.9.9.ebuild    2023-04-24 08:10:13.000000000 +0400
+++ crengine-ng-0.9.9-r1.ebuild 2023-05-22 21:23:16.352779151 +0400
@@ -17,7 +17,7 @@
        png? ( media-libs/libpng:0 )
        jpeg? ( media-libs/libjpeg-turbo )
        >=media-libs/freetype-2.10.0
-       harfbuzz? ( media-libs/harfbuzz:= )
+       harfbuzz? ( media-libs/harfbuzz:=[truetype] )
        libunibreak? ( dev-libs/libunibreak:= )
        fribidi? ( dev-libs/fribidi )
        zstd? ( app-arch/zstd:= )

I believe Andrey Grozin will fix this.
Comment 11 Larry the Git Cow gentoo-dev 2023-05-23 12:39:38 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56eef508ac2d7306dfce0919193aa6bb19c93451

commit 56eef508ac2d7306dfce0919193aa6bb19c93451
Author:     Andrey Grozin <grozin@gentoo.org>
AuthorDate: 2023-05-23 12:39:15 +0000
Commit:     Andrey Grozin <grozin@gentoo.org>
CommitDate: 2023-05-23 12:39:15 +0000

    app-text/crengine-ng: DEPEND on harfbuzz[truetype]
    
    Closes: https://bugs.gentoo.org/906950
    Signed-off-by: Andrey Grozin <grozin@gentoo.org>

 app-text/crengine-ng/crengine-ng-0.9.7.ebuild | 2 +-
 app-text/crengine-ng/crengine-ng-0.9.9.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)