cnz101 opened a new issue, #11985:
URL: https://github.com/apache/apisix/issues/11985
### Current Behavior
> cd apisix-3.9.1
> make deps
/bin/bash: -V: invalid option
Usage: /bin/bash [GNU long option] [option] ...
/bin/bash [GNU long option] [option] script-file ...
GNU long options:
--debug
--debugger
--dump-po-strings
--dump-strings
--help
--init-file
--login
--noediting
--noprofile
--norc
--posix
--pretty-print
--rcfile
--restricted
--verbose
--version
Shell options:
-ilrsD or -c command or -O shopt_option (invocation only)
-abefhkmnptuvxBCHP or -o option
/bin/bash: -V: invalid option
Usage: /bin/bash [GNU long option] [option] ...
/bin/bash [GNU long option] [option] script-file ...
GNU long options:
--debug
--debugger
--dump-po-strings
--dump-strings
--help
--init-file
--login
--noediting
--noprofile
--norc
--posix
--pretty-print
--rcfile
--restricted
--verbose
--version
Shell options:
-ilrsD or -c command or -O shopt_option (invocation only)
-abefhkmnptuvxBCHP or -o option
./utils/install-dependencies.sh
/bin/bash: -V: invalid option
Usage: /bin/bash [GNU long option] [option] ...
/bin/bash [GNU long option] [option] script-file ...
GNU long options:
--debug
--debugger
--dump-po-strings
--dump-strings
--help
--init-file
--login
--noediting
--noprofile
--norc
--posix
--pretty-print
--rcfile
--restricted
--verbose
--version
Shell options:
-ilrsD or -c command or -O shopt_option (invocation only)
-abefhkmnptuvxBCHP or -o option
+ main
++ uname -s
++ tr '[:upper:]' '[:lower:]'
+ OS_NAME=linux
+ [[ 0 == 0 ]]
+ [[ linux == \l\i\n\u\x ]]
+ multi_distro_installation
+ grep -Eqi CentOS /etc/issue
+ grep -Eq CentOS /etc/euleros-release /etc/openEuler-release
/etc/os-release /etc/system-release
+ grep -Eqi -e 'Red Hat' -e rhel /etc/euleros-release /etc/openEuler-release
/etc/os-release /etc/system-release
+ grep -Eqi Fedora /etc/issue
+ grep -Eq Fedora /etc/euleros-release /etc/openEuler-release
/etc/os-release /etc/system-release
+ grep -Eqi Debian /etc/issue
+ grep -Eq Debian /etc/euleros-release /etc/openEuler-release
/etc/os-release /etc/system-release
+ grep -Eqi Ubuntu /etc/issue
+ grep -Eq Ubuntu /etc/euleros-release /etc/openEuler-release
/etc/os-release /etc/system-release
+ grep -Eqi Arch /etc/issue
+ grep -Eqi EndeavourOS /etc/issue
+ grep -Eq Arch /etc/euleros-release /etc/openEuler-release /etc/os-release
/etc/system-release
+ echo 'Non-supported distribution, APISIX is only supported on Linux-based
systems'
Non-supported distribution, APISIX is only supported on Linux-based systems
+ exit 1
make: *** [Makefile:230: install-runtime] Error 1
[root@074cda0239f4 apisix-3.9.1]# uname -a
Linux 074cda0239f4 5.10.0-60.18.0.50.h509.eulerosv2r11.x86_64 #1 SMP Wed Sep
21 16:12:25 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
### Expected Behavior
_No response_
### Error Logs
_No response_
### Steps to Reproduce
Followed as https://apisix.apache.org/zh/docs/apisix/3.9/building-apisix/
### Environment
- APISIX version (run `apisix version`): 3.9.1
- Operating system (run `uname -a`):
- OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
- etcd version, if relevant (run `curl
http://127.0.0.1:9090/v1/server_info`):
- APISIX Dashboard version, if relevant:
- Plugin runner version, for issues related to plugin runners:
- LuaRocks version, for installation issues (run `luarocks --version`):
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]