build fail with output make[2]: Entering directory `/var/tmp/portage/dev-qt/qtwebkit-5.0.2/work/qtwebkit-opensource-src-5.0.2_build/Source/WebKit2' x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -Wl,-rpath,/var/tmp/portage/dev-qt/qtwebkit-5.0.2/work/qtwebkit-opensource-src-5.0.2_build/lib -Wl,-rpath-link,/usr/lib64 -o ../../bin/QtWebProcess .obj/release-shared/qt/MainQt.o -L/usr/X11R6/lib64 -lQt5WebKitWidgets -lxslt -lz -lm -ludev -lgio-2.0 -lgstapp-0.10 -lgstinterfaces-0.10 -lgstpbutils-0.10 -lgstvideo-0.10 -lgstbase-0.10 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -pthread -lrt -lglib-2.0 -lxml2 -lsqlite3 -L/var/tmp/portage/dev-qt/qtwebkit-5.0.9999/work/qtwebkit-5.0.9999_build/lib -lQt5Sql -L/usr/lib64/mysql -lQt5OpenGL -lQt5WebKit -lQt5Widgets -lQt5Network -lQt5Gui -lQt5Core -lGL -lpthread /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libicui18n.so.49, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../lib64/libQt5WebKit.so, not found (try using -rpath or -rpath-link) /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libicuuc.so.49, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../lib64/libQt5WebKit.so, not found (try using -rpath or -rpath-link) /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../lib64/libQt5WebKit.so: undefined reference to `ucsdet_setText_49' /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../lib64/libQt5WebKit.so: undefined reference to `utext_setup_49' /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../lib64/libQt5WebKit.so: undefined reference to `ubrk_first_49' /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../lib64/libQt5WebKit.so: undefined reference to `ubrk_getRuleStatus_49' /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../lib64/libQt5WebKit.so: undefined reference to `uset_close_49' /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../lib64/libQt5WebKit.so: undefined reference to `ucnv_cbFromUWriteBytes_49' /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../lib64/libQt5WebKit.so: undefined reference to `ucnv_cbFromUWriteUChars_49' /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../lib64/libQt5WebKit.so: undefined reference to `u_toupper_49' /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../lib64/libQt5WebKit.so: undefined reference to `ubrk_following_49' /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../lib64/libQt5WebKit.so: undefined reference to `ubrk_isBoundary_49' /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../lib64/libQt5WebKit.so: undefined reference to `u_charDirection_49' /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../lib64/libQt5WebKit.so: undefined reference to `uidna_IDNToASCII_49' [ ................ ] /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../lib64/libQt5WebKit.so: undefined reference to `usearch_getCollator_49' /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../lib64/libQt5WebKit.so: undefined reference to `uset_addAll_49' /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../lib64/libQt5WebKit.so: undefined reference to `u_totitle_49' /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../lib64/libQt5WebKit.so: undefined reference to `ucnv_open_49' /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../lib64/libQt5WebKit.so: undefined reference to `ucnv_getName_49' collect2: error: ld returned 1 exit status make[2]: *** [../../bin/QtWebProcess] Error 1 make[2]: Leaving directory `/var/tmp/portage/dev-qt/qtwebkit-5.0.2/work/qtwebkit-opensource-src-5.0.2_build/Source/WebKit2' make[1]: *** [sub-WebKit2-WebProcess-pro-make_first-ordered] Error 2 make[1]: Leaving directory `/var/tmp/portage/dev-qt/qtwebkit-5.0.2/work/qtwebkit-opensource-src-5.0.2_build/Source' make: *** [sub-Source-QtWebKit-pro-make_first-ordered] Error 2 Reproducible: Always I have installed dev-libs/icu-51.1 emerge --info '=dev-qt/qtwebkit-5.0.2' Portage 2.2.0_alpha174 (default/linux/amd64/13.0, gcc-4.7.2, glibc-2.15-r3, 3.9.0-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.9.0-gentoo-x86_64-AMD_Phenom-tm-_II_X4_965_Processor-with-gentoo-2.2 KiB Mem: 8176624 total, 357348 free KiB Swap: 8388604 total, 8388604 free Timestamp of tree: Fri, 10 May 2013 15:30:01 +0000 ld GNU ld (GNU Binutils) 2.22 distcc 3.1 x86_64-pc-linux-gnu [disabled] app-shells/bash: 4.2_p45 dev-java/java-config: 2.1.12-r1 dev-lang/python: 2.7.3-r3, 3.2.3-r2 dev-util/cmake: 2.8.11_rc3::kde dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.11.8 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.9.6-r3, 1.11.6, 1.12.6 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.7.2-r1, 4.8.0 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.7 (virtual/os-headers) sys-libs/glibc: 2.15-r3 Repositories: gentoo x11 steam-overlay qt kde tbc rion nektoo sunrise flow kormoc gamerlay java-overlay betagarden ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=amdfam10 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/neatx/home" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -march=amdfam10 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS=" --autounmask=n --with-bdeps=y" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="portage.org.ua gentoo.iteam.net.ua gentoo.kiev.ua" LANG="C" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/x11 /var/lib/layman/steam /var/lib/layman/qt /var/lib/layman/kde /var/lib/layman/tbc /var/lib/layman/rion /var/lib/layman/nektoo /var/lib/layman/sunrise /var/lib/layman/flow /var/lib/layman/kormoc /var/lib/layman/gamerlay /var/lib/layman/java-overlay /var/lib/layman/betagarden" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X acl alsa amd64 berkdb bzip2 cli consolekit cracklib crypt cxx dbus dri fortran gdbm gpm iconv ipv6 kde mmx mmxext modules mudflap multilib ncurses nls nptl opengl openmp openvg pam pcre private-headers qt3support qt4 readline semantic-desktop session spell sse sse2 sse3 ssl symlink tcpd unicode vdpau zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" 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 author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru ru_RU en uk uk_UA" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nouveau radeon radeonsi" 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_RSYNC_EXTRA_OPTS, USE_PYTHON
This looks as a case of linking to the live system instead of just built libs. It's either a bug in the upstream build system or an ebuild bug. If you you unmerge qtwebkit first, it will (most likely) be built correctly, but that would be just a workaround. This part though looks funny: -L/var/tmp/portage/dev-qt/qtwebkit-5.0.9999/work/qtwebkit-5.0.9999_build/lib
I unmerged qtwebkit-5.0.9999 and after that qtwebkit-5.0.2 built without problem.
(In reply to comment #1) > This looks as a case of linking to the live system instead of just built > libs. > > It's either a bug in the upstream build system or an ebuild bug. > > If you you unmerge qtwebkit first, it will (most likely) be built correctly, > but that would be just a workaround. (In reply to comment #2) > I unmerged qtwebkit-5.0.9999 and after that qtwebkit-5.0.2 built without > problem. Thanks, this looks like bug #451456 then. *** This bug has been marked as a duplicate of bug 451456 ***