Skip to content

Bump version fmt#29635

Open
LukeGTH wants to merge 11 commits into
termux:masterfrom
LukeGTH:master
Open

Bump version fmt#29635
LukeGTH wants to merge 11 commits into
termux:masterfrom
LukeGTH:master

Conversation

@LukeGTH
Copy link
Copy Markdown

@LukeGTH LukeGTH commented May 1, 2026

Update version of fmt to 12.1.0

@TomJo2000
Copy link
Copy Markdown
Member

You'll need to rebuild the packages depending on fmt since the SO version has changed you can use the revbump utility script to increment the revisions on all of them.

./scripts/bin/revbump --dependencies fmt

@LukeGTH
Copy link
Copy Markdown
Author

LukeGTH commented May 1, 2026

Interesting, aapt broked

@TomJo2000
Copy link
Copy Markdown
Member

That can happen sometimes with newer versions.
The SO version is only (supposed to be) changed when there's an ABI breaking change.
Perhaps aapt isn't compatible with the ABI changes in the new fmt version.

@LukeGTH
Copy link
Copy Markdown
Author

LukeGTH commented May 1, 2026

Since there's a major incompatibility, are you going to release a patch or continue with the legacy fmt?

@TomJo2000
Copy link
Copy Markdown
Member

You can try to find a patch for aapt, if we can't come up with one we'll need to wait on upstream to make it compatible with fmt >= 12 before we can update fmt.

@LukeGTH
Copy link
Copy Markdown
Author

LukeGTH commented May 1, 2026

I am going to try

@LukeGTH
Copy link
Copy Markdown
Author

LukeGTH commented May 1, 2026

I have a plan, i have Crux Linux, is rolling release, and the ports is easy to modify, the patchs seem like termux.

Edit: Crux Linux is not Android, don't have aapt....

@TomJo2000
Copy link
Copy Markdown
Member

I don't think Crux has a package for aapt.
But adapting patches from other distros is common practice.
I think we usually adapt Arch's, but any distro is fine for that purpose.
Arch just has a very neatly laid out build system and packaging infrastructure which makes it easy to adapt their builds.
They also have clear and permissive licensing for their builds and patches under a 0-Clause BSD license which lets them be used for pretty much any purpose and in any way that they may be applicable.

@LukeGTH
Copy link
Copy Markdown
Author

LukeGTH commented May 1, 2026

It really doesn't have it, I had forgotten

@TomJo2000
Copy link
Copy Markdown
Member

There is a Nix package for aapt but that seems to be substantially different from ours.
Also it's Nix, and their build system is cryptic at best when it comes to adapting builds from it.
https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/by-name/aa/aapt/package.nix

@LukeGTH
Copy link
Copy Markdown
Author

LukeGTH commented May 1, 2026

Arch Linux only have 2 patchs, the last from 1 year old, reference to protobuf

@TomJo2000
Copy link
Copy Markdown
Member

We wouldn't be patching fmt anyway.
fmt 12.1.0 builds.
But aapt doesn't build against it.

@LukeGTH
Copy link
Copy Markdown
Author

LukeGTH commented May 1, 2026

So, I searched the repositories for Arch, Gentoo, Void, and Alpine Edge, and found nothing. I think it's because the Android tools in Termux uses CMake. This fork is tiny, other Linux uses other versions or the original one, example: Void use the original, version 37. The termux version of android-tools is: android-tools-nmeum

@robertkirkman
Copy link
Copy Markdown
Member

Interesting, aapt broked

to build aapt in GitHub Actions, you need to apply at least some changes from one of these PRs, whichever fix your error:

i will continue reviewing them and also improving updates for aapt in the future i am just also doing a lot of other things

@LukeGTH
Copy link
Copy Markdown
Author

LukeGTH commented May 2, 2026

Okay, I liked the build tools bump PR, I'll try to implement it

@LukeGTH
Copy link
Copy Markdown
Author

LukeGTH commented May 2, 2026

I pressed the wrong button, my phone froze

@LukeGTH
Copy link
Copy Markdown
Author

LukeGTH commented May 2, 2026

I had to make several commits because I'm still learning how to use Git properly, but aside from that, theoretically it should work

@LukeGTH
Copy link
Copy Markdown
Author

LukeGTH commented May 2, 2026

Im good to sleep now, bye

@LukeGTH
Copy link
Copy Markdown
Author

LukeGTH commented May 2, 2026

Tbb is better in build depends or depends?

@TomJo2000
Copy link
Copy Markdown
Member

That depends on if it's only needed at compile time or also at runtime.

Comment thread packages/aapt/build.sh Outdated
bighead9971-ux

This comment was marked as spam.

@LukeGTH
Copy link
Copy Markdown
Author

LukeGTH commented May 4, 2026

One more time?

@TomJo2000
Copy link
Copy Markdown
Member

One more time?

No just increasing the revision once is enough.
I assume the comment above is spam.

@LukeGTH
Copy link
Copy Markdown
Author

LukeGTH commented May 11, 2026

Guys, I uninstalled Termux, I'm going to focus on other things in life. If you want to try continuing the bump, feel free, byebye.

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.

5 participants