Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 606100 - net-libs/webkit-gtk-2.14.2 build failure on ppc64
Summary: net-libs/webkit-gtk-2.14.2 build failure on ppc64
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-17 16:41 UTC by ernsteiswuerfel
Modified: 2017-05-04 14:31 UTC (History)
0 users

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


Attachments
build.log (build.log.gz,199.67 KB, application/gzip)
2017-01-17 16:41 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2017-01-17 16:41:25 UTC
Created attachment 460468 [details]
build.log

Triggered by one of the latest stable ppc updates webkit needed to be re-emerged. But now the build fails.

# emerge -pqv '=net-libs/webkit-gtk-2.14.2::gentoo'
[ebuild   R   ] net-libs/webkit-gtk-2.14.2  USE="(X) egl gles2 gnome-keyring gstreamer introspection libnotify spell (-aqua) -coverage -doc -geolocation (-jit) -nsplugin -opengl {-test} -wayland -webgl" 

# emerge --info '=net-libs/webkit-gtk-2.14.2::gentoo'
Portage 2.3.0 (python 3.4.5-final-0, default/linux/powerpc/ppc64/13.0/32bit-userland/desktop/gnome/systemd, gcc-5.4.0, glibc-2.23-r3, 4.9.3-gentoo ppc64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.9.3-gentoo-ppc64-PPC970MP,_altivec_supported-with-gentoo-2.3
KiB Mem:    12041000 total,  10401700 free
KiB Swap:   17367032 total,  17367032 free
Timestamp of repository gentoo: Sun, 15 Jan 2017 17:00:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-lang/perl:            5.22.3_rc4::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.6.3::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.22.4::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            5.4.0::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.8::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://yea/gentoo-portage
    priority: -1000

c2p-overlay
    location: /var/lib/layman/c2p-overlay
    sync-type: laymansync
    sync-uri: https://github.com/karolgrudzinski/c2p-overlay.git
    masters: gentoo
    priority: 50

gentoo-mate
    location: /var/lib/layman/gentoo-mate
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/gentoo-mate.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="ppc"
ACCEPT_LICENSE="*"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-mcpu=G5 -mtune=G5 -O2 -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-mcpu=G5 -mtune=G5 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="xz"
PORTAGE_COMPRESS_FLAGS="-6"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl alsa altivec bash-completion berkdb bluetooth bzip2 cairo caja cdda cdr cli colord cracklib crypt cups custom-cflags custom-optimization cxx dbus djvu dri dts dvd dvdr eds emboss enca encode evo exif fam firefox flac fortran gcc64 gdbm gif glamor gles2 gnome-keyring gnome-online-accounts gnutls gstreamer gtk gtk3 iconv icu introspection ipv6 ithreads jpeg jpeg2k lcms libnotify libsecret live lz4 lzma lzo mad matroska mmap mng modules mp3 mp4 mpeg mtp ncurses networkmanager nls nptl ogg opengl openmp opus pam pango pcre pdf png policykit ppc ppds pulseaudio readline sdl seccomp session spell ssl startup-notification svg system-sqlite systemd tcpd threads tiff tracker truetype udev udisks unicode upower usb vorbis vpx webp wmf wxwidgets x264 xattr xcb xml xmp xv xvid zlib" ABI_PPC="32" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" 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" CURL_SSL="openssl" 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 ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" L10N="de en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en de_DE" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21" SANE_BACKENDS="genesys" USERLAND="GNU" VIDEO_CARDS="radeon r300 r600 nouveau fbdev" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

net-libs/webkit-gtk-2.14.2::gentoo was built with the following:
USE="(X) egl gles2 gnome-keyring gstreamer introspection libnotify spell (-aqua) -coverage -doc -geolocation (-jit) -nsplugin -opengl -test -wayland -webgl"
CFLAGS="-mcpu=G5 -mtune=G5 -Os -pipe -fno-strict-aliasing"
CXXFLAGS="-mcpu=G5 -mtune=G5 -Os -pipe -fno-strict-aliasing"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--no-keep-memory"
Comment 1 ernsteiswuerfel archtester 2017-01-24 17:27:54 UTC
Just tried 2.14.3 - still the same build error on my PowerMac G5.
Comment 2 Mart Raudsepp gentoo-dev 2017-02-15 15:53:40 UTC
Seems like cmake with ninja instead of make is used, though I don't see how this could cause this issue here.
Can you retry with 2.14.5, and maybe make that one run with make generator of ninja just to be sure?

Linking failure from build.log:

FAILED: : && /usr/bin/powerpc-unknown-linux-gnu-g++  -fPIC -mcpu=G5 -mtune=G5 -O2 -pipe -fno-strict-aliasing  -std=c++1y  -Wl,--no-undefined  -Wl,-O1 -Wl,--as-needed -Wl,--no-keep-memory -fuse-ld=gold -Wl,--disable-new-dtags -fuse-ld=gold -Wl,--disable-new-dtags   -Wl,--version-script,/var/tmp/portage/net-libs/webkit-gtk-2.14.2/work/webkitgtk-2.14.2/Source/cmake/gtksymbols.filter -shared -Wl,-soname,libwebkit2gtk-4.0.so.37 -o lib/libwebkit2gtk-4.0.so.37.14.9 @CMakeFiles/WebKit2.rsp  && :
Source/WebKit2/CMakeFiles/WebKit2.dir/UIProcess/Network/NetworkProcessProxy.cpp.o:NetworkProcessProxy.cpp:function WebKit::NetworkProcessProxy::deleteWebsiteDataForOrigins(WebCore::SessionID, WTF::OptionSet<WebKit::WebsiteDataType>, WTF::Vector<WTF::RefPtr<WebCore::SecurityOrigin>, 0u, WTF::CrashOnOverflow, 16u> const&, WTF::Vector<WTF::String, 0u, WTF::CrashOnOverflow, 16u> const&, std::function<void ()>)::{lambda()#1}::~function(): error: relocation overflow
Source/WebKit2/CMakeFiles/WebKit2.dir/UIProcess/Network/NetworkProcessProxy.cpp.o:NetworkProcessProxy.cpp:function WebKit::NetworkProcessProxy::fetchWebsiteData(WebCore::SessionID, WTF::OptionSet<WebKit::WebsiteDataType>, WTF::OptionSet<WebKit::WebsiteDataFetchOption>, std::function<void (WebKit::WebsiteData)>)::{lambda(WebKit::WebsiteData)#1}::~function(): error: relocation overflow
Source/WebKit2/CMakeFiles/WebKit2.dir/UIProcess/Network/NetworkProcessProxy.cpp.o:NetworkProcessProxy.cpp:function WebKit::NetworkProcessProxy::deleteWebsiteData(WebCore::SessionID, WTF::OptionSet<WebKit::WebsiteDataType>, std::chrono::time_point<std::chrono::_V2::system_clock, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> > >, std::function<void ()>)::{lambda()#1}::~function(): error: relocation overflow
Source/WebKit2/CMakeFiles/WebKit2.dir/NetworkProcess/NetworkProcess.cpp.o:NetworkProcess.cpp:function WTF::RefCounted<WebKit::NetworkProcess::fetchWebsiteData(WebCore::SessionID, WTF::OptionSet<WebKit::WebsiteDataType>, WTF::OptionSet<WebKit::WebsiteDataFetchOption>, unsigned long long)::CallbackAggregator>::deref() const: error: relocation overflow
Source/WebKit2/CMakeFiles/WebKit2.dir/__/__/DerivedSources/WebKit2/WebPageProxyMessageReceiver.cpp.o:WebPageProxyMessageReceiver.cpp:function void IPC::handleMessage<Messages::WebPageProxy::SpellingUIIsShowing, WebKit::WebPageProxy, void (WebKit::WebPageProxy::*)(bool&)>(IPC::Decoder&, IPC::Encoder&, WebKit::WebPageProxy*, void (WebKit::WebPageProxy::*)(bool&)) [clone .isra.127] [clone .constprop.238]: error: relocation overflow
lib/libWebCoreGTK.a(lib/../Source/WebCore/CMakeFiles/WebCore.dir/Modules/indexeddb/server/SQLiteIDBBackingStore.cpp.o):SQLiteIDBBackingStore.cpp:function WebCore::IDBServer::v2RecordsTableSchema(WTF::String const&) [clone .constprop.214]: error: relocation overflow
lib/libWebCoreGTK.a(lib/../Source/WebCore/CMakeFiles/WebCore.dir/Modules/webaudio/AsyncAudioDecoder.cpp.o):AsyncAudioDecoder.cpp:function std::default_delete<WebCore::AsyncAudioDecoder::DecodingTask>::operator()(WebCore::AsyncAudioDecoder::DecodingTask*) const [clone .isra.37]: error: relocation overflow
lib/libWebCoreGTK.a(lib/../Source/WebCore/CMakeFiles/WebCore.dir/bindings/js/SerializedScriptValue.cpp.o):SerializedScriptValue.cpp:function void WebCore::writeLittleEndian<int>(WTF::Vector<unsigned char, 0u, WTF::CrashOnOverflow, 16u>&, int): error: relocation overflow
lib/libWebCoreGTK.a(lib/../Source/WebCore/CMakeFiles/WebCore.dir/css/CSSComputedStyleDeclaration.cpp.o):CSSComputedStyleDeclaration.cpp:function WebCore::autoOrZoomAdjustedValue(WebCore::Length, WebCore::RenderStyle const&) [clone .constprop.396]: error: relocation overflow
lib/libWebCoreGTK.a(lib/../Source/WebCore/CMakeFiles/WebCore.dir/css/PropertySetCSSStyleDeclaration.cpp.o):PropertySetCSSStyleDeclaration.cpp:function WebCore::(anonymous namespace)::StyleAttributeMutationScope::~StyleAttributeMutationScope(): error: relocation overflow
lib/libWebCoreGTK.a(lib/../Source/WebCore/CMakeFiles/WebCore.dir/loader/ResourceLoadStatistics.cpp.o):ResourceLoadStatistics.cpp:function WebCore::decodeHashCountedSet(WebCore::KeyedDecoder&, WTF::String const&, WTF::HashCountedSet<WTF::String, WTF::StringHash, WTF::HashTraits<WTF::String> >&) [clone .constprop.37]: error: relocation overflow
lib/libWebCoreGTK.a(lib/../Source/WebCore/CMakeFiles/WebCore.dir/loader/cache/CachedResourceLoader.cpp.o):CachedResourceLoader.cpp:function WebCore::logRevalidation(WTF::String const&, WebCore::DiagnosticLoggingClient&) [clone .constprop.166]: error: relocation overflow
lib/libWebCoreGTK.a(lib/../Source/WebCore/CMakeFiles/WebCore.dir/loader/cache/CachedResourceLoader.cpp.o):CachedResourceLoader.cpp:function WebCore::logMemoryCacheResourceRequest(WebCore::Frame*, WTF::String const&, WTF::String const&) [clone .constprop.167]: error: relocation overflow
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Comment 3 Mart Raudsepp gentoo-dev 2017-02-15 15:59:20 UTC
nvm the ninja comment - it's us who set it to ninja in the ebuild for speed :)
Comment 4 ernsteiswuerfel archtester 2017-03-13 17:32:33 UTC
Gave it another try now (with a slightly updated toolchain) and webkit-gtk-2.14.5 builds fine now. Thanks for fixing!

However using it through epiphany-3.22.4 leads to the same issues as in bug #611952.
Comment 5 ernsteiswuerfel archtester 2017-05-04 14:31:49 UTC
Will mark this bug as RESOLVED, as 2.14.2 is no longer in the tree and 2.14.11/2.16.1 build fine with the current stable toolchain on my G5.