diff options
author | Alexandre Rostovtsev <tetromino@gentoo.org> | 2013-10-10 23:43:20 +0000 |
---|---|---|
committer | Alexandre Rostovtsev <tetromino@gentoo.org> | 2013-10-10 23:43:20 +0000 |
commit | 222457bdcc06acff9258c957a3a3c639f95f02da (patch) | |
tree | 51705e24b514ed5f612d4bfd8e00504548674fa1 /net-libs/webkit-gtk | |
parent | Version bump. (diff) | |
download | gentoo-2-222457bdcc06acff9258c957a3a3c639f95f02da.tar.gz gentoo-2-222457bdcc06acff9258c957a3a3c639f95f02da.tar.bz2 gentoo-2-222457bdcc06acff9258c957a3a3c639f95f02da.zip |
Refuse to build if nvidia-drivers-325.* is the being used as the system opengl library to avoid freeze while compiling (bug #463960, thanks to Harris Landgarten, nE0sIghT and others for help in diagnosing the issue).
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key CF0ADD61)
Diffstat (limited to 'net-libs/webkit-gtk')
-rw-r--r-- | net-libs/webkit-gtk/ChangeLog | 10 | ||||
-rw-r--r-- | net-libs/webkit-gtk/webkit-gtk-1.10.2-r300.ebuild | 23 | ||||
-rw-r--r-- | net-libs/webkit-gtk/webkit-gtk-1.8.3-r200.ebuild | 23 | ||||
-rw-r--r-- | net-libs/webkit-gtk/webkit-gtk-1.8.3-r201.ebuild | 23 | ||||
-rw-r--r-- | net-libs/webkit-gtk/webkit-gtk-1.8.3-r300.ebuild | 23 | ||||
-rw-r--r-- | net-libs/webkit-gtk/webkit-gtk-2.0.4.ebuild | 23 |
6 files changed, 119 insertions, 6 deletions
diff --git a/net-libs/webkit-gtk/ChangeLog b/net-libs/webkit-gtk/ChangeLog index e910e559ca6f..4919d512ad98 100644 --- a/net-libs/webkit-gtk/ChangeLog +++ b/net-libs/webkit-gtk/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for net-libs/webkit-gtk # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/webkit-gtk/ChangeLog,v 1.223 2013/10/04 00:19:14 tetromino Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/webkit-gtk/ChangeLog,v 1.224 2013/10/10 23:43:20 tetromino Exp $ + + 10 Oct 2013; Alexandre Rostovtsev <tetromino@gentoo.org> + webkit-gtk-1.8.3-r200.ebuild, webkit-gtk-1.8.3-r201.ebuild, + webkit-gtk-1.8.3-r300.ebuild, webkit-gtk-1.10.2-r300.ebuild, + webkit-gtk-2.0.4.ebuild: + Refuse to build if nvidia-drivers-325.* is the being used as the system + opengl library to avoid freeze while compiling (bug #463960, thanks to Harris + Landgarten, nE0sIghT and others for help in diagnosing the issue). 04 Oct 2013; Alexandre Rostovtsev <tetromino@gentoo.org> webkit-gtk-1.10.2-r300.ebuild: diff --git a/net-libs/webkit-gtk/webkit-gtk-1.10.2-r300.ebuild b/net-libs/webkit-gtk/webkit-gtk-1.10.2-r300.ebuild index 2048977b14cb..8302236b300e 100644 --- a/net-libs/webkit-gtk/webkit-gtk-1.10.2-r300.ebuild +++ b/net-libs/webkit-gtk/webkit-gtk-1.10.2-r300.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/webkit-gtk/webkit-gtk-1.10.2-r300.ebuild,v 1.13 2013/10/04 00:19:14 tetromino Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/webkit-gtk/webkit-gtk-1.10.2-r300.ebuild,v 1.14 2013/10/10 23:43:20 tetromino Exp $ EAPI="5" @@ -81,6 +81,8 @@ S="${WORKDIR}/${MY_P}" CHECKREQS_DISK_BUILD="18G" # and even this might not be enough, bug #417307 pkg_pretend() { + nvidia_check || die #463960 + if [[ ${MERGE_TYPE} != "binary" ]] && is-flagq "-g*" && ! is-flagq "-g*0" ; then einfo "Checking for sufficient disk space to build ${PN} with debugging CFLAGS" check-reqs_pkg_pretend @@ -88,6 +90,8 @@ pkg_pretend() { } pkg_setup() { + nvidia_check || die #463960 + # Check whether any of the debugging flags is enabled if [[ ${MERGE_TYPE} != "binary" ]] && is-flagq "-g*" && ! is-flagq "-g*0" ; then if is-flagq "-ggdb" && [[ ${WEBKIT_GTK_GGDB} != "yes" ]]; then @@ -272,3 +276,20 @@ src_install() { # Prevents crashes on PaX systems use jit && pax-mark m "${ED}usr/bin/jsc-3" } + +nvidia_check() { + if [[ ${MERGE_TYPE} != "binary" ]] && + use introspection && + has_version '=x11-drivers/nvidia-drivers-325*' && + [[ $(eselect opengl show 2> /dev/null) = "nvidia" ]] + then + eerror "${PN} freezes while compiling if x11-drivers/nvidia-drivers-325.* is" + eerror "used as the system OpenGL library." + eerror "You can either update to >=nvidia-drivers-331.13, or temporarily select" + eerror "Mesa as the system OpenGL library:" + eerror " # eselect opengl set xorg-x11" + eerror "See https://bugs.gentoo.org/463960 for more details." + eerror + return 1 + fi +} diff --git a/net-libs/webkit-gtk/webkit-gtk-1.8.3-r200.ebuild b/net-libs/webkit-gtk/webkit-gtk-1.8.3-r200.ebuild index 3488be8b393f..4290ac510390 100644 --- a/net-libs/webkit-gtk/webkit-gtk-1.8.3-r200.ebuild +++ b/net-libs/webkit-gtk/webkit-gtk-1.8.3-r200.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/webkit-gtk/webkit-gtk-1.8.3-r200.ebuild,v 1.13 2013/09/05 19:01:33 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/webkit-gtk/webkit-gtk-1.8.3-r200.ebuild,v 1.14 2013/10/10 23:43:20 tetromino Exp $ EAPI="4" @@ -72,6 +72,8 @@ S="${WORKDIR}/${MY_P}" CHECKREQS_DISK_BUILD="18G" # and even this might not be enough, bug #417307 pkg_pretend() { + nvidia_check || die #463960 + if [[ ${MERGE_TYPE} != "binary" ]] && is-flagq "-g*" && ! is-flagq "-g*0" ; then einfo "Checking for sufficient disk space to build ${PN} with debugging CFLAGS" check-reqs_pkg_pretend @@ -79,6 +81,8 @@ pkg_pretend() { } pkg_setup() { + nvidia_check || die #463960 + # Check whether any of the debugging flags is enabled if [[ ${MERGE_TYPE} != "binary" ]] && is-flagq "-g*" && ! is-flagq "-g*0" ; then if is-flagq "-ggdb" && [[ ${WEBKIT_GTK_GGDB} != "yes" ]]; then @@ -259,3 +263,20 @@ src_install() { # bug #402699, https://bugs.webkit.org/show_bug.cgi?id=78134 rm -rf "${ED}usr/share/gtk-doc" || die } + +nvidia_check() { + if [[ ${MERGE_TYPE} != "binary" ]] && + use introspection && + has_version '=x11-drivers/nvidia-drivers-325*' && + [[ $(eselect opengl show 2> /dev/null) = "nvidia" ]] + then + eerror "${PN} freezes while compiling if x11-drivers/nvidia-drivers-325.* is" + eerror "used as the system OpenGL library." + eerror "You can either update to >=nvidia-drivers-331.13, or temporarily select" + eerror "Mesa as the system OpenGL library:" + eerror " # eselect opengl set xorg-x11" + eerror "See https://bugs.gentoo.org/463960 for more details." + eerror + return 1 + fi +} diff --git a/net-libs/webkit-gtk/webkit-gtk-1.8.3-r201.ebuild b/net-libs/webkit-gtk/webkit-gtk-1.8.3-r201.ebuild index ffba1c6fd08c..8f2e3aa2208e 100644 --- a/net-libs/webkit-gtk/webkit-gtk-1.8.3-r201.ebuild +++ b/net-libs/webkit-gtk/webkit-gtk-1.8.3-r201.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/webkit-gtk/webkit-gtk-1.8.3-r201.ebuild,v 1.12 2013/09/05 19:01:33 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/webkit-gtk/webkit-gtk-1.8.3-r201.ebuild,v 1.13 2013/10/10 23:43:20 tetromino Exp $ EAPI=5 @@ -72,6 +72,8 @@ S="${WORKDIR}/${MY_P}" CHECKREQS_DISK_BUILD="18G" # and even this might not be enough, bug #417307 pkg_pretend() { + nvidia_check || die #463960 + if [[ ${MERGE_TYPE} != "binary" ]] && is-flagq "-g*" && ! is-flagq "-g*0" ; then einfo "Checking for sufficient disk space to build ${PN} with debugging CFLAGS" check-reqs_pkg_pretend @@ -79,6 +81,8 @@ pkg_pretend() { } pkg_setup() { + nvidia_check || die #463960 + # Check whether any of the debugging flags is enabled if [[ ${MERGE_TYPE} != "binary" ]] && is-flagq "-g*" && ! is-flagq "-g*0" ; then if is-flagq "-ggdb" && [[ ${WEBKIT_GTK_GGDB} != "yes" ]]; then @@ -266,3 +270,20 @@ src_install() { # bug #402699, https://bugs.webkit.org/show_bug.cgi?id=78134 rm -rf "${ED}usr/share/gtk-doc" || die } + +nvidia_check() { + if [[ ${MERGE_TYPE} != "binary" ]] && + use introspection && + has_version '=x11-drivers/nvidia-drivers-325*' && + [[ $(eselect opengl show 2> /dev/null) = "nvidia" ]] + then + eerror "${PN} freezes while compiling if x11-drivers/nvidia-drivers-325.* is" + eerror "used as the system OpenGL library." + eerror "You can either update to >=nvidia-drivers-331.13, or temporarily select" + eerror "Mesa as the system OpenGL library:" + eerror " # eselect opengl set xorg-x11" + eerror "See https://bugs.gentoo.org/463960 for more details." + eerror + return 1 + fi +} diff --git a/net-libs/webkit-gtk/webkit-gtk-1.8.3-r300.ebuild b/net-libs/webkit-gtk/webkit-gtk-1.8.3-r300.ebuild index 3f175bd56c79..07a824d7a4d6 100644 --- a/net-libs/webkit-gtk/webkit-gtk-1.8.3-r300.ebuild +++ b/net-libs/webkit-gtk/webkit-gtk-1.8.3-r300.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/webkit-gtk/webkit-gtk-1.8.3-r300.ebuild,v 1.13 2013/09/05 19:01:33 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/webkit-gtk/webkit-gtk-1.8.3-r300.ebuild,v 1.14 2013/10/10 23:43:20 tetromino Exp $ EAPI="4" @@ -78,6 +78,8 @@ S="${WORKDIR}/${MY_P}" CHECKREQS_DISK_BUILD="18G" # and even this might not be enough, bug #417307 pkg_pretend() { + nvidia_check || die #463960 + if [[ ${MERGE_TYPE} != "binary" ]] && is-flagq "-g*" && ! is-flagq "-g*0" ; then einfo "Checking for sufficient disk space to build ${PN} with debugging CFLAGS" check-reqs_pkg_pretend @@ -85,6 +87,8 @@ pkg_pretend() { } pkg_setup() { + nvidia_check || die #463960 + # Check whether any of the debugging flags is enabled if [[ ${MERGE_TYPE} != "binary" ]] && is-flagq "-g*" && ! is-flagq "-g*0" ; then if is-flagq "-ggdb" && [[ ${WEBKIT_GTK_GGDB} != "yes" ]]; then @@ -270,3 +274,20 @@ src_install() { # Prevents crashes on PaX systems use jit && pax-mark m "${ED}usr/bin/jsc-3" } + +nvidia_check() { + if [[ ${MERGE_TYPE} != "binary" ]] && + use introspection && + has_version '=x11-drivers/nvidia-drivers-325*' && + [[ $(eselect opengl show 2> /dev/null) = "nvidia" ]] + then + eerror "${PN} freezes while compiling if x11-drivers/nvidia-drivers-325.* is" + eerror "used as the system OpenGL library." + eerror "You can either update to >=nvidia-drivers-331.13, or temporarily select" + eerror "Mesa as the system OpenGL library:" + eerror " # eselect opengl set xorg-x11" + eerror "See https://bugs.gentoo.org/463960 for more details." + eerror + return 1 + fi +} diff --git a/net-libs/webkit-gtk/webkit-gtk-2.0.4.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.0.4.ebuild index 14fcd4017d32..c9cbc250e445 100644 --- a/net-libs/webkit-gtk/webkit-gtk-2.0.4.ebuild +++ b/net-libs/webkit-gtk/webkit-gtk-2.0.4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/webkit-gtk/webkit-gtk-2.0.4.ebuild,v 1.5 2013/10/01 23:39:17 tetromino Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/webkit-gtk/webkit-gtk-2.0.4.ebuild,v 1.6 2013/10/10 23:43:20 tetromino Exp $ EAPI="5" @@ -89,6 +89,8 @@ S="${WORKDIR}/${MY_P}" CHECKREQS_DISK_BUILD="18G" # and even this might not be enough, bug #417307 pkg_pretend() { + nvidia_check || die #463960 + if [[ ${MERGE_TYPE} != "binary" ]] && is-flagq "-g*" && ! is-flagq "-g*0" ; then einfo "Checking for sufficient disk space to build ${PN} with debugging CFLAGS" check-reqs_pkg_pretend @@ -100,6 +102,8 @@ pkg_pretend() { } pkg_setup() { + nvidia_check || die #463960 + # Check whether any of the debugging flags is enabled if [[ ${MERGE_TYPE} != "binary" ]] && is-flagq "-g*" && ! is-flagq "-g*0" ; then if is-flagq "-ggdb" && [[ ${WEBKIT_GTK_GGDB} != "yes" ]]; then @@ -253,3 +257,20 @@ src_install() { # Prevents crashes on PaX systems use jit && pax-mark m "${ED}usr/bin/jsc-3" } + +nvidia_check() { + if [[ ${MERGE_TYPE} != "binary" ]] && + use introspection && + has_version '=x11-drivers/nvidia-drivers-325*' && + [[ $(eselect opengl show 2> /dev/null) = "nvidia" ]] + then + eerror "${PN} freezes while compiling if x11-drivers/nvidia-drivers-325.* is" + eerror "used as the system OpenGL library." + eerror "You can either update to >=nvidia-drivers-331.13, or temporarily select" + eerror "Mesa as the system OpenGL library:" + eerror " # eselect opengl set xorg-x11" + eerror "See https://bugs.gentoo.org/463960 for more details." + eerror + return 1 + fi +} |