Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Harfbuzz 2.6.1 - Can't be built on Mac OS with CMake #1966

Closed
uilianries opened this issue Sep 9, 2019 · 6 comments · Fixed by #1970
Closed

Harfbuzz 2.6.1 - Can't be built on Mac OS with CMake #1966

uilianries opened this issue Sep 9, 2019 · 6 comments · Fixed by #1970
Assignees
Labels
CMake CMake related issues

Comments

@uilianries
Copy link

Hi!

Thanks for release a new version of Harfbuzz!

When building on Mac Os + clang I have the follow error:

----Running------
> cd '/Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/build_subfolder' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_EXPORTED="1" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="apple-clang" -DCONAN_COMPILER_VERSION="10.0" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DBUILD_SHARED_LIBS="OFF" -DCMAKE_INSTALL_PREFIX="/Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/package/693541ba016479648be7388be09335abae7da778" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCONAN_CMAKE_POSITION_INDEPENDENT_CODE="ON" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCMAKE_C_FLAGS="-Wno-deprecated-declarations" -DCMAKE_CXX_FLAGS="-Wno-deprecated-declarations" -DCMAKE_MACOSX_RPATH="True" -DHB_HAVE_FREETYPE="True" -DHB_BUILD_TESTS="False" -DHB_HAVE_ICU="False" -DHB_HAVE_GLIB="True" -Wno-dev '/Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778'
-----------------
-- The C compiler identification is AppleClang 10.0.1.10010046
-- The CXX compiler identification is AppleClang 10.0.1.10010046
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Conan: called by CMake conan helper
-- Conan: called inside local cache
-- Conan: Adjusting output directories
-- Conan: Using cmake global configuration
-- Conan: Adjusting default RPATHs Conan policies
-- Conan: Adjusting language standard
-- Conan: Adjusting fPIC flag (ON)
-- Found PythonInterp: /Users/user914788/.pyenv/versions/3.7.1/bin/python (found version "3.7.1") 
-- Looking for atexit
-- Looking for atexit - found
-- Looking for mprotect
-- Looking for mprotect - found
-- Looking for sysconf
-- Looking for sysconf - found
-- Looking for getpagesize
-- Looking for getpagesize - found
-- Looking for mmap
-- Looking for mmap - found
-- Looking for isatty
-- Looking for isatty - found
-- Looking for newlocale
-- Looking for newlocale - found
-- Looking for strtod_l
-- Looking for strtod_l - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for sys/mman.h
-- Looking for sys/mman.h - found
-- Looking for xlocale.h
-- Looking for xlocale.h - found
-- Looking for stdbool.h
-- Looking for stdbool.h - found
-- Found Freetype: /Users/user914788/.conan/data/freetype/2.10.0/bincrafters/stable/package/cb656f6d884f8fc76ab61dd32ede672f98113876/lib/libfreetype.a (found version "2.10.0") 
-- Looking for FT_Get_Var_Blend_Coordinates
-- Looking for FT_Get_Var_Blend_Coordinates - found
-- Looking for FT_Set_Var_Blend_Coordinates
-- Looking for FT_Set_Var_Blend_Coordinates - found
-- Looking for FT_Done_MM_Var
-- Looking for FT_Done_MM_Var - found
-- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.29.2") 
-- Performing Test CXX_SUPPORTS_FLAG_BSYMB_FUNCS
-- Performing Test CXX_SUPPORTS_FLAG_BSYMB_FUNCS - Success
-- Performing Test COMPILER_SUPPORTS_CXX11
-- Performing Test COMPILER_SUPPORTS_CXX11 - Success
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_EXPORT_NO_PACKAGE_REGISTRY


-- Build files have been written to: /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/build_subfolder

----Running------
> cmake --build '/Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/build_subfolder' '--' '-j8'
-----------------
/usr/local/Cellar/cmake/3.15.0/bin/cmake -S/Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778 -B/Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/build_subfolder --check-build-system CMakeFiles/Makefile.cmake 0
/usr/local/Cellar/cmake/3.15.0/bin/cmake -E cmake_progress_start /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/build_subfolder/CMakeFiles /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/build_subfolder/CMakeFiles/progress.marks
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/Makefile2 all
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f source_subfolder/CMakeFiles/harfbuzz.dir/build.make source_subfolder/CMakeFiles/harfbuzz.dir/depend
cd /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/build_subfolder && /usr/local/Cellar/cmake/3.15.0/bin/cmake -E cmake_depends "Unix Makefiles" /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778 /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/build_subfolder /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/build_subfolder/source_subfolder /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/build_subfolder/source_subfolder/CMakeFiles/harfbuzz.dir/DependInfo.cmake --color=
Scanning dependencies of target harfbuzz
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f source_subfolder/CMakeFiles/harfbuzz.dir/build.make source_subfolder/CMakeFiles/harfbuzz.dir/build
[  8%] Building CXX object source_subfolder/CMakeFiles/harfbuzz.dir/src/harfbuzz.cc.o
cd /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/build_subfolder/source_subfolder && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++  -DHAVE_ATEXIT -DHAVE_CORETEXT -DHAVE_FREETYPE=1 -DHAVE_FT_DONE_MM_VAR -DHAVE_FT_GET_VAR_BLEND_COORDINATES -DHAVE_FT_SET_VAR_BLEND_COORDINATES -DHAVE_GETPAGESIZE -DHAVE_GLIB -DHAVE_INTEL_ATOMIC_PRIMITIVES -DHAVE_ISATTY -DHAVE_MMAP -DHAVE_MPROTECT -DHAVE_NEWLOCALE -DHAVE_STDBOOL_H -DHAVE_STRTOD_L -DHAVE_SYSCONF -DHAVE_SYS_MMAN_H -DHAVE_UNISTD_H -DHAVE_XLOCALE_H -I/Users/user914788/.conan/data/freetype/2.10.0/bincrafters/stable/package/cb656f6d884f8fc76ab61dd32ede672f98113876/include -I/Users/user914788/.conan/data/freetype/2.10.0/bincrafters/stable/package/cb656f6d884f8fc76ab61dd32ede672f98113876/include/freetype2 -I/Users/user914788/.conan/data/glib/2.58.3/bincrafters/stable/package/3211aa20c3b4b8be9ac16650df4ce4ee34cee278/include -I/Users/user914788/.conan/data/glib/2.58.3/bincrafters/stable/package/3211aa20c3b4b8be9ac16650df4ce4ee34cee278/include/glib-2.0 -I/Users/user914788/.conan/data/glib/2.58.3/bincrafters/stable/package/3211aa20c3b4b8be9ac16650df4ce4ee34cee278/lib/glib-2.0/include -I/Users/user914788/.conan/data/libpng/1.6.37/bincrafters/stable/package/9f67cefb3b597b342ffd9241a4a7dc5a0df50bef/include -I/Users/user914788/.conan/data/libffi/3.2.1/bincrafters/stable/package/534dcc368c999e07e81f146b3466b8f656ef1f55/lib/libffi-3.2.1/include -I/Users/user914788/.conan/data/pcre/8.41/bincrafters/stable/package/fc3175c1863d25e78970d6201cdaf9c2a294f88a/include -I/Users/user914788/.conan/data/libelf/0.8.13/bincrafters/stable/package/bad7dd1e4b5daf2b9ae8e3ca2e4397d55b8d3583/include -I/Users/user914788/.conan/data/gettext/0.20.1/bincrafters/stable/package/6c3a931daae9d7916b13c01550e469037fec642b/include -I/Users/user914788/.conan/data/bzip2/1.0.8/conan/stable/package/25d69afe851bfb8cb5aedd20123fa41e061f316e/include -I/Users/user914788/.conan/data/libxml2/2.9.9/bincrafters/stable/package/f4d4dc389913ba7d6be3b026feb6e93a89b39006/include/libxml2 -I/Users/user914788/.conan/data/zlib/1.2.11/conan/stable/package/534dcc368c999e07e81f146b3466b8f656ef1f55/include -I/Users/user914788/.conan/data/libiconv/1.15/bincrafters/stable/package/534dcc368c999e07e81f146b3466b8f656ef1f55/include -I/Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src -I/Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/build_subfolder/source_subfolder/src -I/Library/Frameworks/Mono.framework/Headers  -Wno-deprecated-declarations  -m64 -fno-rtti -fno-exceptions -fno-threadsafe-statics -std=c++11 -O3 -DNDEBUG  -fPIC   -DLIBXML_STATIC -DPCRE_STATIC=1 -DFFI_STATIC -o CMakeFiles/harfbuzz.dir/src/harfbuzz.cc.o -c /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/harfbuzz.cc
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/harfbuzz.cc:53:
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-coretext.cc:35:
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-coretext.h:37:
In file included from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:23:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:19:
In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:43:
In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:77:
/usr/include/MacTypes.h:194:9: error: reference to 'Fixed' is ambiguous
typedef Fixed *                         FixedPtr;
        ^
/usr/include/MacTypes.h:193:41: note: candidate found by name lookup is 'Fixed'
typedef SInt32                          Fixed;
                                        ^
/Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-open-type.hh:119:8: note: candidate found by name lookup is 'OT::Fixed'
struct Fixed : HBINT32
       ^
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/harfbuzz.cc:53:
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-coretext.cc:35:
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-coretext.h:37:
In file included from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:23:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:19:
In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:43:
In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:77:
/usr/include/MacTypes.h:553:3: error: reference to 'Fixed' is ambiguous
  Fixed               x;
  ^
/usr/include/MacTypes.h:193:41: note: candidate found by name lookup is 'Fixed'
typedef SInt32                          Fixed;
                                        ^
/Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-open-type.hh:119:8: note: candidate found by name lookup is 'OT::Fixed'
struct Fixed : HBINT32
       ^
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/harfbuzz.cc:53:
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-coretext.cc:35:
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-coretext.h:37:
In file included from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:23:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:19:
In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:43:
In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:77:
/usr/include/MacTypes.h:554:3: error: reference to 'Fixed' is ambiguous
  Fixed               y;
  ^
/usr/include/MacTypes.h:193:41: note: candidate found by name lookup is 'Fixed'
typedef SInt32                          Fixed;
                                        ^
/Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-open-type.hh:119:8: note: candidate found by name lookup is 'OT::Fixed'
struct Fixed : HBINT32
       ^
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/harfbuzz.cc:53:
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-coretext.cc:35:
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-coretext.h:37:
In file included from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:23:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:19:
In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:43:
In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:77:
/usr/include/MacTypes.h:558:3: error: reference to 'Fixed' is ambiguous
  Fixed               left;
  ^
/usr/include/MacTypes.h:193:41: note: candidate found by name lookup is 'Fixed'
typedef SInt32                          Fixed;
                                        ^
/Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-open-type.hh:119:8: note: candidate found by name lookup is 'OT::Fixed'
struct Fixed : HBINT32
       ^
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/harfbuzz.cc:53:
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-coretext.cc:35:
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-coretext.h:37:
In file included from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:23:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:19:
In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:43:
In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:77:
/usr/include/MacTypes.h:559:3: error: reference to 'Fixed' is ambiguous
  Fixed               top;
  ^
/usr/include/MacTypes.h:193:41: note: candidate found by name lookup is 'Fixed'
typedef SInt32                          Fixed;
                                        ^
/Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-open-type.hh:119:8: note: candidate found by name lookup is 'OT::Fixed'
struct Fixed : HBINT32
       ^
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/harfbuzz.cc:53:
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-coretext.cc:35:
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-coretext.h:37:
In file included from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:23:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:19:
In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:43:
In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:77:
/usr/include/MacTypes.h:560:3: error: reference to 'Fixed' is ambiguous
  Fixed               right;
  ^
/usr/include/MacTypes.h:193:41: note: candidate found by name lookup is 'Fixed'
typedef SInt32                          Fixed;
                                        ^
/Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-open-type.hh:119:8: note: candidate found by name lookup is 'OT::Fixed'
struct Fixed : HBINT32
       ^
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/harfbuzz.cc:53:
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-coretext.cc:35:
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-coretext.h:37:
In file included from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:23:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:19:
In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:43:
In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:77:
/usr/include/MacTypes.h:561:3: error: reference to 'Fixed' is ambiguous
  Fixed               bottom;
  ^
/usr/include/MacTypes.h:193:41: note: candidate found by name lookup is 'Fixed'
typedef SInt32                          Fixed;
                                        ^
/Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-open-type.hh:119:8: note: candidate found by name lookup is 'OT::Fixed'
struct Fixed : HBINT32
       ^
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/harfbuzz.cc:53:
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-coretext.cc:35:
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-coretext.h:37:
In file included from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:23:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:19:
In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:90:
In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFFileSecurity.h:16:
/usr/include/sys/acl.h:154:72: error: expected ')'
extern int      acl_create_entry_np(acl_t *acl_p, acl_entry_t *entry_p, int entry_index);
                                                                            ^
/Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-ot-name-table.hh:39:24: note: expanded from macro 'entry_index'
#define entry_index var.u16[1]
                       ^
/usr/include/sys/acl.h:154:31: note: to match this '('
extern int      acl_create_entry_np(acl_t *acl_p, acl_entry_t *entry_p, int entry_index);
                                   ^
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/harfbuzz.cc:53:
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-coretext.cc:35:
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-coretext.h:37:
In file included from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:23:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:24:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:35:
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h:123:8: error: reference to 'Fixed' is ambiguous
extern Fixed 
       ^
/usr/include/MacTypes.h:193:41: note: candidate found by name lookup is 'Fixed'
typedef SInt32                          Fixed;
                                        ^
/Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-open-type.hh:119:8: note: candidate found by name lookup is 'OT::Fixed'
struct Fixed : HBINT32
       ^
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/harfbuzz.cc:53:
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-coretext.cc:35:
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-coretext.h:37:
In file included from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:23:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:24:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:35:
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h:137:8: error: reference to 'Fixed' is ambiguous
extern Fixed 
       ^
/usr/include/MacTypes.h:193:41: note: candidate found by name lookup is 'Fixed'
typedef SInt32                          Fixed;
                                        ^
/Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-open-type.hh:119:8: note: candidate found by name lookup is 'OT::Fixed'
struct Fixed : HBINT32
       ^
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/harfbuzz.cc:53:
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-coretext.cc:35:
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-coretext.h:37:
In file included from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:23:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:24:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:35:
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h:139:3: error: reference to 'Fixed' is ambiguous
  Fixed   a,
  ^
/usr/include/MacTypes.h:193:41: note: candidate found by name lookup is 'Fixed'
typedef SInt32                          Fixed;
                                        ^
/Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-open-type.hh:119:8: note: candidate found by name lookup is 'OT::Fixed'
struct Fixed : HBINT32
       ^
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/harfbuzz.cc:53:
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-coretext.cc:35:
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-coretext.h:37:
In file included from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:23:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:24:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:35:
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h:140:3: error: reference to 'Fixed' is ambiguous
  Fixed   b)                                                  __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_8, __IPHONE_NA, __IPHONE_NA);
  ^
/usr/include/MacTypes.h:193:41: note: candidate found by name lookup is 'Fixed'
typedef SInt32                          Fixed;
                                        ^
/Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-open-type.hh:119:8: note: candidate found by name lookup is 'OT::Fixed'
struct Fixed : HBINT32
       ^
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/harfbuzz.cc:53:
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-coretext.cc:35:
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-coretext.h:37:
In file included from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:23:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:24:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:35:
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h:152:10: error: reference to 'Fixed' is ambiguous
FixRound(Fixed x)                                             __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_8, __IPHONE_NA, __IPHONE_NA);
         ^
/usr/include/MacTypes.h:193:41: note: candidate found by name lookup is 'Fixed'
typedef SInt32                          Fixed;
                                        ^
/Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-open-type.hh:119:8: note: candidate found by name lookup is 'OT::Fixed'
struct Fixed : HBINT32
       ^
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/harfbuzz.cc:53:
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-coretext.cc:35:
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-coretext.h:37:
In file included from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:23:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:24:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:35:
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h:164:10: error: reference to 'Fixed' is ambiguous
Fix2Frac(Fixed x)                                             __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_8, __IPHONE_NA, __IPHONE_NA);
         ^
/usr/include/MacTypes.h:193:41: note: candidate found by name lookup is 'Fixed'
typedef SInt32                          Fixed;
                                        ^
/Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-open-type.hh:119:8: note: candidate found by name lookup is 'OT::Fixed'
struct Fixed : HBINT32
       ^
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/harfbuzz.cc:53:
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-coretext.cc:35:
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-coretext.h:37:
In file included from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:23:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:24:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:35:
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h:176:10: error: reference to 'Fixed' is ambiguous
Fix2Long(Fixed x)                                             __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_8, __IPHONE_NA, __IPHONE_NA);
         ^
/usr/include/MacTypes.h:193:41: note: candidate found by name lookup is 'Fixed'
typedef SInt32                          Fixed;
                                        ^
/Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-open-type.hh:119:8: note: candidate found by name lookup is 'OT::Fixed'
struct Fixed : HBINT32
       ^
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/harfbuzz.cc:53:
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-coretext.cc:35:
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-coretext.h:37:
In file included from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:23:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:24:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:35:
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h:187:8: error: reference to 'Fixed' is ambiguous
extern Fixed 
       ^
/usr/include/MacTypes.h:193:41: note: candidate found by name lookup is 'Fixed'
typedef SInt32                          Fixed;
                                        ^
/Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-open-type.hh:119:8: note: candidate found by name lookup is 'OT::Fixed'
struct Fixed : HBINT32
       ^
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/harfbuzz.cc:53:
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-coretext.cc:35:
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-coretext.h:37:
In file included from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:23:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:24:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:35:
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h:199:8: error: reference to 'Fixed' is ambiguous
extern Fixed 
       ^
/usr/include/MacTypes.h:193:41: note: candidate found by name lookup is 'Fixed'
typedef SInt32                          Fixed;
                                        ^
/Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-open-type.hh:119:8: note: candidate found by name lookup is 'OT::Fixed'
struct Fixed : HBINT32
       ^
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/harfbuzz.cc:53:
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-coretext.cc:35:
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-coretext.h:37:
In file included from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:23:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:24:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:35:
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h:225:8: error: reference to 'Fixed' is ambiguous
extern Fixed 
       ^
/usr/include/MacTypes.h:193:41: note: candidate found by name lookup is 'Fixed'
typedef SInt32                          Fixed;
                                        ^
/Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-open-type.hh:119:8: note: candidate found by name lookup is 'OT::Fixed'
struct Fixed : HBINT32
       ^
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/harfbuzz.cc:53:
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-coretext.cc:35:
In file included from /Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-coretext.h:37:
In file included from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:23:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:24:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:35:
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h:227:3: error: reference to 'Fixed' is ambiguous
  Fixed   x,
  ^
/usr/include/MacTypes.h:193:41: note: candidate found by name lookup is 'Fixed'
typedef SInt32                          Fixed;
                                        ^
/Users/user914788/.conan/data/harfbuzz/2.6.1/bincrafters/testing/build/693541ba016479648be7388be09335abae7da778/source_subfolder/src/hb-open-type.hh:119:8: note: candidate found by name lookup is 'OT::Fixed'
struct Fixed : HBINT32
       ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [source_subfolder/CMakeFiles/harfbuzz.dir/src/harfbuzz.cc.o] Error 1
make[1]: *** [source_subfolder/CMakeFiles/harfbuzz.dir/all] Error 2
make: *** [all] Error 2

As you can see, reference to 'Fixed' is ambiguous is related to OSX CoreServices.

Environment

  • System Version: macOS 10.14.6 (18G95)
  • Kernel Version: Darwin 18.7.0
  • Apple LLVM version 10.0.1 (clang-1001.0.46.4)

Steps to reproduce

wget https://github.com/harfbuzz/harfbuzz/archive/2.6.1.tar.gz
tar zxf 2.6.1.tar.gz
cd harfbuzz-2.6.1
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
cmake --build .

Of course, running autogen.sh it works, but it's not what I expect since from 2.4.0 I'm totally able to build using CMake only.

Regards!

@ebraminio
Copy link
Collaborator

How our bots couldn't found this :/ Please recheck and let us know. Thanks

@cajus
Copy link

cajus commented Sep 13, 2019

Hi there,

thanks for the patch! As I'm currently in the process of updating harfbuzz for our project too, I tried to build the conan package by just applying it to 2.6.1. The MacOS build it runs into

harfbuzz/2.6.1@bincrafters/stable: Calling build()
-- The C compiler identification is AppleClang 10.0.1.10010046
-- The CXX compiler identification is AppleClang 10.0.1.10010046
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Conan: called by CMake conan helper
-- Conan: called inside local cache
-- Conan: Adjusting output directories
-- Conan: Using cmake global configuration
-- Conan: Adjusting default RPATHs Conan policies
-- Conan: Adjusting language standard
-- Conan: Adjusting fPIC flag (ON)
-- Found PythonInterp: /usr/bin/python (found version "2.7.10") 
-- Looking for atexit
-- Looking for atexit - found
-- Looking for mprotect
-- Looking for mprotect - found
-- Looking for sysconf
-- Looking for sysconf - found
-- Looking for getpagesize
-- Looking for getpagesize - found
-- Looking for mmap
-- Looking for mmap - found
-- Looking for isatty
-- Looking for isatty - found
-- Looking for newlocale
-- Looking for newlocale - found
-- Looking for strtod_l
-- Looking for strtod_l - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for sys/mman.h
-- Looking for sys/mman.h - found
-- Looking for xlocale.h
-- Looking for xlocale.h - found
-- Looking for stdbool.h
-- Looking for stdbool.h - found
-- Found Freetype: /Users/ciuser/.conan/data/freetype/2.10.1/bincrafters/stable/package/cb656f6d884f8fc76ab61dd32ede672f98113876/lib/libfreetype.a (found version "2.10.1") 
-- Looking for FT_Get_Var_Blend_Coordinates
-- Looking for FT_Get_Var_Blend_Coordinates - found
-- Looking for FT_Set_Var_Blend_Coordinates
-- Looking for FT_Set_Var_Blend_Coordinates - found
-- Looking for FT_Done_MM_Var
-- Looking for FT_Done_MM_Var - found
-- Performing Test CXX_SUPPORTS_FLAG_BSYMB_FUNCS
-- Performing Test CXX_SUPPORTS_FLAG_BSYMB_FUNCS - Success
-- Performing Test COMPILER_SUPPORTS_CXX11
-- Performing Test COMPILER_SUPPORTS_CXX11 - Success
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_EXPORT_NO_PACKAGE_REGISTRY


-- Build files have been written to: /Users/ciuser/.conan/data/harfbuzz/2.6.1/bincrafters/stable/build/3356e2a6c55c1680d35b40fedb774897f3af3028/build_subfolder
/usr/local/Cellar/cmake/3.14.5/bin/cmake -S/Users/ciuser/.conan/data/harfbuzz/2.6.1/bincrafters/stable/build/3356e2a6c55c1680d35b40fedb774897f3af3028 -B/Users/ciuser/.conan/data/harfbuzz/2.6.1/bincrafters/stable/build/3356e2a6c55c1680d35b40fedb774897f3af3028/build_subfolder --check-build-system CMakeFiles/Makefile.cmake 0
/usr/local/Cellar/cmake/3.14.5/bin/cmake -E cmake_progress_start /Users/ciuser/.conan/data/harfbuzz/2.6.1/bincrafters/stable/build/3356e2a6c55c1680d35b40fedb774897f3af3028/build_subfolder/CMakeFiles /Users/ciuser/.conan/data/harfbuzz/2.6.1/bincrafters/stable/build/3356e2a6c55c1680d35b40fedb774897f3af3028/build_subfolder/CMakeFiles/progress.marks
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/Makefile2 all
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f source_subfolder/CMakeFiles/harfbuzz.dir/build.make source_subfolder/CMakeFiles/harfbuzz.dir/depend
cd /Users/ciuser/.conan/data/harfbuzz/2.6.1/bincrafters/stable/build/3356e2a6c55c1680d35b40fedb774897f3af3028/build_subfolder && /usr/local/Cellar/cmake/3.14.5/bin/cmake -E cmake_depends "Unix Makefiles" /Users/ciuser/.conan/data/harfbuzz/2.6.1/bincrafters/stable/build/3356e2a6c55c1680d35b40fedb774897f3af3028 /Users/ciuser/.conan/data/harfbuzz/2.6.1/bincrafters/stable/build/3356e2a6c55c1680d35b40fedb774897f3af3028/source_subfolder /Users/ciuser/.conan/data/harfbuzz/2.6.1/bincrafters/stable/build/3356e2a6c55c1680d35b40fedb774897f3af3028/build_subfolder /Users/ciuser/.conan/data/harfbuzz/2.6.1/bincrafters/stable/build/3356e2a6c55c1680d35b40fedb774897f3af3028/build_subfolder/source_subfolder /Users/ciuser/.conan/data/harfbuzz/2.6.1/bincrafters/stable/build/3356e2a6c55c1680d35b40fedb774897f3af3028/build_subfolder/source_subfolder/CMakeFiles/harfbuzz.dir/DependInfo.cmake --color=
Scanning dependencies of target harfbuzz
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f source_subfolder/CMakeFiles/harfbuzz.dir/build.make source_subfolder/CMakeFiles/harfbuzz.dir/build
[  8%] Building CXX object source_subfolder/CMakeFiles/harfbuzz.dir/src/harfbuzz.cc.o
cd /Users/ciuser/.conan/data/harfbuzz/2.6.1/bincrafters/stable/build/3356e2a6c55c1680d35b40fedb774897f3af3028/build_subfolder/source_subfolder && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++  -DHAVE_ATEXIT -DHAVE_CORETEXT -DHAVE_FREETYPE=1 -DHAVE_FT_DONE_MM_VAR -DHAVE_FT_GET_VAR_BLEND_COORDINATES -DHAVE_FT_SET_VAR_BLEND_COORDINATES -DHAVE_GETPAGESIZE -DHAVE_INTEL_ATOMIC_PRIMITIVES -DHAVE_ISATTY -DHAVE_MMAP -DHAVE_MPROTECT -DHAVE_NEWLOCALE -DHAVE_STDBOOL_H -DHAVE_STRTOD_L -DHAVE_SYSCONF -DHAVE_SYS_MMAN_H -DHAVE_UNISTD_H -DHAVE_XLOCALE_H -I/Users/ciuser/.conan/data/freetype/2.10.1/bincrafters/stable/package/cb656f6d884f8fc76ab61dd32ede672f98113876/include -I/Users/ciuser/.conan/data/freetype/2.10.1/bincrafters/stable/package/cb656f6d884f8fc76ab61dd32ede672f98113876/include/freetype2 -I/Users/ciuser/.conan/data/libpng/1.6.37/bincrafters/stable/package/9f67cefb3b597b342ffd9241a4a7dc5a0df50bef/include -I/Users/ciuser/.conan/data/bzip2/1.0.8/bincrafters/stable/package/25d69afe851bfb8cb5aedd20123fa41e061f316e/include -I/Users/ciuser/.conan/data/zlib/1.2.11/bincrafters/stable/package/534dcc368c999e07e81f146b3466b8f656ef1f55/include -I/Users/ciuser/.conan/data/harfbuzz/2.6.1/bincrafters/stable/build/3356e2a6c55c1680d35b40fedb774897f3af3028/source_subfolder/src -I/Users/ciuser/.conan/data/harfbuzz/2.6.1/bincrafters/stable/build/3356e2a6c55c1680d35b40fedb774897f3af3028/build_subfolder/source_subfolder/src  -Wno-deprecated-declarations  -m64 -fno-rtti -fno-exceptions -fno-threadsafe-statics -std=c++11 -O3 -DNDEBUG  -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -fPIC   -o CMakeFiles/harfbuzz.dir/src/harfbuzz.cc.o -c /Users/ciuser/.conan/data/harfbuzz/2.6.1/bincrafters/stable/build/3356e2a6c55c1680d35b40fedb774897f3af3028/source_subfolder/src/harfbuzz.cc
In file included from /Users/ciuser/.conan/data/harfbuzz/2.6.1/bincrafters/stable/build/3356e2a6c55c1680d35b40fedb774897f3af3028/source_subfolder/src/harfbuzz.cc:53:
In file included from /Users/ciuser/.conan/data/harfbuzz/2.6.1/bincrafters/stable/build/3356e2a6c55c1680d35b40fedb774897f3af3028/source_subfolder/src/hb-coretext.cc:35:
In file included from /Users/ciuser/.conan/data/harfbuzz/2.6.1/bincrafters/stable/build/3356e2a6c55c1680d35b40fedb774897f3af3028/source_subfolder/src/hb-coretext.h:37:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:23:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:19:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:90:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFFileSecurity.h:16:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/sys/acl.h:154:72: error: expected ')'
extern int      acl_create_entry_np(acl_t *acl_p, acl_entry_t *entry_p, int entry_index);
                                                                            ^
/Users/ciuser/.conan/data/harfbuzz/2.6.1/bincrafters/stable/build/3356e2a6c55c1680d35b40fedb774897f3af3028/source_subfolder/src/hb-ot-name-table.hh:39:24: note: expanded from macro 'entry_index'
#define entry_index var.u16[1]
                       ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/sys/acl.h:154:31: note: to match this '('
extern int      acl_create_entry_np(acl_t *acl_p, acl_entry_t *entry_p, int entry_index);
                                   ^
In file included from /Users/ciuser/.conan/data/harfbuzz/2.6.1/bincrafters/stable/build/3356e2a6c55c1680d35b40fedb774897f3af3028/source_subfolder/src/harfbuzz.cc:53:
In file included from /Users/ciuser/.conan/data/harfbuzz/2.6.1/bincrafters/stable/build/3356e2a6c55c1680d35b40fedb774897f3af3028/source_subfolder/src/hb-coretext.cc:35:
In file included from /Users/ciuser/.conan/data/harfbuzz/2.6.1/bincrafters/stable/build/3356e2a6c55c1680d35b40fedb774897f3af3028/source_subfolder/src/hb-coretext.h:37:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:59:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QD.h:46:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicode.h:20:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h:957:3: error: reference to 'GlyphID' is ambiguous
  GlyphID             glyphID;
  ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSTypes.h:371:41: note: candidate found by name lookup is 'GlyphID'
typedef ATSGlyphRef                     GlyphID;
                                        ^
/Users/ciuser/.conan/data/harfbuzz/2.6.1/bincrafters/stable/build/3356e2a6c55c1680d35b40fedb774897f3af3028/source_subfolder/src/hb-open-type.hh:158:8: note: candidate found by name lookup is 'OT::GlyphID'
struct GlyphID : HBUINT16
       ^
In file included from /Users/ciuser/.conan/data/harfbuzz/2.6.1/bincrafters/stable/build/3356e2a6c55c1680d35b40fedb774897f3af3028/source_subfolder/src/harfbuzz.cc:53:
In file included from /Users/ciuser/.conan/data/harfbuzz/2.6.1/bincrafters/stable/build/3356e2a6c55c1680d35b40fedb774897f3af3028/source_subfolder/src/hb-coretext.cc:35:
In file included from /Users/ciuser/.conan/data/harfbuzz/2.6.1/bincrafters/stable/build/3356e2a6c55c1680d35b40fedb774897f3af3028/source_subfolder/src/hb-coretext.h:37:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:59:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QD.h:46:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicode.h:20:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h:975:3: error: reference to 'GlyphID' is ambiguous
  GlyphID             glyphID;
  ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSTypes.h:371:41: note: candidate found by name lookup is 'GlyphID'
typedef ATSGlyphRef                     GlyphID;
                                        ^
/Users/ciuser/.conan/data/harfbuzz/2.6.1/bincrafters/stable/build/3356e2a6c55c1680d35b40fedb774897f3af3028/source_subfolder/src/hb-open-type.hh:158:8: note: candidate found by name lookup is 'OT::GlyphID'
struct GlyphID : HBUINT16
       ^
In file included from /Users/ciuser/.conan/data/harfbuzz/2.6.1/bincrafters/stable/build/3356e2a6c55c1680d35b40fedb774897f3af3028/source_subfolder/src/harfbuzz.cc:53:
/Users/ciuser/.conan/data/harfbuzz/2.6.1/bincrafters/stable/build/3356e2a6c55c1680d35b40fedb774897f3af3028/source_subfolder/src/hb-coretext.cc:305:43: warning: implicit conversion increases floating-point precision: 'float' to 'CGFloat' (aka 'double') [-Wdouble-promotion]
  CGFloat font_size = font->ptem <= 0.f ? HB_CORETEXT_DEFAULT_FONT_SIZE : font->ptem;
          ~~~~~~~~~                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ciuser/.conan/data/harfbuzz/2.6.1/bincrafters/stable/build/3356e2a6c55c1680d35b40fedb774897f3af3028/source_subfolder/src/hb-coretext.cc:50:39: note: expanded from macro 'HB_CORETEXT_DEFAULT_FONT_SIZE'
#define HB_CORETEXT_DEFAULT_FONT_SIZE 12.f
                                      ^~~~
/Users/ciuser/.conan/data/harfbuzz/2.6.1/bincrafters/stable/build/3356e2a6c55c1680d35b40fedb774897f3af3028/source_subfolder/src/hb-coretext.cc:305:81: warning: implicit conversion increases floating-point precision: 'float' to 'CGFloat' (aka 'double') [-Wdouble-promotion]
  CGFloat font_size = font->ptem <= 0.f ? HB_CORETEXT_DEFAULT_FONT_SIZE : font->ptem;
          ~~~~~~~~~                                                       ~~~~~~^~~~
/Users/ciuser/.conan/data/harfbuzz/2.6.1/bincrafters/stable/build/3356e2a6c55c1680d35b40fedb774897f3af3028/source_subfolder/src/hb-coretext.cc:330:54: warning: implicit conversion increases floating-point precision: 'float' to 'double' [-Wdouble-promotion]
  if (fabs (CTFontGetSize ((CTFontRef) data) - font->ptem) > .5)
                                             ~ ~~~~~~^~~~
3 warnings and 3 errors generated.

for me now. I didn't try master, though.

@behdad
Copy link
Member

behdad commented Sep 13, 2019

Something phishy going on with your setup.

@ebraminio
Copy link
Collaborator

ebraminio commented Sep 13, 2019 via email

@cajus
Copy link

cajus commented Sep 14, 2019

Thanks @ebraminio! Just added the two patches to my conan build and it compiles fine on all desired platforms.

@ebraminio
Copy link
Collaborator

ebraminio commented Sep 14, 2019 via email

@khaledhosny khaledhosny added the CMake CMake related issues label Dec 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CMake CMake related issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants