kiss-community / community

Officially unofficial KISS community repository, mirror of https://codeberg.org/kiss-community/community
https://kisscommunity.org
MIT License
49 stars 34 forks source link

go cannot be built with busybox patch #1148

Closed jslick closed 2 years ago

jslick commented 2 years ago

Since go was updated, it seems the posix-build.patch cannot be applied using busybox patch.

-> go Starting build
patching file go-current/src/make.bash
Hunk 2 FAILED 154/154.

 export GOROOT_BOOTSTRAP=${GOROOT_BOOTSTRAP:-$HOME/go1.4}
 export GOROOT="$(cd .. && pwd)"
-IFS=$'\n'; for go_exe in $(type -ap go); do
+for go_exe in $(command -v go); do
        if [ ! -x "$GOROOT_BOOTSTRAP/bin/go" ]; then
                goroot=$(GOROOT='' GOOS='' GOARCH='' "$go_exe" env GOROOT)
                if [ "$goroot" != "$GOROOT" ]; then
patching file go1.4-bootstrap/src/make.bash

pinging package maintainer @dilyn-corner

echawk commented 2 years ago

I fixed the patch a while back https://github.com/ehawkvu/kiss-personal/blob/master/langs/go/patches/posix-build.patch