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
Server Team, which is subscribed to golang in Ubuntu.
https://bugs.launchpad.net/bugs/1501651

Title:
  ARM chroot issues: fatal error: rt_sigaction failure

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/golang/+bug/1501651/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to