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

make fail on FreeBSD #1881

Closed
4 tasks
mdyring opened this issue Jul 30, 2018 · 3 comments
Closed
4 tasks

make fail on FreeBSD #1881

mdyring opened this issue Jul 30, 2018 · 3 comments

Comments

@mdyring
Copy link

mdyring commented Jul 30, 2018

Summary of Bug

The instructions to install does not work for FreeBSD.

Can be trivially worked worked around by installing and using gmake, so perhaps just updating instructions is enough.

Steps to Reproduce

# make get_vendor_deps
make: "/opt/gopath/src/github.com/cosmos/cosmos-sdk/Makefile" line 19: Missing dependency operator
make: "/opt/gopath/src/github.com/cosmos/cosmos-sdk/Makefile" line 20: Need an operator
make: "/opt/gopath/src/github.com/cosmos/cosmos-sdk/Makefile" line 21: Need an operator
make: "/opt/gopath/src/github.com/cosmos/cosmos-sdk/Makefile" line 22: Need an operator
make: "/opt/gopath/src/github.com/cosmos/cosmos-sdk/Makefile" line 23: Need an operator
make: "/opt/gopath/src/github.com/cosmos/cosmos-sdk/Makefile" line 26: Need an operator
make: "/opt/gopath/src/github.com/cosmos/cosmos-sdk/Makefile" line 29: Missing dependency operator
make: "/opt/gopath/src/github.com/cosmos/cosmos-sdk/Makefile" line 32: Need an operator
make: "/opt/gopath/src/github.com/cosmos/cosmos-sdk/Makefile" line 35: Need an operator
make: "/opt/gopath/src/github.com/cosmos/cosmos-sdk/Makefile" line 41: Missing dependency operator
make: "/opt/gopath/src/github.com/cosmos/cosmos-sdk/Makefile" line 42: warning: duplicate script for target "ifeq" ignored
make: "/opt/gopath/src/github.com/cosmos/cosmos-sdk/Makefile" line 31: warning: using previous script for "ifeq" defined here
make: "/opt/gopath/src/github.com/cosmos/cosmos-sdk/Makefile" line 42: warning: duplicate script for target "(,Windows_NT)" ignored
make: "/opt/gopath/src/github.com/cosmos/cosmos-sdk/Makefile" line 31: warning: using previous script for "(,Windows_NT)" defined here
make: "/opt/gopath/src/github.com/cosmos/cosmos-sdk/Makefile" line 43: warning: duplicate script for target "ifeq" ignored
make: "/opt/gopath/src/github.com/cosmos/cosmos-sdk/Makefile" line 31: warning: using previous script for "ifeq" defined here
make: "/opt/gopath/src/github.com/cosmos/cosmos-sdk/Makefile" line 43: warning: duplicate script for target "(,Windows_NT)" ignored
make: "/opt/gopath/src/github.com/cosmos/cosmos-sdk/Makefile" line 31: warning: using previous script for "(,Windows_NT)" defined here
make: "/opt/gopath/src/github.com/cosmos/cosmos-sdk/Makefile" line 44: warning: duplicate script for target "ifeq" ignored
make: "/opt/gopath/src/github.com/cosmos/cosmos-sdk/Makefile" line 31: warning: using previous script for "ifeq" defined here
make: "/opt/gopath/src/github.com/cosmos/cosmos-sdk/Makefile" line 44: warning: duplicate script for target "(,Windows_NT)" ignored
make: "/opt/gopath/src/github.com/cosmos/cosmos-sdk/Makefile" line 31: warning: using previous script for "(,Windows_NT)" defined here
make: "/opt/gopath/src/github.com/cosmos/cosmos-sdk/Makefile" line 45: warning: duplicate script for target "ifeq" ignored
make: "/opt/gopath/src/github.com/cosmos/cosmos-sdk/Makefile" line 31: warning: using previous script for "ifeq" defined here
make: "/opt/gopath/src/github.com/cosmos/cosmos-sdk/Makefile" line 45: warning: duplicate script for target "(,Windows_NT)" ignored
make: "/opt/gopath/src/github.com/cosmos/cosmos-sdk/Makefile" line 31: warning: using previous script for "(,Windows_NT)" defined here
make: "/opt/gopath/src/github.com/cosmos/cosmos-sdk/Makefile" line 46: Need an operator
make: "/opt/gopath/src/github.com/cosmos/cosmos-sdk/Makefile" line 51: Need an operator
make: Fatal errors encountered -- cannot continue
make: stopped in /opt/gopath/src/github.com/cosmos/cosmos-sdk
# uname -a
FreeBSD freebsd 11.2-RELEASE FreeBSD 11.2-RELEASE #0 r335510: Fri Jun 22 04:32:14 UTC 2018     [email protected]:/usr/obj/usr/src/sys/GENERIC  amd64

For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
@alexanderbez
Copy link
Contributor

What version of make are you using? Some initial digging around suggests that on FreeBSD, this was resolved by using gmake.

@ValarDragon
Copy link
Contributor

Our free bsd install script uses gmake. Why not just use that for now?

@mdyring
Copy link
Author

mdyring commented Jul 30, 2018

Hi guys, I already mentioned the gmake option in the initial post.

Ideally the guide should be updated to reflect this, but I will re-open in a more suitable place. :-)

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

No branches or pull requests

3 participants