[Bug 735288] New: go: make: /usr/lib/go/bin/8g: Command not found
https://bugzilla.novell.com/show_bug.cgi?id=735288 https://bugzilla.novell.com/show_bug.cgi?id=735288#c0 Summary: go: make: /usr/lib/go/bin/8g: Command not found Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Development AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dmacvicar@suse.com QAContact: qa@suse.de Found By: --- Blocker: --- go package installs binaries in %{_bindir} instead of $GOROOT/bin But if you use gomake, this looks for the compiler in GOBIN=$GOROOT/bin (as defined in Make.inc) resulting in a make: /usr/lib/go/bin/8g: Command not found -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=735288
https://bugzilla.novell.com/show_bug.cgi?id=735288#c1
Duncan Mac-Vicar
https://bugzilla.novell.com/show_bug.cgi?id=735288
https://bugzilla.novell.com/show_bug.cgi?id=735288#c2
--- Comment #2 from Duncan Mac-Vicar
https://bugzilla.novell.com/show_bug.cgi?id=735288
https://bugzilla.novell.com/show_bug.cgi?id=735288#c3
Duncan Mac-Vicar
https://bugzilla.novell.com/show_bug.cgi?id=735288
https://bugzilla.novell.com/show_bug.cgi?id=735288#c4
--- Comment #4 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=735288
https://bugzilla.novell.com/show_bug.cgi?id=735288#c
Duncan Mac-Vicar
https://bugzilla.novell.com/show_bug.cgi?id=735288
https://bugzilla.novell.com/show_bug.cgi?id=735288#c5
--- Comment #5 from Sascha Peilicke
Actually it is very bad that devel:languages:go go package is tracking something newer than the 60.x release as until Go1 it will be a moving target and no package will ever build. Very basic stuff like os.Error was changed. Yep, currently a lot in d:l:g is broken. Until now, this was the case for almost every Go update we made.
If users want to contribute packages, they will have a hard time building them against a moving target. I recommend to keep devel:languages:go with r60.x until Go1 is released. Graham and me are still able to port stuff that got broke in the meantime, so
But waiting for upstream packages to adjust wont happen. Some upstream packages aren't developed any further, others immediately catch the most recent changes from Go. Thus we're fixing them one by one and submit stuff upstream. there's no real issue here yet. Go is a moving target and will be even after Go1, such is Factory. Thus, I submitted a whole bunch of Go packages to 12.1 in order to have a stable version. I agree, once Go1 is there, we may want to change that. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=735288
https://bugzilla.novell.com/show_bug.cgi?id=735288#c6
--- Comment #6 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=735288
https://bugzilla.novell.com/show_bug.cgi?id=735288#c7
--- Comment #7 from Duncan Mac-Vicar
Graham and me are still able to port stuff that got broke in the meantime, so there's no real issue here yet. Go is a moving target and will be even after Go1, such is Factory. Thus, I submitted a whole bunch of Go packages to 12.1 in order to have a stable version. I agree, once Go1 is there, we may want to change that.
One way to minimize the effort is to simply to run gofix ./ in the %prep or %build section. If you update the compiler and a library is not yet updated, it will be fixed automatically. This could be even standard in the %go_make_install macro. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=735288
https://bugzilla.novell.com/show_bug.cgi?id=735288#c8
--- Comment #8 from Sascha Peilicke
(In reply to comment #5) One way to minimize the effort is to simply to run
gofix ./
in the %prep or %build section. If you update the compiler and a library is not yet updated, it will be fixed automatically. You haven't used it yet, I guess? I agree with you, it used to catch most cases but wasn't updated much recently, even the boldest moves (like the mentioned os.Error or template pkg) aren't taken care of. Nope, porting remains a manual task.
This could be even standard in the %go_make_install macro. Won't help, see above.
Anyways, waiting for Go1 is not an option, but waiting for the next major release (like r60.4) and not updating to weekly releases (happened only once in a while anyways) may be worth giving a try. How does that sound to you? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=735288
https://bugzilla.novell.com/show_bug.cgi?id=735288#c9
--- Comment #9 from Duncan Mac-Vicar
You haven't used it yet, I guess? I agree with you, it used to catch most cases
Yes I used it.
but wasn't updated much recently, even the boldest moves (like the mentioned os.Error or template pkg) aren't taken care of. Nope, porting remains a manual task.
Not true /usr/share/go/src/cmd/gofix/error.go /usr/share/go/src/cmd/gofix/template.go For me the only stuff it did not handle correctly was deprecating container/vector and something related to FileWalker.
This could be even standard in the %go_make_install macro. Won't help, see above.
Anyways, waiting for Go1 is not an option, but waiting for the next major release (like r60.4) and not updating to weekly releases (happened only once in a while anyways) may be worth giving a try. How does that sound to you?
For the few packages I am adding to my home project, most of them are not working with weekly. I am adding a gofix ./, and if they work with weekly then, I will submit to d:l:g. I don't expect to package anything that does not build with weekly doing the port myself anyways. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=735288
https://bugzilla.novell.com/show_bug.cgi?id=735288#c10
Benjamin Brunner
https://bugzilla.novell.com/show_bug.cgi?id=735288
https://bugzilla.novell.com/show_bug.cgi?id=735288#c11
Duncan Mac-Vicar
https://bugzilla.novell.com/show_bug.cgi?id=735288
https://bugzilla.novell.com/show_bug.cgi?id=735288#c12
Benjamin Brunner
http://bugzilla.novell.com/show_bug.cgi?id=735288
SMASH SMASH
participants (1)
-
bugzilla_noreply@novell.com