[golang] bz1086900 SIGABRT in tests on fc21

Vincent Batts vbatts at fedoraproject.org
Fri Apr 11 20:17:35 UTC 2014


commit 76f08f5dd7a30f137580f4f1e70bd5538e15f6db
Author: Vincent Batts <vbatts at redhat.com>
Date:   Fri Apr 11 16:17:08 2014 -0400

    bz1086900 SIGABRT in tests on fc21

 golang-1.2.1-disable_testsetgid.patch |    9 +++++++++
 golang.spec                           |   13 ++++++++++++-
 2 files changed, 21 insertions(+), 1 deletions(-)
---
diff --git a/golang-1.2.1-disable_testsetgid.patch b/golang-1.2.1-disable_testsetgid.patch
new file mode 100644
index 0000000..4b509eb
--- /dev/null
+++ b/golang-1.2.1-disable_testsetgid.patch
@@ -0,0 +1,9 @@
+diff -r 0ddbdc3c7ce2 misc/cgo/test/cgo_linux_test.go
+--- a/misc/cgo/test/cgo_linux_test.go	Mon Mar 03 11:53:08 2014 +1100
++++ b/misc/cgo/test/cgo_linux_test.go	Fri Apr 11 16:01:17 2014 -0400
+@@ -6,4 +6,4 @@
+ 
+ import "testing"
+ 
+-func TestSetgid(t *testing.T) { testSetgid(t) }
++func nopeTestSetgid(t *testing.T) { testSetgid(t) }
diff --git a/golang.spec b/golang.spec
index cac6d19..b33dc38 100644
--- a/golang.spec
+++ b/golang.spec
@@ -39,7 +39,7 @@
 
 Name:           golang
 Version:        1.2.1
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        The Go Programming Language
 
 License:        BSD
@@ -82,6 +82,11 @@ Patch2:         ./golang-1.2-skipCpuProfileTest.patch
 # https://code.google.com/p/go/source/detail?r=a15f344a9efa
 Patch3:         golang-1.2-archive_tar-xattr.patch
 
+# skip test that causes a SIGABRT on fc21
+# until this test/issue is fixed
+# https://bugzilla.redhat.com/show_bug.cgi?id=1086900
+Patch5:         golang-1.2.1-disable_testsetgid.patch
+
 # Having documentation separate was broken
 Obsoletes:      %{name}-docs < 1.1-4
 
@@ -370,6 +375,9 @@ cp %SOURCE400 src/pkg/archive/tar/testdata/xattrs.tar
 # TODO: remove this when updated to go1.3
 %patch3 -p1
 
+# SIGABRT bz1086900
+%patch5 -p1
+
 # create a [dirty] gcc wrapper to allow us to build with our own flags
 # (dirty because it is spoofing 'gcc' since CC value is stored in the go tool)
 # TODO: remove this and just set CFLAGS/LDFLAGS once upstream supports it
@@ -778,6 +786,9 @@ fi
 
 
 %changelog
+* Fri Apr 10 2014 Vincent Batts <vbatts at redhat.com> 1.2.1-5
+- skip test that is causing a SIGABRT on fc21 bz1086900
+
 * Thu Apr 09 2014 Vincent Batts <vbatts at fedoraproject.org> 1.2.1-4
 - fixing file and directory ownership bz1010713
 


More information about the scm-commits mailing list