Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 549840 - dev-qt/qtwebkit-5.4.1 does not build with >=dev-libs/glib-2.44
Summary: dev-qt/qtwebkit-5.4.1 does not build with >=dev-libs/glib-2.44
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
: 549886 (view as bug list)
Depends on:
Blocks: gnome-3.16
  Show dependency tree
 
Reported: 2015-05-18 19:45 UTC by klaus818
Modified: 2015-06-17 15:55 UTC (History)
5 users (show)

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


Attachments
build.log (build.log.bz2,583.11 KB, application/x-bzip)
2015-05-18 19:45 UTC, klaus818
Details
Patch to allow building with glib-2.44.1 (0003-Fix-building-with-glib-2.43.patch,9.04 KB, patch)
2015-05-22 18:50 UTC, Harris Landgarten
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description klaus818 2015-05-18 19:45:22 UTC
Created attachment 403572 [details]
build.log

dev-qt/qtwebkit-5.4.1 will not build. Perhaps it is the same problem as with webkit-gtk-2.4.8. I try to build qtwebkit with glib-2.44.1.
Comment 1 klaus818 2015-05-18 19:46:02 UTC
Portage 2.2.19 (python 3.3.5-final-0, default/linux/amd64/13.0/desktop/plasma/systemd, gcc-4.9.2, glibc-2.20-r2, 4.0.4-gentoo x86_64)
=================================================================
System uname: Linux-4.0.4-gentoo-x86_64-Intel-R-_Pentium-R-_CPU_B960_@_2.20GHz-with-gentoo-2.2
KiB Mem:     3897252 total,    541764 free
KiB Swap:    8191996 total,   8122836 free
Timestamp of repository gentoo: Mon, 18 May 2015 18:30:01 +0000
sh bash 4.3_p33-r2
ld GNU ld (Gentoo 2.25 p1.1) 2.25
app-shells/bash:          4.3_p33-r2::gentoo
dev-lang/perl:            5.20.2-r1::gentoo
dev-lang/python:          2.7.9-r2::gentoo, 3.3.5-r1::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.2.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.16.3::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25::gentoo
sys-devel/gcc:            4.9.2::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.0::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

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

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

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

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0"
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="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FCFLAGS="-march=native -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 unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr clang cli cracklib crypt cups cxx dbus declarative dri dts dvd dvdnav dvdr emboss encode evdev exif extraengine fam ffmpeg firefox flac fortran gdbm gif glamor gold gpm gstreamer gtk iconv ipv6 jpeg kde kipi lame lcms ldap libnotify lm_sensors mad mmx mmxext mng modules mp3 mp4 mpeg mtp multilib ncurses networkmanager nls nptl ogg opengl openmp pam pango pch pcre pdf phonon plasma png policykit postproc ppds pulseaudio qml qt3support qt4 qt5 readline sdl session spell sse sse2 ssl startup-notification svg sync-plugin-portage system-cairo system-icu system-jpeg system-libvpx system-sqlite systemd tcpd thumbnail tiff truetype udev udisks unicode upower usb vaapi vorbis vpx webp widgets wxwidgets x264 x265 xcb xcomposite xinerama xml xv xvid 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" 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="casio_qv" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" SANE_BACKENDS="niash" USERLAND="GNU" VIDEO_CARDS="intel i965" 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
Comment 2 Rafał Mużyło 2015-05-20 09:50:39 UTC
platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:357:9: error: 
      reference to 'GMutexLocker' is ambiguous
        GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
        ^
/usr/include/glib-2.0/glib/gthread.h:276:14: note: candidate found by name
      lookup is 'GMutexLocker'
typedef void GMutexLocker;
             ^
../WTF/wtf/gobject/GMutexLocker.h:32:7: note: candidate found by name lookup is
      'WebCore::GMutexLocker'
class GMutexLocker {
      ^

...so, yeah, pretty much "incompatible with glib 2.44"
Comment 3 Davide Pesavento gentoo-dev 2015-05-20 09:58:15 UTC
Yeah I saw a commit upstream some time ago that is supposed to fix this, will be part of 5.4.2
Comment 4 Davide Pesavento gentoo-dev 2015-05-21 15:25:47 UTC
*** Bug 549886 has been marked as a duplicate of this bug. ***
Comment 5 Harris Landgarten 2015-05-22 18:50:01 UTC
Created attachment 403776 [details, diff]
Patch to allow building with glib-2.44.1

This patch fixes the GmutexLocker bug
Comment 6 Alexandre Rostovtsev (RETIRED) gentoo-dev 2015-06-11 15:09:37 UTC
Since glib-2.44.1 is now in the tree and unmasked, can we please have the patch for this in the tree too? A revbump would not be needed I think.
Comment 7 Michael Palimaka (kensington) gentoo-dev 2015-06-12 16:06:13 UTC
qt-5.4.2 is out and I guess it will be bumped ASAP.
Comment 8 Davide Pesavento gentoo-dev 2015-06-12 16:30:57 UTC
(In reply to Michael Palimaka (kensington) from comment #7)
> qt-5.4.2 is out and I guess it will be bumped ASAP.

Yep.
Comment 9 Davide Pesavento gentoo-dev 2015-06-17 15:55:35 UTC
fixed in 5.4.2