Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

build: scripts/build-sdk-package.sh fails locally — 999-tollgate-admin-setup is staged by portal-build.sh, which the script never invokes

Open
#889 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
72/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
docker, go, linux, node.js

Research direction

Start with scripts/build-sdk-package.sh and the Makefile rule that installs 999-tollgate-admin-setup, then read packaging/portal-build.sh to confirm how it stages the file. Reproduce with SDK_TAG=x86-64 PACKAGE_FORMAT=apk and the pinned toolchains. Done when the script either builds the missing staged file safely or exits early with an actionable message; retain the existing double-build guard if adding the build step.

Written by the indexing model from the issue text.

Description

Title: build: scripts/build-sdk-package.sh fails locally — 999-tollgate-admin-setup is staged by portal-build.sh, which the script never invokes

Body:

Fresh clone at 362e5d5, SDK_TAG=x86-64 PACKAGE_FORMAT=apk on a host with docker and the
pinned toolchains: the SDK package step dies with

install: cannot stat '/builder/package/tollgate-wrt/files/etc/uci-defaults/999-tollgate-admin-setup': No such file or directory
make[2]: *** […/tollgate-wrt.installed] Error 1

The Makefile comment itself explains it: 999-tollgate-admin-setup "is staged by
packaging/portal-build.sh from the pinned portal tree" — but build-sdk-package.sh never
calls portal-build.sh, so the local one-command path is not self-contained. Running
portal-build.sh first (after satisfying its node pin — v22.17.0) fixes the build; the
candidate used for today's vlab installer validation was built exactly that way.

Ask: either invoke portal-build.sh from build-sdk-package.sh when the staged file is
missing (guarding the double-build case), or fail early with an error that names the
missing step. Also worth noting for whoever hits this next: the pinned-toolchain gates
(GO_VERSION 1.26.8, node v22.17.0) are enforced hard — the errors are correct, but a
"run this first" hint in each would have saved a cycle.

Dominant language
Go
Stars
12
Forks
14
Avg merge
1d 6h
Merged PRs (30d)
235

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from OpenTollGate/tollgate-module-basic-go

All issues in OpenTollGate/tollgate-module-basic-go

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.