Skip to content

Kong OSS build issue #14581

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

Open
bharanitharanm opened this issue May 28, 2025 · 0 comments
Open

Kong OSS build issue #14581

bharanitharanm opened this issue May 28, 2025 · 0 comments

Comments

@bharanitharanm
Copy link

Tried builing kong OSS and getting below error,

root@fusion-dev-u24:~# cd kong-build/kong/
root@fusion-dev-u24:~/kong-build/kong# make build-venv
Starting local Bazel server and connecting to it...
(10:43:35) INFO: Current date is 2025-05-28
javax.net.ssl|DEBUG|10 38|downloads[repository @@openssl]-0|2025-05-28 10:43:37.255 UTC|null:-1|jdk.tls.keyLimits:  entry = AES/GCM/NoPadding KeyUpdate 2^37. AES/GCM/NOPADDING:KEYUPDATE = 137438953472
javax.net.ssl|DEBUG|10 38|downloads[repository @@openssl]-0|2025-05-28 10:43:37.264 UTC|null:-1|jdk.tls.keyLimits:  entry =  ChaCha20-Poly1305 KeyUpdate 2^37. CHACHA20-POLY1305:KEYUPDATE = 137438953472
(10:43:37) INFO: Repository kong_admin_gui instantiated at:
  /root/kong-build/kong/WORKSPACE:85:19: in <toplevel>
  /root/kong-build/kong/build/repositories.bzl:91:29: in build_repositories
  /root/kong-build/kong/build/repositories.bzl:53:10: in kong_github_repositories
  /root/.cache/bazel/_bazel_root/25fa0bd6e032301a1053f8158ae18f26/external/bazel_tools/tools/build_defs/repo/utils.bzl:268:18: in maybe
Repository rule github_release defined at:
  /root/kong-build/kong/build/build_system.bzl:254:33: in <toplevel>
(10:43:37) ERROR: An error occurred during the fetch of repository 'kong_admin_gui':
   Traceback (most recent call last):
        File "/root/kong-build/kong/build/build_system.bzl", line 233, column 13, in _github_release_impl
                fail("Failed to download release (%s): %s, exit: %d" % (gh_token_set, ret.stderr, ret.return_code))
Error in fail: Failed to download release (GITHUB_TOKEN is not set, is this a private repo?): To get started with GitHub CLI, please run:  gh auth login
Alternatively, populate the GH_TOKEN environment variable with a GitHub API authentication token.
, exit: 4
javax.net.ssl|DEBUG|10 38|downloads[repository @@openssl]-0|2025-05-28 10:43:37.494 UTC|null:-1|duplex close of SSLSocket
javax.net.ssl|DEBUG|10 38|downloads[repository @@openssl]-0|2025-05-28 10:43:37.495 UTC|null:-1|close the SSL connection (passive)
(10:43:37) ERROR: no such package '@@kong_admin_gui//': Failed to download release (GITHUB_TOKEN is not set, is this a private repo?): To get started with GitHub CLI, please run:  gh auth login
Alternatively, populate the GH_TOKEN environment variable with a GitHub API authentication token.
, exit: 4
(10:43:37) ERROR: /root/kong-build/kong/build/BUILD.bazel:211:13: //build:install-webui-dists depends on @@kong_admin_gui//:dist in repository @@kong_admin_gui which failed to fetch. no such package '@@kong_admin_gui//': Failed to download release (GITHUB_TOKEN is not set, is this a private repo?): To get started with GitHub CLI, please run:  gh auth login
Alternatively, populate the GH_TOKEN environment variable with a GitHub API authentication token.
, exit: 4
(10:43:37) ERROR: Analysis of target '//build:venv' failed; build aborted: Analysis failed
javax.net.ssl|DEBUG|10 E8|downloads[repository @@openresty]-0|2025-05-28 10:43:37.537 UTC|null:-1|duplex close of SSLSocket
javax.net.ssl|DEBUG|10 E8|downloads[repository @@openresty]-0|2025-05-28 10:43:37.538 UTC|null:-1|close the SSL connection (passive)
(10:43:37) INFO: Elapsed time: 2.911s, Critical Path: 0.02s
(10:43:37) INFO: 1 process: 1 internal.
(10:43:37) ERROR: Build did NOT complete successfully
(10:43:37) FAILED:
    Fetching repository @@openresty; starting
    Fetching repository @@openssl; starting
    Fetching repository @@local_jdk; starting
    Fetching repository @@lua-resty-lmdb; Cloning 9da0e9f3313960d06e2d8e718b7ac494faa500f1 of https://github.com/Kong/lua-resty-lmdb
    Fetching repository @@rules_java~~toolchains~local_jdk; starting
make: *** [Makefile:99: build-venv] Error 1
root@fusion-dev-u24:~/kong-build/kong#
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

1 participant