Skip to content

bump(main/golang): 1.26.0#28513

Merged
TomJo2000 merged 4 commits intotermux:masterfrom
luisdavim:master
Feb 19, 2026
Merged

bump(main/golang): 1.26.0#28513
TomJo2000 merged 4 commits intotermux:masterfrom
luisdavim:master

Conversation

@luisdavim
Copy link
Contributor

Bump golang to 1.26

@TomJo2000
Copy link
Member

You'll also need to update the version and SHA256 sum in the termux_setup_golang function.

local TERMUX_GO_VERSION=go1.25.6
local TERMUX_GO_SHA256=f022b6aad78e362bcba9b0b94d09ad58c5a70c6ba3b7582905fababf5fe0181a

@TomJo2000 TomJo2000 linked an issue Feb 17, 2026 that may be closed by this pull request
@luisdavim
Copy link
Contributor Author

You'll also need to update the version and SHA256 sum in the termux_setup_golang function.

local TERMUX_GO_VERSION=go1.25.6
local TERMUX_GO_SHA256=f022b6aad78e362bcba9b0b94d09ad58c5a70c6ba3b7582905fababf5fe0181a

Done, thanks

@luisdavim
Copy link
Contributor Author

Humm, the shas on those 2 files were different, is there some other process to get the sha for the second file? I just used the same one on both...

I followed the instructions from the CONTRIBUTING.md...

@TomJo2000
Copy link
Member

Yes they are different.
The one in the build.sh is the source tarball, the one in the setup function is a precompiled binary for the build host.

You should be able to get the checksum for the second one from the error message it throws for an incorrect checksum.

@robertkirkman

This comment has been minimized.

@luisdavim luisdavim force-pushed the master branch 2 times, most recently from a2a7b59 to c468970 Compare February 18, 2026 08:16
@luisdavim

This comment has been minimized.

@luisdavim
Copy link
Contributor Author

in the failed tests I see, for example that the sha for nexttrace changed, should I go and update it in this PR?

@TomJo2000
Copy link
Member

Alright looks like usql, nextrace and kubo are failing to rebuild.
On a semi-related note I'd like to take a look at improving the CI summary for the package validation workflows, it's a bit hard to read currently.

@TomJo2000
Copy link
Member

in the failed tests I see, for example that the sha for nexttrace changed, should I go and update it in this PR?

Yes that should be done in this PR and can be a separate commit for each package that needs a build fix.
We've had situations before where e.g. zrok has "retagged" a release causing the checksum to change, the same might be the case with nexttrace here.

@luisdavim
Copy link
Contributor Author

I've updated the checksum for nexttrace but I'm not quite sure what's failing on the other packages, I'll try to build them locally and see if I can get some more details that way.

@luisdavim
Copy link
Contributor Author

ok, so, the issue with usql is that it indirectly depends on github.com/cockroachdb/swiss and it's using a version that is prior to cockroachdb/swiss#50 it's a bit odd how that package works, no real changes are required to get it to work with 1.26 but it needs to be explicitly enabled....

@luisdavim
Copy link
Contributor Author

@TomJo2000 I got the package to build on my local and pushed the solution for each on a separate commit, I'm not sure if the approach I took is to hacky but it seems to work, at least I was able to reproduce the failures before and not anymore after...

Please have a look when you have some time, and let me know what you think.

Copy link
Member

@TomJo2000 TomJo2000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those packages that are getting rebuilt are gonna need revision bumps.
You can use our semi-automated revbump utility for that.
./scripts/bin/revbump usql nexttrace kubo

You can also automatically mark those changes for squashing using;
git commit --squash=<commitish>, your tab completion should be able to help you out with the hashes.
Those will then get moved into position automatically the next time you do a git rebase -i, given that the --autosquash flag is also passed, or you have set;

[rebase]
	autosquash = true

in your ~/.config/git/config (or ~/.gitconfig).

@luisdavim
Copy link
Contributor Author

I've fixed the typo, and bumped the versions and kept a commit per change, is that what you were requesting?

Copy link
Member

@TomJo2000 TomJo2000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep looks good to me.
Thank your for your contribution, I'm just gonna wait for the validation CI to finish before merge.

@TomJo2000 TomJo2000 merged commit 32ead5b into termux:master Feb 19, 2026
23 checks passed
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

Successfully merging this pull request may close these issues.

update golang to 1.26

3 participants