Update to Ubuntu 26.04 - #30225
Conversation
5528627 to
86a742a
Compare
86a742a to
cbf6d59
Compare
|
I'd like to note quickly that I might have found the first error in termux-packages as a result of uutils! I will try to collect more information, verify it as occurring due to uutils, and if I'm able to meet the incompatibility report requirements for uutils, open an upstream issue before we switch back to gnu coreutils. here are some initial properties of it:
|
|
Yes, reinstalling GNU coreutils will solve the error (we can do this temporarily using Here is my report in uutils coreutils. We can place a link to this in a comment above the code in |
|
I'm just adding a note here in case it's needed that every package that has |
|
Library errors are expected for cross-tools as they are built against library versions on host that change. Thanks for pointing out |
cbf6d59 to
0a4b7e7
Compare
e3aa6d8 to
38ab523
Compare
|
I think this is ready for review. CI should be green. Only thing remaining is random testing of packages, so that there are not any other unexpected surprises. Otherwise things look good enough to be merged. Awaiting feedback |
so, uh, where is gnu coreutils and all that? |
This comment was marked as outdated.
This comment was marked as outdated.
|
For an example of another package that might need a minor change, check building |
DOCBOOK_TO_MAN environment variable is now seemed to be required Also Clang is being used instead of GCC for host builds due to a regression in GCC 15 which doesn't seem to have a fix landed in Ubuntu 26.04 yet.
cstdint needs to be #included for uint32_t. Newer GCC 15 seems to be more strict about it
Reorganize all the ubuntu packages so that it is easier to maintain in future during Ubuntu updates Also include lua-lgi patches for glib as they are needed now as Ubuntu 26.04 comes with newer glib version and we need to build against it
See previous commit made in awesome for commit logs as they both are essentially the same
packages Seems not to be needed. No idea why it was added in the first place. No comments in the commit message or the PR
Get rid of termux_download_ubuntu_packages as it does not seem to be needed now
We can look into switching back to uutils if problems which we are facing are fixed in upcoming 28.04 LTS
Ubuntu's pkg-config is now new enough, so switch to it
Also command -v lua$hostbuild_lua_version doesn't actually work, it actually tries to link against host lua binary instead of what we downloaded.
…eutils' symlinks Patch shamelessly stolen from #30225 (comment) Co-Authored-By: Robert Kirkman <[email protected]>
Workaround for:
In file included from mkbuiltins.c:46:
../bashansi.h:44:23: error: ‘bool’ cannot be defined via ‘typedef’
44 | typedef unsigned char bool;
| ^~~~
../bashansi.h:44:23: note: ‘bool’ is a keyword with ‘-std=c23’ onwards
../bashansi.h:44:1: warning: useless type name in empty declaration
44 | typedef unsigned char bool;
| ^~~~~~~
version of automake
Seems like the provided configure scripts have hardcoded automake
version, so regenerate so that builds don't fail:
cd /home/builder/.termux-build/util-linux/src && /bin/bash /home/builder/.termux-build/util-linux/src/config/missing automake-1.16 --foreign Makefile
/home/builder/.termux-build/util-linux/src/config/missing: line 81: automake-1.16: command not found
WARNING: 'automake-1.16' is missing on your system.
You should only need it if you modified 'Makefile.am' or
'configure.ac' or m4 files included by 'configure.ac'.
The 'automake' program is part of the GNU Automake package:
<https://www.gnu.org/software/automake>
It also requires GNU Autoconf, GNU m4 and Perl in order to run:
<https://www.gnu.org/software/autoconf>
<https://www.gnu.org/software/m4/>
<https://www.perl.org/>
make: *** [Makefile:7732: /home/builder/.termux-build/util-linux/src/Makefile.in] Error 127
Co-Authored-By: Robert Kirkman <[email protected]>
Co-Authored-By: Robert Kirkman <[email protected]>
8a915f4 to
5824e5e
Compare
Closes #30063
Packages that make use of
termux_download_ubuntu_packages():Packages that have cross-tools subpackage: