[golang] work around the glibc-2.19 causing a failed test
by Vincent Batts
commit d93151237015ad3799c06fa8e5d90522148bec66
Author: Vincent Batts <vbatts(a)redhat.com>
Date: Tue May 6 16:50:32 2014 -0400
work around the glibc-2.19 causing a failed test
golang-1.2.1-i686-cgo-test-failure.patch | 13 +++++++++++++
golang.spec | 13 ++++++++++---
2 files changed, 23 insertions(+), 3 deletions(-)
---
diff --git a/golang-1.2.1-i686-cgo-test-failure.patch b/golang-1.2.1-i686-cgo-test-failure.patch
new file mode 100644
index 0000000..3ec543c
--- /dev/null
+++ b/golang-1.2.1-i686-cgo-test-failure.patch
@@ -0,0 +1,13 @@
+Index: go/src/run.bash
+===================================================================
+--- go.orig/src/run.bash
++++ go/src/run.bash
+@@ -105,7 +105,7 @@ go run $GOROOT/test/run.go - . || exit 1
+ (xcd ../misc/cgo/test
+ go test -ldflags '-linkmode=auto' || exit 1
+ # linkmode=internal fails on dragonfly since errno is a TLS relocation.
+-[ "$GOHOSTOS" == dragonfly ] || go test -ldflags '-linkmode=internal' || exit 1
++#[ "$GOHOSTOS" == dragonfly ] || go test -ldflags '-linkmode=internal' || exit 1
+ case "$GOHOSTOS-$GOARCH" in
+ openbsd-386 | openbsd-amd64)
+ # test linkmode=external, but __thread not supported, so skip testtls.
diff --git a/golang.spec b/golang.spec
index b33dc38..a4af927 100644
--- a/golang.spec
+++ b/golang.spec
@@ -82,11 +82,15 @@ 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
+# skip test that causes a SIGABRT on fc21 (bz1086900)
# until this test/issue is fixed
# https://bugzilla.redhat.com/show_bug.cgi?id=1086900
Patch5: golang-1.2.1-disable_testsetgid.patch
+# skip this test, which fails in i686 on fc21 inside mock/chroot (bz1087621)
+# https://bugzilla.redhat.com/show_bug.cgi?id=1087621
+Patch6: golang-1.2.1-i686-cgo-test-failure.patch
+
# Having documentation separate was broken
Obsoletes: %{name}-docs < 1.1-4
@@ -378,6 +382,9 @@ cp %SOURCE400 src/pkg/archive/tar/testdata/xattrs.tar
# SIGABRT bz1086900
%patch5 -p1
+# cgo/test bz1087621
+%patch6 -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
@@ -786,10 +793,10 @@ fi
%changelog
-* Fri Apr 10 2014 Vincent Batts <vbatts(a)redhat.com> 1.2.1-5
+* Fri Apr 11 2014 Vincent Batts <vbatts(a)redhat.com> 1.2.1-5
- skip test that is causing a SIGABRT on fc21 bz1086900
-* Thu Apr 09 2014 Vincent Batts <vbatts(a)fedoraproject.org> 1.2.1-4
+* Thu Apr 10 2014 Vincent Batts <vbatts(a)fedoraproject.org> 1.2.1-4
- fixing file and directory ownership bz1010713
* Wed Apr 09 2014 Vincent Batts <vbatts(a)fedoraproject.org> 1.2.1-3
9 years, 12 months
[Bug 1087621] New: while mock building on fc21.i686 "unexpected GOT reloc for non-dynamic symbol"
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1087621
Bug ID: 1087621
Summary: while mock building on fc21.i686 "unexpected GOT reloc
for non-dynamic symbol"
Product: Fedora
Version: rawhide
Component: golang
Assignee: adam(a)spicenitz.org
Reporter: vbatts(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: adam(a)spicenitz.org, admiller(a)redhat.com,
golang(a)lists.fedoraproject.org, lemenkov(a)gmail.com,
lsm5(a)redhat.com, renich(a)woralelandia.com,
skottler(a)redhat.com, vbatts(a)redhat.com
Description of problem:
../misc/cgo/test fails with "unexpected GOT reloc for non-dynamic symbol" in
mock on fc21.i686
Version-Release number of selected component (if applicable):
golang-1.2.1-5.fc21.src.rpm
glibc-2.19.90-10.fc21.x86_64
How reproducible:
consistent
Steps to Reproduce:
1. fepdkg clone --anonymous golang && cd golang
2. setarch i386 fedpkg mockbuild
3.
Actual results:
? unsafe [no test files]
# GOMAXPROCS=2 runtime -cpu=1,2,4
real 0m48.556s
user 1m36.485s
sys 0m10.826s
ok runtime 23.881s
# sync -cpu=10
ok sync 0.030s
# ../misc/cgo/stdio
# ../misc/cgo/life
# ../misc/cgo/test
PASS
ok _/builddir/build/BUILD/go/misc/cgo/test 1.127s
# testmain
_/builddir/build/BUILD/go/misc/cgo/test(.text): unexpected GOT reloc for
non-dynamic symbol _cgoexp_9a470ea86cc6_goCallback
_/builddir/build/BUILD/go/misc/cgo/test(.text): unexpected GOT reloc for
non-dynamic symbol _cgoexp_9a470ea86cc6_goFoo
_/builddir/build/BUILD/go/misc/cgo/test(.text): unexpected GOT reloc for
non-dynamic symbol _cgoexp_9a470ea86cc6_goStackCheck
_/builddir/build/BUILD/go/misc/cgo/test(.text): unexpected GOT reloc for
non-dynamic symbol _cgoexp_9a470ea86cc6_Add
_/builddir/build/BUILD/go/misc/cgo/test(.text): unexpected GOT reloc for
non-dynamic symbol _cgoexp_9a470ea86cc6_ReturnIntLong
_/builddir/build/BUILD/go/misc/cgo/test(.text): unexpected GOT reloc for
non-dynamic symbol _cgoexp_9a470ea86cc6_BackIntoGo
_/builddir/build/BUILD/go/misc/cgo/test(.text): unexpected GOT reloc for
non-dynamic symbol _cgoexp_9a470ea86cc6_BackgroundSleep
_/builddir/build/BUILD/go/misc/cgo/test(.text): unexpected GOT reloc for
non-dynamic symbol _cgoexp_9a470ea86cc6_exportbyte
_/builddir/build/BUILD/go/misc/cgo/test(.text): unexpected GOT reloc for
non-dynamic symbol _cgoexp_9a470ea86cc6_exportbool
_/builddir/build/BUILD/go/misc/cgo/test(.text): unexpected GOT reloc for
non-dynamic symbol _cgoexp_9a470ea86cc6_exportrune
_/builddir/build/BUILD/go/misc/cgo/test(.text): unexpected GOT reloc for
non-dynamic symbol _cgoexp_9a470ea86cc6_exporterror
_/builddir/build/BUILD/go/misc/cgo/test(.text): unexpected GOT reloc for
non-dynamic symbol _cgoexp_9a470ea86cc6_exportint
_/builddir/build/BUILD/go/misc/cgo/test(.text): unexpected GOT reloc for
non-dynamic symbol _cgoexp_9a470ea86cc6_exportuint
_/builddir/build/BUILD/go/misc/cgo/test(.text): unexpected GOT reloc for
non-dynamic symbol _cgoexp_9a470ea86cc6_exportuintptr
_/builddir/build/BUILD/go/misc/cgo/test(.text): unexpected GOT reloc for
non-dynamic symbol _cgoexp_9a470ea86cc6_exportint8
_/builddir/build/BUILD/go/misc/cgo/test(.text): unexpected GOT reloc for
non-dynamic symbol _cgoexp_9a470ea86cc6_exportuint8
_/builddir/build/BUILD/go/misc/cgo/test(.text): unexpected GOT reloc for
non-dynamic symbol _cgoexp_9a470ea86cc6_exportint16
_/builddir/build/BUILD/go/misc/cgo/test(.text): unexpected GOT reloc for
non-dynamic symbol _cgoexp_9a470ea86cc6_exportuint16
_/builddir/build/BUILD/go/misc/cgo/test(.text): unexpected GOT reloc for
non-dynamic symbol _cgoexp_9a470ea86cc6_exportint32
_/builddir/build/BUILD/go/misc/cgo/test(.text): unexpected GOT reloc for
non-dynamic symbol _cgoexp_9a470ea86cc6_exportuint32
_/builddir/build/BUILD/go/misc/cgo/test(.text): unexpected GOT reloc for
non-dynamic symbol _cgoexp_9a470ea86cc6_exportint64
too many errors
FAIL _/builddir/build/BUILD/go/misc/cgo/test [build failed]
error: Bad exit status from /var/tmp/rpm-tmp.VdjVKn (%check)
RPM build errors:
bogus date in %changelog: Fri Apr 10 2014 Vincent Batts <vbatts(a)redhat.com>
1.2.1-5
bogus date in %changelog: Thu Apr 09 2014 Vincent Batts
<vbatts(a)fedoraproject.org> 1.2.1-4
Bad exit status from /var/tmp/rpm-tmp.VdjVKn (%check)
Child return code was: 1
EXCEPTION: Command failed. See logs for output.
# ['bash', '--login', '-c', 'rpmbuild -bb --target i686 --nodeps
builddir/build/SPECS/golang.spec']
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line
70, in trace
result = func(*args, **kw)
File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 376, in do
raise mockbuild.exception.Error, ("Command failed. See logs for output.\n #
%s" % (command,), child.returncode)
Error: Command failed. See logs for output.
# ['bash', '--login', '-c', 'rpmbuild -bb --target i686 --nodeps
builddir/build/SPECS/golang.spec']
LEAVE do --> EXCEPTION RAISED
Expected results:
successful build
Additional info:
--
You are receiving this mail because:
You are on the CC list for the bug.
9 years, 12 months
[Bug 1087741] New: signals 1, 17 and 27 not passed to container using docker attach --sig-proxy
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1087741
Bug ID: 1087741
Summary: signals 1, 17 and 27 not passed to container using
docker attach --sig-proxy
Product: Fedora
Version: 20
Component: docker-io
Assignee: lsm5(a)redhat.com
Reporter: ldoktor(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: admiller(a)redhat.com, golang(a)lists.fedoraproject.org,
lsm5(a)redhat.com, mattdm(a)redhat.com,
mgoldman(a)redhat.com, skottler(a)redhat.com,
vbatts(a)redhat.com
Description of problem:
When I send signals 1, 17, 27 to the `docker attach` process, which is running
with --sig-proxy=true, it's not forwarded. Other signals are...
Version-Release number of selected component (if applicable):
docker-io-0.9.1-1.fc21.x86_64
How reproducible:
always
Steps to Reproduce:
1. docker -D run --detach=true --tty=false --sig-proxy=true --name test_BnHj
localhost:5000/ldoktor/fedora:latest bash -c 'echo "STARTED"; for NUM in `seq 1
64`; do trap "echo Received $NUM, ignoring..." $NUM; done; while :; do sleep 1;
done'
2. docker -D attach --sig-proxy=true test_BnHj
3. ps ax |grep docker
4. kill -1 $PID
Actual results:
(nothing)
Expected results:
Received 1, ignoring...
Additional info:
When you send any other signal (apart from 19, 9 and the mentioned ones) it
works fine.
--
You are receiving this mail because:
You are on the CC list for the bug.
9 years, 12 months