[MacPorts] #52468: gtk3 3.22.0_0 build fails on 10.5 ppc
MacPorts
noreply at macports.org
Tue Oct 18 17:44:36 CEST 2016
#52468: gtk3 3.22.0_0 build fails on 10.5 ppc
-------------------------+-----------------------------
Reporter: dgonyier@… | Owner: devans@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: | Keywords: leopard powerpc
Port: gtk3 |
-------------------------+-----------------------------
Comment (by jeremyhu@…):
Small correction... `-undefined dynamic_lookup`, not `-undefined dynamic`
Kicked off my Leopard VM, and indeed we see the compiler warnings about
the implicit declaration:
{{{
pangocoretext-shape.c:153:11: warning: implicit declaration of function
'CFStringIsSurrogateHighCharacter' is invalid in C99 [-Wimplicit-function-
declaration]
if (CFStringIsSurrogateHighCharacter (CFStringGetCharacterAtIndex
(cstr, i)) &&
^
pangocoretext-shape.c:155:11: warning: implicit declaration of function
'CFStringIsSurrogateLowCharacter' is invalid in C99 [-Wimplicit-function-
declaration]
CFStringIsSurrogateLowCharacter (CFStringGetCharacterAtIndex
(cstr, i + 1)))
^
pangocoretext-shape.c:199:16: warning: implicit declaration of function
'CFStringGetLongCharacterForSurrogatePair' is invalid in C99 [-Wimplicit-
function-declaration]
return CFStringGetLongCharacterForSurrogatePair (ch, ch2);
^
}}}
and the subsequent usage of -undefined dynamic_lookup (via -Wl,-undefined
-Wl,dynamic_lookup):
{{{
libtool: link: /opt/local/bin/clang-mp-3.7 -dynamiclib -Wl,-undefined
-Wl,dynamic_lookup -o .libs/libpangocairo-1.0.0.dylib .libs/pangocairo-
context.o .libs/pangocairo-font.o .libs/pangocairo-fontmap.o .libs
/pangocairo-render.o .libs/pangocairo-fcfont.o .libs/pangocairo-
fcfontmap.o .libs/pangocoretext.o .libs/pangocoretext-fontmap.o .libs
/pangocoretext-shape.o .libs/pangocairo-coretextfont.o .libs/pangocairo-
coretextfontmap.o -framework CoreFoundation -framework
ApplicationServices -L/opt/local/lib ./.libs/libpango-1.0.dylib -lcairo
./.libs/libpangoft2-1.0.dylib
/opt/local/var/macports/build/_Users_jeremy_src_macports_trunk_dports_x11_pango/pango/work/pango-1.40.3/pango/.libs/libpango-1.0.dylib
-lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl -lharfbuzz -lfontconfig -lm
-lfreetype -arch x86_64 -Os -arch x86_64 -arch i386
-Wl,-headerpad_max_install_names -arch x86_64 -arch i386 -Wl,-dylib_file
-Wl,/opt/local/lib/libpango-1.0.0.dylib:/opt/local/var/macports/build/_Users_jeremy_src_macports_trunk_dports_x11_pango/pango/work/pango-1.40.3/pango/.libs/libpango-1.0.dylib
-framework CoreFoundation -framework ApplicationServices -install_name
/opt/local/lib/libpangocairo-1.0.0.dylib -compatibility_version 4001
-current_version 4001.3 -Wl,-single_module
-Wl,-exported_symbols_list,.libs/libpangocairo-1.0-symbols.expsym
}}}
--
Ticket URL: <https://trac.macports.org/ticket/52468#comment:38>
MacPorts <https://www.macports.org/>
Ports system for the Mac operating system
More information about the macports-tickets
mailing list