[MacPorts] #40679: graphite2 fails to build

MacPorts noreply at macports.org
Sat Oct 5 11:15:58 PDT 2013


#40679: graphite2 fails to build
------------------------+--------------------------------
  Reporter:  revast@…   |      Owner:  macports-tickets@…
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.2.0
Resolution:  duplicate  |   Keywords:  powerpc
      Port:  graphite2  |
------------------------+--------------------------------
Changes (by ryandesign@…):

 * status:  new => closed
 * keywords:  ppc 1.5.8 graphite2 "undefinded symbol" => powerpc
 * resolution:   => duplicate
 * priority:  High => Normal


Old description:

> powermac g5 2.0 3gb gram, , xcode latest, fresh 2.2.0 macports
>

> graphite2-1.2.3/src/json.cpp
> :info:build Linking C shared library libgraphite2.dylib
> :info:build cd
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.3/src
> && /opt/local/bin/cmake -E cmake_link_script
> CMakeFiles/graphite2.dir/link.txt --verbose=1
> :info:build /usr/bin/gcc-4.2  -pipe -Os -arch ppc   -DNDEBUG -arch ppc
> -dynamiclib -Wl,-headerpad_max_install_names -nodefaultlibs
> -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc
> -compatibility_version 3.0.0 -current_version 3.0.1 -o
> libgraphite2.3.0.1.dylib -install_name
> /opt/local/lib/libgraphite2.3.dylib
> CMakeFiles/graphite2.dir/direct_machine.cpp.o
> CMakeFiles/graphite2.dir/gr_char_info.cpp.o
> CMakeFiles/graphite2.dir/gr_features.cpp.o
> CMakeFiles/graphite2.dir/gr_face.cpp.o
> CMakeFiles/graphite2.dir/gr_font.cpp.o
> CMakeFiles/graphite2.dir/gr_logging.cpp.o
> CMakeFiles/graphite2.dir/gr_segment.cpp.o
> CMakeFiles/graphite2.dir/gr_slot.cpp.o
> CMakeFiles/graphite2.dir/Bidi.cpp.o
> CMakeFiles/graphite2.dir/CachedFace.cpp.o
> CMakeFiles/graphite2.dir/CmapCache.cpp.o
> CMakeFiles/graphite2.dir/Code.cpp.o CMakeFiles/graphite2.dir/Face.cpp.o
> CMakeFiles/graphite2.dir/FeatureMap.cpp.o
> CMakeFiles/graphite2.dir/Font.cpp.o
> CMakeFiles/graphite2.dir/GlyphFace.cpp.o
> CMakeFiles/graphite2.dir/GlyphCache.cpp.o
> CMakeFiles/graphite2.dir/Justifier.cpp.o
> CMakeFiles/graphite2.dir/NameTable.cpp.o
> CMakeFiles/graphite2.dir/Pass.cpp.o CMakeFiles/graphite2.dir/Rule.cpp.o
> CMakeFiles/graphite2.dir/Segment.cpp.o
> CMakeFiles/graphite2.dir/Silf.cpp.o CMakeFiles/graphite2.dir/Slot.cpp.o
> CMakeFiles/graphite2.dir/Sparse.cpp.o
> CMakeFiles/graphite2.dir/TtfUtil.cpp.o
> CMakeFiles/graphite2.dir/UtfCodec.cpp.o
> CMakeFiles/graphite2.dir/FileFace.cpp.o
> CMakeFiles/graphite2.dir/json.cpp.o -lc
> :info:build Undefined symbols:
> :info:build   "saveFP", referenced from:
> :info:build       graphite2::Segment::justify(graphite2::Slot*,
> graphite2::Font const*, float, graphite2::justFlags, graphite2::Slot*,
> graphite2::Slot*)in Justifier.cpp.o
> :info:build       graphite2::Slot::finalise(graphite2::Segment const*,
> graphite2::Font const*, graphite2::Position&, graphite2::Rect&, unsigned
> char, float&)in Slot.cpp.o
> :info:build   "restFP", referenced from:
> :info:build       graphite2::Segment::justify(graphite2::Slot*,
> graphite2::Font const*, float, graphite2::justFlags, graphite2::Slot*,
> graphite2::Slot*)in Justifier.cpp.o
> :info:build       graphite2::Slot::finalise(graphite2::Segment const*,
> graphite2::Font const*, graphite2::Position&, graphite2::Rect&, unsigned
> char, float&)in Slot.cpp.o
> :info:build ld: symbol(s) not found
> :info:build collect2: ld returned 1 exit status
> :info:build make[2]: *** [src/libgraphite2.3.0.1.dylib] Error 1
> :info:build make[2]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.3'
> :info:build make[1]: *** [src/CMakeFiles/graphite2.dir/all] Error 2

New description:

 powermac g5 2.0 3gb gram, , xcode latest, fresh 2.2.0 macports

 {{{
 graphite2-1.2.3/src/json.cpp
 :info:build Linking C shared library libgraphite2.dylib
 :info:build cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.3/src
 && /opt/local/bin/cmake -E cmake_link_script
 CMakeFiles/graphite2.dir/link.txt --verbose=1
 :info:build /usr/bin/gcc-4.2  -pipe -Os -arch ppc   -DNDEBUG -arch ppc
 -dynamiclib -Wl,-headerpad_max_install_names -nodefaultlibs
 -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc
 -compatibility_version 3.0.0 -current_version 3.0.1 -o
 libgraphite2.3.0.1.dylib -install_name /opt/local/lib/libgraphite2.3.dylib
 CMakeFiles/graphite2.dir/direct_machine.cpp.o
 CMakeFiles/graphite2.dir/gr_char_info.cpp.o
 CMakeFiles/graphite2.dir/gr_features.cpp.o
 CMakeFiles/graphite2.dir/gr_face.cpp.o
 CMakeFiles/graphite2.dir/gr_font.cpp.o
 CMakeFiles/graphite2.dir/gr_logging.cpp.o
 CMakeFiles/graphite2.dir/gr_segment.cpp.o
 CMakeFiles/graphite2.dir/gr_slot.cpp.o CMakeFiles/graphite2.dir/Bidi.cpp.o
 CMakeFiles/graphite2.dir/CachedFace.cpp.o
 CMakeFiles/graphite2.dir/CmapCache.cpp.o
 CMakeFiles/graphite2.dir/Code.cpp.o CMakeFiles/graphite2.dir/Face.cpp.o
 CMakeFiles/graphite2.dir/FeatureMap.cpp.o
 CMakeFiles/graphite2.dir/Font.cpp.o
 CMakeFiles/graphite2.dir/GlyphFace.cpp.o
 CMakeFiles/graphite2.dir/GlyphCache.cpp.o
 CMakeFiles/graphite2.dir/Justifier.cpp.o
 CMakeFiles/graphite2.dir/NameTable.cpp.o
 CMakeFiles/graphite2.dir/Pass.cpp.o CMakeFiles/graphite2.dir/Rule.cpp.o
 CMakeFiles/graphite2.dir/Segment.cpp.o CMakeFiles/graphite2.dir/Silf.cpp.o
 CMakeFiles/graphite2.dir/Slot.cpp.o CMakeFiles/graphite2.dir/Sparse.cpp.o
 CMakeFiles/graphite2.dir/TtfUtil.cpp.o
 CMakeFiles/graphite2.dir/UtfCodec.cpp.o
 CMakeFiles/graphite2.dir/FileFace.cpp.o
 CMakeFiles/graphite2.dir/json.cpp.o -lc
 :info:build Undefined symbols:
 :info:build   "saveFP", referenced from:
 :info:build       graphite2::Segment::justify(graphite2::Slot*,
 graphite2::Font const*, float, graphite2::justFlags, graphite2::Slot*,
 graphite2::Slot*)in Justifier.cpp.o
 :info:build       graphite2::Slot::finalise(graphite2::Segment const*,
 graphite2::Font const*, graphite2::Position&, graphite2::Rect&, unsigned
 char, float&)in Slot.cpp.o
 :info:build   "restFP", referenced from:
 :info:build       graphite2::Segment::justify(graphite2::Slot*,
 graphite2::Font const*, float, graphite2::justFlags, graphite2::Slot*,
 graphite2::Slot*)in Justifier.cpp.o
 :info:build       graphite2::Slot::finalise(graphite2::Segment const*,
 graphite2::Font const*, graphite2::Position&, graphite2::Rect&, unsigned
 char, float&)in Slot.cpp.o
 :info:build ld: symbol(s) not found
 :info:build collect2: ld returned 1 exit status
 :info:build make[2]: *** [src/libgraphite2.3.0.1.dylib] Error 1
 :info:build make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.3'
 :info:build make[1]: *** [src/CMakeFiles/graphite2.dir/all] Error 2
 }}}

--

Comment:

 Duplicate of #40447.

-- 
Ticket URL: <https://trac.macports.org/ticket/40679#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list