Skip to content

bug: Non-supported distribution, APISIX is only supported on Linux-based systems #11985

@cnz101

Description

@cnz101

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 change: added doc of how to load plugin. #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):

Metadata

Metadata

Assignees

No one assigned

    Labels

    wait for updatewait for the author's response in this issue/PR

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions