Bug#658421: golang-weekly: "go build" and "go install" fail

February 02nd, 2012 - 05:00 pm ET by Marvin Renich | Report spam
Package: golang-weekly
Version: 2012.01.27-2
Severity: important

$ echo $GOPATH
/home/mrvn/golang
$ cd $GOPATH
$ go build tempus
# tempus
morestack trampoline not defined - runtime.morestack00
morestack trampoline not defined - runtime.morestack10
morestack trampoline not defined - runtime.morestack01
morestack trampoline not defined - runtime.morestack11
morestack trampoline not defined - runtime.morestack8
morestack trampoline not defined - runtime.morestack16
morestack trampoline not defined - runtime.morestack24
morestack trampoline not defined - runtime.morestack32
morestack trampoline not defined - runtime.morestack40
morestack trampoline not defined - runtime.morestack48
$ go install tempus
open /usr/lib/go/pkg/linux_amd64/runtime.a: permission denied

It appears that the go std libraries are not completely built. If I
download and build go from upstream, and set GOROOT and GOPATH
appropriately, I do not have these problems.

I also wanted to thank you for packaging both golang and golang-weekly.
I appreciate being able to install, upgrade, and remove them as Debian
packages and having them follow the Debian directory structure.

...Marvin


Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages golang-weekly depends on:
ii golang-weekly-doc 2012.01.27-2
ii golang-weekly-go 2012.01.27-2
ii golang-weekly-src 2012.01.27-2
ii golang-weekly-tools 2012.01.27-2

golang-weekly recommends no packages.

golang-weekly suggests no packages.




To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
email Follow the discussionReplies 1 replyReplies Make a reply

Similar topics

Replies

#1 Ondřej Surý
February 29th, 2012 - 06:30 am ET | Report spam
Hi Marvin,

that's really strange, because I do nothing special when building the
go sources.

Anyway I am packaging next weekly snapshot right now, so it would be
great if you could retest with 2012.02.22-1 as soon as it hits the
archive:

$ dpkg -c golang-weekly-go_2012.02.22-1_amd64.deb | grep runtime.a
-rw-r--r-- root/root 878986 2012-02-29 12:14
./usr/lib/go/pkg/linux_amd64/runtime.a

O.

On Thu, Feb 2, 2012 at 22:26, Marvin Renich wrote:
Package: golang-weekly
Version: 2012.01.27-2
Severity: important

$ echo $GOPATH
/home/mrvn/golang
$ cd $GOPATH
$ go build tempus
# tempus
morestack trampoline not defined - runtime.morestack00
morestack trampoline not defined - runtime.morestack10
morestack trampoline not defined - runtime.morestack01
morestack trampoline not defined - runtime.morestack11
morestack trampoline not defined - runtime.morestack8
morestack trampoline not defined - runtime.morestack16
morestack trampoline not defined - runtime.morestack24
morestack trampoline not defined - runtime.morestack32
morestack trampoline not defined - runtime.morestack40
morestack trampoline not defined - runtime.morestack48
$ go install tempus
open /usr/lib/go/pkg/linux_amd64/runtime.a: permission denied

It appears that the go std libraries are not completely built.  If I
download and build go from upstream, and set GOROOT and GOPATH
appropriately, I do not have these problems.

I also wanted to thank you for packaging both golang and golang-weekly.
I appreciate being able to install, upgrade, and remove them as Debian
packages and having them follow the Debian directory structure.

...Marvin


Debian Release: wheezy/sid
 APT prefers testing
 APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages golang-weekly depends on:
ii  golang-weekly-doc    2012.01.27-2
ii  golang-weekly-go     2012.01.27-2
ii  golang-weekly-src    2012.01.27-2
ii  golang-weekly-tools  2012.01.27-2

golang-weekly recommends no packages.

golang-weekly suggests no packages.








Ondřej Surý



To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
email Follow the discussion Replies Reply to this message
Help Create a new topicReplies Make a reply
Search Make your own search