Folks,

We have a project which needs to support Redhat 7 and to our surprise we 
generally are still able to build new libarires.

However harfbuzz is causing us some problems and any ideas would be appreciated.

Configure output and make logs below from attempt to build 0.9.21.

Thanks

Ian

Build configuration:

Unicode callbacks (you want at least one):
        Glib:                   false
        ICU:                    false
        UCDN:                   true

Font callbacks (the more the better):
        FreeType:               true

Tools used for command-line utilities:
        Cairo:                  false

Additional shapers (the more the better):
        Graphite2:              false

Platform shapers (not normally needed):
        CoreText:               false
        Uniscribe:              false

Other features:
        Documentation:          false
        GObject bindings:       false
        Introspection:          false

[root@localhost harfbuzz-0.9.21]# make
make  all-recursive
make[1]: Entering directory `/data/harfbuzz-0.9.21'
Making all in src
make[2]: Entering directory `/data/harfbuzz-0.9.21/src'
make  all-recursive
make[3]: Entering directory `/data/harfbuzz-0.9.21/src'
Making all in hb-ucdn
make[4]: Entering directory `/data/harfbuzz-0.9.21/src/hb-ucdn'
  CC     ucdn.lo
  CCLD   libhb-ucdn.la
make[4]: Leaving directory `/data/harfbuzz-0.9.21/src/hb-ucdn'
make[4]: Entering directory `/data/harfbuzz-0.9.21/src'
  CXX    libharfbuzz_la-hb-blob.lo
hb-blob.cc: In function `hb_bool_t _try_make_writable_inplace_unix(hb_blob_t*)':
hb-blob.cc:387: warning: converting of negative value `-0x000000001' to 
`uintptr_t'
  CXX    libharfbuzz_la-hb-buffer-serialize.lo
  CXX    libharfbuzz_la-hb-buffer.lo
In file included from hb-buffer.cc:31:
hb-utf-private.hh: In function `const uint8_t* hb_utf_next(const uint8_t*, 
const uint8_t*, hb_codepoint_t*)':
hb-utf-private.hh:54: warning: converting of negative value `-0x000000001' to 
`unsigned int'
hb-utf-private.hh:64: warning: converting of negative value `-0x000000001' to 
`unsigned int'
hb-utf-private.hh: In function `const uint8_t* hb_utf_prev(const uint8_t*, 
const uint8_t*, hb_codepoint_t*)':
hb-utf-private.hh:91: warning: converting of negative value `-0x000000001' to 
`unsigned int'
hb-utf-private.hh: In function `const uint16_t* hb_utf_next(const uint16_t*, 
const uint16_t*, hb_codepoint_t*)':
hb-utf-private.hh:134: warning: converting of negative value `-0x000000001' to 
`unsigned int'
hb-utf-private.hh: In function `const uint16_t* hb_utf_prev(const uint16_t*, 
const uint16_t*, hb_codepoint_t*)':
hb-utf-private.hh:158: warning: converting of negative value `-0x000000001' to 
`unsigned int'
hb-buffer.cc: In member function `bool hb_buffer_t::enlarge(unsigned int)':
hb-buffer.cc:122: warning: visibility attribute not supported in this 
configuration; ignored
hb-buffer.cc: In member function `bool hb_buffer_t::make_room_for(unsigned int, 
unsigned int)':
hb-buffer.cc:140: warning: visibility attribute not supported in this 
configuration; ignored
hb-buffer.cc: In member function `void* 
hb_buffer_t::get_scratch_buffer(unsigned int*)':
hb-buffer.cc:153: warning: visibility attribute not supported in this 
configuration; ignored
hb-buffer.cc: In member function `void hb_buffer_t::clear()':
hb-buffer.cc:197: warning: visibility attribute not supported in this 
configuration; ignored
hb-buffer.cc: In member function `void hb_buffer_t::reset()':
hb-buffer.cc:169: warning: visibility attribute not supported in this 
configuration; ignored
hb-buffer.cc: In member function `void hb_buffer_t::add(hb_codepoint_t, 
unsigned int)':
hb-buffer.cc:215: warning: visibility attribute not supported in this 
configuration; ignored
hb-buffer.cc: In member function `void hb_buffer_t::add_info(const 
hb_glyph_info_t&)':
hb-buffer.cc:225: warning: visibility attribute not supported in this 
configuration; ignored
hb-buffer.cc: In member function `void hb_buffer_t::remove_output()':
hb-buffer.cc:239: warning: visibility attribute not supported in this 
configuration; ignored
hb-buffer.cc: In member function `void hb_buffer_t::clear_output()':
hb-buffer.cc:252: warning: visibility attribute not supported in this 
configuration; ignored
hb-buffer.cc: In member function `void hb_buffer_t::clear_positions()':
hb-buffer.cc:267: warning: visibility attribute not supported in this 
configuration; ignored
hb-buffer.cc: In member function `void hb_buffer_t::swap_buffers()':
hb-buffer.cc:292: warning: visibility attribute not supported in this 
configuration; ignored
hb-buffer.cc: In member function `void hb_buffer_t::merge_clusters(unsigned 
int, unsigned int)':
hb-buffer.cc:474: warning: visibility attribute not supported in this 
configuration; ignored
hb-buffer.cc: In member function `void hb_buffer_t::replace_glyphs(unsigned 
int, unsigned int, const uint32_t*)':
hb-buffer.cc:315: warning: visibility attribute not supported in this 
configuration; ignored
hb-buffer.cc: In member function `void 
hb_buffer_t::output_glyph(hb_codepoint_t)':
hb-buffer.cc:326: warning: visibility attribute not supported in this 
configuration; ignored
hb-buffer.cc: In member function `void hb_buffer_t::output_info(const 
hb_glyph_info_t&)':
hb-buffer.cc:336: warning: visibility attribute not supported in this 
configuration; ignored
hb-buffer.cc: In member function `void hb_buffer_t::copy_glyph()':
hb-buffer.cc:346: warning: visibility attribute not supported in this 
configuration; ignored
hb-buffer.cc: In member function `void 
hb_buffer_t::replace_glyph(hb_codepoint_t)':
hb-buffer.cc:359: warning: visibility attribute not supported in this 
configuration; ignored
hb-buffer.cc: In member function `void hb_buffer_t::set_masks(hb_mask_t, 
hb_mask_t, unsigned int, unsigned int)':
hb-buffer.cc:385: warning: visibility attribute not supported in this 
configuration; ignored
hb-buffer.cc: In member function `void hb_buffer_t::reverse_range(unsigned int, 
unsigned int)':
hb-buffer.cc:413: warning: visibility attribute not supported in this 
configuration; ignored
hb-buffer.cc: In member function `void hb_buffer_t::reverse()':
hb-buffer.cc:422: warning: visibility attribute not supported in this 
configuration; ignored
hb-buffer.cc: In member function `void hb_buffer_t::reverse_clusters()':
hb-buffer.cc:445: warning: visibility attribute not supported in this 
configuration; ignored
hb-buffer.cc: In member function `void hb_buffer_t::merge_out_clusters(unsigned 
int, unsigned int)':
hb-buffer.cc:502: warning: visibility attribute not supported in this 
configuration; ignored
hb-buffer.cc: In member function `void hb_buffer_t::guess_segment_properties()':
hb-buffer.cc:533: warning: visibility attribute not supported in this 
configuration; ignored
hb-buffer.cc: In member function `void hb_buffer_t::allocate_var(unsigned int, 
unsigned int, const char*)':
hb-buffer.cc:563: warning: visibility attribute not supported in this 
configuration; ignored
hb-buffer.cc: In member function `void hb_buffer_t::deallocate_var(unsigned 
int, unsigned int, const char*)':
hb-buffer.cc:580: warning: visibility attribute not supported in this 
configuration; ignored
hb-buffer.cc: In member function `void hb_buffer_t::assert_var(unsigned int, 
unsigned int, const char*)':
hb-buffer.cc:596: warning: visibility attribute not supported in this 
configuration; ignored
hb-buffer.cc: In member function `void hb_buffer_t::deallocate_var_all()':
hb-buffer.cc:602: warning: visibility attribute not supported in this 
configuration; ignored
  CXX    libharfbuzz_la-hb-common.lo
hb-common.cc:576: warning: visibility attribute not supported in this 
configuration; ignored
hb-common.cc: In function `void _hb_options_init()':
hb-common.cc:55: warning: visibility attribute not supported in this 
configuration; ignored
hb-common.cc: In member function `void* 
hb_user_data_array_t::get(hb_user_data_key_t*)':
hb-common.cc:519: warning: visibility attribute not supported in this 
configuration; ignored
hb-common.cc: In member function `bool 
hb_user_data_array_t::set(hb_user_data_key_t*, void*, void (*)(void*), 
hb_bool_t)':
hb-common.cc:511: warning: visibility attribute not supported in this 
configuration; ignored
  CXX    libharfbuzz_la-hb-fallback-shape.lo
hb-fallback-shape.cc: In function `hb_fallback_shaper_face_data_t* 
_hb_fallback_shaper_face_data_create(hb_face_t*)':
hb-fallback-shape.cc:41: warning: visibility attribute not supported in this 
configuration; ignored
hb-fallback-shape.cc: In function `void 
_hb_fallback_shaper_face_data_destroy(hb_fallback_shaper_face_data_t*)':
hb-fallback-shape.cc:46: warning: visibility attribute not supported in this 
configuration; ignored
hb-fallback-shape.cc: In function `hb_fallback_shaper_font_data_t* 
_hb_fallback_shaper_font_data_create(hb_font_t*)':
hb-fallback-shape.cc:59: warning: visibility attribute not supported in this 
configuration; ignored
hb-fallback-shape.cc: In function `void 
_hb_fallback_shaper_font_data_destroy(hb_fallback_shaper_font_data_t*)':
hb-fallback-shape.cc:64: warning: visibility attribute not supported in this 
configuration; ignored
hb-fallback-shape.cc: In function `hb_fallback_shaper_shape_plan_data_t* 
_hb_fallback_shaper_shape_plan_data_create(hb_shape_plan_t*, const 
hb_feature_t*, unsigned int)':
hb-fallback-shape.cc:79: warning: visibility attribute not supported in this 
configuration; ignored
hb-fallback-shape.cc: In function `void 
_hb_fallback_shaper_shape_plan_data_destroy(hb_fallback_shaper_shape_plan_data_t*)':
hb-fallback-shape.cc:84: warning: visibility attribute not supported in this 
configuration; ignored
hb-fallback-shape.cc: In function `hb_bool_t 
_hb_fallback_shape(hb_shape_plan_t*, hb_font_t*, hb_buffer_t*, const 
hb_feature_t*, unsigned int)':
hb-fallback-shape.cc:128: warning: visibility attribute not supported in this 
configuration; ignored
  CXX    libharfbuzz_la-hb-face.lo
In file included from hb-open-file-private.hh:32,
                 from hb-face.cc:35:
hb-open-type-private.hh: In function `const Type& OT::Null() [with Type = 
OT::Tag]':
hb-open-type-private.hh:614: error: call of overloaded `CastP(const char[5])' 
is ambiguous
hb-open-type-private.hh:56: note: candidates are: const Type* OT::CastP(const 
TObject*) [with Type = OT::Tag, TObject = char]
hb-open-type-private.hh:59: note:                 Type* OT::CastP(TObject*) 
[with Type = OT::Tag, TObject = const char]
hb-open-type-private.hh: In function `const Type& OT::Null() [with Type = 
OT::Index]':
hb-open-type-private.hh:623: error: call of overloaded `CastP(const char[3])' 
is ambiguous
hb-open-type-private.hh:56: note: candidates are: const Type* OT::CastP(const 
TObject*) [with Type = OT::Index, TObject = char]
hb-open-type-private.hh:59: note:                 Type* OT::CastP(TObject*) 
[with Type = OT::Index, TObject = const char]
hb-open-type-private.hh: In static member function `static const Type* 
OT::Sanitizer<Type>::lock_instance(hb_blob_t*) [with Type = 
OT::OpenTypeFontFile]':
hb-face.cc:142:   instantiated from here
hb-open-type-private.hh:346: error: call of overloaded `CastP(const char*&)' is 
ambiguous
hb-open-type-private.hh:56: note: candidates are: const Type* OT::CastP(const 
TObject*) [with Type = OT::OpenTypeFontFile, TObject = char]
hb-open-type-private.hh:59: note:                 Type* OT::CastP(TObject*) 
[with Type = OT::OpenTypeFontFile, TObject = const char]
hb-open-type-private.hh: In static member function `static const Type* 
OT::Sanitizer<Type>::lock_instance(hb_blob_t*) [with Type = OT::head]':
hb-face.cc:433:   instantiated from here
hb-open-type-private.hh:346: error: call of overloaded `CastP(const char*&)' is 
ambiguous
hb-open-type-private.hh:56: note: candidates are: const Type* OT::CastP(const 
TObject*) [with Type = OT::head, TObject = char]
hb-open-type-private.hh:59: note:                 Type* OT::CastP(TObject*) 
[with Type = OT::head, TObject = const char]
hb-open-type-private.hh: In static member function `static const Type* 
OT::Sanitizer<Type>::lock_instance(hb_blob_t*) [with Type = OT::maxp]':
hb-face.cc:477:   instantiated from here
hb-open-type-private.hh:346: error: call of overloaded `CastP(const char*&)' is 
ambiguous
hb-open-type-private.hh:56: note: candidates are: const Type* OT::CastP(const 
TObject*) [with Type = OT::maxp, TObject = char]
hb-open-type-private.hh:59: note:                 Type* OT::CastP(TObject*) 
[with Type = OT::maxp, TObject = const char]
hb-face.cc: At global scope:
hb-face.cc:479: warning: visibility attribute not supported in this 
configuration; ignored
make[4]: *** [libharfbuzz_la-hb-face.lo] Error 1
make[4]: Leaving directory `/data/harfbuzz-0.9.21/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/data/harfbuzz-0.9.21/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/data/harfbuzz-0.9.21/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/data/harfbuzz-0.9.21'




_______________________________________________
HarfBuzz mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/harfbuzz

Reply via email to