Skip to content

apisix-build-tools build fail,The following error occurred #447

@XW512

Description

@XW512

The command I am executing is:
make package type=rpm app=apisix version=3.14.1 checkout=3.14.1 image_base=registry.access.redhat.com/ubi8/ubi image_tag=8.6 env_vars="RUSTUP_DIST_SERVER=https://mirrors.ustc.edu./rust-static RUSTUP_UPDATE_ROOT=https://mirrors.ustc.edu.cn/rust-static/rustup"
When it's almost finished:
Installed:
openresty-pcre-8.45-1.el8.x86_64 openresty-pcre-devel-8.45-1.el8.x86_64
openresty-zlib-1.3.1-1.el8.x86_64 openresty-zlib-devel-1.3.1-1.el8.x86_64

Complete!

  • export_openresty_variables
  • export openssl_prefix=/usr/local/openresty/openssl3
  • openssl_prefix=/usr/local/openresty/openssl3
  • export zlib_prefix=/usr/local/openresty/zlib
  • zlib_prefix=/usr/local/openresty/zlib
  • export pcre_prefix=/usr/local/openresty/pcre
  • pcre_prefix=/usr/local/openresty/pcre
  • export OR_PREFIX=/usr/local/openresty
  • OR_PREFIX=/usr/local/openresty
  • export 'cc_opt=-DNGX_LUA_ABORT_AT_PANIC -I/usr/local/openresty/zlib/include -I/usr/local/openresty/pcre/include -I/usr/local/openresty/openssl3/include'
  • cc_opt='-DNGX_LUA_ABORT_AT_PANIC -I/usr/local/openresty/zlib/include -I/usr/local/openresty/pcre/include -I/usr/local/openresty/openssl3/include'
  • export 'ld_opt=-L/usr/local/openresty/zlib/lib -L/usr/local/openresty/pcre/lib -L/usr/local/openresty/openssl3/lib -Wl,-rpath,/usr/local/openresty/zlib/lib:/usr/local/openresty/pcre/lib:/usr/local/openresty/openssl3/lib'
  • ld_opt='-L/usr/local/openresty/zlib/lib -L/usr/local/openresty/pcre/lib -L/usr/local/openresty/openssl3/lib -Wl,-rpath,/usr/local/openresty/zlib/lib:/usr/local/openresty/pcre/lib:/usr/local/openresty/openssl3/lib'
  • /tmp/build-apisix-runtime.sh
    ./build-common.sh: line 68: /tmp/build-apisix-runtime.sh: Permission denied
    The command '/bin/sh -c curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && source "$HOME/.cargo/env" && rustup install 1.69 && rustup default 1.69 && mv ./utils/build-common.sh ./utils/determine-dist.sh ./ && ./build-common.sh build_apisix_runtime_rpm && ./determine-dist.sh' returned a non-zero code: 126

I looked at the/tmp/directory and found that there is no file named build-apisix-runtime.sh. Why doesn't it have execution permission

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions