diff --git a/guile-threads-test.patch b/guile-threads-test.patch new file mode 100644 index 0000000..dd84b01 --- /dev/null +++ b/guile-threads-test.patch @@ -0,0 +1,17 @@ +Index: guile-2.0.5/test-suite/tests/threads.test +=================================================================== +--- guile-2.0.5.orig/test-suite/tests/threads.test ++++ guile-2.0.5/test-suite/tests/threads.test +@@ -414,8 +414,10 @@ + + (gc) (gc) + (let ((m (g))) +- (and (mutex? m) +- (eq? (mutex-owner m) (current-thread))))))) ++ (or ++ (and (mutex? m) ++ (eq? (mutex-owner m) (current-thread))) ++ (throw 'unresolved)))))) + + ;; + ;; mutex lock levels diff --git a/guile.changes b/guile.changes index ef7b271..51fa1e1 100644 --- a/guile.changes +++ b/guile.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Apr 23 17:16:38 UTC 2012 - dvaleev@suse.com + +- mark this threads test as unresolved since it may produce false + negatives, depending on the behavior/timing of the garbage + collector. + ------------------------------------------------------------------- Tue Jan 31 15:10:31 UTC 2012 - pgajdos@suse.com diff --git a/guile.spec b/guile.spec index 2c4bd16..495b498 100644 --- a/guile.spec +++ b/guile.spec @@ -44,6 +44,7 @@ Patch2: %{name}-1.6.10-mktemp.patch # Fix the wrong FSF address in a few headers. Patch3: %{name}-fix_fsf_add.patch Patch4: %{name}-turn-off-gc-test.patch +Patch5: %{name}-threads-test.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: fileutils sh-utils PreReq: %install_info_prereq @@ -109,6 +110,7 @@ linked in as a library when building extensible programs. %patch2 %patch3 %patch4 -p1 +%patch5 -p1 # force rebuild with non-broken makeinfo #rm -f doc/*/*.info