Skip to content

Build fails for 1.1.0+0680 #3

Description

@IzzySoft

Not sure if the required build steps changed (it worked for the release in January – but neither the Readme nor the GHA have been changed since 10/2025), but…

go: downloading github.com/pion/transport/v2 v2.2.1
go: downloading gopkg.in/yaml.v2 v2.4.0
web/frps/embed.go:11:12: pattern dist: no matching files found

> Task :app:buildArm64FrpClientCore FAILED
warning: both GOPATH and GOROOT are the same directory (/home/runner/go); see https://go.dev/wiki/InstallTroubleshooting
go: downloading github.com/rodaine/table v1.2.0
go: downloading github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5
web/frpc/embed.go:11:12: pattern dist: no matching files found

FAILURE: Build completed with 6 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:npmInstServer'.
> Process 'command 'env'' finished with non-zero exit value 127

2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:npmMakeServer'.
> Process 'command 'make'' finished with non-zero exit value 2

3: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:npmInstClient'.
> Process 'command 'env'' finished with non-zero exit value 127

4: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:npmMakeClient'.
> Process 'command 'make'' finished with non-zero exit value 2

5: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:buildArm64FrpServerCore'.
> Process 'command 'env'' finished with non-zero exit value 1

6: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:buildArm64FrpClientCore'.
> Process 'command 'env'' finished with non-zero exit value 1

That crash happens in make arm64. Not sure where you built that app – but certainly not with the GHA here. Digging through the logs, I see several dependencies seem to be missing – maybe time to update the build instructions/steps?

> Task :app:npmInstServer FAILED
env: 'npm': No such file or directory

...

> Task :app:npmInstClient FAILED
env: 'npm': No such file or directory

So at least some Node stuff seems to be required. Amending the build recipe by inserting the following before make purge_sdk:

          - wget -q -O /tmp/nodejs-lts.zip -- https://nodejs.org/dist/v24.15.0/node-v24.15.0-linux-x64.tar.xz
          - sha256sum -c <<< '472655581fb851559730c48763e0c9d3bc25975c59d518003fc0849d3e4ba0f6  /tmp/nodejs-lts.zip'
          - tar xf /tmp/nodejs-lts.zip -C /opt
          - export PATH="${PATH}:/opt/node-v24.15.0-linux-x64/bin:${HOME}/.node/bin"
          - npm config set prefix "${HOME}/.node"

results in a successful build – but the resulting APK does not matching yours (which I almost expected – as it was VERY unlikely your GHA would have succeeded there): native libraries differ, most likely because the build path differs. OK, let's check the diffoscope:

Image

So you somehow embed the git status – which differs in your case and ours, and always will. So this breaks RB, effectively. Can you turn that off? Hm, something nags me there, like a deja vu – now, where did I see vcs.modified before? 🤔

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions