Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined: strings.ReplaceAll for go 1.10.x #132

Open
gururajrkatti opened this issue Nov 24, 2020 · 3 comments
Open

undefined: strings.ReplaceAll for go 1.10.x #132

gururajrkatti opened this issue Nov 24, 2020 · 3 comments
Labels

Comments

@gururajrkatti
Copy link
Contributor

I am running the build and test as a part of the Ubuntu distribution for ppc64le.
This helps us simplify testing later when distributions are re-building and re-releasing.

During the build and test, I found that build for go 1.10.x is failing. This is failing for intel (amd64) as well.

travis_install_go_dependencies 1.10.x -v is failing for github.com/alessio/shellescape with the error
"../../alessio/shellescape/shellescape.go:36:16: undefined: strings.ReplaceAll"
I think this function is deprecated and we may have to move to next version of go ?

Below is the detailed log.

github.com/alessio/shellescape
github.com/BurntSushi/toml
# github.com/alessio/shellescape
../../alessio/shellescape/shellescape.go:36:16: undefined: strings.ReplaceAll
github.com/mitchellh/go-homedir
golang.org/x/net/html/atom
golang.org/x/net/html
github.com/asciimoo/wuzz/config
github.com/fatih/color/vendor/golang.org/x/sys/unix
github.com/andybalholm/cascadia
github.com/PuerkitoBio/goquery
github.com/fatih/color/vendor/github.com/mattn/go-isatty
github.com/fatih/color/vendor/github.com/mattn/go-colorable
github.com/fatih/color
github.com/tidwall/match
github.com/nwidger/jsoncolor
github.com/tidwall/pretty
github.com/tidwall/gjson
github.com/x86kernel/htmlcolor
github.com/mattn/go-runewidth
github.com/nsf/termbox-go
github.com/asciimoo/wuzz/formatter
golang.org/x/net/internal/socks
github.com/jroimartin/gocui
golang.org/x/net/proxy
github.com/gururajrkatti/wuzz/config
github.com/gururajrkatti/wuzz/formatter
The command "eval go get -v -t ./... " failed. Retrying, 2 of 3.
github.com/alessio/shellescape
# github.com/alessio/shellescape
../../alessio/shellescape/shellescape.go:36:16: undefined: strings.ReplaceAll
The command "eval go get -v -t ./... " failed. Retrying, 3 of 3.
github.com/alessio/shellescape
# github.com/alessio/shellescape
../../alessio/shellescape/shellescape.go:36:16: undefined: strings.ReplaceAll
The command "eval go get -v -t ./... " failed 3 times.
The command "go get -v -t ./..." failed and exited with 2 during .
Your build has been stopped.

Build logs present at https://travis-ci.com/github/gururajrkatti/wuzz/jobs/445547465 for your reference.

Could you pl. check on the same.

@gururajrkatti
Copy link
Contributor Author

Hi, just wanted to check if you got a chance to look into this

@asciimoo
Copy link
Owner

This is definitely a bug. Could you submit a fix?

@asciimoo asciimoo added the bug label Jan 19, 2021
@gururajrkatti
Copy link
Contributor Author

Thanks. I submitted PR #135

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants