-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Update to ndk 26 #17863
Update to ndk 26 #17863
Conversation
Thanks @licy183, @Grimler91 usually tests this locally by building all packages first. Let's see what he wants to do. |
Would be nice to check some packages at least to make sure there aren't any surprises. Give me a week and I'll do some local ./build-all.sh. Thanks for working on this @licy183! |
Have built something like 100 random (well, pseudo-random, order by Will continue building the coming days. |
Seems that several packages fail to build with same type of error as noticed for libpopt, for example json-c and libtbb. Pretty easy fix though, just have to remove symbols from version scripts. Not related to ndk update, but seems several packages fail to build with golang 1.21 also, for example ipfs:
but I guess we have the Many c++ packages fail to build with new c++17 standard (and/or some other change), we have for example: gperf:
freeimage:
libzthread:
libcoinor-utils:
mimetic:
libmdbx:
Most of those looks like issues that should and probably will be fixed in the upstream projects sooner or laters. However the errors for libzthread and mimetic ( I'll continue doing some builds. |
This package was last updated in 2005, and contain really old code which is no longer used. As no termux package depends on it, and it fails to build with android ndk 26 (termux#17863), let's remove it instead of trying to maintain it for little value.
Should be fixed by #18068. |
Let's remove this package, as it's from 2005 and not used. Proposed that in #18070. |
Should be fixed by #18071 |
Should be fixed by #18072 |
Nice work there @fornwall! libsodium fails with:
|
This package was last updated in 2005, and contain really old code which is no longer used. As no termux package depends on it, and it fails to build with android ndk 26 (termux#17863), let's remove it instead of trying to maintain it for little value.
This package was last updated in 2005, and contain really old code which is no longer used. As no termux package depends on it, and it fails to build with android ndk 26 (termux/termux-packages#17863), let's remove it instead of trying to maintain it for little value.
This package was last updated in 2005, and contain really old code which is no longer used. As no termux package depends on it, and it fails to build with android ndk 26 (termux/termux-packages#17863), let's remove it instead of trying to maintain it for little value.
This package was last updated in 2005, and contain really old code which is no longer used. As no termux package depends on it, and it fails to build with android ndk 26 (termux/termux-packages#17863), let's remove it instead of trying to maintain it for little value.
I have rebased the branch against master and still get the error when running
Pushed the branch I tested with here now |
Pulling sources for every NDK-related packages will make CI failed due to |
I have a pull that massively increases the space by not using Docker, #18082, maybe you can remove the line limiting it to known large packages like rust and try applying it to this pull, just to see how it goes. I want to make that the default over time, moving Docker to being used only for a few local builds by those who prefer it. |
This fixes building on Android NDK 26, which otherwise defaults to C++ 17. See #17863
What we can also do is to put all cached files in ~/.termux-build/_cache (or some subfolder thereof), packages built from android-ndk and for example packages building from llvm's source code then only have to download it once (if built in the same go). I'll have a go at it |
This fixes building on Android NDK 26, which otherwise defaults to C++ 17. See termux/termux-packages#17863
This fixes building on Android NDK 26, which otherwise defaults to C++ 17. See termux/termux-packages#17863
This fixes building on Android NDK 26, which otherwise defaults to C++ 17. See termux/termux-packages#17863
r26b has been released: https://github.com/android/ndk/wiki/Changelog-r26#r26b |
@Grimler91, any progress with caching? I'll take over if you didn't get very far. |
I did not, please do :) |
I'm not going to touch source archives or directories, only downloaded binary packages, both ours and the Ubuntu packages we need. Feel free to add whatever source caching you want to the package download caching I add once I'm done. |
Some packages probably still have build issues (have not test built all), but the type of issues we have seen have been solvable, so I think we can go ahead and merge this. I will do so in 10 hours or so 👍 |
Will you kick off a mass rebuild after that? If so, please leave the swift and cookcli packages out, as Swift requires some patching for NDK 26. I have it mostly building, but need to clean it up and test it. |
Not planning to, I think we said last update that it shouldn't be necessary (other than for testing purposes) |
5c43a4f
to
da8a403
Compare
da8a403
to
01f0bcd
Compare
Updated to 26b and removed the extra space saving commits. Thanks! |
Closes #17429