Error while executing bazel build for Kong 3.4.2

Hi everyone,

I’m trying to build the Debian package of version 3.4.2

Those are the commands I’m using:
make check-bazel
export PATH=bin:$PATH
bazel version
bazel build //build:kong --verbose_failures

While running the bazel build command, there I’m getting this error:

(16:22:50) ERROR: /home/ubuntu/.cache/bazel/_bazel_ubuntu/00779cdde7331b7609b7357bba393d55/external/luarocks/BUILD.bazel:169:8: Executing genrule @luarocks//:luarocks_target failed: (Exit 1): bash failed: error executing command (from target @luarocks//:luarocks_target)
.
.
.
Warning: Failed searching manifest: Failed downloading https://luarocks.org/manifest-5.1
Warning: Failed searching manifest: Failed downloading https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/manifest-5.1
Warning: Failed searching manifest: Failed downloading https://luafr.org/luarocks/manifest-5.1

Error: No results matching query were found for Lua 5.1.
To check if it is available for other Lua versions, use --check-lua-versions.
Target //build:kong failed to build

Could anyone please suggest to resolve this?

Could anyone please help to resolve this ?