[MacPorts] #58552: harfbuzz @2.5.1 does not build on PPC Leopard, Mac OS X 10.5.8, because some warnings being treated as errors
MacPorts
noreply at macports.org
Sun Jun 2 22:52:26 UTC 2019
#58552: harfbuzz @2.5.1 does not build on PPC Leopard, Mac OS X 10.5.8, because
some warnings being treated as errors
-----------------------+----------------------
Reporter: ballapete | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Keywords: leopard | Port: harfbuzz
-----------------------+----------------------
{{{
/bin/sh ../libtool --tag=CXX --mode=compile /opt/local/bin/g++-mp-6
-DHAVE_CONFIG_H -I. -I.. -pthread -I/opt/local/include/glib-2.0
-I/opt/local/lib/glib-2.0/include -I/opt/local/include/freetype2
-I/opt/local/include/libpng16 -I/opt/local/include -fno-rtti -pipe
-Os -D_GLIBCXX_USE_CXX11_ABI=0 -m32 -fno-exceptions -fno-threadsafe-
statics -fvisibility-inlines-hidden -MT libharfbuzz_la-hb-coretext.lo -MD
-MP -MF .deps/libharfbuzz_la-hb-coretext.Tpo -c -o libharfbuzz_la-hb-
coretext.lo `test -f 'hb-coretext.cc' || echo './'`hb-coretext.cc
libtool: compile: /opt/local/bin/g++-mp-6 -DHAVE_CONFIG_H -I. -I..
-pthread -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
-I/opt/local/include/freetype2 -I/opt/local/include/libpng16
-I/opt/local/include -fno-rtti -pipe -Os -D_GLIBCXX_USE_CXX11_ABI=0 -m32
-fno-exceptions -fno-threadsafe-statics -fvisibility-inlines-hidden -MT
libharfbuzz_la-hb-coretext.lo -MD -MP -MF .deps/libharfbuzz_la-hb-
coretext.Tpo -c hb-coretext.cc -fno-common -DPIC -o .libs/libharfbuzz_la-
hb-coretext.o
hb-coretext.cc: In function 'float coretext_font_size_to_ptem(CGFloat)':
hb-coretext.cc:63:17: error: implicit conversion from 'CGFloat {aka
float}' to 'double' to match other operand of binary expression [-Werror
=double-promotion]
size *= 72. / 96.;
^~~
hb-coretext.cc: In function 'const __CTFont* create_ct_font(CGFontRef,
CGFloat)':
hb-coretext.cc:208:29: warning: the address of 'uint32_t
CTGetCoreTextVersion()' will never be NULL [-Waddress]
if (&CTGetCoreTextVersion != nullptr && CTGetCoreTextVersion() <
0x00070000) {
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
hb-coretext.cc: In function 'hb_bool_t
_hb_coretext_shape(hb_shape_plan_t*, hb_font_t*, hb_buffer_t*, const
hb_feature_t*, unsigned int)':
hb-coretext.cc:828:64: error: implicit conversion from 'CGFloat {aka
float}' to 'double' to match other operand of binary expression [-Werror
=double-promotion]
advances_so_far -= CTLineGetTrailingWhitespaceWidth (line);
^
cc1plus: some warnings being treated as errors
make[4]: *** [libharfbuzz_la-hb-coretext.lo] Error 1
make[4]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_harfbuzz/harfbuzz/work/harfbuzz-2.5.1/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_harfbuzz/harfbuzz/work/harfbuzz-2.5.1/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_harfbuzz/harfbuzz/work/harfbuzz-2.5.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_harfbuzz/harfbuzz/work/harfbuzz-2.5.1'
make: *** [all] Error 2
make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_harfbuzz/harfbuzz/work/harfbuzz-2.5.1'
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_harfbuzz/harfbuzz/work/harfbuzz-2.5.1"
&& /usr/bin/make -w all
Exit code: 2
}}}
--
Ticket URL: <https://trac.macports.org/ticket/58552>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list