Re: [gtk-osx-users] Building freetype: Fatal error: 'hb-ft.h' file not found.
> On Jan 17, 2022, at 12:21 PM, Pascal wrote: > > >> Le 18 mai 2021 à 23:53, John Ralls a écrit : > ... >> Examining the config.log from the year-ago build shows complaints about not >> finding libbrotlidec, so with autotools it's definitely an optional package. >> Brotli is off by default in CMakeLists.txt (CmakeCache.txt has >> CMakeCache.txt:BROTLIDEC_INCLUDE_DIRS:PATH=BROTLIDEC_INCLUDE_DIRS-NOTFOUND >> CMakeCache.txt:BROTLIDEC_LIBRARIES:FILEPATH=BROTLIDEC_LIBRARIES-NOTFOUND >> CMakeCache.txt:FT_WITH_BROTLI:BOOL=OFF >> ). >> >> So my guess about Debian is that the packager built freetype2 with >> libbrotlidec installed but didn't include it in the package dependencies. >> They fixed that by adding it to the package dependencies rather than >> rebuilding it without brotli. As usual, that has nothing whatsoever to do >> with gtk-osx. >> >> Interestingly https://ports.macports.org/port/freetype/summary shows their >> freetype2 depends on brotli while >> https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/freetype.rb >> shows Homebrew's doesn't. > > Hello John, > > Good guess, then I took some times to dig in my logs: > > *** Configuring freetype-no-harfbuzz *** [13/32] > cmake -DCMAKE_INSTALL_PREFIX=/usr/local/xnadalib-2021 > -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="/usr/local/xnadalib-2021/lib" > /usr/local/src-2021/freetype-2.10.4 > -- The C compiler identification is AppleClang 12.0.5.12050022 > -- Detecting C compiler ABI info > -- Detecting C compiler ABI info - done > -- Check for working C compiler: > /Applications/Xcode.app/Contents/Developer/usr/bin/gcc - skipped > -- Detecting C compile features > -- Detecting C compile features - done > -- Found ZLIB: /usr/local/xnadalib-2021/lib/libz.dylib (found version > "1.2.11") > -- Found PNG: /usr/local/xnadalib-2021/lib/libpng.dylib (found version > "1.6.37") > CMake Warning (dev) at > /usr/local/xnadalib-2021/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:438 > (message): > The package name passed to `find_package_handle_standard_args` (PkgConfig) > does not match the name of the calling package (BrotliDec). This can lead > to problems in calling code that expects `find_package` result variables > (e.g., `_FOUND`) to follow a certain pattern. > Call Stack (most recent call first): > /usr/local/xnadalib-2021/share/cmake-3.20/Modules/FindPkgConfig.cmake:70 > (find_package_handle_standard_args) > builds/cmake/FindBrotliDec.cmake:22 (include) > CMakeLists.txt:236 (find_package) > This warning is for project developers. Use -Wno-dev to suppress it. > > -- Found PkgConfig: /usr/local/xnadalib-2021/bin/pkg-config (found version > "0.29.2") > CMake Warning (dev) at > /usr/local/xnadalib-2021/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:438 > (message): > The package name passed to `find_package_handle_standard_args` (brotlidec) > does not match the name of the calling package (BrotliDec). This can lead > to problems in calling code that expects `find_package` result variables > (e.g., `_FOUND`) to follow a certain pattern. > Call Stack (most recent call first): > builds/cmake/FindBrotliDec.cmake:43 (find_package_handle_standard_args) > CMakeLists.txt:236 (find_package) > This warning is for project developers. Use -Wno-dev to suppress it. > > -- Found brotlidec: /opt/local/include > > The configuration script had found BrotliDec in MacPorts folders: /opt/local. > However I take care to keep away MacPorts when building GTK-OSX. > > How to prevent the search in /opt/local? > > Looking at CMakeLists.txt, even Brotli is set off, it is looked for (line 90): > #-D CMAKE_DISABLE_FIND_PACKAGE_BrotliDec=TRUE [...] > > Or else is it possible to add this option? Pascal, You know darned well what my answer is for how to keep MacPorts or Homebrew from interfering with Gtk-OSX: Don't install either of them. Since you insist on breaking that rule it's up to you to figure out how to work around it. I'm certainly not going to spend time and corrupt my mac by installing MacPorts so that I can test for you. I suppose that you tried starting a login shell with a clean .zsh_profile and that it didn't work. Did you try creating a user? If nothing else works a macOS VM should be sufficiently insulated from whatever you've done to the host system. Brotli is a compression scheme that I guess is used for some fonts. I don't see any real value to adding it to Gtk-OSX. Regards, John Ralls ___ gtk-osx-users-list mailing list gtk-osx-users-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-osx-users-list
Re: [gtk-osx-users] Building freetype: Fatal error: 'hb-ft.h' file not found.
> Le 18 mai 2021 à 23:53, John Ralls a écrit : ... > Examining the config.log from the year-ago build shows complaints about not > finding libbrotlidec, so with autotools it's definitely an optional package. > Brotli is off by default in CMakeLists.txt (CmakeCache.txt has > CMakeCache.txt:BROTLIDEC_INCLUDE_DIRS:PATH=BROTLIDEC_INCLUDE_DIRS-NOTFOUND > CMakeCache.txt:BROTLIDEC_LIBRARIES:FILEPATH=BROTLIDEC_LIBRARIES-NOTFOUND > CMakeCache.txt:FT_WITH_BROTLI:BOOL=OFF > ). > > So my guess about Debian is that the packager built freetype2 with > libbrotlidec installed but didn't include it in the package dependencies. > They fixed that by adding it to the package dependencies rather than > rebuilding it without brotli. As usual, that has nothing whatsoever to do > with gtk-osx. > > Interestingly https://ports.macports.org/port/freetype/summary shows their > freetype2 depends on brotli while > https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/freetype.rb shows > Homebrew's doesn't. Hello John, Good guess, then I took some times to dig in my logs: *** Configuring freetype-no-harfbuzz *** [13/32] cmake -DCMAKE_INSTALL_PREFIX=/usr/local/xnadalib-2021 -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="/usr/local/xnadalib-2021/lib" /usr/local/src-2021/freetype-2.10.4 -- The C compiler identification is AppleClang 12.0.5.12050022 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found ZLIB: /usr/local/xnadalib-2021/lib/libz.dylib (found version "1.2.11") -- Found PNG: /usr/local/xnadalib-2021/lib/libpng.dylib (found version "1.6.37") CMake Warning (dev) at /usr/local/xnadalib-2021/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:438 (message): The package name passed to `find_package_handle_standard_args` (PkgConfig) does not match the name of the calling package (BrotliDec). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): /usr/local/xnadalib-2021/share/cmake-3.20/Modules/FindPkgConfig.cmake:70 (find_package_handle_standard_args) builds/cmake/FindBrotliDec.cmake:22 (include) CMakeLists.txt:236 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found PkgConfig: /usr/local/xnadalib-2021/bin/pkg-config (found version "0.29.2") CMake Warning (dev) at /usr/local/xnadalib-2021/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:438 (message): The package name passed to `find_package_handle_standard_args` (brotlidec) does not match the name of the calling package (BrotliDec). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): builds/cmake/FindBrotliDec.cmake:43 (find_package_handle_standard_args) CMakeLists.txt:236 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found brotlidec: /opt/local/include The configuration script had found BrotliDec in MacPorts folders: /opt/local. However I take care to keep away MacPorts when building GTK-OSX. How to prevent the search in /opt/local? Looking at CMakeLists.txt, even Brotli is set off, it is looked for (line 90): #-D CMAKE_DISABLE_FIND_PACKAGE_BrotliDec=TRUE [...] Or else is it possible to add this option? Thanks, Pascal. https://blady.pagesperso-orange.fr ___ gtk-osx-users-list mailing list gtk-osx-users-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-osx-users-list
Re: [gtk-osx-users] Building freetype: Fatal error: 'hb-ft.h' file not found.
> On May 17, 2021, at 1:19 PM, Pascal wrote: > > >> Le 17 mai 2021 à 05:10, John Ralls a écrit : >> >> Pascal, >> >> Yeah. You need to figure out why harfbuzz-no-cairo didn't install the >> header. Study the logs. Try force-rebuilding (e.g. jhbuild buildone -f -c >> harfbuzz-no-cairo) and paying close attention to any errors and to what gets >> installed. When you find something that looks funny dig in and figure out >> why it did that. > > Hello John, > > I compare with the last build I've done 20200916: > > *** Configuring harfbuzz-no-cairo *** [15/32] > meson --prefix /opt/xnadalib-2021 --libdir lib -Dcoretext=enabled > -Ddocs=disabled --wrap-mode=nofallback /opt/src-2021/harfbuzz-2.7.1 > The Meson build system > Version: 0.55.0 > Source dir: /opt/src-2021/harfbuzz-2.7.1 > Build dir: /opt/src-2021/cache/jhbuild/build/harfbuzz-2.7.1 > Build type: native build > Using 'PKG_CONFIG_PATH' from environment with value: > '/opt/xnadalib-2021/lib/pkgconfig:/opt/xnadalib-2021/share/pkgconfig:/usr/lib/pkgconfig' > Using 'PKG_CONFIG_PATH' from environment with value: > '/opt/xnadalib-2021/lib/pkgconfig:/opt/xnadalib-2021/share/pkgconfig:/usr/lib/pkgconfig' > Project name: harfbuzz > Project version: 2.7.1 > ... > Library m found: YES > Found pkg-config: /opt/xnadalib-2021/bin/pkg-config (0.29.2) > Using 'PKG_CONFIG_PATH' from environment with value: > '/opt/xnadalib-2021/lib/pkgconfig:/opt/xnadalib-2021/share/pkgconfig:/usr/lib/pkgconfig' > Run-time dependency freetype2 found: YES 23.2.17 > Using 'PKG_CONFIG_PATH' from environment with value: > '/opt/xnadalib-2021/lib/pkgconfig:/opt/xnadalib-2021/share/pkgconfig:/usr/lib/pkgconfig' > Run-time dependency glib-2.0 found: YES 2.64.2 > > == Freetype is found. > > and current one: > > *** Configuring harfbuzz-no-cairo *** [1/1] > meson --prefix /opt/xnadalib-2021 --libdir lib -Dcoretext=enabled > -Ddocs=disabled -Dbenchmark=disabled --wrap-mode=nofallback > /opt/src-2021/harfbuzz-2.8.0 > The Meson build system > Version: 0.58.0 > Source dir: /opt/src-2021/harfbuzz-2.8.0 > Build dir: /opt/src-2021/cache/jhbuild/build/harfbuzz-2.8.0 > Build type: native build > Project name: harfbuzz > Project version: 2.8.0 > C compiler for the host machine: > /Applications/Xcode.app/Contents/Developer/usr/bin/gcc (clang 12.0.5 "Apple > clang version 12.0.5 (clang-1205.0.22.9)") > C linker for the host machine: > /Applications/Xcode.app/Contents/Developer/usr/bin/gcc ld64 650.9 > C++ compiler for the host machine: > /Applications/Xcode.app/Contents/Developer/usr/bin/g++ (clang 12.0.5 "Apple > clang version 12.0.5 (clang-1205.0.22.9)") > C++ linker for the host machine: > /Applications/Xcode.app/Contents/Developer/usr/bin/g++ ld64 650.9 > Host machine cpu family: x86_64 > Host machine cpu: x86_64 > 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: /opt/xnadalib-2021/bin/pkg-config (0.29.2) > Found CMake: /opt/xnadalib-2021/bin/cmake (3.20.0) > Run-time dependency freetype2 found: NO (tried pkgconfig, framework and cmake) > Run-time dependency freetype2 found: NO (tried pkgconfig, framework and cmake) > Not looking for a fallback subproject for the dependency freetype2 because: > Use of fallback dependencies is disabled. > Run-time dependency glib-2.0 found: YES 2.68.0 > > == Freetype is not found. > > Whereas it seem to be there: > % ../xnadalib-2021/bin/pkg-config --modversion freetype2 > 23.4.17 > > Is it linked to PKG_CONFIG_PATH? Pascal, I don't know. Is it? It's your computer, after all, not mine. Regards, John Ralls ___ gtk-osx-users-list mailing list gtk-osx-users-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-osx-users-list
Re: [gtk-osx-users] Building freetype: Fatal error: 'hb-ft.h' file not found.
> Le 17 mai 2021 à 05:10, John Ralls a écrit : > > Pascal, > > Yeah. You need to figure out why harfbuzz-no-cairo didn't install the header. > Study the logs. Try force-rebuilding (e.g. jhbuild buildone -f -c > harfbuzz-no-cairo) and paying close attention to any errors and to what gets > installed. When you find something that looks funny dig in and figure out why > it did that. Hello John, I compare with the last build I've done 20200916: *** Configuring harfbuzz-no-cairo *** [15/32] meson --prefix /opt/xnadalib-2021 --libdir lib -Dcoretext=enabled -Ddocs=disabled --wrap-mode=nofallback /opt/src-2021/harfbuzz-2.7.1 The Meson build system Version: 0.55.0 Source dir: /opt/src-2021/harfbuzz-2.7.1 Build dir: /opt/src-2021/cache/jhbuild/build/harfbuzz-2.7.1 Build type: native build Using 'PKG_CONFIG_PATH' from environment with value: '/opt/xnadalib-2021/lib/pkgconfig:/opt/xnadalib-2021/share/pkgconfig:/usr/lib/pkgconfig' Using 'PKG_CONFIG_PATH' from environment with value: '/opt/xnadalib-2021/lib/pkgconfig:/opt/xnadalib-2021/share/pkgconfig:/usr/lib/pkgconfig' Project name: harfbuzz Project version: 2.7.1 ... Library m found: YES Found pkg-config: /opt/xnadalib-2021/bin/pkg-config (0.29.2) Using 'PKG_CONFIG_PATH' from environment with value: '/opt/xnadalib-2021/lib/pkgconfig:/opt/xnadalib-2021/share/pkgconfig:/usr/lib/pkgconfig' Run-time dependency freetype2 found: YES 23.2.17 Using 'PKG_CONFIG_PATH' from environment with value: '/opt/xnadalib-2021/lib/pkgconfig:/opt/xnadalib-2021/share/pkgconfig:/usr/lib/pkgconfig' Run-time dependency glib-2.0 found: YES 2.64.2 == Freetype is found. and current one: *** Configuring harfbuzz-no-cairo *** [1/1] meson --prefix /opt/xnadalib-2021 --libdir lib -Dcoretext=enabled -Ddocs=disabled -Dbenchmark=disabled --wrap-mode=nofallback /opt/src-2021/harfbuzz-2.8.0 The Meson build system Version: 0.58.0 Source dir: /opt/src-2021/harfbuzz-2.8.0 Build dir: /opt/src-2021/cache/jhbuild/build/harfbuzz-2.8.0 Build type: native build Project name: harfbuzz Project version: 2.8.0 C compiler for the host machine: /Applications/Xcode.app/Contents/Developer/usr/bin/gcc (clang 12.0.5 "Apple clang version 12.0.5 (clang-1205.0.22.9)") C linker for the host machine: /Applications/Xcode.app/Contents/Developer/usr/bin/gcc ld64 650.9 C++ compiler for the host machine: /Applications/Xcode.app/Contents/Developer/usr/bin/g++ (clang 12.0.5 "Apple clang version 12.0.5 (clang-1205.0.22.9)") C++ linker for the host machine: /Applications/Xcode.app/Contents/Developer/usr/bin/g++ ld64 650.9 Host machine cpu family: x86_64 Host machine cpu: x86_64 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: /opt/xnadalib-2021/bin/pkg-config (0.29.2) Found CMake: /opt/xnadalib-2021/bin/cmake (3.20.0) Run-time dependency freetype2 found: NO (tried pkgconfig, framework and cmake) Run-time dependency freetype2 found: NO (tried pkgconfig, framework and cmake) Not looking for a fallback subproject for the dependency freetype2 because: Use of fallback dependencies is disabled. Run-time dependency glib-2.0 found: YES 2.68.0 == Freetype is not found. Whereas it seem to be there: % ../xnadalib-2021/bin/pkg-config --modversion freetype2 23.4.17 Is it linked to PKG_CONFIG_PATH? Thanks, Pascal. https://blady.pagesperso-orange.fr ___ gtk-osx-users-list mailing list gtk-osx-users-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-osx-users-list
Re: [gtk-osx-users] Building freetype: Fatal error: 'hb-ft.h' file not found.
> Le 16 mai 2021 à 18:04, John Ralls a écrit : > >> On May 16, 2021, at 6:43 AM, Pascal wrote: >> >> Hello John, >> >> Unfortunately, I've the following error (Xcode 12.5): >> >> bld% jhbuild build meta-gtk-osx-gtk3 >> <...> >> *** Building freetype *** [16/32] >> ninja >> [6/42] Building C object CMakeFiles/freetype.dir/src/autofit/autofit.c.o >> FAILED: CMakeFiles/freetype.dir/src/autofit/autofit.c.o >> /Applications/Xcode.app/Contents/Developer/usr/bin/gcc -DFT2_BUILD_LIBRARY >> -Dfreetype_EXPORTS -Iinclude -I/opt/src-2021/freetype-2.10.4/include >> -Iinclude/freetype/config -I/opt/xnadalib-2021/include/harfbuzz >> -I/opt/local/include -arch x86_64 >> -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include >> -isysroot >> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk >> -mmacosx-version-min=10.16 -g -O0 -ggdb3 -O3 -DNDEBUG -isysroot >> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk >> -mmacosx-version-min=10.16 -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 >> /opt/src-2021/freetype-2.10.4/src/autofit/autofit.c >> In file included from /opt/src-2021/freetype-2.10.4/src/autofit/autofit.c:23: >> In file included from /opt/src-2021/freetype-2.10.4/src/autofit/afcjk.c:28: >> In file included from >> /opt/src-2021/freetype-2.10.4/src/autofit/afglobal.h:26: >> /opt/src-2021/freetype-2.10.4/src/autofit/afshaper.h:30:10: fatal error: >> 'hb-ft.h' file not found >> #include >>^ >> 1 error generated. >> [11/42] Building C object CMakeFiles/freetype.dir/src/base/ftbase.c.o >> >> It is a comeback of last time or I've mismatched configuration files? >> https://mail.gnome.org/archives/gtk-osx-users-list/2020-September/msg7.html > > Can't tell what you've messed up, but the build sequence is supposed to be > pixman > freetype-no-harfbuzz > icu > harfbuzz-no-cairo > freetype > fontconfig > cairo > gobject-introspection > harfbuzz > fribidi > pango > > and the error message indicates that harfbuzz-no-cairo didn't get installed. > Look back through your build output to see why not. You can use `jhbuild list > meta-gtk-osx-gtk3` to ensure that you haven't messed something up in > .jhbuildrc-custom like putting one or more of those modules on the skip list. == Here it is: % jhbuild list meta-gtk-osx-gtk3 Loading .env environment variables... libffi glib zlib libpng libjpeg libtiff libxml2 libxslt itstool gtk-doc meta-gtk-osx-bootstrap pixman freetype-no-harfbuzz icu harfbuzz-no-cairo freetype fontconfig cairo gobject-introspection harfbuzz fribidi pango atk gdk-pixbuf xorg-util-macros libepoxy gtk+-3.0 gtk-mac-integration libcroco librsvg adwaita-icon-theme meta-gtk-osx-gtk3 == Logs when building: % jhbuild build meta-gtk-osx-gtk3 Loading .env environment variables... *** Checking out libffi *** [1/32] *** Skipping libffi (package and dependencies not updated) *** [1/32] *** Checking out glib *** [2/32] *** Skipping glib (package and dependencies not updated) *** [2/32] *** Checking out zlib *** [3/32] *** Skipping zlib (package and dependencies not updated) *** [3/32] *** Checking out libpng *** [4/32] *** Skipping libpng (package and dependencies not updated) *** [4/32] *** Checking out libjpeg *** [5/32] *** Skipping libjpeg (package and dependencies not updated) *** [5/32] *** Checking out libtiff *** [6/32] *** Skipping libtiff (package and dependencies not updated) *** [6/32] *** Checking out libxml2 *** [7/32] *** Skipping libxml2 (package and dependencies not updated) *** [7/32] *** Checking out libxslt *** [8/32] *** Skipping libxslt (package and dependencies not updated) *** [8/32] *** Checking out itstool *** [9/32] *** Skipping itstool (package and dependencies not updated) *** [9/32] *** Checking out gtk-doc *** [10/32] *** Skipping gtk-doc (package and dependencies not updated) *** [10/32] *** Checking out pixman *** [12/32] *** Skipping pixman (package and dependencies not updated) *** [12/32] *** Checking out freetype-no-harfbuzz *** [13/32] *** Skipping freetype-no-harfbuzz (package and dependencies not updated) *** [13/32] *** Checking out icu *** [14/32] *** Skipping icu (package and dependencies not updated) *** [14/32] *** Checking out harfbuzz-no-cairo *** [15/32] *** Skipping harfbuzz-no-cairo (package and dependencies not updated) *** [15/32] *** Checking out freetype *** [16/32] *** Configuring freetype *** [16/32] cmake -DCMAKE_INSTALL_PREFIX=/opt/xnadalib-2021 -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="/opt/xnadalib-2021/lib" /opt/src-2021/freetype-2.10.4 -- The C compiler identification is AppleClang 12.0.5.12050022 --
Re: [gtk-osx-users] Building freetype: Fatal error: 'hb-ft.h' file not found.
> On May 16, 2021, at 6:43 AM, Pascal wrote: > > Hello John, > > Unfortunately, I've the following error (Xcode 12.5): > > bld% jhbuild build meta-gtk-osx-gtk3 > <...> > *** Building freetype *** [16/32] > ninja > [6/42] Building C object CMakeFiles/freetype.dir/src/autofit/autofit.c.o > FAILED: CMakeFiles/freetype.dir/src/autofit/autofit.c.o > /Applications/Xcode.app/Contents/Developer/usr/bin/gcc -DFT2_BUILD_LIBRARY > -Dfreetype_EXPORTS -Iinclude -I/opt/src-2021/freetype-2.10.4/include > -Iinclude/freetype/config -I/opt/xnadalib-2021/include/harfbuzz > -I/opt/local/include -arch x86_64 > -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include > -isysroot > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk > -mmacosx-version-min=10.16 -g -O0 -ggdb3 -O3 -DNDEBUG -isysroot > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk > -mmacosx-version-min=10.16 -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 > /opt/src-2021/freetype-2.10.4/src/autofit/autofit.c > In file included from /opt/src-2021/freetype-2.10.4/src/autofit/autofit.c:23: > In file included from /opt/src-2021/freetype-2.10.4/src/autofit/afcjk.c:28: > In file included from /opt/src-2021/freetype-2.10.4/src/autofit/afglobal.h:26: > /opt/src-2021/freetype-2.10.4/src/autofit/afshaper.h:30:10: fatal error: > 'hb-ft.h' file not found > #include > ^ > 1 error generated. > [11/42] Building C object CMakeFiles/freetype.dir/src/base/ftbase.c.o > > It is a comeback of last time or I've mismatched configuration files? > https://mail.gnome.org/archives/gtk-osx-users-list/2020-September/msg7.html Can't tell what you've messed up, but the build sequence is supposed to be pixman freetype-no-harfbuzz icu harfbuzz-no-cairo freetype fontconfig cairo gobject-introspection harfbuzz fribidi pango and the error message indicates that harfbuzz-no-cairo didn't get installed. Look back through your build output to see why not. You can use `jhbuild list meta-gtk-osx-gtk3` to ensure that you haven't messed something up in .jhbuildrc-custom like putting one or more of those modules on the skip list. Regards, John Ralls ___ gtk-osx-users-list mailing list gtk-osx-users-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-osx-users-list
[gtk-osx-users] Building freetype: Fatal error: 'hb-ft.h' file not found.
Hello John, Unfortunately, I've the following error (Xcode 12.5): bld% jhbuild build meta-gtk-osx-gtk3 <...> *** Building freetype *** [16/32] ninja [6/42] Building C object CMakeFiles/freetype.dir/src/autofit/autofit.c.o FAILED: CMakeFiles/freetype.dir/src/autofit/autofit.c.o /Applications/Xcode.app/Contents/Developer/usr/bin/gcc -DFT2_BUILD_LIBRARY -Dfreetype_EXPORTS -Iinclude -I/opt/src-2021/freetype-2.10.4/include -Iinclude/freetype/config -I/opt/xnadalib-2021/include/harfbuzz -I/opt/local/include -arch x86_64 -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -mmacosx-version-min=10.16 -g -O0 -ggdb3 -O3 -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -mmacosx-version-min=10.16 -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 /opt/src-2021/freetype-2.10.4/src/autofit/autofit.c In file included from /opt/src-2021/freetype-2.10.4/src/autofit/autofit.c:23: In file included from /opt/src-2021/freetype-2.10.4/src/autofit/afcjk.c:28: In file included from /opt/src-2021/freetype-2.10.4/src/autofit/afglobal.h:26: /opt/src-2021/freetype-2.10.4/src/autofit/afshaper.h:30:10: fatal error: 'hb-ft.h' file not found #include ^ 1 error generated. [11/42] Building C object CMakeFiles/freetype.dir/src/base/ftbase.c.o It is a comeback of last time or I've mismatched configuration files? https://mail.gnome.org/archives/gtk-osx-users-list/2020-September/msg7.html Thanks, Pascal. https://blady.pagesperso-orange.fr ___ gtk-osx-users-list mailing list gtk-osx-users-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-osx-users-list