/usr/share/go/src/pkg/runtime/runtime-gdb.py is not valiad python3
Bug #1283626 reported by
Geoff Teale
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
golang (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
On trusty the file /usr/share/
To reproduce this error:
$ mkdir -p ~/go/src/foo
$ cd ~/go/src/foo
$ echo -e "package main\n\nimport \"fmt\"\n\nfunc main(){\n fmt.Printf(
$ export GOPATH=~/go/src
$ go build
$ gdb foo
(gdb) source /usr/share/
The error can be trivially resolved by running the following command:
$ sudo 2to3 -w /usr/share/
Note also, if bug #1076454 is resolved then the "source.." line in gdb, used above, will happen automatically.
To post a comment you must log in.
This has been fixed upstream.