Gentoo Archives: gentoo-user

From: Daniel Ibn Zayd <daniel.ibnzayd@××××××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] graphite2 won't emerge | powerpc mac | Undefined symbols for architecture ppc
Date: Fri, 04 Jan 2013 16:32:11
Message-Id: 20130104183012000414.86282a76@inquisitor.com
1 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.
2
3 I'm running "~arch" (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 (http://packages.gentoo.org/package/media-gfx/graphite2), yet it chokes at the very end of the install. Any insight is appreciated.
4
5 The problem seems to come here (info log follows):
6
7 Undefined symbols for architecture ppc:
8 "saveFP", referenced from:
9 graphite2::Segment::justify(graphite2::Slot*, graphite2::Font const*, float, graphite2::justFlags, graphite2::Slot*, graphite2::Slot*)in Justifier.cpp.o
10 graphite2::Pass::dumpRuleEventOutput(graphite2::FiniteStateMachine const&, graphite2::Rule const&, graphite2::Slot*) constin Pass.cpp.o
11 graphite2::Segment::append(graphite2::Segment const&)in Segment.cpp.o
12 graphite2::Slot::finalise(graphite2::Segment const*, graphite2::Font const*, graphite2::Position&, graphite2::Rect&, unsigned char, float&)in Slot.cpp.o
13 "restFP", referenced from:
14 graphite2::Segment::justify(graphite2::Slot*, graphite2::Font const*, float, graphite2::justFlags, graphite2::Slot*, graphite2::Slot*)in Justifier.cpp.o
15 graphite2::Pass::dumpRuleEventOutput(graphite2::FiniteStateMachine const&, graphite2::Rule const&, graphite2::Slot*) constin Pass.cpp.o
16 graphite2::Segment::append(graphite2::Segment const&)in Segment.cpp.o
17 graphite2::Slot::finalise(graphite2::Segment const*, graphite2::Font const*, graphite2::Position&, graphite2::Rect&, unsigned char, float&)in Slot.cpp.o
18 "___floatundisf", referenced from:
19 graphite2::SegCache::purge(graphite2::SegCacheStore*)in SegCache.cpp.o
20 "___fixunssfdi", referenced from:
21 graphite2::SegCache::purge(graphite2::SegCacheStore*)in SegCache.cpp.o
22 ld: symbol(s) not found for architecture ppc
23 collect2: ld returned 1 exit status
24 make[2]: *** [src/libgraphite2.3.0.1.dylib] Error 1
25 make[2]: Leaving directory `/Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.0/work/graphite2-1.2.0_build'
26 make[1]: *** [src/CMakeFiles/graphite2.dir/all] Error 2
27 make[1]: Leaving directory `/Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.0/work/graphite2-1.2.0_build'
28 make: *** [all] Error 2
29 * ERROR: media-gfx/graphite2-1.2.0 failed (compile phase):
30 * emake failed
31 *
32 * If you need support, post the output of `emerge --info '=media-gfx/graphite2-1.2.0'`,
33 * the complete build log and the output of `emerge -pqv '=media-gfx/graphite2-1.2.0'`.
34 * The complete build log is located at '/Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.0/temp/build.log'.
35 * The ebuild environment file is located at '/Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.0/temp/environment'.
36 * Working directory: '/Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.0/work/graphite2-1.2.0_build'
37 * S: '/Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.0/work/graphite2-1.2.0'
38
39 >>> Failed to emerge media-gfx/graphite2-1.2.0, Log file:
40
41 >>> '/Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.0/temp/build.log'
42
43 * Messages for package media-gfx/graphite2-1.2.0:
44
45 * ERROR: media-gfx/graphite2-1.2.0 failed (compile phase):
46 * emake failed
47 *
48 * If you need support, post the output of `emerge --info '=media-gfx/graphite2-1.2.0'`,
49
50
51
52
53 emerge --info =media-gfx/graphite2-1.2.0
54 Portage 2.2.01.21476-prefix (prefix/darwin/macos/10.5/ppc, gcc-4.2.1, unavailable, 9.8.0 Power Macintosh)
55 =================================================================
56 System Settings
57 =================================================================
58 System uname: Darwin-9.8.0-Power_Macintosh-powerpc-32bit
59 Timestamp of tree: Fri, 04 Jan 2013 13:37:46 +0000
60 distcc 2.18.5-Apple.1 i386-apple-darwin9.0 (protocols 1 and 2) (default port 3632) [disabled]
61 app-shells/bash: 4.2_p39-r1::gentoo_prefix
62 dev-lang/python: 2.7.3-r2::gentoo_prefix, 3.3.0::gentoo_prefix
63 dev-util/cmake: 2.8.9::gentoo_prefix
64 dev-util/pkgconfig: 0.27.1::gentoo_prefix
65 sys-devel/autoconf: 2.69::gentoo_prefix
66 sys-devel/automake: 1.12.4::gentoo_prefix
67 sys-devel/gcc-config: 1.8-r00.1::gentoo_prefix
68 sys-devel/libtool: 2.4.2::gentoo_prefix
69 sys-devel/make: 3.82-r4::gentoo_prefix
70 Repositories: gentoo_prefix
71 ACCEPT_KEYWORDS="~ppc-macos"
72 ACCEPT_LICENSE="* -@EULA"
73 CBUILD="powerpc-apple-darwin9"
74 CFLAGS=" -O2 -pipe-mcpu=G4 -mtune=G4"
75 CHOST="powerpc-apple-darwin9"
76 CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
77 CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo"
78 CXXFLAGS=" -O2 -pipe-mcpu=G4 -mtune=G4"
79 DISTDIR="/Volumes/SNARK/gentoo/usr/portage/distfiles"
80 FCFLAGS=""
81 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"
82 FFLAGS=""
83 GENTOO_MIRRORS="http://distfiles.gentoo.org"
84 LDFLAGS="-Wl,-dead_strip_dylibs"
85 MAKEOPTS=""
86 PKGDIR="/Volumes/SNARK/gentoo/usr/portage/packages"
87 PORTAGE_CONFIGROOT="/Volumes/SNARK/gentoo/"
88 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"
89 PORTAGE_TMPDIR="/Volumes/SNARK/gentoo/var/tmp"
90 PORTDIR="/Volumes/SNARK/gentoo/usr/portage"
91 PORTDIR_OVERLAY=""
92 SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
93 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
94 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"
95 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