Opened 3 years ago
Last modified 2 weeks ago
#65176 assigned defect
go fails to upgrade to @1.17.10 for x86_64 on 10.6.8
Reported by: | barracuda156 | Owned by: | herbygillot (Herby Gillot) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.2 |
Keywords: | x86_64 snowleopard | Cc: | mascguy (Christopher Nielsen), catap (Kirill A. Korinsky), macportsraf, suhailskhan (Suhail Khan) |
Port: | go |
Description
:info:build # cmd/vet :info:build ld: warning: can't parse dwarf compilation unit info in /opt/x86_64/var/macports/build/_opt_x86_64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_go/go/work/.tmp/go-link-1557929151/go.o :info:build go tool dist: FAILED: /opt/x86_64/var/macports/build/_opt_x86_64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_go/go/work/go/pkg/tool/darwin_amd64/go_bootstrap install -gcflags=all= -ldflags=all="-extldflags=-Wl,-headerpad_max_install_names -L/opt/x86_64/lib -lMacportsLegacySupport" -v std cmd: exit status 2 :info:build rm -r /opt/x86_64/var/macports/build/_opt_x86_64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_go/go/work/go/pkg/bootstrap :info:build rm -r /opt/x86_64/var/macports/build/_opt_x86_64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_go/go/work/go/pkg/obj/go-build :info:build rm -rf /opt/x86_64/var/macports/build/_opt_x86_64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_go/go/work/.tmp/go-tool-dist-190051773 :info:build rm -r /opt/x86_64/var/macports/build/_opt_x86_64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_go/go/work/.tmp/go-tool-dist-190051773 :info:build Command failed: cd "/opt/x86_64/var/macports/build/_opt_x86_64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_go/go/work/go/src" && ./make.bash -v=3 :info:build Exit code: 2 :error:build Failed to build go: command execution failed :debug:build Error code: CHILDSTATUS 53104 2 :debug:build Backtrace: command execution failed :debug:build while executing :debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring" :debug:build invoked from within :debug:build "command_exec -callback portprogress::target_progress_callback build" :debug:build (procedure "portbuild::build_main" line 8) :debug:build invoked from within :debug:build "$procedure $targetname"
Attachments (1)
Change History (10)
Changed 3 years ago by barracuda156
comment:1 Changed 3 years ago by barracuda156
comment:2 Changed 2 years ago by mascguy (Christopher Nielsen)
Cc: | mascguy added |
---|
comment:3 follow-up: 7 Changed 2 years ago by mascguy (Christopher Nielsen)
Cc: | catap added |
---|---|
Keywords: | x86_64, snowleopard → x86_64 snowleopard |
Given what folks have been able to accomplish with our other toolchain components - particularly rust
, for example - is this not fixable...?
comment:4 follow-up: 6 Changed 2 years ago by catap (Kirill A. Korinsky)
Christopher it does.
I do have unfinished work, but lack of time blocking me :)
comment:5 Changed 2 years ago by mascguy (Christopher Nielsen)
Cc: | macportsraf added |
---|
@macportsraf, this ticket supersedes issue:52506
comment:6 follow-up: 8 Changed 2 years ago by mascguy (Christopher Nielsen)
Replying to catap:
Christopher it does.
I do have unfinished work, but lack of time blocking me :)
No worries Kirill. And glad to hear that a fix is on the horizon!
comment:7 Changed 2 years ago by barracuda156
Replying to mascguy:
Given what folks have been able to accomplish with our other toolchain components - particularly
rust
, for example - is this not fixable...?
Do you know by chance if anyone tried fixing Go-1.4 for PPC? It is supposed to be bootstrappable from C sources, but in fact source code lacks necessary components (adding arch definitions isn’t enough). Should be still feasible, just time-consuming. Then, 1.9 has ppc32 support in one of its forks, I believe, but to build that we need some functional Go already.
comment:8 Changed 8 months ago by barracuda156
Replying to mascguy:
Replying to catap:
Christopher it does.
I do have unfinished work, but lack of time blocking me :)
No worries Kirill. And glad to hear that a fix is on the horizon!
I think something got broken elsewhere on Intel in Macports. I cannot build 1.17.9 now on 10.6.8 x86_64, while it worked before.
Either compiler choice changed or cctools, or ld64 (or legacysupport, possibly?). It is not Go as such.
UPD. Or the procedure. I tried to build 1.17.9 now from the current portfile (replacing version). Let me try to revert to the old one. UPD2. Well, it is not that trivial to revert anything, since even distfiles for cctools and ld64 are gone. And there were changes to PGs used.
It could be a solution to turn off debug symbols in Go for failing systems, like it is done for iOS. Perhaps.
comment:9 Changed 2 weeks ago by suhailskhan (Suhail Khan)
Cc: | suhailskhan added |
---|
The previous version built just fine: