[GNC-dev] Various failures while building MacOS/Quartz from source
Jim DeLaHunt
list+gnucash at jdlh.com
Thu Nov 3 04:56:47 EDT 2022
On 2022-11-01 12:58, John Ralls wrote:
>
>> On Oct 31, 2022, at 9:46 PM, Jim DeLaHunt <list+gnucash at jdlh.com> wrote:
>>
>> I am continuing my attempt to build GnuCash 4.11 from source on macOS 12.6 (M1 CPU), following the instructions at https://wiki.gnucash.org/wiki/MacOS/Quartz ....
>>
>> In the next 46,000 lines of output, there were about six failures:
>>
>> 1. during phase build of
>> freetype:/Users/gtkdeveloper/gnucash/src/freetype-2.11.1/src/autofit/afshaper.h:30:10:
>> fatal error: 'hb-ft.h' file not found
>> ...[2 through 6 elided]...
>>
> Jim,
>
> I just did a test build and it worked. There are a couple of minor fixups required in makefiles for xml-sec (your #4) and libdbi (#6), and libdbidrivers is broken and requires a manual step as a workaround.
>
> Failures 2 and 3 are because you didn't fix #1. #1's error indicates that it failed because harfbuzz-no-cairo built without freetype; that's probably because freetype-no-harfbuzz failed and you tried to keep going....
Interesting. Thank you for the insights.
I searched the stdout from my build attempt. I did not find any
diagnostic line about installing a file 'hb-ft.h'. I did see diagnostics
which seemed to say that freetype-no-harfbuzz and harfbuzz-no-cairo
installed without error.
Which module should install file 'hb-ft.h'? harfbuzz-no-cairo, perhaps?
Here are most of the 113 lines of output related to freetype-no-harfbuzz
(I elide dozens of "installing" messages):
=====
*** Checking out freetype-no-harfbuzz *** [18/76]
curl --continue-at - -L
http://downloads.sourceforge.net/sourceforge/freetype/freetype-2.11.1.tar.gz
-o /Users/gtkdeveloper/gnucash/src/pkgs/freetype-2.11.1.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 390 100 390 0 0 4316 0 --:--:-- --:--:--
--:--:-- 4642
100 365 100 365 0 0 2604 0 --:--:-- --:--:--
--:--:-- 2604
100 3370k 100 3370k 0 0 2791k 0 0:00:01 0:00:01 --:--:--
3854k
gzip -dc "/Users/gtkdeveloper/gnucash/src/pkgs/freetype-2.11.1.tar.gz" |
tar xf -
*** Configuring freetype-no-harfbuzz *** [18/76]
cmake -DCMAKE_INSTALL_PREFIX=/Users/gtkdeveloper/gnucash/inst
-DCMAKE_INSTALL_LIBDIR=lib -G Ninja
-DCMAKE_DISABLE_FIND_PACKAGE_HarfBuzz=TRUE
-DCMAKE_DISABLE_FIND_PACKAGE_BZip2=TRUE -D BUILD_SHARED_LIBS=true -D
CMAKE_BUILD_TYPE=Release
-DCMAKE_INSTALL_NAME_DIR="/Users/gtkdeveloper/gnucash/inst/lib"
/Users/gtkdeveloper/gnucash/src/freetype-2.11.1
-- The C compiler identification is AppleClang 14.0.0.14000029
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler:
/Library/Developer/CommandLineTools/usr/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found ZLIB: /Users/gtkdeveloper/gnucash/inst/lib/libz.dylib (found
version "1.2.13")
-- Found PNG: /Users/gtkdeveloper/gnucash/inst/lib/libpng.dylib (found
version "1.6.37")
-- Found BrotliDec: /opt/local/include
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for fcntl.h
-- Looking for fcntl.h - found
-- Configuring done
CMake Warning (dev):
Policy CMP0042 is not set: MACOSX_RPATH is enabled by default. Run "cmake
--help-policy CMP0042" for policy details. Use the cmake_policy
command to
set the policy and suppress this warning.
MACOSX_RPATH is not specified for the following targets:
freetype
This warning is for project developers. Use -Wno-dev to suppress it.
-- Generating done
-- Build files have been written to:
/Users/gtkdeveloper/gnucash/build/freetype-2.11.1
*** Building freetype-no-harfbuzz *** [18/76]
ninja
[43/43] Creating library symlink libfreetype.6.dylib libfreetype.dylib
*** Installing freetype-no-harfbuzz *** [18/76]
ninja install
[0/1] Install the project...
-- Install configuration: "Release"
-- Installing:
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-freetype-no-harfbuzz/Users/gtkdeveloper/gnucash/inst/include/freetype2
-- Installing:
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-freetype-no-harfbuzz/Users/gtkdeveloper/gnucash/inst/include/freetype2/dlg
-- Installing:
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-freetype-no-harfbuzz/Users/gtkdeveloper/gnucash/inst/include/freetype2/dlg/output.h
-- Installing:
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-freetype-no-harfbuzz/Users/gtkdeveloper/gnucash/inst/include/freetype2/dlg/dlg.h
-- Installing:
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-freetype-no-harfbuzz/Users/gtkdeveloper/gnucash/inst/include/freetype2/freetype
...[elide dozens of "Installing:" messages]...
-- Installing:
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-freetype-no-harfbuzz/Users/gtkdeveloper/gnucash/inst/lib/pkgconfig/freetype2.pc
-- Installing:
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-freetype-no-harfbuzz/Users/gtkdeveloper/gnucash/inst/lib/libfreetype.6.18.1.dylib
-- Installing:
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-freetype-no-harfbuzz/Users/gtkdeveloper/gnucash/inst/lib/libfreetype.6.dylib
-- Installing:
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-freetype-no-harfbuzz/Users/gtkdeveloper/gnucash/inst/lib/libfreetype.dylib
-- Installing:
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-freetype-no-harfbuzz/Users/gtkdeveloper/gnucash/inst/lib/cmake/freetype/freetype-config.cmake
-- Installing:
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-freetype-no-harfbuzz/Users/gtkdeveloper/gnucash/inst/lib/cmake/freetype/freetype-config-release.cmake
-- Installing:
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-freetype-no-harfbuzz/Users/gtkdeveloper/gnucash/inst/lib/cmake/freetype/freetype-config-version.cmake
I: Moving temporary DESTDIR
'/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-freetype-no-harfbuzz'
into build prefix
I: Install complete: 63 files copied
=====
Here are all of the 195 lines of output related to harfbuzz-no-cairo:
=====
*** Checking out harfbuzz-no-cairo *** [20/76]
curl --continue-at - -L
https://github.com/harfbuzz/harfbuzz/releases/download/4.1.0/harfbuzz-4.1.0.tar.xz
-o /Users/gtkdeveloper/gnucash/src/pkgs/harfbuzz-4.1.0.tar.xz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:--
--:--:-- 0
100 14.3M 100 14.3M 0 0 7713k 0 0:00:01 0:00:01 --:--:--
11.1M
xzcat -d "/Users/gtkdeveloper/gnucash/src/pkgs/harfbuzz-4.1.0.tar.xz" |
tar xf -
*** Configuring harfbuzz-no-cairo *** [20/76]
meson --prefix /Users/gtkdeveloper/gnucash/inst --libdir lib
-Dcoretext=enabled -Ddocs=disabled -Dbenchmark=disabled
-Dintrospection=disabled --wrap-mode=nofallback
/Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0
The Meson build system
Version: 0.63.3
Source dir: /Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0
Build dir: /Users/gtkdeveloper/gnucash/build/harfbuzz-4.1.0
Build type: native build
Project name: harfbuzz
Project version: 4.1.0
C compiler for the host machine:
/Library/Developer/CommandLineTools/usr/bin/gcc (clang 14.0.0 "Apple
clang version 14.0.0 (clang-1400.0.29.102)")
C linker for the host machine:
/Library/Developer/CommandLineTools/usr/bin/gcc ld64 819.6
C++ compiler for the host machine:
/Library/Developer/CommandLineTools/usr/bin/g++ (clang 14.0.0 "Apple
clang version 14.0.0 (clang-1400.0.29.102)")
C++ linker for the host machine:
/Library/Developer/CommandLineTools/usr/bin/g++ ld64 819.6
Host machine cpu family: aarch64
Host machine cpu: arm64
Compiler for C++ supports link arguments -Bsymbolic-functions: YES
Compiler for C++ supports arguments -fno-exceptions: YES
Compiler for C++ supports arguments -fno-rtti: YES
Compiler for C++ supports arguments -fno-threadsafe-statics: YES
Compiler for C++ supports arguments -fvisibility-inlines-hidden: YES
Library m found: YES
Found pkg-config: /Users/gtkdeveloper/gnucash/inst/bin/pkg-config (0.29.2)
Found CMake: /Users/gtkdeveloper/gnucash/inst/bin/cmake (3.20.0)
Run-time dependency freetype2 found: NO (tried pkgconfig, framework and
cmake)
Run-time dependency glib-2.0 found: YES 2.72.0
Run-time dependency gobject-2.0 found: YES 2.72.0
Dependency graphite2 skipped: feature graphite2 disabled
Dependency graphite2 skipped: feature graphite disabled
Run-time dependency icu-uc found: YES 68.2
Run-time dependency cairo found: NO (tried pkgconfig, framework and cmake)
Run-time dependency cairo-ft found: NO (tried pkgconfig, framework and
cmake)
Run-time dependency cairo found: NO (tried pkgconfig, framework and cmake)
Run-time dependency cairo-ft found: NO (tried pkgconfig, framework and
cmake)
Run-time dependency chafa found: NO (tried pkgconfig, framework and cmake)
Compiler for C++ supports arguments -Wno-non-virtual-dtor: YES
Run-time dependency appleframeworks found: YES (ApplicationServices)
Checking for type "CTFontRef" with dependency appleframeworks: YES
Run-time dependency threads found: YES
Has header "unistd.h" : YES
Has header "sys/mman.h" : YES
Has header "stdbool.h" : YES
Has header "xlocale.h" : YES
Checking for function "atexit" : YES
Checking for function "mprotect" : YES
Checking for function "sysconf" : YES
Checking for function "getpagesize" : YES
Checking for function "mmap" : YES
Checking for function "isatty" : YES
Checking for function "uselocale" : YES
Checking for function "newlocale" : YES
Program gen-hb-version.py found: YES
(/Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/src/gen-hb-version.py)
Configuring hb-version.h with command
Program ragel found: NO
../../src/harfbuzz-4.1.0/src/meson.build:305: WARNING: You have to
install ragel if you are going to develop HarfBuzz itself
Program gen-harfbuzzcc.py found: YES
(/Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/src/gen-harfbuzzcc.py)
Program gen-def.py found: YES
(/Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/src/gen-def.py)
Configuring harfbuzz-config.cmake using configuration
Program glib-mkenums found: YES
(/Users/gtkdeveloper/gnucash/inst/bin/glib-mkenums)
Program glib-mkenums found: YES
(/Users/gtkdeveloper/gnucash/inst/bin/glib-mkenums)
Program fix_get_types.py found: YES
(/Users/gtkdeveloper/.new_local/share/virtualenvs/etc-GAaUSy_x/bin/python
/Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/src/fix_get_types.py)
Program fix_get_types.py found: YES
(/Users/gtkdeveloper/.new_local/share/virtualenvs/etc-GAaUSy_x/bin/python
/Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/src/fix_get_types.py)
Program g-ir-scanner skipped: feature introspection disabled
Program check-c-linkage-decls.py found: YES
(/Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/src/check-c-linkage-decls.py)
Program check-externs.py found: YES
(/Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/src/check-externs.py)
Program check-header-guards.py found: YES
(/Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/src/check-header-guards.py)
Program check-includes.py found: YES
(/Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/src/check-includes.py)
Program check-libstdc++.py found: YES
(/Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/src/check-libstdc++.py)
Program check-static-inits.py found: YES
(/Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/src/check-static-inits.py)
Program check-symbols.py found: YES
(/Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/src/check-symbols.py)
Program run-tests.py found: YES
(/Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/test/shape/run-tests.py)
Program run-tests.py found: YES
(/Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/test/subset/run-tests.py)
Program run-repack-tests.py found: YES
(/Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/test/subset/run-repack-tests.py)
Program run-shape-fuzzer-tests.py found: YES
(/Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/test/fuzzing/run-shape-fuzzer-tests.py)
Program run-subset-fuzzer-tests.py found: YES
(/Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/test/fuzzing/run-subset-fuzzer-tests.py)
Program run-draw-fuzzer-tests.py found: YES
(/Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/test/fuzzing/run-draw-fuzzer-tests.py)
Configuring config.h using configuration
Build targets in project: 96
harfbuzz 4.1.0
Directories
prefix : /Users/gtkdeveloper/gnucash/inst
bindir : bin
libdir : lib
includedir : include
datadir : share
Unicode callbacks (you want at least one)
Builtin : YES
Glib : YES
ICU : YES
Font callbacks (the more the merrier)
FreeType : NO
Dependencies used for command-line utilities
Cairo : NO
Chafa : NO
Additional shapers
Graphite2 : NO
Platform shapers (not normally needed)
CoreText : YES
DirectWrite : NO
GDI/Uniscribe : NO
Other features
Documentation : NO
GObject bindings : YES
Introspection : NO
Experimental APIs: NO
Testing
Tests : YES
Benchmark : NO
User defined options
libdir : lib
prefix : /Users/gtkdeveloper/gnucash/inst
wrap_mode : nofallback
benchmark : disabled
coretext : enabled
docs : disabled
introspection : disabled
Found ninja-1.10.2 at /Users/gtkdeveloper/.new_local/bin/ninja
*** Building harfbuzz-no-cairo *** [20/76]
ninja
[262/262] Linking target util/hb-subset
*** Installing harfbuzz-no-cairo *** [20/76]
ninja install
[0/1] Installing files.
Installing src/libharfbuzz.0.dylib to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/lib
Installing src/libharfbuzz-subset.0.dylib to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/lib
Installing src/libharfbuzz-icu.0.dylib to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/lib
Installing src/hb-gobject-enums.h to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/include/harfbuzz
Installing src/libharfbuzz-gobject.0.dylib to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/lib
Installing util/hb-shape to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/bin
Installing util/hb-subset to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/bin
Installing util/hb-ot-shape-closure to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/bin
Installing /Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/src/hb-icu.h
to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/include/harfbuzz/
Installing
/Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/src/hb-gobject.h to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/include/harfbuzz/
Installing
/Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/src/hb-gobject-structs.h
to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/include/harfbuzz/
Installing
/Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/src/hb-aat-layout.h to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/include/harfbuzz/
Installing /Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/src/hb-aat.h
to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/include/harfbuzz/
Installing /Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/src/hb-blob.h
to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/include/harfbuzz/
Installing
/Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/src/hb-buffer.h to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/include/harfbuzz/
Installing
/Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/src/hb-common.h to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/include/harfbuzz/
Installing
/Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/src/hb-deprecated.h to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/include/harfbuzz/
Installing /Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/src/hb-draw.h
to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/include/harfbuzz/
Installing /Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/src/hb-face.h
to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/include/harfbuzz/
Installing /Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/src/hb-font.h
to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/include/harfbuzz/
Installing /Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/src/hb-map.h
to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/include/harfbuzz/
Installing
/Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/src/hb-ot-color.h to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/include/harfbuzz/
Installing
/Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/src/hb-ot-deprecated.h to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/include/harfbuzz/
Installing
/Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/src/hb-ot-font.h to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/include/harfbuzz/
Installing
/Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/src/hb-ot-layout.h to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/include/harfbuzz/
Installing
/Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/src/hb-ot-math.h to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/include/harfbuzz/
Installing
/Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/src/hb-ot-meta.h to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/include/harfbuzz/
Installing
/Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/src/hb-ot-metrics.h to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/include/harfbuzz/
Installing
/Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/src/hb-ot-name.h to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/include/harfbuzz/
Installing
/Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/src/hb-ot-shape.h to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/include/harfbuzz/
Installing
/Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/src/hb-ot-var.h to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/include/harfbuzz/
Installing /Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/src/hb-ot.h to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/include/harfbuzz/
Installing /Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/src/hb-set.h
to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/include/harfbuzz/
Installing
/Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/src/hb-shape-plan.h to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/include/harfbuzz/
Installing /Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/src/hb-shape.h
to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/include/harfbuzz/
Installing /Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/src/hb-style.h
to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/include/harfbuzz/
Installing
/Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/src/hb-unicode.h to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/include/harfbuzz/
Installing /Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/src/hb.h to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/include/harfbuzz/
Installing
/Users/gtkdeveloper/gnucash/build/harfbuzz-4.1.0/src/hb-version.h to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/include/harfbuzz/
Installing /Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/src/hb-glib.h
to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/include/harfbuzz/
Installing
/Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/src/hb-coretext.h to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/include/harfbuzz/
Installing
/Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/src/hb-subset.h to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/include/harfbuzz/
Installing
/Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/src/hb-subset-repacker.h
to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/include/harfbuzz/
Installing
/Users/gtkdeveloper/gnucash/build/harfbuzz-4.1.0/src/hb-version.h to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/include/harfbuzz
Installing
/Users/gtkdeveloper/gnucash/build/harfbuzz-4.1.0/meson-private/harfbuzz.pc
to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/lib/pkgconfig
Installing
/Users/gtkdeveloper/gnucash/build/harfbuzz-4.1.0/meson-private/harfbuzz-subset.pc
to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/lib/pkgconfig
Installing
/Users/gtkdeveloper/gnucash/build/harfbuzz-4.1.0/meson-private/harfbuzz-icu.pc
to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/lib/pkgconfig
Installing
/Users/gtkdeveloper/gnucash/build/harfbuzz-4.1.0/src/harfbuzz-config.cmake
to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/lib/cmake/harfbuzz
Installing
/Users/gtkdeveloper/gnucash/build/harfbuzz-4.1.0/meson-private/harfbuzz-gobject.pc
to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/lib/pkgconfig
Installing symlink pointing to libharfbuzz.0.dylib to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/lib/libharfbuzz.dylib
Installing symlink pointing to libharfbuzz-subset.0.dylib to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/lib/libharfbuzz-subset.dylib
Installing symlink pointing to libharfbuzz-icu.0.dylib to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/lib/libharfbuzz-icu.dylib
Installing symlink pointing to libharfbuzz-gobject.0.dylib to
/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo/Users/gtkdeveloper/gnucash/inst/lib/libharfbuzz-gobject.dylib
I: Moving temporary DESTDIR
'/Users/gtkdeveloper/gnucash/inst/_jhbuild/root-harfbuzz-no-cairo' into
build prefix
I: Install complete: 52 files copied
=====
The immediate next build action was to build freetype. This is what led
to my error #1.
=====
*** Checking out freetype *** [21/76]
*** Configuring freetype *** [21/76]
cmake -DCMAKE_INSTALL_PREFIX=/Users/gtkdeveloper/gnucash/inst
-DCMAKE_INSTALL_LIBDIR=lib -G Ninja
-DCMAKE_DISABLE_FIND_PACKAGE_BZip2=TRUE -D BUILD_SHARED_LIBS=true -D
CMAKE_BUILD_TYPE=Release
-DCMAKE_INSTALL_NAME_DIR="/Users/gtkdeveloper/gnucash/inst/lib"
/Users/gtkdeveloper/gnucash/src/freetype-2.11.1
-- The C compiler identification is AppleClang 14.0.0.14000029
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler:
/Library/Developer/CommandLineTools/usr/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found the following HarfBuzz libraries:
-- HarfBuzz (required):
/Users/gtkdeveloper/gnucash/inst/lib/libharfbuzz.dylib
-- Found HarfBuzz: /Users/gtkdeveloper/gnucash/inst/include/harfbuzz
(found suitable version "4.1.0", minimum required is "2.0.0")
-- Found ZLIB: /Users/gtkdeveloper/gnucash/inst/lib/libz.dylib (found
version "1.2.13")
-- Found PNG: /Users/gtkdeveloper/gnucash/inst/lib/libpng.dylib (found
version "1.6.37")
-- Found BrotliDec: /opt/local/include
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for fcntl.h
-- Looking for fcntl.h - found
-- Configuring done
CMake Warning (dev):
Policy CMP0042 is not set: MACOSX_RPATH is enabled by default. Run "cmake
--help-policy CMP0042" for policy details. Use the cmake_policy
command to
set the policy and suppress this warning.
MACOSX_RPATH is not specified for the following targets:
freetype
This warning is for project developers. Use -Wno-dev to suppress it.
-- Generating done
-- Build files have been written to:
/Users/gtkdeveloper/gnucash/build/freetype-2.11.1
*** Building freetype *** [21/76]
ninja
[5/43] Building C object CMakeFiles/freetype.dir/src/autofit/autofit.c.o
FAILED: CMakeFiles/freetype.dir/src/autofit/autofit.c.o
/Library/Developer/CommandLineTools/usr/bin/gcc -DFT2_BUILD_LIBRARY
-Dfreetype_EXPORTS -Iinclude
-I/Users/gtkdeveloper/gnucash/src/freetype-2.11.1/include
-Iinclude/freetype/config
-I/Users/gtkdeveloper/gnucash/inst/include/harfbuzz -I/opt/local/include
-arch arm64
-I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include
-isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
-mmacosx-version-min=12 -O3 -DNDEBUG -arch arm64 -isysroot
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
-mmacosx-version-min=12 -fPIC -fvisibility=hidden -MD -MT
CMakeFiles/freetype.dir/src/autofit/autofit.c.o -MF
CMakeFiles/freetype.dir/src/autofit/autofit.c.o.d -o
CMakeFiles/freetype.dir/src/autofit/autofit.c.o -c
/Users/gtkdeveloper/gnucash/src/freetype-2.11.1/src/autofit/autofit.c
In file included from
/Users/gtkdeveloper/gnucash/src/freetype-2.11.1/src/autofit/autofit.c:22:
In file included from
/Users/gtkdeveloper/gnucash/src/freetype-2.11.1/src/autofit/afcjk.c:28:
In file included from
/Users/gtkdeveloper/gnucash/src/freetype-2.11.1/src/autofit/afglobal.h:26:
/Users/gtkdeveloper/gnucash/src/freetype-2.11.1/src/autofit/afshaper.h:30:10:
fatal error: 'hb-ft.h' file not found
#include <hb-ft.h>
^~~~~~~~~
1 error generated.
[16/43] Building C object CMakeFiles/freetype.dir/src/base/ftbase.c.o
ninja: build stopped: subcommand failed.
*** Error during phase build of freetype: ########## Error running
ninja *** [21/76]
[1] Rerun phase build
[2] Ignore error and continue to install
[3] Give up on module
[4] Start shell
[5] Reload configuration
[6] Go to phase "wipe directory and start over"
choice:
=====
There is a file 'hb-ft.h' as part of harfbuzz 4.1.0[1].
[1] <https://github.com/harfbuzz/harfbuzz/blob/4.1.0/src/>
I see "installing" messages for 33 files in
/Users/gtkdeveloper/gnucash/src/harfbuzz-4.1.0/src/hb-*.h. I count 39
such filenames in harfbuzz [1].
The hb-*.h files not installed seem to be: hb-ft.h, hb-directwrite.h,
hb-gdi.h, hb-graphite2.h, hb-uniscribe.h, hb-version.h.
I recognise directwrite, gid, and uniscribe as Windows subsystems, and
graphite2 as another text renderer, all reasonably not installed on
Harfbuzz for macOS. I don't understand why hb-ft.h or hb-version.h would
not be installed. But I have not investigated that yet.
Any further insights you might be able to share?
I appreciate the help. Thank you,
—Jim DeLaHunt
More information about the gnucash-devel
mailing list