[Bug 2020852] [NEW] Fail to bootstrap (Segmentation fault) on ppc64el in Xenial

Utkarsh Gupta 2020852 at bugs.launchpad.net
Fri May 26 07:51:36 UTC 2023


Public bug reported:

Hellu,

There's segmentation fault on ppc64el whilst backporting Golang 1.18 to
Xenial.

Here are the snippet:

make[1]: Entering directory '/<<PKGBUILDDIR>>'
[ -f VERSION ] || echo "debian snapshot 1.18.1-1ubuntu1~16.04.4" > VERSION
# on i386, need to rebuild with go1.16 for GO386=softfloat
export GOROOT_BOOTSTRAP=$(env -i GOPATH=/<<PKGBUILDDIR>>/gopath/ go env GOROOT) \
&& if [ "ppc64el" = "i386" ] && dpkg --compare-versions $(GOROOT_BOOTSTRAP=/usr ./debian/helpers/goenv.sh echo '$GOVERSION_BOOTSTRAP') lt "1.16"; then \
	mkdir -p /<<PKGBUILDDIR>>/bootstrap \
	&& cp -Rp /<<PKGBUILDDIR>>/src bootstrap/ \
	&& cp -Rp /<<PKGBUILDDIR>>/VERSION bootstrap/ \
	&& cd /<<PKGBUILDDIR>>/bootstrap/src \
	&& /<<PKGBUILDDIR>>/debian/helpers/goenv.sh bash ./make.bash --no-banner \
	&& export GOROOT_BOOTSTRAP=/<<PKGBUILDDIR>>/bootstrap; \
fi \
&& cd /<<PKGBUILDDIR>>/src \
&& /<<PKGBUILDDIR>>/debian/helpers/goenv.sh bash ./make.bash --no-banner
Building Go cmd/dist using /usr/lib/go-1.6. (go1.6.2 linux/ppc64le)
go build _/<<PKGBUILDDIR>>/src/cmd/dist: /usr/lib/go-1.6/pkg/tool/linux_ppc64le/compile: signal: segmentation fault (core dumped)
debian/rules:119: recipe for target 'override_dh_auto_build-arch' failed
make[1]: *** [override_dh_auto_build-arch] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:32: recipe for target 'build-arch' failed
make: *** [build-arch] Error 2

Full logs are available at:
https://pastebin.canonical.com/p/qB8m27sH49/

** Affects: golang-1.18 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to golang-1.18 in Ubuntu.
https://bugs.launchpad.net/bugs/2020852

Title:
  Fail to bootstrap (Segmentation fault) on ppc64el in Xenial

Status in golang-1.18 package in Ubuntu:
  New

Bug description:
  Hellu,

  There's segmentation fault on ppc64el whilst backporting Golang 1.18
  to Xenial.

  Here are the snippet:

  make[1]: Entering directory '/<<PKGBUILDDIR>>'
  [ -f VERSION ] || echo "debian snapshot 1.18.1-1ubuntu1~16.04.4" > VERSION
  # on i386, need to rebuild with go1.16 for GO386=softfloat
  export GOROOT_BOOTSTRAP=$(env -i GOPATH=/<<PKGBUILDDIR>>/gopath/ go env GOROOT) \
  && if [ "ppc64el" = "i386" ] && dpkg --compare-versions $(GOROOT_BOOTSTRAP=/usr ./debian/helpers/goenv.sh echo '$GOVERSION_BOOTSTRAP') lt "1.16"; then \
  	mkdir -p /<<PKGBUILDDIR>>/bootstrap \
  	&& cp -Rp /<<PKGBUILDDIR>>/src bootstrap/ \
  	&& cp -Rp /<<PKGBUILDDIR>>/VERSION bootstrap/ \
  	&& cd /<<PKGBUILDDIR>>/bootstrap/src \
  	&& /<<PKGBUILDDIR>>/debian/helpers/goenv.sh bash ./make.bash --no-banner \
  	&& export GOROOT_BOOTSTRAP=/<<PKGBUILDDIR>>/bootstrap; \
  fi \
  && cd /<<PKGBUILDDIR>>/src \
  && /<<PKGBUILDDIR>>/debian/helpers/goenv.sh bash ./make.bash --no-banner
  Building Go cmd/dist using /usr/lib/go-1.6. (go1.6.2 linux/ppc64le)
  go build _/<<PKGBUILDDIR>>/src/cmd/dist: /usr/lib/go-1.6/pkg/tool/linux_ppc64le/compile: signal: segmentation fault (core dumped)
  debian/rules:119: recipe for target 'override_dh_auto_build-arch' failed
  make[1]: *** [override_dh_auto_build-arch] Error 1
  make[1]: Leaving directory '/<<PKGBUILDDIR>>'
  debian/rules:32: recipe for target 'build-arch' failed
  make: *** [build-arch] Error 2

  Full logs are available at:
  https://pastebin.canonical.com/p/qB8m27sH49/

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




More information about the foundations-bugs mailing list