Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 450512

Summary: media-gfx/graphite2: Undefined symbols for architecture ppc
Product: Gentoo/Alt Reporter: DIZ <daniel.ibnzayd>
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: PPC   
OS: OS X   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Error output and emerge --info log for Graphite2/ppc bug report.

Description DIZ 2013-01-06 10:44:46 UTC
Created attachment 334638 [details]
Error output and emerge --info log for Graphite2/ppc bug report.

I recently "renewed" a friend's old Quicksilver G4 power PC, and forced an install of system 10.5.8 on it. I started installing from scratch a Gentoo Prefix, and built up to GD and ImageMagick (and their requirements) since I use them in graphics programming. 

I'm running in testing mode and things have been working fine with all of the testing packages so far. I updated system and then world for some changes in use flags, and noticed that graphite2 was installing as new. This is listed as a stable package for the powerpc if I'm not mistaken (http://packages.gentoo.org/package/media-gfx/graphite2), yet it chokes at the very end of the install.

Attached is the relevant error output as well as my emerge --info output. I've researched this error and have not found any solution or mention; Agostino Sarubbo kindly suggested I file a bug report.

Thank you.
Comment 1 DIZ 2013-01-06 10:46:15 UTC
Portage 2.2.01.21476-prefix (prefix/darwin/macos/10.5/ppc, gcc-4.2.1, unavailable, 9.8.0 Power Macintosh)
=================================================================
                        System Settings
=================================================================
System uname: Darwin-9.8.0-Power_Macintosh-powerpc-32bit
Timestamp of tree: Sun, 06 Jan 2013 09:03:26 +0000
distcc 2.18.5-Apple.1 i386-apple-darwin9.0 (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:      4.2_p39-r1::gentoo_prefix
dev-lang/python:      2.7.3-r2::gentoo_prefix, 3.3.0::gentoo_prefix
dev-util/cmake:       2.8.9::gentoo_prefix
dev-util/pkgconfig:   0.27.1::gentoo_prefix
sys-devel/autoconf:   2.69::gentoo_prefix
sys-devel/automake:   1.12.4::gentoo_prefix
sys-devel/gcc-config: 1.8-r00.1::gentoo_prefix
sys-devel/libtool:    2.4.2::gentoo_prefix
sys-devel/make:       3.82-r4::gentoo_prefix
Repositories: gentoo_prefix
ACCEPT_KEYWORDS="~ppc-macos"
ACCEPT_LICENSE="* -@EULA"
CBUILD="powerpc-apple-darwin9"
CFLAGS=" -O2 -pipe-mcpu=G4 -mtune=G4"
CHOST="powerpc-apple-darwin9"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS=" -O2 -pipe-mcpu=G4 -mtune=G4"
DISTDIR="/Volumes/SNARK/gentoo/usr/portage/distfiles"
FCFLAGS=""
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles force-prefix merge-sync news nostrip parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-dead_strip_dylibs"
MAKEOPTS=""
PKGDIR="/Volumes/SNARK/gentoo/usr/portage/packages"
PORTAGE_CONFIGROOT="/Volumes/SNARK/gentoo/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/Volumes/SNARK/gentoo/var/tmp"
PORTDIR="/Volumes/SNARK/gentoo/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="X animgif apng aqua bzip2 coreaudio corefonts cracklib cxx djvu fftw fontconfig gif graphviz hdri ipv6 jbig jpeg jpeg2k lcms lzma modules ncurses nls objc objc++ openmp pango perl png postscript ppc-macos prefix q32 q64 q8 raw readline ssh ssl svg tiff truetype unicode webp wmf xml xpm zlib" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="Darwin" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 Fabian Groffen gentoo-dev 2013-01-06 11:05:26 UTC
try compiling it without -mcpu= and -mtune=, might sound weird, but this feels like a known problem, those are symbols from gcc itself
Comment 3 DIZ 2013-01-06 11:46:02 UTC
Thanks for the quick reply. I tried emerging without -mcpu= and -mtune= as you suggested, but still get the same error.
Comment 4 DIZ 2013-01-17 12:23:01 UTC
I don't know if this is relevant, or considered confirmation, but I found this at SourceForge:

http://sourceforge.net/tracker/index.php?func=detail&aid=3593055&group_id=66144&atid=513479
Comment 5 DIZ 2013-05-05 11:56:07 UTC
http://trac.macports.org/changeset/101970

at MacPorts they see this as a need for disabling segment caching code.

Is it possible to change this cmake flag within gentoo while waiting for a bug fix?

Thanks in advance.
Comment 6 Fabian Groffen gentoo-dev 2013-07-03 21:21:01 UTC
(In reply to DIZ from comment #5)
> http://trac.macports.org/changeset/101970
> 
> at MacPorts they see this as a need for disabling segment caching code.
> 
> Is it possible to change this cmake flag within gentoo while waiting for a
> bug fix?

Thanks!  This bug got lost on the radar, so sorry for that.  I've committed that fix for you.  I realise this is quite late for you, but if you still use this, could you confirm we can actually keyword this package ppc-macos?
Comment 7 DIZ 2013-07-03 21:48:15 UTC
Hi Fabian, thanks for getting back to me. Yes, I still use it; I'm at a stable previous version, but am glad to know the fix is on the way. Thanks again.
Comment 8 Fabian Groffen gentoo-dev 2013-07-04 14:37:40 UTC
ok, thanks!
Comment 9 DIZ 2013-07-12 21:49:36 UTC
I can see that the flag is set in the new version while compiling:

-DGRAPHITE2_NSEGCACHE

But I still get this error:

Undefined symbols for architecture ppc:
  "saveFP", referenced from:
      graphite2::Segment::justify(graphite2::Slot*, graphite2::Font const*, float, graphite2::justFlags, graphite2::Slot*, graphite2::Slot*)in Justifier.cpp.o
      graphite2::Pass::dumpRuleEventOutput(graphite2::FiniteStateMachine const&, graphite2::Rule const&, graphite2::Slot*) constin Pass.cpp.o
      graphite2::Slot::finalise(graphite2::Segment const*, graphite2::Font const*, graphite2::Position&, graphite2::Rect&, unsigned char, float&)in Slot.cpp.o
  "restFP", referenced from:
      graphite2::Segment::justify(graphite2::Slot*, graphite2::Font const*, float, graphite2::justFlags, graphite2::Slot*, graphite2::Slot*)in Justifier.cpp.o
      graphite2::Pass::dumpRuleEventOutput(graphite2::FiniteStateMachine const&, graphite2::Rule const&, graphite2::Slot*) constin Pass.cpp.o
      graphite2::Slot::finalise(graphite2::Segment const*, graphite2::Font const*, graphite2::Position&, graphite2::Rect&, unsigned char, float&)in Slot.cpp.o
ld: symbol(s) not found for architecture ppc
collect2: ld returned 1 exit status
make[2]: *** [src/libgraphite2.3.0.1.dylib] Error 1

Any thoughts?

Sorry for the bother!
Comment 10 Fabian Groffen gentoo-dev 2013-07-13 06:54:42 UTC
can you show me a bit more of the error before the bit you posted?
Comment 11 DIZ 2013-07-13 21:20:18 UTC
Thanks Fabian. Going back a bit:

[ 82%] Building CXX object src/CMakeFiles/graphite2.dir/Slot.cpp.o
cd /Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.1/work/graphite2-1.2.1_build/src && /Volumes/SNARK/gentoo/usr/bin/powerpc-apple-darwin9-g++  -DGRAPHITE2_NSEGCACHE -Dgraphite2_EXPORTS  -DNDEBUG -O2 -pipe-mcpu=G4 -mtune=G4  -fPIC -I/Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.1/work/graphite2-1.2.1/include -I/Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.1/work/graphite2-1.2.1/src    -Wall -Wextra -Wno-unknown-pragmas -Wendif-labels -Wshadow -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -fno-rtti -fno-exceptions -fvisibility=hidden -fvisibility-inlines-hidden -fno-stack-protector -o CMakeFiles/graphite2.dir/Slot.cpp.o -c /Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.1/work/graphite2-1.2.1/src/Slot.cpp
In file included from /Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.1/work/graphite2-1.2.1/src/inc/FeatureMap.h:29,
                 from /Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.1/work/graphite2-1.2.1/src/inc/Face.h:34,
                 from /Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.1/work/graphite2-1.2.1/src/inc/Segment.h:34,
                 from /Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.1/work/graphite2-1.2.1/src/Slot.cpp:27:
/Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.1/work/graphite2-1.2.1/src/inc/FeatureVal.h: In member function ‘bool graphite2::FeatureVal::operator==(const graphite2::FeatureVal&) const’:
/Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.1/work/graphite2-1.2.1/src/inc/FeatureVal.h:52: warning: suggest a space before ‘;’ or explicit braces around empty body in ‘for’ statement
In file included from /Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.1/work/graphite2-1.2.1/src/Slot.cpp:31:
/Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.1/work/graphite2-1.2.1/src/inc/Rule.h: In member function ‘void graphite2::FiniteStateMachine::reset(graphite2::Slot*&, short unsigned int)’:
/Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.1/work/graphite2-1.2.1/src/inc/Rule.h:187: warning: suggest a space before ‘;’ or explicit braces around empty body in ‘for’ statement
/Volumes/SNARK/gentoo/usr/bin/cmake -E cmake_progress_report /Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.1/work/graphite2-1.2.1_build/CMakeFiles 25
[ 86%] Building CXX object src/CMakeFiles/graphite2.dir/Sparse.cpp.o
cd /Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.1/work/graphite2-1.2.1_build/src && /Volumes/SNARK/gentoo/usr/bin/powerpc-apple-darwin9-g++  -DGRAPHITE2_NSEGCACHE -Dgraphite2_EXPORTS  -DNDEBUG -O2 -pipe-mcpu=G4 -mtune=G4  -fPIC -I/Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.1/work/graphite2-1.2.1/include -I/Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.1/work/graphite2-1.2.1/src    -Wall -Wextra -Wno-unknown-pragmas -Wendif-labels -Wshadow -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -fno-rtti -fno-exceptions -fvisibility=hidden -fvisibility-inlines-hidden -fno-stack-protector -o CMakeFiles/graphite2.dir/Sparse.cpp.o -c /Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.1/work/graphite2-1.2.1/src/Sparse.cpp
/Volumes/SNARK/gentoo/usr/bin/cmake -E cmake_progress_report /Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.1/work/graphite2-1.2.1_build/CMakeFiles 26
[ 89%] Building CXX object src/CMakeFiles/graphite2.dir/TtfUtil.cpp.o
cd /Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.1/work/graphite2-1.2.1_build/src && /Volumes/SNARK/gentoo/usr/bin/powerpc-apple-darwin9-g++  -DGRAPHITE2_NSEGCACHE -Dgraphite2_EXPORTS  -DNDEBUG -O2 -pipe-mcpu=G4 -mtune=G4  -fPIC -I/Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.1/work/graphite2-1.2.1/include -I/Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.1/work/graphite2-1.2.1/src    -Wall -Wextra -Wno-unknown-pragmas -Wendif-labels -Wshadow -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -fno-rtti -fno-exceptions -fvisibility=hidden -fvisibility-inlines-hidden -fno-stack-protector -o CMakeFiles/graphite2.dir/TtfUtil.cpp.o -c /Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.1/work/graphite2-1.2.1/src/TtfUtil.cpp
/Volumes/SNARK/gentoo/usr/bin/cmake -E cmake_progress_report /Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.1/work/graphite2-1.2.1_build/CMakeFiles 27
[ 93%] Building CXX object src/CMakeFiles/graphite2.dir/UtfCodec.cpp.o
cd /Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.1/work/graphite2-1.2.1_build/src && /Volumes/SNARK/gentoo/usr/bin/powerpc-apple-darwin9-g++  -DGRAPHITE2_NSEGCACHE -Dgraphite2_EXPORTS  -DNDEBUG -O2 -pipe-mcpu=G4 -mtune=G4  -fPIC -I/Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.1/work/graphite2-1.2.1/include -I/Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.1/work/graphite2-1.2.1/src    -Wall -Wextra -Wno-unknown-pragmas -Wendif-labels -Wshadow -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -fno-rtti -fno-exceptions -fvisibility=hidden -fvisibility-inlines-hidden -fno-stack-protector -o CMakeFiles/graphite2.dir/UtfCodec.cpp.o -c /Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.1/work/graphite2-1.2.1/src/UtfCodec.cpp
/Volumes/SNARK/gentoo/usr/bin/cmake -E cmake_progress_report /Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.1/work/graphite2-1.2.1_build/CMakeFiles 28
[ 96%] Building CXX object src/CMakeFiles/graphite2.dir/FileFace.cpp.o
cd /Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.1/work/graphite2-1.2.1_build/src && /Volumes/SNARK/gentoo/usr/bin/powerpc-apple-darwin9-g++  -DGRAPHITE2_NSEGCACHE -Dgraphite2_EXPORTS  -DNDEBUG -O2 -pipe-mcpu=G4 -mtune=G4  -fPIC -I/Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.1/work/graphite2-1.2.1/include -I/Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.1/work/graphite2-1.2.1/src    -Wall -Wextra -Wno-unknown-pragmas -Wendif-labels -Wshadow -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -fno-rtti -fno-exceptions -fvisibility=hidden -fvisibility-inlines-hidden -fno-stack-protector -o CMakeFiles/graphite2.dir/FileFace.cpp.o -c /Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.1/work/graphite2-1.2.1/src/FileFace.cpp
/Volumes/SNARK/gentoo/usr/bin/cmake -E cmake_progress_report /Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.1/work/graphite2-1.2.1_build/CMakeFiles 29
[100%] Building CXX object src/CMakeFiles/graphite2.dir/json.cpp.o
cd /Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.1/work/graphite2-1.2.1_build/src && /Volumes/SNARK/gentoo/usr/bin/powerpc-apple-darwin9-g++  -DGRAPHITE2_NSEGCACHE -Dgraphite2_EXPORTS  -DNDEBUG -O2 -pipe-mcpu=G4 -mtune=G4  -fPIC -I/Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.1/work/graphite2-1.2.1/include -I/Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.1/work/graphite2-1.2.1/src    -Wall -Wextra -Wno-unknown-pragmas -Wendif-labels -Wshadow -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -fno-rtti -fno-exceptions -fvisibility=hidden -fvisibility-inlines-hidden -fno-stack-protector -o CMakeFiles/graphite2.dir/json.cpp.o -c /Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.1/work/graphite2-1.2.1/src/json.cpp
Linking C shared library libgraphite2.dylib
cd /Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.1/work/graphite2-1.2.1_build/src && /Volumes/SNARK/gentoo/usr/bin/cmake -E cmake_link_script CMakeFiles/graphite2.dir/link.txt --verbose=1
/Volumes/SNARK/gentoo/usr/bin/powerpc-apple-darwin9-gcc   -O2 -pipe-mcpu=G4 -mtune=G4  -dynamiclib -Wl,-headerpad_max_install_names -nodefaultlibs  -Wl,-dead_strip_dylibs -compatibility_version 3.0.0 -current_version 3.0.1 -o libgraphite2.3.0.1.dylib -install_name /Volumes/SNARK/gentoo/usr/lib/libgraphite2.3.dylib CMakeFiles/graphite2.dir/call_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
Undefined symbols for architecture ppc:
  "saveFP", referenced from:
      graphite2::Segment::justify(graphite2::Slot*, graphite2::Font const*, float, graphite2::justFlags, graphite2::Slot*, graphite2::Slot*)in Justifier.cpp.o
      graphite2::Pass::dumpRuleEventOutput(graphite2::FiniteStateMachine const&, graphite2::Rule const&, graphite2::Slot*) constin Pass.cpp.o
      graphite2::Slot::finalise(graphite2::Segment const*, graphite2::Font const*, graphite2::Position&, graphite2::Rect&, unsigned char, float&)in Slot.cpp.o
  "restFP", referenced from:
      graphite2::Segment::justify(graphite2::Slot*, graphite2::Font const*, float, graphite2::justFlags, graphite2::Slot*, graphite2::Slot*)in Justifier.cpp.o
      graphite2::Pass::dumpRuleEventOutput(graphite2::FiniteStateMachine const&, graphite2::Rule const&, graphite2::Slot*) constin Pass.cpp.o
      graphite2::Slot::finalise(graphite2::Segment const*, graphite2::Font const*, graphite2::Position&, graphite2::Rect&, unsigned char, float&)in Slot.cpp.o
ld: symbol(s) not found for architecture ppc
collect2: ld returned 1 exit status
make[2]: *** [src/libgraphite2.3.0.1.dylib] Error 1
make[2]: Leaving directory `/Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.1/work/graphite2-1.2.1_build'
make[1]: *** [src/CMakeFiles/graphite2.dir/all] Error 2
make[1]: Leaving directory `/Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.1/work/graphite2-1.2.1_build'
make: *** [all] Error 2
 * ERROR: media-gfx/graphite2-1.2.1 failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=media-gfx/graphite2-1.2.1'`,
 * the complete build log and the output of `emerge -pqv '=media-gfx/graphite2-1.2.1'`.
 * The complete build log is located at '/Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.1/temp/build.log'.
 * The ebuild environment file is located at '/Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.1/temp/environment'.
 * Working directory: '/Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.1/work/graphite2-1.2.1_build'
 * S: '/Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.1/work/graphite2-1.2.1'

>>> Failed to emerge media-gfx/graphite2-1.2.1, Log file:

>>>  '/Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.1/temp/build.log'

 * Messages for package media-gfx/graphite2-1.2.1:

 * ERROR: media-gfx/graphite2-1.2.1 failed (compile phase):
 *   emake failed