Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

webkit-gtk-2.4.8 fails to compile due to GMutexLock

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
2 posts • Page 1 of 1
Author
Message
jetboo
Tux's lil' helper
Tux's lil' helper
Posts: 94
Joined: Wed Dec 26, 2007 1:52 pm

webkit-gtk-2.4.8 fails to compile due to GMutexLock

  • Quote

Post by jetboo » Thu Apr 02, 2015 7:24 pm

Hi,

I have an issue to compile webkit-gtk-2.4.8. It is probably due to some to advanced version of Glib but i cant figure how to fix this ...

The version 2.6.5 of webkit-gtk is also affected by the same bug but a patch is proposed here [bug=543066]543066[/bug] and it works. But I can't apply this patch on the 2.4.8 version, it just fails during the patching process.

Code: Select all

In file included from /usr/include/glib-2.0/glib/gasyncqueue.h:32:0,
                 from /usr/include/glib-2.0/glib.h:32,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:23,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/libsoup-2.4/libsoup/soup-types.h:9,
                 from /usr/include/libsoup-2.4/libsoup/soup-address.h:11,
                 from /usr/include/libsoup-2.4/libsoup/soup.h:13,
                 from ./Source/WebCore/platform/network/soup/GUniquePtrSoup.h:23,
                 from ./Source/WebCore/platform/URL.h:39,
                 from ./Source/WebCore/platform/graphics/MediaPlayer.h:38,
                 from Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.h:23,
                 from Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:21:
/usr/include/glib-2.0/glib/gthread.h:276:14: note: candidates are: typedef void GMutexLocker
 typedef void GMutexLocker;
              ^
In file included from Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:45:0:
./Source/WTF/wtf/gobject/GMutexLocker.h:32:7: note:                 class WebCore::GMutexLocker
 class GMutexLocker {
       ^
Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:1211:18: error: expected ‘;’ before ‘locker’
     GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
                  ^
Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:1213:5: error: ‘locker’ was not declared in this scope
     locker.unlock();
     ^
GNUmakefile:66418: recipe for target 'Source/WebCore/platform/graphics/gstreamer/libWebCorePlatform_la-WebKitWebSourceGStreamer.lo' failed
make[1]: *** [Source/WebCore/platform/graphics/gstreamer/libWebCorePlatform_la-WebKitWebSourceGStreamer.lo] Error 1
make[1]: Leaving directory '/var/tmp/portage/net-libs/webkit-gtk-2.4.8/work/webkitgtk-2.4.8'
GNUmakefile:25585: recipe for target 'all' failed
make: *** [all] Error 2
 * ERROR: net-libs/webkit-gtk-2.4.8::gentoo failed (compile phase):
 *   emake failed

Output of my emerge --info

Code: Select all

Portage 2.2.14 (python 3.3.5-final-0, default/linux/amd64/13.0, gcc-4.8.3, glibc-2.20-r2, 3.13.5-gentoo x86_64)
=================================================================
System uname: Linux-3.13.5-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P7350_@_2.00GHz-with-gentoo-2.2
KiB Mem:     1786632 total,    487256 free
KiB Swap:    4194300 total,   4085000 free
Timestamp of tree: Thu, 02 Apr 2015 09:15:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.3_p33-r2
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.1-r4
dev-lang/python:          2.7.9-r1, 3.3.5-r1, 3.4.1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.11
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.12.6, 1.13.4, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.6
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.18 (virtual/os-headers)
sys-libs/glibc:           2.20-r2
Repositories: gentoo anyc unity-gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA Google-TOS AdobeFlash-10.3 google-chrome PUEL Oracle-BCLA-JavaSE AdobeFlash-11.x dlj-1.1 skype-4.0.0.7-copyright"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=4 --load-average=3"
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"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ ftp://gentoo.imj.fr/pub/gentoo/ http://mirrors.linuxant.fr/distfiles.gentoo.org/ ftp://mirrors.linuxant.fr/distfiles.gentoo.org/ http://gentoo.modulix.net/gentoo/ ftp://mirror.ovh.net/gentoo-distfiles/ http://mirror.ovh.net/gentoo-distfiles/"
LANG="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3 -l2"
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"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/anyc /var/lib/layman/unity-gentoo"
SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage"
USE="256-color X a52 aac aalib acl acpi aiglx alsa amd64 amr amrwb audiofile autoipd automount avi awesome bash-completion berkdb bigger-fonts bitmap-fonts bluetooth branding bzip2 cairo ccache cdda cddb cdparanoia cdr cdrom cli colord cpudetection cracklib crypt css cups curl cxx dbus dhcp dhcpd dri dts dvb dvd dvdr eds emboss encode evdev evo exif fading-colors fam fbcon fbcondecor ffmpeg firefox firefox3 flac flash fortran fortran2003 ftp fuse gdbm gif gimp glamor glut glx gmp gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gtk2 gudev gzip hddtemp iconv icu introspection ipod ipv6 jabber java jpeg jpeg2k kdrive lapack laptop latex lcms ldap libav libg++ libkms libmpeg2 libnotify libsecret libwww live lm_sensors lua mad mail matroska mjpeg mmx mmxext mng modules mozilla mp3 mp4 mpeg mpeg2 mplayer multilib musepack nautilus ncurses networkmanager nls nouveau nptl nsplugin ogg opengl openmp pam pango pcre pdf perl plotutils pmu png policykit posix ppds pulseaudio python qt3support qt4 quicktime readline samba sdl session simplexml slang smp sndfile soap socialweb sockets sox spell spl sse sse2 sse3 sse4_1 ssl ssse3 startup-notification subversion suid svg syslog systemd tcl tcpd theora threads tiff timidity tk truetype udev udisks unicode unicode3 unity unsupported upower usb utf8 v4l v4l2 vaapi vcd videos vim-pager vim-syntax vorbis wifi win32codecs wma wma123 wxwidgets wxwindows x264 xcb xcomposite xft xine xinerama xkb xml xorg xpm xscreensaver xsl xv xvid zeitgeist zlib" ABI_X86="64" ALSA_CARDS="hda-intel" 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" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 sse4_1 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="synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr en_US fr_FR" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nouveau" 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

Does anyone have any idea ?
Top
dominicusin
n00b
n00b
User avatar
Posts: 2
Joined: Sun Dec 25, 2011 5:22 am
Location: Россия

idea

  • Quote

Post by dominicusin » Thu Apr 23, 2015 9:58 am

Code: Select all

cp webkit-gtk-2.6.5.ebuild webkit-gtk-2.6.6.ebuild # or even webkit-gtk-2.8.1.ebuild
ebuild webkit-gtk-2.6.6.ebuild digest
emerge -va =net-libs/webkit-gtk-2.6.6
>>> net-libs/webkit-gtk-2.6.6 merged.
Top
Post Reply

2 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic