Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 458636 - media-libs/harfbuzz-0.9.12 - Undefined symbols for architecture x86_64: "icu::LEFontInstance::getSubFont(unsigned short const*, int*, int, int, LEErrorCode&) const", referenced from: vtable for PortableFontInstancein libhb-icu-le.a(libhb_icu_le_la
Summary: media-libs/harfbuzz-0.9.12 - Undefined symbols for architecture x86_64: "ic...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: AMD64 OS X
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-21 21:53 UTC by Timothy Miller
Modified: 2017-12-03 15:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (build.log,71.08 KB, text/plain)
2013-02-21 21:54 UTC, Timothy Miller
Details
environment (environment,105.59 KB, text/plain)
2013-02-21 21:54 UTC, Timothy Miller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Timothy Miller 2013-02-21 21:53:41 UTC
* ERROR: media-libs/harfbuzz-0.9.12 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=media-libs/harfbuzz-0.9.12'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/harfbuzz-0.9.12'`.
 * The complete build log is located at '/Users/millerti/Gentoo/var/tmp/portage/media-libs/harfbuzz-0.9.12/temp/build.log'.
 * The ebuild environment file is located at '/Users/millerti/Gentoo/var/tmp/portage/media-libs/harfbuzz-0.9.12/temp/environment'.
 * Working directory: '/Users/millerti/Gentoo/var/tmp/portage/media-libs/harfbuzz-0.9.12/work/harfbuzz-0.9.12'
 * S: '/Users/millerti/Gentoo/var/tmp/portage/media-libs/harfbuzz-0.9.12/work/harfbuzz-0.9.12'

From the build log:
libtool: link: x86_64-apple-darwin11-g++ -dynamiclib  -o .libs/libharfbuzz.0.912.0.dylib  .libs/libharfbuzz_la-hb-blob.o .libs/libharfbuzz_la-hb-buffer.o .libs/libharfbuzz_la-hb-common.o .libs/libharfbuzz_la-hb-fallback-shape.o .libs/libharfbuzz_la-hb-font.o .libs/libharfbuzz_la-hb-ot-tag.o .libs/libharfbuzz_la-hb-set.o .libs/libharfbuzz_la-hb-shape.o .libs/libharfbuzz_la-hb-shape-plan.o .libs/libharfbuzz_la-hb-shaper.o .libs/libharfbuzz_la-hb-tt-font.o .libs/libharfbuzz_la-hb-unicode.o .libs/libharfbuzz_la-hb-warning.o .libs/libharfbuzz_la-hb-ot-layout.o .libs/libharfbuzz_la-hb-ot-map.o .libs/libharfbuzz_la-hb-ot-shape.o .libs/libharfbuzz_la-hb-ot-shape-complex-arabic.o .libs/libharfbuzz_la-hb-ot-shape-complex-default.o .libs/libharfbuzz_la-hb-ot-shape-complex-indic.o .libs/libharfbuzz_la-hb-ot-shape-complex-thai.o .libs/libharfbuzz_la-hb-ot-shape-normalize.o .libs/libharfbuzz_la-hb-ot-shape-fallback.o .libs/libharfbuzz_la-hb-glib.o .libs/libharfbuzz_la-hb-gobject-structs.o .libs/libharfbuzz_la-hb-icu.o .libs/libharfbuzz_la-hb-ft.o .libs/libharfbuzz_la-hb-graphite2.o .libs/libharfbuzz_la-hb-coretext.o .libs/libharfbuzz_la-hb-old.o .libs/libharfbuzz_la-hb-icu-le.o .libs/libharfbuzz_la-hb-ucdn.o .libs/libharfbuzz_la-hb-gobject-enums.o   -Wl,-force_load,hb-old/.libs/libhb-old.a -Wl,-force_load,hb-icu-le/.libs/libhb-icu-le.a -Wl,-force_load,hb-ucdn/.libs/libhb-ucdn.a  -lgobject-2.0 -lglib-2.0 -lintl -lfreetype -lgraphite2 -framework ApplicationServices -licule -licuuc -licudata  -O2 -march=core2 -Wl,-dead_strip_dylibs   -framework ApplicationServices -install_name  /Users/millerti/Gentoo/usr/lib/libharfbuzz.0.dylib -compatibility_version 913 -current_version 913.0 -Wl,-single_module
ld: warning: bad symbol action: $ld$install_name$os10.7$/System/Library/Frameworks/ApplicationServices.framework/Versions/
A/ApplicationServices in dylib /System/Library/Frameworks//CoreGraphics.framework/CoreGraphics
ld: warning: bad symbol action: $ld$install_name$os10.7$/System/Library/Frameworks/ApplicationServices.framework/Versions/
A/ApplicationServices in dylib /System/Library/Frameworks//CoreText.framework/CoreTextld: warning: bad symbol action: $ld$install_name$os10.7$/System/Library/Frameworks/ApplicationServices.framework/Versions/
A/ApplicationServices in dylib /System/Library/Frameworks//ImageIO.framework/ImageIOld: warning: bad symbol action: $ld$install_name$os10.7$/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreS
ervices in dylib /System/Library/Frameworks//CFNetwork.framework/CFNetwork
Undefined symbols for architecture x86_64:
  "icu::LEFontInstance::getSubFont(unsigned short const*, int*, int, int, LEErrorCode&) const", referenced from:
      vtable for PortableFontInstancein libhb-icu-le.a(libhb_icu_le_la-PortableFontInstance.o)
  "icu::LEFontInstance::mapCharsToGlyphs(unsigned short const*, int, int, signed char, icu::LECharMapper const*, signed char, icu::LEGlyphStorage&) const", referenced from:
      vtable for PortableFontInstancein libhb-icu-le.a(libhb_icu_le_la-PortableFontInstance.o)
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
Comment 1 Timothy Miller 2013-02-21 21:54:23 UTC
Created attachment 339638 [details]
Build log
Comment 2 Timothy Miller 2013-02-21 21:54:37 UTC
Created attachment 339640 [details]
environment
Comment 3 Timothy Miller 2013-02-21 21:55:14 UTC
$ emerge --info '=media-libs/harfbuzz-0.9.12'
Portage 2.2.01.21688-prefix (prefix/darwin/macos/10.7/x64, gcc-4.2.1, unavailable, 12.2.0 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Darwin-12.2.0-x86_64-i386-64bit
Timestamp of tree: Thu, 21 Feb 2013 21:35:26 +0000
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.28::gentoo_prefix
sys-devel/autoconf:   2.69::gentoo_prefix
sys-devel/automake:   1.11.5::gentoo_prefix, 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="~x64-macos"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-apple-darwin11"
CFLAGS="-O2 -pipe -ggdb -march=core2"
CHOST="x86_64-apple-darwin11"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -ggdb -march=core2"
DISTDIR="/Users/millerti/Gentoo/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=2"
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 splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-dead_strip_dylibs"
MAKEOPTS="--jobs=8"
PKGDIR="/Users/millerti/Gentoo/usr/portage/packages"
PORTAGE_CONFIGROOT="/Users/millerti/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="/Users/millerti/Gentoo/var/tmp"
PORTDIR="/Users/millerti/Gentoo/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="aqua coreaudio cracklib cxx ipv6 jpeg latex mmx mmxext modules ncurses nls objc objc++ png prefix readline sse sse2 ssl threads unicode x64-macos 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" LINGUAS="en en_US" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RS
Comment 4 Timothy Miller 2013-02-21 21:55:50 UTC
$ emerge -pqv '=media-libs/harfbuzz-0.9.12'
[ebuild  N    ] media-libs/harfbuzz-0.9.12  USE="-static-libs"
Comment 5 Timothy Miller 2013-02-21 21:57:39 UTC
I think this is being pulled in by pango.
Comment 6 Timothy Miller 2013-02-21 22:04:44 UTC
BTW, this is a blocker, because I _really_ need to install gtkwave, and harfbuzz is in the dependency graph.
Comment 7 Fabian Groffen gentoo-dev 2013-03-02 13:06:37 UTC
hmmm, this seems icu related, odd
Comment 8 Benda Xu gentoo-dev 2013-03-06 17:43:36 UTC
reproduced the bug on amd64 (RHEL5.5)
Comment 9 Benda Xu gentoo-dev 2013-03-07 01:17:50 UTC
Using icu-50.1.2 from gx86 works.

It is somehow related to bug 454170
Comment 10 Benda Xu gentoo-dev 2013-03-07 02:29:50 UTC
We'd better merge the prefix modifications back to gx86. (bug 460632) What do you say, Fabian?
Comment 11 Fabian Groffen gentoo-dev 2013-04-09 19:12:10 UTC
icu probably isn't going to be trivial

this still needs a cause to be found
Comment 12 Larry the Git Cow gentoo-dev 2017-12-03 15:22:54 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=75173e1f07e816d34bf75066f89265ccda7de1ad

commit 75173e1f07e816d34bf75066f89265ccda7de1ad
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2017-12-03 15:19:02 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2017-12-03 15:19:02 +0000

    dev-libs/icu: migrate to gx86
    
    Bug: https://bugs.gentoo.org/458636

 dev-libs/icu/Manifest                             |   1 -
 dev-libs/icu/files/icu-58.1-iterator.patch        | 127 ------------
 dev-libs/icu/files/icu-58.1-remove-bashisms.patch | 224 ----------------------
 dev-libs/icu/files/icu-58.2-darwin.patch          |  55 ------
 dev-libs/icu/icu-58.2.ebuild                      | 155 ---------------
 dev-libs/icu/metadata.xml                         |   8 -
 6 files changed, 570 deletions(-)}
Comment 13 Fabian Groffen gentoo-dev 2017-12-03 15:46:15 UTC
icu merged to gx86