[Bug 1501651] Re: ARM chroot issues: fatal error: rt_sigaction failure
Chris J Arges
1501651 at bugs.launchpad.net
Tue Nov 24 17:53:33 UTC 2015
Uploaded SRU for Wily.
** Changed in: golang (Ubuntu Trusty)
Status: New => Invalid
** Changed in: golang (Ubuntu Wily)
Assignee: (unassigned) => Chris J Arges (arges)
** Changed in: golang (Ubuntu Wily)
Status: New => In Progress
** Changed in: golang (Ubuntu Wily)
Importance: Undecided => Medium
** Description changed:
+ SRU Justification:
+
+ [Impact]
+ Users of go programs compiled for arm and running on x86_64 will be unable to emulate their programs with qemu.
+
+
+ [Test Case]
+ 1)
+ echo "package main
+
+ import "fmt"
+
+ func main() {
+ fmt.Println("Hi")
+ }
+ ">test.go
+
+ 2) GOARCH=arm go build test.go
+ 3) qemu-arm test
+
+
+ [Regression Potential]
+ This patch is upstream and in Xenial. The change affects golang runtime only.
+
+ -
+
Trying to create an ARM snap with snapcraft using an ARM chroot as
advised:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
- LANGUAGE = "en_US",
- LC_ALL = (unset),
- LANG = "en_US.UTF-8"
- are supported and installed on your system.
+ LANGUAGE = "en_US",
+ LC_ALL = (unset),
+ LANG = "en_US.UTF-8"
+ are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Pulling integration
Building integration
cp --preserve=all -R icon.svg /snap_spider_tweet/parts/integration/install/icon.svg
Staging integration
Snapping integration
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
- LANGUAGE = "en_US",
- LC_ALL = (unset),
- LANG = "en_US.UTF-8"
- are supported and installed on your system.
+ LANGUAGE = "en_US",
+ LC_ALL = (unset),
+ LANG = "en_US.UTF-8"
+ are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
fatal error: rt_sigaction failure
runtime stack:
runtime.throw(0x57d6ed)
- /usr/lib/go/src/runtime/panic.go:491 +0xa4
+ /usr/lib/go/src/runtime/panic.go:491 +0xa4
runtime.setsig(0x40, 0x5704c, 0x594d01)
- /usr/lib/go/src/runtime/os_linux.c:302 +0xa8
+ /usr/lib/go/src/runtime/os_linux.c:302 +0xa8
runtime.initsig()
- /usr/lib/go/src/runtime/signal_unix.c:39 +0x88
+ /usr/lib/go/src/runtime/signal_unix.c:39 +0x88
mstart()
- /usr/lib/go/src/runtime/proc.c:856 +0x6c
+ /usr/lib/go/src/runtime/proc.c:856 +0x6c
runtime.mstart()
- /usr/lib/go/src/runtime/proc.c:836 +0x4c
+ /usr/lib/go/src/runtime/proc.c:836 +0x4c
goroutine 1 [runnable]:
runtime.main()
- /usr/lib/go/src/runtime/proc.go:16
+ /usr/lib/go/src/runtime/proc.go:16
runtime.goexit()
- /usr/lib/go/src/runtime/asm_arm.s:1322 +0x4
+ /usr/lib/go/src/runtime/asm_arm.s:1322 +0x4
Reproduced it two different machines.
Reproducing it:
- qemu-debootstrap --arch=armhf vivid ~/vivid/
- set up the right sources.list
- apt-get install software-properties-common python-software-properties
- sudo add-apt-repository ppa:snappy-dev/tools
- sudo apt-get update
- sudo apt-get upgrade
- sudo apt-get install snappy-tools bzr
- snapcrafting any source will end up in a similar output
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1501651
Title:
ARM chroot issues: fatal error: rt_sigaction failure
Status in golang package in Ubuntu:
Fix Released
Status in golang source package in Trusty:
Invalid
Status in golang source package in Wily:
In Progress
Bug description:
SRU Justification:
[Impact]
Users of go programs compiled for arm and running on x86_64 will be unable to emulate their programs with qemu.
[Test Case]
1)
echo "package main
import "fmt"
func main() {
fmt.Println("Hi")
}
">test.go
2) GOARCH=arm go build test.go
3) qemu-arm test
[Regression Potential]
This patch is upstream and in Xenial. The change affects golang runtime only.
-
Trying to create an ARM snap with snapcraft using an ARM chroot as
advised:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US",
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Pulling integration
Building integration
cp --preserve=all -R icon.svg /snap_spider_tweet/parts/integration/install/icon.svg
Staging integration
Snapping integration
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US",
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
fatal error: rt_sigaction failure
runtime stack:
runtime.throw(0x57d6ed)
/usr/lib/go/src/runtime/panic.go:491 +0xa4
runtime.setsig(0x40, 0x5704c, 0x594d01)
/usr/lib/go/src/runtime/os_linux.c:302 +0xa8
runtime.initsig()
/usr/lib/go/src/runtime/signal_unix.c:39 +0x88
mstart()
/usr/lib/go/src/runtime/proc.c:856 +0x6c
runtime.mstart()
/usr/lib/go/src/runtime/proc.c:836 +0x4c
goroutine 1 [runnable]:
runtime.main()
/usr/lib/go/src/runtime/proc.go:16
runtime.goexit()
/usr/lib/go/src/runtime/asm_arm.s:1322 +0x4
Reproduced it two different machines.
Reproducing it:
- qemu-debootstrap --arch=armhf vivid ~/vivid/
- set up the right sources.list
- apt-get install software-properties-common python-software-properties
- sudo add-apt-repository ppa:snappy-dev/tools
- sudo apt-get update
- sudo apt-get upgrade
- sudo apt-get install snappy-tools bzr
- snapcrafting any source will end up in a similar output
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/golang/+bug/1501651/+subscriptions
More information about the Ubuntu-sponsors
mailing list