Date: Thursday, April 13, 2017 @ 15:01:36 Author: jgc Revision: 292693
upgpkg: glib2 2.52.1+2+g2b47c8360-1 Disable failing test that breaks due to rounding errors on 32bit architectures. Note that the testsuite can fail at any time because of timeout errors if the hardware is slow at some point. Debian and Ubuntu have patches for these. Added: glib2/trunk/skip-broken-timer-test.patch Modified: glib2/trunk/PKGBUILD ------------------------------+ PKGBUILD | 11 +++++++---- skip-broken-timer-test.patch | 17 +++++++++++++++++ 2 files changed, 24 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-04-13 14:59:03 UTC (rev 292692) +++ PKGBUILD 2017-04-13 15:01:36 UTC (rev 292693) @@ -3,7 +3,7 @@ pkgbase=glib2 pkgname=(glib2 glib2-docs) -pkgver=2.52.0 +pkgver=2.52.1+2+g2b47c8360 pkgrel=1 pkgdesc="Low level core library" url="http://www.gtk.org/" @@ -10,15 +10,17 @@ arch=(i686 x86_64) makedepends=(gettext gtk-doc libffi pcre zlib shared-mime-info python libelf git util-linux) checkdepends=(desktop-file-utils dbus) -_commit=bce36c2d46213ff397acbd130acd9bcfa1ca0eaa # tags/2.52.0^0 +_commit=2b47c8360c70a8455d61fa4bb94ec57b93bf228e # glib-2-52 source=("git+https://git.gnome.org/browse/glib#commit=$_commit" glib-compile-schemas.hook gio-querymodules.hook - revert-warn-glib-compile-schemas.patch) + revert-warn-glib-compile-schemas.patch + skip-broken-timer-test.patch) sha256sums=('SKIP' 'e1123a5d85d2445faac33f6dae1085fdd620d83279a4e130a83fe38db52b62b3' '5ba204a2686304b1454d401a39a9d27d09dd25e4529664e3fd565be3d439f8b6' - '049240975cd2f1c88fbe7deb28af14d4ec7d2640495f7ca8980d873bb710cc97') + '049240975cd2f1c88fbe7deb28af14d4ec7d2640495f7ca8980d873bb710cc97' + '4a2c7a65195ede4c5db3e8d5bd810b45a3ec2c4402088994dfd516c974cfbf36') pkgver() { cd glib @@ -27,6 +29,7 @@ prepare() { cd glib + patch -Np1 -i ../skip-broken-timer-test.patch patch -Rp1 -i ../revert-warn-glib-compile-schemas.patch NOCONFIGURE=1 ./autogen.sh } Added: skip-broken-timer-test.patch =================================================================== --- skip-broken-timer-test.patch (rev 0) +++ skip-broken-timer-test.patch 2017-04-13 15:01:36 UTC (rev 292693) @@ -0,0 +1,17 @@ +Description: Skip test which performs some unreliable floating point comparisons +Forwarded: https://bugzilla.gnome.org/show_bug.cgi?id=722604 + +Index: b/glib/tests/timer.c +=================================================================== +--- a/glib/tests/timer.c ++++ b/glib/tests/timer.c +@@ -203,7 +203,7 @@ + { + g_test_init (&argc, &argv, NULL); + +- g_test_add_func ("/timer/basic", test_timer_basic); ++/* g_test_add_func ("/timer/basic", test_timer_basic);*/ + g_test_add_func ("/timer/stop", test_timer_stop); + g_test_add_func ("/timer/continue", test_timer_continue); + g_test_add_func ("/timer/reset", test_timer_reset); +
