这是indexloc提供的服务,不要输入任何密码
Skip to content

bump(main/golang): 1.24.1 #23614

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

Merged
merged 1 commit into from
Mar 9, 2025
Merged

bump(main/golang): 1.24.1 #23614

merged 1 commit into from
Mar 9, 2025

Conversation

twaik
Copy link
Member

@twaik twaik commented Mar 5, 2025

I did a full rebuild of all packages for all archs and almost everything is rebuilt fine.
I did ./build-package.sh -I -f -a all ${PACKAGES} with this list.
There are only two problematic packages:

  1. mediamtx. Fail is not related to update. [Bug]: mediamtx can not be built for all architectures #23613
  2. step-cli. The error does not appear on 1.24.0.
$ ./scripts/run-docker.sh ./build-package.sh -I -a all step-cli mediamtx -s
Running container 'termux-package-builder' from image 'ghcr.io/termux/package-builder'...
step-cli@0.28.4 built - skipping (rm /data/data/.built-packages/step-cli to force rebuild)
termux - building step-cli for arch arm...
go.step.sm/crypto/internal/utils
# go.step.sm/crypto/internal/utils
../../../go/pkg/mod/go.step.sm/crypto@v0.59.0/internal/utils/convert.go:33:18: cannot convert math.MaxUint32 (untyped int constant 4294967295) to type T

For some reason I can not find the source it is referring to which is weird.

@twaik twaik force-pushed the golang-1.24.1 branch 4 times, most recently from c46b513 to 9e75a2f Compare March 6, 2025 07:52
@twaik
Copy link
Member Author

twaik commented Mar 6, 2025

Closes #23613.
Thanks @robertkirkman

@twaik twaik linked an issue Mar 6, 2025 that may be closed by this pull request
@twaik
Copy link
Member Author

twaik commented Mar 6, 2025

Seems like now everything is fine. I will merge this in 12 hours if nobody minds.

@robertkirkman
Copy link
Contributor

I have a question about whether another change can be added here,

Do you think it would be ok to do this?

--- a/packages/golang/build.sh
+++ b/packages/golang/build.sh
@@ -51,8 +51,6 @@ termux_step_make_install() {
 	cp pkg/include/* $TERMUX_GODIR/pkg/include/
 	cp -Rf lib/* $TERMUX_GODIR/lib
 	cp -Rf misc/ $TERMUX_GODIR/
-}
-
-termux_step_post_massage() {
-	find . -path '*/testdata*' -delete
+	# testdata directories are not needed on the installed system
+	find $TERMUX_GODIR/src -path '*/testdata*' -delete
 }

@twaik
Copy link
Member Author

twaik commented Mar 6, 2025

Seems to be fine. I will add this a bit later.

Copy link
Member

@licy183 licy183 left a comment

Choose a reason for hiding this comment

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

LGTM

@twaik twaik merged commit 50aa477 into master Mar 9, 2025
11 checks passed
@twaik twaik deleted the golang-1.24.1 branch March 9, 2025 05:17
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.

[Bug]: mediamtx can not be built for all architectures
3 participants