knative / knative/func

func go build error - s2i linux/amd64

Open
#3,140 4 comments 0 reactions 1 assignee View on GitHub

@lkingland is already working on this.

Since Jan 21, 2026.

needs-verification
Dominant language
Go
Stars
365
Forks
223
Avg merge
2d 3h
Merged PRs (30d)
25

Description

failing to build a golang func for linux from MacOs. Can build one fine using pack.

func deploy -b=s2i --platform linux/amd64

Building function image
tar: scripts/assemble: time stamp 2025-10-23 18:49:08.328790763 is 0.246743929 s in the future
tar: scripts: time stamp 2025-10-23 18:49:08.332190501 is 0.246330542 s in the future
tar: src/.s2i/bin: time stamp 2025-10-23 18:49:08.332190543 is 0.245955625 s in the future
tar: src/.s2i/builds/last/README.md: time stamp 2025-10-23 18:49:08.329434453 is 0.242991994 s in the future
tar: src/.s2i/builds/last/ca-certificates.crt: time stamp 2025-10-23 18:49:08.329659822 is 0.242565696 s in the future
tar: src/.s2i/builds/last/go.mod: time stamp 2025-10-23 18:49:08.33039801 is 0.243026634 s in the future
tar: src/.s2i/builds/last/go.sum: time stamp 2025-10-23 18:49:08.330622045 is 0.243159627 s in the future
tar: src/.s2i/builds/last/main.go: time stamp 2025-10-23 18:49:08.330831331 is 0.243312288 s in the future
tar: src/.s2iignore: time stamp 2025-10-23 18:49:08.330958911 is 0.24335916 s in the future
tar: src/README.md: time stamp 2025-10-23 18:49:08.331299026 is 0.243538608 s in the future
tar: src/func.yaml: time stamp 2025-10-23 18:49:08.331499271 is 0.243625353 s in the future
tar: src/go.mod: time stamp 2025-10-23 18:49:08.331702515 is 0.243737681 s in the future
tar: src/handle.go: time stamp 2025-10-23 18:49:08.331872344 is 0.243838468 s in the future
tar: src/handle_test.go: time stamp 2025-10-23 18:49:08.332046339 is 0.243894463 s in the future
tar: src/.s2i/builds/last/f: time stamp 2025-10-23 18:49:08.330184807 is 0.241711681 s in the future
tar: src/.s2i/builds/last: time stamp 2025-10-23 18:49:08.330783041 is 0.242226498 s in the future
tar: src/.s2i/builds: time stamp 2025-10-23 18:49:08.328998674 is 0.24037134 s in the future
tar: src/.s2i: time stamp 2025-10-23 18:49:08.328894885 is 0.240201009 s in the future
tar: src: time stamp 2025-10-23 18:49:08.331996507 is 0.243280589 s in the future
runtime: lfstack.push invalid packing: node=0xffff32ee3b80 cnt=0x1 packed=0xffff32ee3b800001 -> node=0xffffffff32ee3b80
fatal error: lfstack.push

full log

go-func-bulid.log

func version

v0.46.4

kn version
Version: v1.19.5

Contributor guide

Open the contributing guide

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.