Hello,
I was trying to build delve package for ppc64el but due to some reason its failing after test case excution. The error seems to be because there are 2 files present at the same directory. ( support_sentinel_linux.go and dump_linux.go).
From rules file:
dh_auto_build – -tags exp.linuxppc64le,exp.linuxriscv64
Below is the small snippet from the error logs:
make[1]: Leaving directory '/build/reproducible-path/delve-1.24.0'
dh_installdocs -O--buildsystem=golang
dh_installchangelogs -O--buildsystem=golang
dh_installman -O--buildsystem=golang
dh_installsystemduser -O--buildsystem=golang
dh_perl -O--buildsystem=golang
dh_link -O--buildsystem=golang
dh_strip_nondeterminism -O--buildsystem=golang
dh_compress -O--buildsystem=golang
dh_fixperms -O--buildsystem=golang
dh_missing -O--buildsystem=golang
dh_strip -a -O--buildsystem=golang
dh_makeshlibs -a -O--buildsystem=golang
dh_shlibdeps -a -O--buildsystem=golang
dh_installdeb -O--buildsystem=golang
dh_golang -O--buildsystem=golang
obj-powerpc64le-linux-gnu/src/github.com/go-delve/delve/service/debugger/debugger.go:31:2: found packages native (dump_linux.go) and your_linux_architecture_is_not_supported_by_delve (support_sentinel_linux.go) in /build/reproducible-path/delve-1.24.0/obj-powerpc64le-linux-gnu/src/github.com/go-delve/delve/pkg/proc/native
dh_golang: error: go list -f '{{ range .Deps }}{{.}}
{{ end }}' returned exit code 1
make: *** [debian/rules:10: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Can someone help me on this.