Re: [gtk-osx-users] Pango error implicit declaration of function is invalid in C99.
- From: Pascal <p p14 orange fr>
- To: John Ralls <jralls ceridwen us>
- Cc: gtk-osx-users-list gnome org
- Subject: Re: [gtk-osx-users] Pango error implicit declaration of function is invalid in C99.
- Date: Sun, 13 Sep 2020 10:20:12 +0200
Le 12 sept. 2020 à 20:09, John Ralls <jralls ceridwen us> a écrit :
On Sep 12, 2020, at 2:08 AM, Pascal <p p14 orange fr> wrote:
Hello John
I've the following errors:
% jhbuild build python
Loading .env environment variables…
in jhbuildrc-custom
I: unknown keys defined in configuration file: always_autogen
jhbuild build: Repository=fontconfig not found for module id=fontconfig. Possible repositories are
ftp.gnome.org, sourceforge, cairographics, ftp.gnu.org, freedesktop, github, github-tarball, system
Thanks, fixed.
It's ok now up to build freetype:
*** Building freetype *** [15/31]
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-2020/freetype-2.10.2/include -Iinclude/freetype/config -I/opt/xnadalib-2020/include/harfbuzz -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.15 -g -O0 -ggdb3 -O3 -DNDEBUG -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
-mmacosx-version-min=10.15 -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-2020/freetype-2.10.2/src/autofit/autofit.c
In file included from /opt/src-2020/freetype-2.10.2/src/autofit/autofit.c:24:
In file included from /opt/src-2020/freetype-2.10.2/src/autofit/afcjk.c:29:
In file included from /opt/src-2020/freetype-2.10.2/src/autofit/afglobal.h:26:
/opt/src-2020/freetype-2.10.2/src/autofit/afshaper.h:31:10: fatal error: 'hb-ft.h' file not found
#include <hb-ft.h>
^~~~~~~~~
1 error generated.
[11/42] 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 *** [15/31]
The not found file is there:
% find . -name hb-ft.h
./src-2020/harfbuzz-2.7.1/src/hb-ft.h
But not in prefix:
% ls xnadalib-2020/include/harfbuzz
hb-aat-layout.h hb-gobject-structs.h hb-ot-var.h
hb-aat.h hb-gobject.h hb-ot.h
hb-blob.h hb-map.h hb-set.h
hb-buffer.h hb-ot-color.h hb-shape-plan.h
hb-common.h hb-ot-deprecated.h hb-shape.h
hb-coretext.h hb-ot-font.h hb-style.h
hb-deprecated.h hb-ot-layout.h hb-subset.h
hb-draw.h hb-ot-math.h hb-unicode.h
hb-face.h hb-ot-meta.h hb-version.h
hb-font.h hb-ot-metrics.h hb.h
hb-glib.h hb-ot-name.h
hb-gobject-enums.h hb-ot-shape.h
Configuring was:
*** Configuring freetype *** [15/31]
cmake -DCMAKE_INSTALL_PREFIX=/opt/xnadalib-2020 -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-2020/lib" /opt/src-2020/freetype-2.10.2
-- The C compiler identification is AppleClang 11.0.3.11030032
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/usr/bin/gcc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/usr/bin/gcc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
CMake Warning (dev) at /opt/xnadalib-2020/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272
(message):
The package name passed to `find_package_handle_standard_args` (PkgConfig)
does not match the name of the calling package (HarfBuzz). 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):
/opt/xnadalib-2020/share/cmake-3.17/Modules/FindPkgConfig.cmake:45 (find_package_handle_standard_args)
builds/cmake/FindHarfBuzz.cmake:35 (include)
CMakeLists.txt:212 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found PkgConfig: /opt/xnadalib-2020/bin/pkg-config (found version "0.29.2")
CMake Warning (dev) at /opt/xnadalib-2020/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272
(message):
The package name passed to `find_package_handle_standard_args` (harfbuzz)
does not match the name of the calling package (HarfBuzz). 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/FindHarfBuzz.cmake:67 (find_package_handle_standard_args)
CMakeLists.txt:212 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found harfbuzz: /opt/xnadalib-2020/include/harfbuzz (found version "2.7.1")
-- Found ZLIB: /opt/xnadalib-2020/lib/libz.dylib (found version "1.2.11")
-- Found PNG: /opt/xnadalib-2020/lib/libpng.dylib (found version "1.6.37")
CMake Warning (dev) at /opt/xnadalib-2020/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272
(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):
/opt/xnadalib-2020/share/cmake-3.17/Modules/FindPkgConfig.cmake:45 (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.
CMake Warning (dev) at /opt/xnadalib-2020/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272
(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.
-- Could NOT find brotlidec (missing: BROTLIDEC_INCLUDE_DIRS BROTLIDEC_LIBRARIES)
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for fcntl.h
-- Looking for fcntl.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Configuring done
-- Generating done
-- Build files have been written to: /opt/src-2020/cache/jhbuild/build/freetype-2.10.2
HTH, Pascal.
https://blady.pagesperso-orange.fr
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]