Latest changes to openwrt have broken quite a bit of packages. GCC 13 brought its own problems, kernel's werror enabling brought more and even recent musl update broke things.
Since list of currently failing builds seems to be quite long, I think it's better to create unified thread with list of software that fails build:
packages failing but unrelated to topic's title, just found while mapping these problems:
zile: configure.ac:89: error: expected source file, required through AC_LIBSOURCES, not found, m4 failed with exit status: 1
And then some various python packages, such as dnspython, astral, python-dbus-fast, ...
in general, everything using _cffi_backend seem to fail;
I will be updating this last while building and finding out more of these, but my current build does not attempt to build everything and some packages have been overrided by my own versions for some reasons, so some packages are excluded. Also when I started to re-build, I just removed few packages without writing up their names, so list will be incomplete. Participation to gathering list and providing fixes (or links to PR's made), would be strongly recommended if you notice something on the list :)
some patches are better than others, they are mostly there to provide a unofficial solution, but maintainers may use patches as is if they think it's sufficient.
Summary
These were results and quick-fixes while building 6060 packages; though about ~150 packages are outside official package trees.
edit: second round. I restarted my build and found out that there are even more of these issues (inotify-tools failed), so I'll do it once again. While doing this, I noticed that after initial list; musl was updated and it provides it's own problems, so I'll list them here as well.
Musl related issues are with 64 bit definitions, for example:
lstat64, stat64, dirent64 do no longer exist on 64-bit environment, they are just stat, stat and direct, and source code using these need something like
#ifndef stat64
#define stat64 stat
#endif
Latest changes to openwrt have broken quite a bit of packages. GCC 13 brought its own problems, kernel's werror enabling brought more and even recent musl update broke things.
Since list of currently failing builds seems to be quite long, I think it's better to create unified thread with list of software that fails build:
TARGET_CFLAGS += -Wno-error=dangling-pointer=#include <cstdint>in util/pcre.h patch hereTARGET_CFLAGS += -Wno-error=stringop-overflow=TARGET_CFLAGS += -Wno-error=enum-int-mismatchWIP PR ripgrep: fix compilation with musl 1.2.4 #21058rust: bump libc to 0.2.146 #21296packages failing but unrelated to topic's title, just found while mapping these problems:
zile: configure.ac:89: error: expected source file, required through AC_LIBSOURCES, not found, m4 failed with exit status: 1
And then some various python packages, such as dnspython, astral, python-dbus-fast, ...
in general, everything using _cffi_backend seem to fail;
I will be updating this last while building and finding out more of these, but my current build does not attempt to build everything and some packages have been overrided by my own versions for some reasons, so some packages are excluded. Also when I started to re-build, I just removed few packages without writing up their names, so list will be incomplete. Participation to gathering list and providing fixes (or links to PR's made), would be strongly recommended if you notice something on the list :)
some patches are better than others, they are mostly there to provide a unofficial solution, but maintainers may use patches as is if they think it's sufficient.
Summary
These were results and quick-fixes while building 6060 packages; though about ~150 packages are outside official package trees.
edit: second round. I restarted my build and found out that there are even more of these issues (inotify-tools failed), so I'll do it once again. While doing this, I noticed that after initial list; musl was updated and it provides it's own problems, so I'll list them here as well.
Musl related issues are with 64 bit definitions, for example:
lstat64, stat64, dirent64 do no longer exist on 64-bit environment, they are just stat, stat and direct, and source code using these need something like