Opened 2 years ago

Last modified 8 months ago

#65291 new defect

go @1.17.11 Running dsymutil failed: signal: abort trap

Reported by: cave-canem Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Mavericks Cc: ci42, herbygillot (Herby Gillot), cave-canem
Port: go

Description

port outdated and go
The following installed ports are outdated:
go                             1.17.10_0 < 1.17.11_0
sudo port -vd upgrade go
...
md/vendor/golang.org/x/tools/go/analysis/passes/unusedresult
cmd/vendor/golang.org/x/tools/go/analysis/unitchecker
cmd/vet
# cmd/go
/opt/MacPorts/var/macports/build/_opt_macports-ports_lang_go/go/work/go/pkg/tool/darwin_amd64/link: /opt/MacPorts/var/macports/build/_opt_macports-ports_lang_go/go/work/go/pkg/tool/darwin_amd64/link: running dsymutil failed: signal: abort trap
Assertion failed: (!"Unknown operand"), function LinkLocation, file /SourceCache/dwarf_utilities/dwarf_utilities-119/source/DWARFdSYM.cpp, line 1707.

# cmd/trace
/opt/MacPorts/var/macports/build/_opt_macports-ports_lang_go/go/work/go/pkg/tool/darwin_amd64/link: /opt/MacPorts/var/macports/build/_opt_macports-ports_lang_go/go/work/go/pkg/tool/darwin_amd64/link: running dsymutil failed: signal: abort trap
Assertion failed: (!"Unknown operand"), function LinkLocation, file /SourceCache/dwarf_utilities/dwarf_utilities-119/source/DWARFdSYM.cpp, line 1707.

go tool dist: FAILED: /opt/MacPorts/var/macports/build/_opt_macports-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/MacPorts/lib -lMacportsLegacySupport" -v std cmd: exit status 2
rm -r /opt/MacPorts/var/macports/build/_opt_macports-ports_lang_go/go/work/go/pkg/bootstrap
rm -r /opt/MacPorts/var/macports/build/_opt_macports-ports_lang_go/go/work/go/pkg/obj/go-build
rm -rf /opt/MacPorts/var/macports/build/_opt_macports-ports_lang_go/go/work/.tmp/go-tool-dist-714944697
rm -r /opt/MacPorts/var/macports/build/_opt_macports-ports_lang_go/go/work/.tmp/go-tool-dist-714944697
Command failed:  cd "/opt/MacPorts/var/macports/build/_opt_macports-ports_lang_go/go/work/go/src" && ./make.bash -v=3
Exit code: 2
Error: Failed to build go: command execution failed
DEBUG: Error code: CHILDSTATUS 82036 2
DEBUG: Backtrace: command execution failed
    while executing
"system {*}$notty {*}$callback {*}$nice $fullcmdstring"
    invoked from within
"command_exec -callback portprogress::target_progress_callback build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"

See the detailed log in the attachment

Attachments (1)

main.log.tar.xz (21.5 KB) - added by cave-canem 2 years ago.
main.log

Download all attachments as: .zip

Change History (4)

Changed 2 years ago by cave-canem

Attachment: main.log.tar.xz added

main.log

comment:1 Changed 8 months ago by barracuda156

Still fails with 1.17.13. Maybe we need to downgrade to 1.17.10.

# cmd/trace
ld: warning: can't parse dwarf compilation unit info in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_go/go/work/.tmp/go-link-173390387/go.o
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_go/go/work/go/pkg/tool/darwin_amd64/link: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_go/go/work/go/pkg/tool/darwin_amd64/link: running dsymutil failed: signal: abort trap
Assertion failed: (!"Unknown operand"), function LinkLocation, file /SourceCache/dwarf_utilities/dwarf_utilities-87/source/DWARFdSYM.cpp, line 1619.

# cmd/vet
ld: warning: can't parse dwarf compilation unit info in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_go/go/work/.tmp/go-link-2867937511/go.o
# cmd/pprof
ld: warning: can't parse dwarf compilation unit info in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_go/go/work/.tmp/go-link-995491414/go.o
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_go/go/work/go/pkg/tool/darwin_amd64/link: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_go/go/work/go/pkg/tool/darwin_amd64/link: running dsymutil failed: signal: abort trap
Assertion failed: (!"Unknown operand"), function LinkLocation, file /SourceCache/dwarf_utilities/dwarf_utilities-87/source/DWARFdSYM.cpp, line 1619.

cmd/go/internal/get
cmd/go/internal/clean
cmd/go/internal/envcmd
cmd/go/internal/generate
cmd/go/internal/list
cmd/go/internal/modget
cmd/go/internal/run
cmd/go/internal/test
cmd/go/internal/bug
cmd/go/internal/vet
cmd/go
# cmd/go
ld: warning: can't parse dwarf compilation unit info in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_go/go/work/.tmp/go-link-1998546405/go.o
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_go/go/work/go/pkg/tool/darwin_amd64/link: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_go/go/work/go/pkg/tool/darwin_amd64/link: running dsymutil failed: signal: abort trap
Assertion failed: (!"Unknown operand"), function LinkLocation, file /SourceCache/dwarf_utilities/dwarf_utilities-87/source/DWARFdSYM.cpp, line 1619.

go tool dist: FAILED: /opt/local/var/macports/build/_opt_local_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/local/lib -lMacportsLegacySupport" -v std cmd: exit status 2

comment:2 Changed 8 months ago by barracuda156

See also: #69188

comment:3 Changed 8 months ago by barracuda156

1.17.10 already fails on 10.6.8 though.

# cmd/pprof
ld: warning: can't parse dwarf compilation unit info in /opt/local/var/macports/build/_opt_SLports_lang_go/go/work/.tmp/go-link-689173872/go.o
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/go/pkg/tool/darwin_amd64/link: /opt/local/var/macports/build/_opt_SLports_lang_go/go/work/go/pkg/tool/darwin_amd64/link: running dsymutil failed: signal: abort trap
Assertion failed: (!"Unknown operand"), function LinkLocation, file /SourceCache/dwarf_utilities/dwarf_utilities-87/source/DWARFdSYM.cpp, line 1619.

cmd/vet
# cmd/go
ld: warning: can't parse dwarf compilation unit info in /opt/local/var/macports/build/_opt_SLports_lang_go/go/work/.tmp/go-link-1016719974/go.o
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/go/pkg/tool/darwin_amd64/link: /opt/local/var/macports/build/_opt_SLports_lang_go/go/work/go/pkg/tool/darwin_amd64/link: running dsymutil failed: signal: abort trap
Assertion failed: (!"Unknown operand"), function LinkLocation, file /SourceCache/dwarf_utilities/dwarf_utilities-87/source/DWARFdSYM.cpp, line 1619.

# cmd/vet
ld: warning: can't parse dwarf compilation unit info in /opt/local/var/macports/build/_opt_SLports_lang_go/go/work/.tmp/go-link-2313827037/go.o
go tool dist: FAILED: /opt/local/var/macports/build/_opt_SLports_lang_go/go/work/go/pkg/tool/darwin_amd64/go_bootstrap install -gcflags=all= -ldflags=all="-extldflags=-Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport" -v std cmd: exit status 2
rm -r /opt/local/var/macports/build/_opt_SLports_lang_go/go/work/go/pkg/bootstrap
rm -r /opt/local/var/macports/build/_opt_SLports_lang_go/go/work/go/pkg/obj/go-build
rm -rf /opt/local/var/macports/build/_opt_SLports_lang_go/go/work/.tmp/go-tool-dist-344800490
rm -r /opt/local/var/macports/build/_opt_SLports_lang_go/go/work/.tmp/go-tool-dist-344800490
Command failed:  cd "/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/go/src" && ./make.bash -v=3 
Exit code: 2

Also #65176

Note: See TracTickets for help on using tickets.