qtbase: fix ifreq incomplete type on Redox — provide forward decl, skip SIOCGIFMTU MTU query

This commit is contained in:
2026-07-10 03:35:00 +03:00
parent ce37346d67
commit ddbd2f7123
15 changed files with 1064 additions and 353 deletions
+850
View File
@@ -0,0 +1,850 @@
DEBUG: using cached build, not checking source
cook relibc - cached
DEBUG: using cached build, not checking source
cook libffi - cached
DEBUG: using cached build, not checking source
cook expat - cached
DEBUG: using cached build, not checking source
cook pcre2 - cached
DEBUG: using cached build, not checking source
cook zlib - cached
DEBUG: using cached build, not checking source
cook wayland-protocols - cached
DEBUG: using cached build, not checking source
cook xz - cached
DEBUG: using cached build, not checking source
cook libiconv - cached
DEBUG: using cached build, not checking source
cook liborbital - cached
DEBUG: using cached build, not checking source
cook libpciaccess - cached
DEBUG: using cached build, not checking source
cook redox-driver-sys - cached
DEBUG: using cached build, not checking source
cook zstd - cached
DEBUG: using cached build, not checking source
cook dbus - cached
DEBUG: using cached build, not checking source
cook libxml2 - cached
DEBUG: force rebuild requested
+ export PATH=/mnt/data/Builds/RedBear-OS/bin:/home/kellito/.redoxer/x86_64-unknown-redox/toolchain/bin:/home/kellito/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/android-sdk/cmdline-tools/latest/bin:/opt/android-sdk/platform-tools:/opt/android-sdk/tools:/opt/android-sdk/tools/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin
+ PATH=/mnt/data/Builds/RedBear-OS/bin:/home/kellito/.redoxer/x86_64-unknown-redox/toolchain/bin:/home/kellito/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/android-sdk/cmdline-tools/latest/bin:/opt/android-sdk/platform-tools:/opt/android-sdk/tools:/opt/android-sdk/tools/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin
+ '[' '!' -z '' ']'
+ REDOXER_TOOLCHAIN=/home/kellito/.redoxer/x86_64-unknown-redox/toolchain
+ '[' -d /home/kellito/.redoxer/x86_64-unknown-redox/toolchain/bin ']'
+ export PATH=/home/kellito/.redoxer/x86_64-unknown-redox/toolchain/bin:/mnt/data/Builds/RedBear-OS/bin:/home/kellito/.redoxer/x86_64-unknown-redox/toolchain/bin:/home/kellito/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/android-sdk/cmdline-tools/latest/bin:/opt/android-sdk/platform-tools:/opt/android-sdk/tools:/opt/android-sdk/tools/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin
+ PATH=/home/kellito/.redoxer/x86_64-unknown-redox/toolchain/bin:/mnt/data/Builds/RedBear-OS/bin:/home/kellito/.redoxer/x86_64-unknown-redox/toolchain/bin:/home/kellito/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/android-sdk/cmdline-tools/latest/bin:/opt/android-sdk/platform-tools:/opt/android-sdk/tools:/opt/android-sdk/tools/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin
+ export CARGO_TARGET_DIR=/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/build/target
+ CARGO_TARGET_DIR=/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/build/target
+ export CPPFLAGS=-I/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/sysroot/include
+ CPPFLAGS=-I/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/sysroot/include
+ USER_LDFLAGS=
+ export 'LDFLAGS=-L/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/sysroot/lib --static'
+ LDFLAGS='-L/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/sysroot/lib --static'
+ REDBEAR_PREFIX_SYSROOT=/mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot
+ '[' -d /mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot/x86_64-unknown-redox/lib ']'
+ export 'LDFLAGS=-L/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/sysroot/lib --static -L/mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot/x86_64-unknown-redox/lib'
+ LDFLAGS='-L/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/sysroot/lib --static -L/mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot/x86_64-unknown-redox/lib'
+ '[' x86_64-unknown-redox '!=' x86_64-unknown-linux-gnu ']'
+ export PKG_CONFIG_ALLOW_CROSS=1
+ PKG_CONFIG_ALLOW_CROSS=1
+ export PKG_CONFIG_PATH=
+ PKG_CONFIG_PATH=
+ export PKG_CONFIG_LIBDIR=/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/sysroot/lib/pkgconfig
+ PKG_CONFIG_LIBDIR=/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/sysroot/lib/pkgconfig
+ export PKG_CONFIG_SYSROOT_DIR=/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/sysroot
+ PKG_CONFIG_SYSROOT_DIR=/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/sysroot
+ build_type=release
+ install_flags=--no-track
+ build_flags=--release
+ '[' '!' -z '' ']'
+ '[' '!' -z '' ']'
+ reexport_flags
+ target=x86_64_unknown_redox
+ export CFLAGS_x86_64_unknown_redox=-I/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/sysroot/include
+ CFLAGS_x86_64_unknown_redox=-I/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/sysroot/include
+ export CXXFLAGS_x86_64_unknown_redox=-I/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/sysroot/include
+ CXXFLAGS_x86_64_unknown_redox=-I/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/sysroot/include
+ export 'LDFLAGS_x86_64_unknown_redox=-L/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/sysroot/lib --static -L/mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot/x86_64-unknown-redox/lib'
+ LDFLAGS_x86_64_unknown_redox='-L/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/sysroot/lib --static -L/mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot/x86_64-unknown-redox/lib'
+ COOKBOOK_CARGO=/mnt/data/Builds/RedBear-OS/target/release/cookbook_redbear_redoxer
+ COOKBOOK_CARGO_FLAGS=(--locked)
+ COOKBOOK_CONFIGURE=/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/configure
+ COOKBOOK_CONFIGURE_FLAGS=(--host="${GNU_TARGET}" --prefix="/usr" --disable-shared --enable-static)
+ COOKBOOK_MAKE=make
+ COOKBOOK_CMAKE=cmake
+ COOKBOOK_NINJA=ninja
+ COOKBOOK_CMAKE_FLAGS=(-DBUILD_SHARED_LIBS=False -DENABLE_SHARED=False -DENABLE_STATIC=True)
+ COOKBOOK_MESON=meson
+ COOKBOOK_MESON_FLAGS=(--buildtype release --wrap-mode nofallback -Ddefault_library=static -Dprefix=/usr)
+ COOKBOOK_AUTORECONF=autoreconf
+ COOKBOOK_CONFIGURE_FLAGS=(--host="${GNU_TARGET}" --prefix="/usr" --disable-shared --enable-static --with-included-gettext --disable-libasprintf --disable-csharp --disable-java)
+ export CXX=false
+ CXX=false
+ export 'CFLAGS+= -fPIC'
+ CFLAGS+=' -fPIC'
+ COOKBOOK_CONFIGURE_FLAGS+=(ac_cv_have_decl_program_invocation_name=no ac_cv_func_malloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes gt_cv_locale_fr=false gt_cv_locale_fr_utf8=false gt_cv_locale_ja=false gt_cv_locale_tr_utf8=false gt_cv_locale_zh_CN=false)
+ cookbook_configure
+ /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/configure --host=x86_64-unknown-redox --prefix=/usr --disable-shared --enable-static --with-included-gettext --disable-libasprintf --disable-csharp --disable-java ac_cv_have_decl_program_invocation_name=no ac_cv_func_malloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes gt_cv_locale_fr=false gt_cv_locale_fr_utf8=false gt_cv_locale_ja=false gt_cv_locale_tr_utf8=false gt_cv_locale_zh_CN=false
/home/kellito/.redoxer/x86_64-unknown-redox/toolchain/bin/../lib/gcc/x86_64-unknown-redox/13.2.0/../../../../x86_64-unknown-redox/bin/ar terminated with signal 13 [Broken pipe]
/home/kellito/.redoxer/x86_64-unknown-redox/toolchain/bin/../lib/gcc/x86_64-unknown-redox/13.2.0/../../../../x86_64-unknown-redox/bin/ar terminated with signal 13 [Broken pipe]
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-runtime/intl/configure: line 20421: test: =: unary operator expected
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-runtime/intl/configure: line 20467: test: =: unary operator expected
/home/kellito/.redoxer/x86_64-unknown-redox/toolchain/bin/../lib/gcc/x86_64-unknown-redox/13.2.0/../../../../x86_64-unknown-redox/bin/ar terminated with signal 13 [Broken pipe]
/home/kellito/.redoxer/x86_64-unknown-redox/toolchain/bin/../lib/gcc/x86_64-unknown-redox/13.2.0/../../../../x86_64-unknown-redox/bin/ar terminated with signal 13 [Broken pipe]
configure: WARNING: libacl development library was not found or not usable.
configure: WARNING: gettext-tools will be built without ACL support.
configure: WARNING: libattr development library was not found or not usable.
configure: WARNING: gettext-tools will be built without xattr support.
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/configure: line 109205: test: =: unary operator expected
+ make -j 16
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-runtime/intl/gnulib-lib/free.c: In function '_libintl_free':
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-runtime/intl/gnulib-lib/free.c:44:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration]
44 | free (p);
| ^~~~
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-runtime/intl/gnulib-lib/free.c:29:1: note: include '<stdlib.h>' or provide a declaration of 'free'
28 | # include <errno.h>
+++ |+#include <stdlib.h>
29 |
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-runtime/intl/gnulib-lib/free.c:44:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch]
44 | free (p);
| ^~~~
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-runtime/intl/gnulib-lib/free.c:44:3: note: include '<stdlib.h>' or provide a declaration of 'free'
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-runtime/intl/gnulib-lib/printf-args.c: In function '_libintl_printf_fetchargs':
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-runtime/intl/gnulib-lib/printf-args.c:129:31: warning: 'gl_int_fast8_t' {aka 'signed char'} is promoted to 'int' when passed through '...'
129 | ap->a.a_int_fast8_t = va_arg (args, int_fast8_t);
| ^~~~~~
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-runtime/intl/gnulib-lib/printf-args.c:129:31: note: (so you should pass 'int' not 'gl_int_fast8_t' {aka 'signed char'} to 'va_arg')
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-runtime/intl/gnulib-lib/printf-args.c:129:31: note: if this code is reached, the program will abort
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-runtime/intl/gnulib-lib/printf-args.c:136:32: warning: 'gl_uint_fast8_t' {aka 'unsigned char'} is promoted to 'int' when passed through '...'
136 | ap->a.a_uint_fast8_t = va_arg (args, uint_fast8_t);
| ^~~~~~
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-runtime/intl/gnulib-lib/printf-args.c:136:32: note: if this code is reached, the program will abort
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-runtime/gnulib-lib/fcntl.c: In function 'rpl_fcntl':
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-runtime/gnulib-lib/fcntl.c:328:22: warning: implicit declaration of function 'fcntl' [-Wimplicit-function-declaration]
328 | result = fcntl (fd, action);
| ^~~~~
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-runtime/gnulib-lib/free.c: In function 'rpl_free':
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-runtime/gnulib-lib/free.c:44:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration]
44 | free (p);
| ^~~~
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-runtime/gnulib-lib/free.c:29:1: note: include '<stdlib.h>' or provide a declaration of 'free'
28 | # include <errno.h>
+++ |+#include <stdlib.h>
29 |
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-runtime/gnulib-lib/free.c:44:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch]
44 | free (p);
| ^~~~
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-runtime/gnulib-lib/free.c:44:3: note: include '<stdlib.h>' or provide a declaration of 'free'
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-runtime/gnulib-lib/error.c: In function 'is_open':
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-runtime/gnulib-lib/error.c:143:15: warning: implicit declaration of function 'fcntl' [-Wimplicit-function-declaration]
143 | return 0 <= fcntl (fd, F_GETFL);
| ^~~~~
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-runtime/gnulib-lib/calloc.c: In function 'rpl_calloc':
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-runtime/gnulib-lib/calloc.c:47:18: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration]
47 | void *result = calloc (n, s);
| ^~~~~~
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-runtime/gnulib-lib/calloc.c:28:1: note: include '<stdlib.h>' or provide a declaration of 'calloc'
27 | #include "xalloc-oversized.h"
+++ |+#include <stdlib.h>
28 |
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-runtime/gnulib-lib/calloc.c:47:18: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch]
47 | void *result = calloc (n, s);
| ^~~~~~
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-runtime/gnulib-lib/calloc.c:47:18: note: include '<stdlib.h>' or provide a declaration of 'calloc'
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/libtextstyle/lib/error.c: In function 'is_open':
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/libtextstyle/lib/error.c:143:15: warning: implicit declaration of function 'fcntl' [-Wimplicit-function-declaration]
143 | return 0 <= fcntl (fd, F_GETFL);
| ^~~~~
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/libtextstyle/lib/free.c: In function 'libtextstyle_rpl_free':
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/libtextstyle/lib/free.c:44:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration]
44 | free (p);
| ^~~~
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/libtextstyle/lib/free.c:29:1: note: include '<stdlib.h>' or provide a declaration of 'free'
28 | # include <errno.h>
+++ |+#include <stdlib.h>
29 |
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/libtextstyle/lib/free.c:44:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch]
44 | free (p);
| ^~~~
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/libtextstyle/lib/free.c:44:3: note: include '<stdlib.h>' or provide a declaration of 'free'
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/libtextstyle/lib/fcntl.c: In function 'libtextstyle_rpl_fcntl':
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/libtextstyle/lib/fcntl.c:328:22: warning: implicit declaration of function 'fcntl' [-Wimplicit-function-declaration]
328 | result = fcntl (fd, action);
| ^~~~~
term-ostream.oo.c: In function 'term_ostream_create':
term-ostream.oo.c:2720:9: warning: 'gettimeofday' is deprecated [-Wdeprecated-declarations]
In file included from ./sys/time.h:46,
from term-ostream.oo.c:28:
/home/kellito/.redoxer/x86_64-unknown-redox/toolchain/x86_64-unknown-redox/include/sys/time.h:85:18: note: declared here
85 | __deprecated int gettimeofday(struct timeval *tp, struct timezone *tzp);
| ^~~~~~~~~~~~
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/libtextstyle/lib/printf-args.c: In function 'printf_fetchargs':
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/libtextstyle/lib/printf-args.c:129:31: warning: 'gl_int_fast8_t' {aka 'signed char'} is promoted to 'int' when passed through '...'
129 | ap->a.a_int_fast8_t = va_arg (args, int_fast8_t);
| ^~~~~~
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/libtextstyle/lib/printf-args.c:129:31: note: (so you should pass 'int' not 'gl_int_fast8_t' {aka 'signed char'} to 'va_arg')
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/libtextstyle/lib/printf-args.c:129:31: note: if this code is reached, the program will abort
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/libtextstyle/lib/printf-args.c:136:32: warning: 'gl_uint_fast8_t' {aka 'unsigned char'} is promoted to 'int' when passed through '...'
136 | ap->a.a_uint_fast8_t = va_arg (args, uint_fast8_t);
| ^~~~~~
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/libtextstyle/lib/printf-args.c:136:32: note: if this code is reached, the program will abort
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/libtextstyle/lib/calloc.c: In function 'rpl_calloc':
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/libtextstyle/lib/calloc.c:47:18: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration]
47 | void *result = calloc (n, s);
| ^~~~~~
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/libtextstyle/lib/calloc.c:28:1: note: include '<stdlib.h>' or provide a declaration of 'calloc'
27 | #include "xalloc-oversized.h"
+++ |+#include <stdlib.h>
28 |
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/libtextstyle/lib/calloc.c:47:18: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch]
47 | void *result = calloc (n, s);
| ^~~~~~
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/libtextstyle/lib/calloc.c:47:18: note: include '<stdlib.h>' or provide a declaration of 'calloc'
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/gnulib-lib/error.c: In function 'is_open':
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/gnulib-lib/error.c:143:15: warning: implicit declaration of function 'fcntl' [-Wimplicit-function-declaration]
143 | return 0 <= fcntl (fd, F_GETFL);
| ^~~~~
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/gnulib-lib/fcntl.c: In function 'rpl_fcntl':
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/gnulib-lib/fcntl.c:328:22: warning: implicit declaration of function 'fcntl' [-Wimplicit-function-declaration]
328 | result = fcntl (fd, action);
| ^~~~~
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/gnulib-lib/free.c: In function 'rpl_free':
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/gnulib-lib/free.c:44:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration]
44 | free (p);
| ^~~~
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/gnulib-lib/free.c:29:1: note: include '<stdlib.h>' or provide a declaration of 'free'
28 | # include <errno.h>
+++ |+#include <stdlib.h>
29 |
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/gnulib-lib/free.c:44:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch]
44 | free (p);
| ^~~~
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/gnulib-lib/free.c:44:3: note: include '<stdlib.h>' or provide a declaration of 'free'
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/gnulib-lib/spawn_faction_addclose.c: In function 'rpl_posix_spawn_file_actions_addclose':
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/gnulib-lib/spawn_faction_addclose.c:40:3: warning: 'getdtablesize' is deprecated [-Wdeprecated-declarations]
40 | int maxfd = __sysconf (_SC_OPEN_MAX);
| ^~~
In file included from ./unistd.h:40,
from /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/gnulib-lib/spawn_faction_addclose.c:23:
/home/kellito/.redoxer/x86_64-unknown-redox/toolchain/x86_64-unknown-redox/include/unistd.h:1069:18: note: declared here
1069 | __deprecated int getdtablesize(void);
| ^~~~~~~~~~~~~
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/gnulib-lib/spawn_faction_adddup2.c: In function 'rpl_posix_spawn_file_actions_adddup2':
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/gnulib-lib/spawn_faction_adddup2.c:40:3: warning: 'getdtablesize' is deprecated [-Wdeprecated-declarations]
40 | int maxfd = __sysconf (_SC_OPEN_MAX);
| ^~~
In file included from ./unistd.h:40,
from /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/gnulib-lib/spawn_faction_adddup2.c:23:
/home/kellito/.redoxer/x86_64-unknown-redox/toolchain/x86_64-unknown-redox/include/unistd.h:1069:18: note: declared here
1069 | __deprecated int getdtablesize(void);
| ^~~~~~~~~~~~~
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/gnulib-lib/spawn_faction_addopen.c: In function 'rpl_posix_spawn_file_actions_addopen':
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/gnulib-lib/spawn_faction_addopen.c:43:3: warning: 'getdtablesize' is deprecated [-Wdeprecated-declarations]
43 | int maxfd = __sysconf (_SC_OPEN_MAX);
| ^~~
In file included from ./unistd.h:40,
from /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/gnulib-lib/spawn_faction_addopen.c:25:
/home/kellito/.redoxer/x86_64-unknown-redox/toolchain/x86_64-unknown-redox/include/unistd.h:1069:18: note: declared here
1069 | __deprecated int getdtablesize(void);
| ^~~~~~~~~~~~~
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/gnulib-lib/setenv.c: In function 'rpl_setenv':
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/gnulib-lib/setenv.c:370:12: warning: implicit declaration of function 'setenv'; did you mean 'getenv'? [-Wimplicit-function-declaration]
370 | result = setenv (name, value, replace);
| ^~~~~~
| getenv
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/gnulib-lib/utime.c: In function 'rpl_utime':
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/gnulib-lib/utime.c:284:3: warning: 'utime' is deprecated [-Wdeprecated-declarations]
284 | return utime (name, ts);
| ^~~~~~
In file included from ./utime.h:34,
from /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/gnulib-lib/utime.c:22:
/home/kellito/.redoxer/x86_64-unknown-redox/toolchain/x86_64-unknown-redox/include/utime.h:26:18: note: declared here
26 | __deprecated int utime(const char *filename, const struct utimbuf *times);
| ^~~~~
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/gnulib-lib/unsetenv.c: In function 'rpl_unsetenv':
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/gnulib-lib/unsetenv.c:123:7: warning: implicit declaration of function 'unsetenv'; did you mean 'setenv'? [-Wimplicit-function-declaration]
123 | unsetenv (name);
| ^~~~~~~~
| setenv
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/gnulib-lib/calloc.c: In function 'rpl_calloc':
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/gnulib-lib/calloc.c:47:18: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration]
47 | void *result = calloc (n, s);
| ^~~~~~
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/gnulib-lib/calloc.c:28:1: note: include '<stdlib.h>' or provide a declaration of 'calloc'
27 | #include "xalloc-oversized.h"
+++ |+#include <stdlib.h>
28 |
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/gnulib-lib/calloc.c:47:18: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch]
47 | void *result = calloc (n, s);
| ^~~~~~
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/gnulib-lib/calloc.c:47:18: note: include '<stdlib.h>' or provide a declaration of 'calloc'
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/gnulib-lib/printf-args.c: In function 'printf_fetchargs':
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/gnulib-lib/printf-args.c:129:31: warning: 'gl_int_fast8_t' {aka 'signed char'} is promoted to 'int' when passed through '...'
129 | ap->a.a_int_fast8_t = va_arg (args, int_fast8_t);
| ^~~~~~
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/gnulib-lib/printf-args.c:129:31: note: (so you should pass 'int' not 'gl_int_fast8_t' {aka 'signed char'} to 'va_arg')
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/gnulib-lib/printf-args.c:129:31: note: if this code is reached, the program will abort
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/gnulib-lib/printf-args.c:136:32: warning: 'gl_uint_fast8_t' {aka 'unsigned char'} is promoted to 'int' when passed through '...'
136 | ap->a.a_uint_fast8_t = va_arg (args, uint_fast8_t);
| ^~~~~~
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/gnulib-lib/printf-args.c:136:32: note: if this code is reached, the program will abort
libtool: warning: '-release' is ignored for convenience libraries
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/src/msgl-check.c: In function 'check_plural_eval':
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/src/msgl-check.c:117:18: warning: passing argument 1 of 'sigsetjmp' from incompatible pointer type [-Wincompatible-pointer-types]
117 | if (sigsetjmp (sigfpe_exit, 1) == 0)
| ^~~~~~~~~~~
| |
| long unsigned int *
In file included from ../gnulib-lib/signal.h:52,
from /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/src/msgl-check.c:27:
/home/kellito/.redoxer/x86_64-unknown-redox/toolchain/x86_64-unknown-redox/include/signal.h:902:42: note: expected 'long long unsigned int *' but argument is of type 'long unsigned int *'
902 | extern int sigsetjmp(unsigned long long *jb, int savemask);
| ~~~~~~~~~~~~~~~~~~~~^~
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/src/plural-eval.c: In function 'sigfpe_handler':
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/src/plural-eval.c:55:15: warning: passing argument 1 of 'siglongjmp' from incompatible pointer type [-Wincompatible-pointer-types]
55 | siglongjmp (sigfpe_exit, 1);
| ^~~~~~~~~~~
| |
| long unsigned int *
In file included from ../gnulib-lib/signal.h:52,
from /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/src/plural-eval.c:26:
/home/kellito/.redoxer/x86_64-unknown-redox/toolchain/x86_64-unknown-redox/include/signal.h:906:37: note: expected 'long long unsigned int *' but argument is of type 'long unsigned int *'
906 | void siglongjmp(unsigned long long *jb, int ret);
| ~~~~~~~~~~~~~~~~~~~~^~
libtool: warning: '-release' is ignored for convenience libraries
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/libgettextpo/fcntl.c: In function 'libgettextpo_rpl_fcntl':
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/libgettextpo/fcntl.c:328:22: warning: implicit declaration of function 'fcntl' [-Wimplicit-function-declaration]
328 | result = fcntl (fd, action);
| ^~~~~
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/libgettextpo/free.c: In function 'libgettextpo_rpl_free':
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/libgettextpo/free.c:44:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration]
44 | free (p);
| ^~~~
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/libgettextpo/free.c:29:1: note: include '<stdlib.h>' or provide a declaration of 'free'
28 | # include <errno.h>
+++ |+#include <stdlib.h>
29 |
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/libgettextpo/free.c:44:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch]
44 | free (p);
| ^~~~
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/libgettextpo/free.c:44:3: note: include '<stdlib.h>' or provide a declaration of 'free'
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/libgettextpo/error.c: In function 'is_open':
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/libgettextpo/error.c:143:15: warning: implicit declaration of function 'fcntl' [-Wimplicit-function-declaration]
143 | return 0 <= fcntl (fd, F_GETFL);
| ^~~~~
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/libgettextpo/printf-args.c: In function 'libgettextpo_printf_fetchargs':
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/libgettextpo/printf-args.c:129:31: warning: 'gl_int_fast8_t' {aka 'signed char'} is promoted to 'int' when passed through '...'
129 | ap->a.a_int_fast8_t = va_arg (args, int_fast8_t);
| ^~~~~~
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/libgettextpo/printf-args.c:129:31: note: (so you should pass 'int' not 'gl_int_fast8_t' {aka 'signed char'} to 'va_arg')
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/libgettextpo/printf-args.c:129:31: note: if this code is reached, the program will abort
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/libgettextpo/printf-args.c:136:32: warning: 'gl_uint_fast8_t' {aka 'unsigned char'} is promoted to 'int' when passed through '...'
136 | ap->a.a_uint_fast8_t = va_arg (args, uint_fast8_t);
| ^~~~~~
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/libgettextpo/printf-args.c:136:32: note: if this code is reached, the program will abort
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/libgettextpo/calloc.c: In function 'libgettextpo_rpl_calloc':
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/libgettextpo/calloc.c:47:18: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration]
47 | void *result = calloc (n, s);
| ^~~~~~
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/libgettextpo/calloc.c:28:1: note: include '<stdlib.h>' or provide a declaration of 'calloc'
27 | #include "xalloc-oversized.h"
+++ |+#include <stdlib.h>
28 |
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/libgettextpo/calloc.c:47:18: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch]
47 | void *result = calloc (n, s);
| ^~~~~~
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/libgettextpo/calloc.c:47:18: note: include '<stdlib.h>' or provide a declaration of 'calloc'
In file included from /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/libgettextpo/../src/plural-eval.c:19:
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/libgettextpo/../src/plural-eval.c: In function 'sigfpe_handler':
./config.h:364:21: warning: passing argument 1 of 'siglongjmp' from incompatible pointer type [-Wincompatible-pointer-types]
364 | #define sigfpe_exit libgettextpo_sigfpe_exit
| ^~~~~~~~~~~~~~~~~~~~~~~~
| |
| long unsigned int *
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/libgettextpo/../src/plural-eval.c:55:15: note: in expansion of macro 'sigfpe_exit'
55 | siglongjmp (sigfpe_exit, 1);
| ^~~~~~~~~~~
In file included from ./signal.h:52,
from /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/libgettextpo/../src/plural-eval.c:26:
/home/kellito/.redoxer/x86_64-unknown-redox/toolchain/x86_64-unknown-redox/include/signal.h:906:37: note: expected 'long long unsigned int *' but argument is of type 'long unsigned int *'
906 | void siglongjmp(unsigned long long *jb, int ret);
| ~~~~~~~~~~~~~~~~~~~~^~
In file included from /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/libgettextpo/../src/msgl-check.c:19:
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/libgettextpo/../src/msgl-check.c: In function 'libgettextpo_check_plural_eval':
./config.h:364:21: warning: passing argument 1 of 'sigsetjmp' from incompatible pointer type [-Wincompatible-pointer-types]
364 | #define sigfpe_exit libgettextpo_sigfpe_exit
| ^~~~~~~~~~~~~~~~~~~~~~~~
| |
| long unsigned int *
/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/libgettextpo/../src/msgl-check.c:117:18: note: in expansion of macro 'sigfpe_exit'
117 | if (sigsetjmp (sigfpe_exit, 1) == 0)
| ^~~~~~~~~~~
In file included from ./signal.h:52,
from /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/source/gettext-tools/libgettextpo/../src/msgl-check.c:27:
/home/kellito/.redoxer/x86_64-unknown-redox/toolchain/x86_64-unknown-redox/include/signal.h:902:42: note: expected 'long long unsigned int *' but argument is of type 'long unsigned int *'
902 | extern int sigsetjmp(unsigned long long *jb, int savemask);
| ~~~~~~~~~~~~~~~~~~~~^~
+ make install DESTDIR=/mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp
libtool: warning: remember to run 'libtool --finish /usr/lib'
libtool: warning: remember to run 'libtool --finish /usr/lib'
+ cp -f gettext-runtime/intl/.libs/libgnuintl.a /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/usr/lib/libintl.a
+ cp -f gettext-runtime/intl/libgnuintl.h /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/usr/include/libintl.h
+ for dir in "${COOKBOOK_STAGE}/bin" "${COOKBOOK_STAGE}/usr/bin" "${COOKBOOK_STAGE}/libexec" "${COOKBOOK_STAGE}/usr/libexec"
+ '[' -d /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/bin ']'
+ for dir in "${COOKBOOK_STAGE}/bin" "${COOKBOOK_STAGE}/usr/bin" "${COOKBOOK_STAGE}/libexec" "${COOKBOOK_STAGE}/usr/libexec"
+ '[' -d /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/usr/bin ']'
+ '[' -z '' ']'
+ IFS=
+ read -r file
++ find /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/usr/bin -type f
+ x86_64-unknown-redox-readelf -h /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/usr/bin/msgattrib
+ x86_64-unknown-redox-strip -v /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/usr/bin/msgattrib
+ IFS=
+ read -r file
+ x86_64-unknown-redox-readelf -h /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/usr/bin/msgcomm
+ x86_64-unknown-redox-strip -v /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/usr/bin/msgcomm
+ IFS=
+ read -r file
+ x86_64-unknown-redox-readelf -h /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/usr/bin/msgconv
+ x86_64-unknown-redox-strip -v /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/usr/bin/msgconv
+ IFS=
+ read -r file
+ x86_64-unknown-redox-readelf -h /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/usr/bin/msgfilter
+ x86_64-unknown-redox-strip -v /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/usr/bin/msgfilter
+ IFS=
+ read -r file
+ x86_64-unknown-redox-readelf -h /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/usr/bin/gettextize
+ IFS=
+ read -r file
+ x86_64-unknown-redox-readelf -h /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/usr/bin/msgcat
+ x86_64-unknown-redox-strip -v /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/usr/bin/msgcat
+ IFS=
+ read -r file
+ x86_64-unknown-redox-readelf -h /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/usr/bin/msgexec
+ x86_64-unknown-redox-strip -v /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/usr/bin/msgexec
+ IFS=
+ read -r file
+ x86_64-unknown-redox-readelf -h /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/usr/bin/msguniq
+ x86_64-unknown-redox-strip -v /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/usr/bin/msguniq
+ IFS=
+ read -r file
+ x86_64-unknown-redox-readelf -h /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/usr/bin/gettext.sh
+ IFS=
+ read -r file
+ x86_64-unknown-redox-readelf -h /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/usr/bin/autopoint
+ IFS=
+ read -r file
+ x86_64-unknown-redox-readelf -h /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/usr/bin/msgunfmt
+ x86_64-unknown-redox-strip -v /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/usr/bin/msgunfmt
+ IFS=
+ read -r file
+ x86_64-unknown-redox-readelf -h /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/usr/bin/msgfmt
+ x86_64-unknown-redox-strip -v /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/usr/bin/msgfmt
+ IFS=
+ read -r file
+ x86_64-unknown-redox-readelf -h /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/usr/bin/ngettext
+ x86_64-unknown-redox-strip -v /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/usr/bin/ngettext
+ IFS=
+ read -r file
+ x86_64-unknown-redox-readelf -h /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/usr/bin/gettext
+ x86_64-unknown-redox-strip -v /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/usr/bin/gettext
+ IFS=
+ read -r file
+ x86_64-unknown-redox-readelf -h /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/usr/bin/recode-sr-latin
+ x86_64-unknown-redox-strip -v /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/usr/bin/recode-sr-latin
+ IFS=
+ read -r file
+ x86_64-unknown-redox-readelf -h /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/usr/bin/envsubst
+ x86_64-unknown-redox-strip -v /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/usr/bin/envsubst
+ IFS=
+ read -r file
+ x86_64-unknown-redox-readelf -h /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/usr/bin/msggrep
+ x86_64-unknown-redox-strip -v /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/usr/bin/msggrep
+ IFS=
+ read -r file
+ x86_64-unknown-redox-readelf -h /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/usr/bin/msgmerge
+ x86_64-unknown-redox-strip -v /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/usr/bin/msgmerge
+ IFS=
+ read -r file
+ x86_64-unknown-redox-readelf -h /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/usr/bin/xgettext
+ x86_64-unknown-redox-strip -v /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/usr/bin/xgettext
+ IFS=
+ read -r file
+ x86_64-unknown-redox-readelf -h /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/usr/bin/msginit
+ x86_64-unknown-redox-strip -v /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/usr/bin/msginit
+ IFS=
+ read -r file
+ x86_64-unknown-redox-readelf -h /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/usr/bin/msgcmp
+ x86_64-unknown-redox-strip -v /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/usr/bin/msgcmp
+ IFS=
+ read -r file
+ x86_64-unknown-redox-readelf -h /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/usr/bin/msgen
+ x86_64-unknown-redox-strip -v /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/usr/bin/msgen
+ IFS=
+ read -r file
+ for dir in "${COOKBOOK_STAGE}/bin" "${COOKBOOK_STAGE}/usr/bin" "${COOKBOOK_STAGE}/libexec" "${COOKBOOK_STAGE}/usr/libexec"
+ '[' -d /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/libexec ']'
+ for dir in "${COOKBOOK_STAGE}/bin" "${COOKBOOK_STAGE}/usr/bin" "${COOKBOOK_STAGE}/libexec" "${COOKBOOK_STAGE}/usr/libexec"
+ '[' -d /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/usr/libexec ']'
+ for dir in "${COOKBOOK_STAGE}/lib" "${COOKBOOK_STAGE}/usr/lib"
+ '[' -d /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/lib ']'
+ for dir in "${COOKBOOK_STAGE}/lib" "${COOKBOOK_STAGE}/usr/lib"
+ '[' -d /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/usr/lib ']'
+ find /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/usr/lib -type f -name '*.la' -exec rm -fv '{}' ';'
+ for file in .crates.toml .crates2.json
+ '[' -f /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/.crates.toml ']'
+ for file in .crates.toml .crates2.json
+ '[' -f /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/.crates2.json ']'
+ for dir in "${COOKBOOK_STAGE}/share/metainfo" "${COOKBOOK_STAGE}/usr/share/metainfo"
+ '[' -d /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/share/metainfo ']'
+ for dir in "${COOKBOOK_STAGE}/share/metainfo" "${COOKBOOK_STAGE}/usr/share/metainfo"
+ '[' -d /mnt/data/Builds/RedBear-OS/recipes/tools/gettext/target/x86_64-unknown-redox/stage.tmp/usr/share/metainfo ']'
cook gettext - successful
DEBUG: using cached build, not checking source
cook linux-kpi - cached
DEBUG: using cached build, not checking source
cook llvm21 - cached
DEBUG: using cached build, not checking source
cook llvm21.dev - cached
DEBUG: force rebuild requested
DEBUG: updating 'recipes/wip/wayland/libwayland/target/x86_64-unknown-redox/stage'
DEBUG: updating 'recipes/wip/wayland/libwayland/target/x86_64-unknown-redox/sysroot'
+ export PATH=/mnt/data/Builds/RedBear-OS/bin:/home/kellito/.redoxer/x86_64-unknown-redox/toolchain/bin:/home/kellito/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/android-sdk/cmdline-tools/latest/bin:/opt/android-sdk/platform-tools:/opt/android-sdk/tools:/opt/android-sdk/tools/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin
+ PATH=/mnt/data/Builds/RedBear-OS/bin:/home/kellito/.redoxer/x86_64-unknown-redox/toolchain/bin:/home/kellito/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/android-sdk/cmdline-tools/latest/bin:/opt/android-sdk/platform-tools:/opt/android-sdk/tools:/opt/android-sdk/tools/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin
+ '[' '!' -z '' ']'
+ REDOXER_TOOLCHAIN=/home/kellito/.redoxer/x86_64-unknown-redox/toolchain
+ '[' -d /home/kellito/.redoxer/x86_64-unknown-redox/toolchain/bin ']'
+ export PATH=/home/kellito/.redoxer/x86_64-unknown-redox/toolchain/bin:/mnt/data/Builds/RedBear-OS/bin:/home/kellito/.redoxer/x86_64-unknown-redox/toolchain/bin:/home/kellito/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/android-sdk/cmdline-tools/latest/bin:/opt/android-sdk/platform-tools:/opt/android-sdk/tools:/opt/android-sdk/tools/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin
+ PATH=/home/kellito/.redoxer/x86_64-unknown-redox/toolchain/bin:/mnt/data/Builds/RedBear-OS/bin:/home/kellito/.redoxer/x86_64-unknown-redox/toolchain/bin:/home/kellito/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/android-sdk/cmdline-tools/latest/bin:/opt/android-sdk/platform-tools:/opt/android-sdk/tools:/opt/android-sdk/tools/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin
+ export CARGO_TARGET_DIR=/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/build/target
+ CARGO_TARGET_DIR=/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/build/target
+ export CPPFLAGS=-I/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/include
+ CPPFLAGS=-I/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/include
+ USER_LDFLAGS=
+ export 'LDFLAGS=-L/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/lib --static'
+ LDFLAGS='-L/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/lib --static'
+ REDBEAR_PREFIX_SYSROOT=/mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot
+ '[' -d /mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot/x86_64-unknown-redox/lib ']'
+ export 'LDFLAGS=-L/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/lib --static -L/mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot/x86_64-unknown-redox/lib'
+ LDFLAGS='-L/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/lib --static -L/mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot/x86_64-unknown-redox/lib'
+ '[' x86_64-unknown-redox '!=' x86_64-unknown-linux-gnu ']'
+ export PKG_CONFIG_ALLOW_CROSS=1
+ PKG_CONFIG_ALLOW_CROSS=1
+ export PKG_CONFIG_PATH=
+ PKG_CONFIG_PATH=
+ export PKG_CONFIG_LIBDIR=/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/lib/pkgconfig
+ PKG_CONFIG_LIBDIR=/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/lib/pkgconfig
+ export PKG_CONFIG_SYSROOT_DIR=/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot
+ PKG_CONFIG_SYSROOT_DIR=/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot
+ build_type=release
+ install_flags=--no-track
+ build_flags=--release
+ '[' '!' -z '' ']'
+ '[' '!' -z '' ']'
+ reexport_flags
+ target=x86_64_unknown_redox
+ export CFLAGS_x86_64_unknown_redox=-I/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/include
+ CFLAGS_x86_64_unknown_redox=-I/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/include
+ export CXXFLAGS_x86_64_unknown_redox=-I/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/include
+ CXXFLAGS_x86_64_unknown_redox=-I/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/include
+ export 'LDFLAGS_x86_64_unknown_redox=-L/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/lib --static -L/mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot/x86_64-unknown-redox/lib'
+ LDFLAGS_x86_64_unknown_redox='-L/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/lib --static -L/mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot/x86_64-unknown-redox/lib'
+ COOKBOOK_CARGO=/mnt/data/Builds/RedBear-OS/target/release/cookbook_redbear_redoxer
+ COOKBOOK_CARGO_FLAGS=(--locked)
+ COOKBOOK_CONFIGURE=/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/source/configure
+ COOKBOOK_CONFIGURE_FLAGS=(--host="${GNU_TARGET}" --prefix="/usr" --disable-shared --enable-static)
+ COOKBOOK_MAKE=make
+ COOKBOOK_CMAKE=cmake
+ COOKBOOK_NINJA=ninja
+ COOKBOOK_CMAKE_FLAGS=(-DBUILD_SHARED_LIBS=False -DENABLE_SHARED=False -DENABLE_STATIC=True)
+ COOKBOOK_MESON=meson
+ COOKBOOK_MESON_FLAGS=(--buildtype release --wrap-mode nofallback -Ddefault_library=static -Dprefix=/usr)
+ COOKBOOK_AUTORECONF=autoreconf
+ DYNAMIC_INIT
+ case "${TARGET}" in
+ '[' -z 1 ']'
+ echo 'DEBUG: Program is being compiled dynamically.'
+ COOKBOOK_CONFIGURE_FLAGS=(--host="${GNU_TARGET}" --prefix="/usr" --enable-shared --disable-static)
+ COOKBOOK_CMAKE_FLAGS=(-DBUILD_SHARED_LIBS=True -DENABLE_SHARED=True -DENABLE_STATIC=False)
+ COOKBOOK_MESON_FLAGS=(--buildtype release --wrap-mode nofallback -Ddefault_library=shared -Dprefix=/usr)
+ export 'LDFLAGS=-Wl,-rpath-link,/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/lib -L/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/lib'
+ LDFLAGS='-Wl,-rpath-link,/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/lib -L/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/lib'
+ REDBEAR_PREFIX_SYSROOT=/mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot
+ '[' -d /mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot/x86_64-unknown-redox/lib ']'
+ export 'LDFLAGS=-Wl,-rpath-link,/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/lib -L/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/lib -L/mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot/x86_64-unknown-redox/lib'
+ LDFLAGS='-Wl,-rpath-link,/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/lib -L/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/lib -L/mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot/x86_64-unknown-redox/lib'
+ export 'RUSTFLAGS=-C target-feature=-crt-static -L native=/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/lib -C link-arg=-Wl,-rpath-link,/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/lib'
+ RUSTFLAGS='-C target-feature=-crt-static -L native=/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/lib -C link-arg=-Wl,-rpath-link,/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/lib'
+ export COOKBOOK_DYNAMIC=1
+ COOKBOOK_DYNAMIC=1
++ type -t reexport_flags
+ '[' function = function ']'
+ reexport_flags
+ target=x86_64_unknown_redox
+ export CFLAGS_x86_64_unknown_redox=-I/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/include
+ CFLAGS_x86_64_unknown_redox=-I/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/include
+ export CXXFLAGS_x86_64_unknown_redox=-I/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/include
+ CXXFLAGS_x86_64_unknown_redox=-I/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/include
+ export 'LDFLAGS_x86_64_unknown_redox=-Wl,-rpath-link,/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/lib -L/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/lib -L/mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot/x86_64-unknown-redox/lib'
+ LDFLAGS_x86_64_unknown_redox='-Wl,-rpath-link,/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/lib -L/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/lib -L/mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot/x86_64-unknown-redox/lib'
+ export 'LDFLAGS+= -lc'
+ LDFLAGS+=' -lc'
+ cookbook_meson -Ddocumentation=false -Dtests=false -Ddtd_validation=false -Dc_args=-Wno-error
+ echo '[binaries]'
++ printf ''\''%s'\'', ' x86_64-unknown-redox-gcc
++ sed 's/, $//'
+ echo 'c = ['\''x86_64-unknown-redox-gcc'\'']'
++ printf ''\''%s'\'', ' x86_64-unknown-redox-g++
++ sed 's/, $//'
+ echo 'cpp = ['\''x86_64-unknown-redox-g++'\'']'
+ echo 'ar = '\''x86_64-unknown-redox-gcc-ar'\'''
+ echo 'strip = '\''x86_64-unknown-redox-strip'\'''
+ echo 'pkg-config = '\''x86_64-unknown-redox-pkg-config'\'''
+ echo 'llvm-config = '\''x86_64-unknown-redox-llvm-config'\'''
+ echo 'glib-compile-resources = '\''glib-compile-resources'\'''
+ echo 'glib-compile-schemas = '\''glib-compile-schemas'\'''
+ echo '[host_machine]'
++ echo x86_64-unknown-redox
++ cut -d - -f3
+ echo 'system = '\''redox'\'''
++ echo x86_64-unknown-redox
++ cut -d - -f1
+ echo 'cpu_family = '\''x86_64'\'''
++ echo x86_64-unknown-redox
++ cut -d - -f1
+ echo 'cpu = '\''x86_64'\'''
+ echo 'endian = '\''little'\'''
+ echo '[built-in options]'
+ echo 'prefix = '\''/usr'\'''
+ echo 'libdir = '\''lib'\'''
+ echo 'bindir = '\''bin'\'''
++ format_flags ' -I/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/include'
++ flags=('-I/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/include')
++ local flags
++ local formatted=
++ for i in "${!flags[@]}"
++ formatted+=''\''-I/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/include'\'''
++ '[' 0 -lt 0 ']'
++ echo ''\''-I/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/include'\'''
+ echo 'c_args = ['\''-I/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/include'\'']'
++ format_flags ' -I/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/include'
++ flags=('-I/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/include')
++ local flags
++ local formatted=
++ for i in "${!flags[@]}"
++ formatted+=''\''-I/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/include'\'''
++ '[' 0 -lt 0 ']'
++ echo ''\''-I/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/include'\'''
+ echo 'cpp_args = ['\''-I/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/include'\'']'
++ format_flags '-Wl,-rpath-link,/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/lib -L/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/lib -L/mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot/x86_64-unknown-redox/lib -lc'
++ flags=('-Wl,-rpath-link,/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/lib' '-L/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/lib' '-L/mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot/x86_64-unknown-redox/lib' '-lc')
++ local flags
++ local formatted=
++ for i in "${!flags[@]}"
++ formatted+=''\''-Wl,-rpath-link,/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/lib'\'''
++ '[' 0 -lt 3 ']'
++ formatted+=', '
++ for i in "${!flags[@]}"
++ formatted+=''\''-L/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/lib'\'''
++ '[' 1 -lt 3 ']'
++ formatted+=', '
++ for i in "${!flags[@]}"
++ formatted+=''\''-L/mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot/x86_64-unknown-redox/lib'\'''
++ '[' 2 -lt 3 ']'
++ formatted+=', '
++ for i in "${!flags[@]}"
++ formatted+=''\''-lc'\'''
++ '[' 3 -lt 3 ']'
++ echo ''\''-Wl,-rpath-link,/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/lib'\'', '\''-L/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/lib'\'', '\''-L/mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot/x86_64-unknown-redox/lib'\'', '\''-lc'\'''
+ echo 'c_link_args = ['\''-Wl,-rpath-link,/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/lib'\'', '\''-L/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot/lib'\'', '\''-L/mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot/x86_64-unknown-redox/lib'\'', '\''-lc'\'']'
+ echo '[properties]'
+ echo 'needs_exe_wrapper = true'
+ echo 'sys_root = '\''/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/sysroot'\'''
+ unset AR AS CC CXX LD NM OBJCOPY OBJDUMP PKG_CONFIG RANLIB READELF STRIP
+ meson setup /mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/source . --cross-file cross_file.txt --buildtype release --wrap-mode nofallback -Ddefault_library=shared -Dprefix=/usr -Ddocumentation=false -Dtests=false -Ddtd_validation=false -Dc_args=-Wno-error
+ ninja -j16
Generating targets: 0%| | 0/13 eta ?
Writing build.ninja: 0%| | 0/60 eta ?
+ DESTDIR=/mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/stage.tmp
+ ninja install -j16
+ for dir in "${COOKBOOK_STAGE}/bin" "${COOKBOOK_STAGE}/usr/bin" "${COOKBOOK_STAGE}/libexec" "${COOKBOOK_STAGE}/usr/libexec"
+ '[' -d /mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/stage.tmp/bin ']'
+ for dir in "${COOKBOOK_STAGE}/bin" "${COOKBOOK_STAGE}/usr/bin" "${COOKBOOK_STAGE}/libexec" "${COOKBOOK_STAGE}/usr/libexec"
+ '[' -d /mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/stage.tmp/usr/bin ']'
+ '[' -z '' ']'
+ IFS=
+ read -r file
++ find /mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/stage.tmp/usr/bin -type f
+ x86_64-unknown-redox-readelf -h /mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/stage.tmp/usr/bin/wayland-scanner
+ x86_64-unknown-redox-strip -v /mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/stage.tmp/usr/bin/wayland-scanner
+ IFS=
+ read -r file
+ for dir in "${COOKBOOK_STAGE}/bin" "${COOKBOOK_STAGE}/usr/bin" "${COOKBOOK_STAGE}/libexec" "${COOKBOOK_STAGE}/usr/libexec"
+ '[' -d /mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/stage.tmp/libexec ']'
+ for dir in "${COOKBOOK_STAGE}/bin" "${COOKBOOK_STAGE}/usr/bin" "${COOKBOOK_STAGE}/libexec" "${COOKBOOK_STAGE}/usr/libexec"
+ '[' -d /mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/stage.tmp/usr/libexec ']'
+ for dir in "${COOKBOOK_STAGE}/lib" "${COOKBOOK_STAGE}/usr/lib"
+ '[' -d /mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/stage.tmp/lib ']'
+ for dir in "${COOKBOOK_STAGE}/lib" "${COOKBOOK_STAGE}/usr/lib"
+ '[' -d /mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/stage.tmp/usr/lib ']'
+ find /mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/stage.tmp/usr/lib -type f -name '*.la' -exec rm -fv '{}' ';'
+ for file in .crates.toml .crates2.json
+ '[' -f /mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/stage.tmp/.crates.toml ']'
+ for file in .crates.toml .crates2.json
+ '[' -f /mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/stage.tmp/.crates2.json ']'
+ for dir in "${COOKBOOK_STAGE}/share/metainfo" "${COOKBOOK_STAGE}/usr/share/metainfo"
+ '[' -d /mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/stage.tmp/share/metainfo ']'
+ for dir in "${COOKBOOK_STAGE}/share/metainfo" "${COOKBOOK_STAGE}/usr/share/metainfo"
+ '[' -d /mnt/data/Builds/RedBear-OS/local/recipes/wayland/libwayland/target/x86_64-unknown-redox/stage.tmp/usr/share/metainfo ']'
DEBUG: updating recipes/wip/wayland/libwayland/target/x86_64-unknown-redox/auto_deps.toml
DEBUG: relibc provides libc.so.6
INFO: libwayland-client.so.0 missing
cook libwayland - successful
DEBUG: force rebuild requested
+ export PATH=/mnt/data/Builds/RedBear-OS/bin:/home/kellito/.redoxer/x86_64-unknown-redox/toolchain/bin:/home/kellito/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/android-sdk/cmdline-tools/latest/bin:/opt/android-sdk/platform-tools:/opt/android-sdk/tools:/opt/android-sdk/tools/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin
+ PATH=/mnt/data/Builds/RedBear-OS/bin:/home/kellito/.redoxer/x86_64-unknown-redox/toolchain/bin:/home/kellito/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/android-sdk/cmdline-tools/latest/bin:/opt/android-sdk/platform-tools:/opt/android-sdk/tools:/opt/android-sdk/tools/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin
+ '[' '!' -z '' ']'
+ REDOXER_TOOLCHAIN=/home/kellito/.redoxer/x86_64-unknown-redox/toolchain
+ '[' -d /home/kellito/.redoxer/x86_64-unknown-redox/toolchain/bin ']'
+ export PATH=/home/kellito/.redoxer/x86_64-unknown-redox/toolchain/bin:/mnt/data/Builds/RedBear-OS/bin:/home/kellito/.redoxer/x86_64-unknown-redox/toolchain/bin:/home/kellito/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/android-sdk/cmdline-tools/latest/bin:/opt/android-sdk/platform-tools:/opt/android-sdk/tools:/opt/android-sdk/tools/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin
+ PATH=/home/kellito/.redoxer/x86_64-unknown-redox/toolchain/bin:/mnt/data/Builds/RedBear-OS/bin:/home/kellito/.redoxer/x86_64-unknown-redox/toolchain/bin:/home/kellito/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/android-sdk/cmdline-tools/latest/bin:/opt/android-sdk/platform-tools:/opt/android-sdk/tools:/opt/android-sdk/tools/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin
+ export CARGO_TARGET_DIR=/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/build/target
+ CARGO_TARGET_DIR=/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/build/target
+ export CPPFLAGS=-I/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/include
+ CPPFLAGS=-I/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/include
+ USER_LDFLAGS=
+ export 'LDFLAGS=-L/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/lib --static'
+ LDFLAGS='-L/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/lib --static'
+ REDBEAR_PREFIX_SYSROOT=/mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot
+ '[' -d /mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot/x86_64-unknown-redox/lib ']'
+ export 'LDFLAGS=-L/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/lib --static -L/mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot/x86_64-unknown-redox/lib'
+ LDFLAGS='-L/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/lib --static -L/mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot/x86_64-unknown-redox/lib'
+ '[' x86_64-unknown-redox '!=' x86_64-unknown-linux-gnu ']'
+ export PKG_CONFIG_ALLOW_CROSS=1
+ PKG_CONFIG_ALLOW_CROSS=1
+ export PKG_CONFIG_PATH=
+ PKG_CONFIG_PATH=
+ export PKG_CONFIG_LIBDIR=/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/lib/pkgconfig
+ PKG_CONFIG_LIBDIR=/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/lib/pkgconfig
+ export PKG_CONFIG_SYSROOT_DIR=/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot
+ PKG_CONFIG_SYSROOT_DIR=/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot
+ build_type=release
+ install_flags=--no-track
+ build_flags=--release
+ '[' '!' -z '' ']'
+ '[' '!' -z '' ']'
+ reexport_flags
+ target=x86_64_unknown_redox
+ export CFLAGS_x86_64_unknown_redox=-I/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/include
+ CFLAGS_x86_64_unknown_redox=-I/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/include
+ export CXXFLAGS_x86_64_unknown_redox=-I/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/include
+ CXXFLAGS_x86_64_unknown_redox=-I/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/include
+ export 'LDFLAGS_x86_64_unknown_redox=-L/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/lib --static -L/mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot/x86_64-unknown-redox/lib'
+ LDFLAGS_x86_64_unknown_redox='-L/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/lib --static -L/mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot/x86_64-unknown-redox/lib'
+ COOKBOOK_CARGO=/mnt/data/Builds/RedBear-OS/target/release/cookbook_redbear_redoxer
+ COOKBOOK_CARGO_FLAGS=(--locked)
+ COOKBOOK_CONFIGURE=/mnt/data/Builds/RedBear-OS/recipes/libs/glib/source/configure
+ COOKBOOK_CONFIGURE_FLAGS=(--host="${GNU_TARGET}" --prefix="/usr" --disable-shared --enable-static)
+ COOKBOOK_MAKE=make
+ COOKBOOK_CMAKE=cmake
+ COOKBOOK_NINJA=ninja
+ COOKBOOK_CMAKE_FLAGS=(-DBUILD_SHARED_LIBS=False -DENABLE_SHARED=False -DENABLE_STATIC=True)
+ COOKBOOK_MESON=meson
+ COOKBOOK_MESON_FLAGS=(--buildtype release --wrap-mode nofallback -Ddefault_library=static -Dprefix=/usr)
+ COOKBOOK_AUTORECONF=autoreconf
+ DYNAMIC_INIT
+ case "${TARGET}" in
+ '[' -z 1 ']'
+ echo 'DEBUG: Program is being compiled dynamically.'
+ COOKBOOK_CONFIGURE_FLAGS=(--host="${GNU_TARGET}" --prefix="/usr" --enable-shared --disable-static)
+ COOKBOOK_CMAKE_FLAGS=(-DBUILD_SHARED_LIBS=True -DENABLE_SHARED=True -DENABLE_STATIC=False)
+ COOKBOOK_MESON_FLAGS=(--buildtype release --wrap-mode nofallback -Ddefault_library=shared -Dprefix=/usr)
+ export 'LDFLAGS=-Wl,-rpath-link,/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/lib -L/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/lib'
+ LDFLAGS='-Wl,-rpath-link,/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/lib -L/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/lib'
+ REDBEAR_PREFIX_SYSROOT=/mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot
+ '[' -d /mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot/x86_64-unknown-redox/lib ']'
+ export 'LDFLAGS=-Wl,-rpath-link,/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/lib -L/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/lib -L/mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot/x86_64-unknown-redox/lib'
+ LDFLAGS='-Wl,-rpath-link,/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/lib -L/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/lib -L/mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot/x86_64-unknown-redox/lib'
+ export 'RUSTFLAGS=-C target-feature=-crt-static -L native=/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/lib -C link-arg=-Wl,-rpath-link,/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/lib'
+ RUSTFLAGS='-C target-feature=-crt-static -L native=/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/lib -C link-arg=-Wl,-rpath-link,/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/lib'
+ export COOKBOOK_DYNAMIC=1
+ COOKBOOK_DYNAMIC=1
++ type -t reexport_flags
+ '[' function = function ']'
+ reexport_flags
+ target=x86_64_unknown_redox
+ export CFLAGS_x86_64_unknown_redox=-I/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/include
+ CFLAGS_x86_64_unknown_redox=-I/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/include
+ export CXXFLAGS_x86_64_unknown_redox=-I/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/include
+ CXXFLAGS_x86_64_unknown_redox=-I/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/include
+ export 'LDFLAGS_x86_64_unknown_redox=-Wl,-rpath-link,/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/lib -L/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/lib -L/mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot/x86_64-unknown-redox/lib'
+ LDFLAGS_x86_64_unknown_redox='-Wl,-rpath-link,/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/lib -L/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/lib -L/mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot/x86_64-unknown-redox/lib'
+ cookbook_meson -Ddefault_library=static -Dxattr=false '-Dc_args=['\''-I/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/include'\'','\''-Wno-error=implicit-function-declaration'\'']'
+ echo '[binaries]'
++ printf ''\''%s'\'', ' x86_64-unknown-redox-gcc
++ sed 's/, $//'
+ echo 'c = ['\''x86_64-unknown-redox-gcc'\'']'
++ printf ''\''%s'\'', ' x86_64-unknown-redox-g++
++ sed 's/, $//'
+ echo 'cpp = ['\''x86_64-unknown-redox-g++'\'']'
+ echo 'ar = '\''x86_64-unknown-redox-gcc-ar'\'''
+ echo 'strip = '\''x86_64-unknown-redox-strip'\'''
+ echo 'pkg-config = '\''x86_64-unknown-redox-pkg-config'\'''
+ echo 'llvm-config = '\''x86_64-unknown-redox-llvm-config'\'''
+ echo 'glib-compile-resources = '\''glib-compile-resources'\'''
+ echo 'glib-compile-schemas = '\''glib-compile-schemas'\'''
+ echo '[host_machine]'
++ echo x86_64-unknown-redox
++ cut -d - -f3
+ echo 'system = '\''redox'\'''
++ echo x86_64-unknown-redox
++ cut -d - -f1
+ echo 'cpu_family = '\''x86_64'\'''
++ echo x86_64-unknown-redox
++ cut -d - -f1
+ echo 'cpu = '\''x86_64'\'''
+ echo 'endian = '\''little'\'''
+ echo '[built-in options]'
+ echo 'prefix = '\''/usr'\'''
+ echo 'libdir = '\''lib'\'''
+ echo 'bindir = '\''bin'\'''
++ format_flags ' -I/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/include'
++ flags=('-I/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/include')
++ local flags
++ local formatted=
++ for i in "${!flags[@]}"
++ formatted+=''\''-I/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/include'\'''
++ '[' 0 -lt 0 ']'
++ echo ''\''-I/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/include'\'''
+ echo 'c_args = ['\''-I/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/include'\'']'
++ format_flags ' -I/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/include'
++ flags=('-I/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/include')
++ local flags
++ local formatted=
++ for i in "${!flags[@]}"
++ formatted+=''\''-I/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/include'\'''
++ '[' 0 -lt 0 ']'
++ echo ''\''-I/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/include'\'''
+ echo 'cpp_args = ['\''-I/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/include'\'']'
++ format_flags '-Wl,-rpath-link,/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/lib -L/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/lib -L/mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot/x86_64-unknown-redox/lib'
++ flags=('-Wl,-rpath-link,/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/lib' '-L/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/lib' '-L/mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot/x86_64-unknown-redox/lib')
++ local flags
++ local formatted=
++ for i in "${!flags[@]}"
++ formatted+=''\''-Wl,-rpath-link,/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/lib'\'''
++ '[' 0 -lt 2 ']'
++ formatted+=', '
++ for i in "${!flags[@]}"
++ formatted+=''\''-L/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/lib'\'''
++ '[' 1 -lt 2 ']'
++ formatted+=', '
++ for i in "${!flags[@]}"
++ formatted+=''\''-L/mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot/x86_64-unknown-redox/lib'\'''
++ '[' 2 -lt 2 ']'
++ echo ''\''-Wl,-rpath-link,/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/lib'\'', '\''-L/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/lib'\'', '\''-L/mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot/x86_64-unknown-redox/lib'\'''
+ echo 'c_link_args = ['\''-Wl,-rpath-link,/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/lib'\'', '\''-L/mnt/data/Builds/RedBear-OS/recipes/libs/glib/target/x86_64-unknown-redox/sysroot/lib'\'', '\''-L/mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot/x86_64-unknown-redox/lib'\'']'
@@ -0,0 +1,40 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Red Bear OS <vasilito@redbearos.org>
Date: Fri, 10 Jul 2026 00:00:00 +0000
Subject: [PATCH] mesa: prefer WAYLAND_SCANNER env var for cross builds
When cross-compiling Mesa for Redox, Meson's `dependency('wayland-scanner',
native: true)` resolves the pkg-config variable from the target sysroot, which
points at a `wayland-scanner` binary built for Redox and is not executable on
the build host. The recipe already exports `WAYLAND_SCANNER`, but Meson never
used it.
Respect the `WAYLAND_SCANNER` environment variable when it is set, falling back
to the native dependency lookup only when the variable is absent. This allows
the host `wayland-scanner` to be used during cross-compilation.
--- a/meson.build
+++ b/meson.build
@@ -1992,12 +1992,18 @@ endif
# TODO: symbol mangling
if with_platform_wayland
- dep_wl_scanner = dependency('wayland-scanner', native: true)
- prog_wl_scanner = find_program(dep_wl_scanner.get_variable(pkgconfig : 'wayland_scanner'))
- if dep_wl_scanner.version().version_compare('>= 1.15')
+ wl_scanner_env = run_command('sh', '-c', 'echo "$WAYLAND_SCANNER"').stdout().strip()
+ if wl_scanner_env != ''
+ prog_wl_scanner = find_program(wl_scanner_env)
wl_scanner_arg = 'private-code'
else
- wl_scanner_arg = 'code'
+ dep_wl_scanner = dependency('wayland-scanner', native: true)
+ prog_wl_scanner = find_program(dep_wl_scanner.get_variable(pkgconfig : 'wayland_scanner'))
+ if dep_wl_scanner.version().version_compare('>= 1.15')
+ wl_scanner_arg = 'private-code'
+ else
+ wl_scanner_arg = 'code'
+ endif
endif
dep_wl_protocols = dependency('wayland-protocols', version : '>= 1.30')
dep_wayland_client = dependency('wayland-client', version : '>=1.18')
+5 -34
View File
@@ -18,6 +18,8 @@
#include <string.h>
#include <time.h>
#include <linux/idr.h>
#ifndef __iomem
#define __iomem
#endif
@@ -223,8 +225,7 @@ struct device {
struct pci_dev {
u16 vendor;
u16 device;
u16 command;
u16 device_id;
u8 bus_number;
u8 dev_number;
u8 func_number;
@@ -234,6 +235,8 @@ struct pci_dev {
u64 resource_len[6];
void *driver_data;
struct device device_obj;
/* Red Bear extensions after the linux-kpi-compatible prefix */
u16 command;
bool enabled;
int refcount;
u32 resource_flags[6];
@@ -503,38 +506,6 @@ static inline int list_empty(const struct list_head *head) {
&(pos)->member != (head); \
(pos) = list_entry((pos)->member.next, typeof(*(pos)), member))
/* ---- IDR ---- */
struct idr {
int next_id;
};
#define DEFINE_IDR(name) struct idr name = { .next_id = 1 }
static inline int idr_alloc(struct idr *idr, void *ptr, int start, int end, int flags) {
(void)ptr;
(void)start;
(void)end;
(void)flags;
return idr->next_id++;
}
static inline void *idr_find(struct idr *idr, int id) {
(void)idr;
(void)id;
return NULL;
}
static inline void idr_remove(struct idr *idr, int id) {
(void)idr;
(void)id;
}
static inline void idr_destroy(struct idr *idr) {
(void)idr;
}
#define idr_for_each_entry(idr, entry, id) for ((id) = 0; ((entry) = idr_find((idr), (id))) != NULL; (id)++)
/* ---- Misc ---- */
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
#define BITS_PER_LONG (sizeof(long) * 8)
@@ -234,7 +234,7 @@ void redox_pci_set_device_info(u16 vendor, u16 device,
{
memset(&g_pci_dev, 0, sizeof(g_pci_dev));
g_pci_dev.vendor = vendor;
g_pci_dev.device = device;
g_pci_dev.device_id = device;
g_pci_dev.bus_number = bus_number;
g_pci_dev.dev_number = dev_number;
g_pci_dev.func_number = func_number;
-318
View File
@@ -8,75 +8,6 @@ diff -ruN -x '*.orig' -x '*.rej' source-old/include/linux/input.h source/include
+#else
+#include "linux/input.h"
#endif
diff -ruN -x '*.orig' -x '*.rej' source-old/libudev.h source/libudev.h
--- source-old/libudev.h 1970-01-01 00:00:00.000000000 +0000
+++ source/libudev.h 2026-04-13 23:39:02.335248158 +0100
@@ -0,0 +1,65 @@
+#ifndef LIBINPUT_LIBUDEV_SHIM_H
+#define LIBINPUT_LIBUDEV_SHIM_H
+
+#include <sys/types.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+struct udev;
+struct udev_device;
+struct udev_enumerate;
+struct udev_list_entry;
+struct udev_monitor;
+
+struct udev *udev_new(void);
+struct udev *udev_ref(struct udev *udev);
+struct udev *udev_unref(struct udev *udev);
+
+struct udev *udev_device_get_udev(struct udev_device *udev_device);
+struct udev_device *udev_device_new_from_devnum(struct udev *udev, char type, dev_t devnum);
+struct udev_device *udev_device_new_from_syspath(struct udev *udev, const char *syspath);
+struct udev_device *udev_device_ref(struct udev_device *udev_device);
+struct udev_device *udev_device_unref(struct udev_device *udev_device);
+const char *udev_device_get_action(struct udev_device *udev_device);
+const char *udev_device_get_devnode(struct udev_device *udev_device);
+int udev_device_get_is_initialized(struct udev_device *udev_device);
+struct udev_device *udev_device_get_parent(struct udev_device *udev_device);
+struct udev_device *udev_device_get_parent_with_subsystem_devtype(struct udev_device *udev_device,
+ const char *subsystem,
+ const char *devtype);
+struct udev_list_entry *udev_device_get_properties_list_entry(struct udev_device *udev_device);
+const char *udev_device_get_property_value(struct udev_device *udev_device, const char *key);
+const char *udev_device_get_sysname(struct udev_device *udev_device);
+const char *udev_device_get_syspath(struct udev_device *udev_device);
+
+struct udev_enumerate *udev_enumerate_new(struct udev *udev);
+struct udev_enumerate *udev_enumerate_unref(struct udev_enumerate *udev_enumerate);
+int udev_enumerate_add_match_subsystem(struct udev_enumerate *udev_enumerate,
+ const char *subsystem);
+struct udev_list_entry *udev_enumerate_get_list_entry(struct udev_enumerate *udev_enumerate);
+int udev_enumerate_scan_devices(struct udev_enumerate *udev_enumerate);
+
+const char *udev_list_entry_get_name(struct udev_list_entry *list_entry);
+struct udev_list_entry *udev_list_entry_get_next(struct udev_list_entry *list_entry);
+const char *udev_list_entry_get_value(struct udev_list_entry *list_entry);
+
+#define udev_list_entry_foreach(list_entry, first_entry) \
+ for ((list_entry) = (first_entry); (list_entry) != NULL; \
+ (list_entry) = udev_list_entry_get_next(list_entry))
+
+struct udev_monitor *udev_monitor_new_from_netlink(struct udev *udev, const char *name);
+struct udev_monitor *udev_monitor_unref(struct udev_monitor *udev_monitor);
+int udev_monitor_enable_receiving(struct udev_monitor *udev_monitor);
+int udev_monitor_filter_add_match_subsystem_devtype(struct udev_monitor *udev_monitor,
+ const char *subsystem,
+ const char *devtype);
+int udev_monitor_get_fd(struct udev_monitor *udev_monitor);
+struct udev_device *udev_monitor_receive_device(struct udev_monitor *udev_monitor);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
diff -ruN -x '*.orig' -x '*.rej' source-old/meson.build source/meson.build
--- source-old/meson.build 2026-02-24 04:13:42.000000000 +0000
+++ source/meson.build 2026-04-13 23:39:02.335340571 +0100
@@ -189,255 +120,6 @@ diff -ruN -x '*.orig' -x '*.rej' source-old/meson_options.txt source/meson_optio
option('epoll-dir',
type: 'string',
value: '',
diff -ruN -x '*.orig' -x '*.rej' source-old/src/libinput.h source/src/libinput.h
--- source-old/src/libinput.h 2026-02-24 04:13:42.000000000 +0000
+++ source/src/libinput.h 2026-04-13 23:39:02.336213628 +0100
@@ -29,11 +29,13 @@
extern "C" {
#endif
-#include <libudev.h>
#include <stdarg.h>
#include <stdint.h>
#include <stdlib.h>
+struct udev;
+struct udev_device;
+
#define LIBINPUT_ATTRIBUTE_PRINTF(_format, _args) \
__attribute__ ((format (printf, _format, _args)))
#define LIBINPUT_ATTRIBUTE_DEPRECATED __attribute__ ((deprecated))
diff -ruN -x '*.orig' -x '*.rej' source-old/src/libudev-stub.c source/src/libudev-stub.c
--- source-old/src/libudev-stub.c 1970-01-01 00:00:00.000000000 +0000
+++ source/src/libudev-stub.c 2026-04-13 23:39:02.336745169 +0100
@@ -0,0 +1,227 @@
+#include <stddef.h>
+
+#include <libudev.h>
+
+struct udev *
+udev_new(void)
+{
+ return NULL;
+}
+
+struct udev *
+udev_ref(struct udev *udev)
+{
+ return udev;
+}
+
+struct udev *
+udev_unref(struct udev *udev)
+{
+ return udev;
+}
+
+struct udev *
+udev_device_get_udev(struct udev_device *udev_device)
+{
+ (void)udev_device;
+ return NULL;
+}
+
+struct udev_device *
+udev_device_new_from_devnum(struct udev *udev, char type, dev_t devnum)
+{
+ (void)udev;
+ (void)type;
+ (void)devnum;
+ return NULL;
+}
+
+struct udev_device *
+udev_device_new_from_syspath(struct udev *udev, const char *syspath)
+{
+ (void)udev;
+ (void)syspath;
+ return NULL;
+}
+
+struct udev_device *
+udev_device_ref(struct udev_device *udev_device)
+{
+ return udev_device;
+}
+
+struct udev_device *
+udev_device_unref(struct udev_device *udev_device)
+{
+ return udev_device;
+}
+
+const char *
+udev_device_get_action(struct udev_device *udev_device)
+{
+ (void)udev_device;
+ return NULL;
+}
+
+const char *
+udev_device_get_devnode(struct udev_device *udev_device)
+{
+ (void)udev_device;
+ return NULL;
+}
+
+int
+udev_device_get_is_initialized(struct udev_device *udev_device)
+{
+ (void)udev_device;
+ return 0;
+}
+
+struct udev_device *
+udev_device_get_parent(struct udev_device *udev_device)
+{
+ (void)udev_device;
+ return NULL;
+}
+
+struct udev_device *
+udev_device_get_parent_with_subsystem_devtype(struct udev_device *udev_device,
+ const char *subsystem,
+ const char *devtype)
+{
+ (void)udev_device;
+ (void)subsystem;
+ (void)devtype;
+ return NULL;
+}
+
+struct udev_list_entry *
+udev_device_get_properties_list_entry(struct udev_device *udev_device)
+{
+ (void)udev_device;
+ return NULL;
+}
+
+const char *
+udev_device_get_property_value(struct udev_device *udev_device, const char *key)
+{
+ (void)udev_device;
+ (void)key;
+ return NULL;
+}
+
+const char *
+udev_device_get_sysname(struct udev_device *udev_device)
+{
+ (void)udev_device;
+ return NULL;
+}
+
+const char *
+udev_device_get_syspath(struct udev_device *udev_device)
+{
+ (void)udev_device;
+ return NULL;
+}
+
+struct udev_enumerate *
+udev_enumerate_new(struct udev *udev)
+{
+ (void)udev;
+ return NULL;
+}
+
+struct udev_enumerate *
+udev_enumerate_unref(struct udev_enumerate *udev_enumerate)
+{
+ return udev_enumerate;
+}
+
+int
+udev_enumerate_add_match_subsystem(struct udev_enumerate *udev_enumerate, const char *subsystem)
+{
+ (void)udev_enumerate;
+ (void)subsystem;
+ return 0;
+}
+
+struct udev_list_entry *
+udev_enumerate_get_list_entry(struct udev_enumerate *udev_enumerate)
+{
+ (void)udev_enumerate;
+ return NULL;
+}
+
+int
+udev_enumerate_scan_devices(struct udev_enumerate *udev_enumerate)
+{
+ (void)udev_enumerate;
+ return 0;
+}
+
+const char *
+udev_list_entry_get_name(struct udev_list_entry *list_entry)
+{
+ (void)list_entry;
+ return NULL;
+}
+
+struct udev_list_entry *
+udev_list_entry_get_next(struct udev_list_entry *list_entry)
+{
+ (void)list_entry;
+ return NULL;
+}
+
+const char *
+udev_list_entry_get_value(struct udev_list_entry *list_entry)
+{
+ (void)list_entry;
+ return NULL;
+}
+
+struct udev_monitor *
+udev_monitor_new_from_netlink(struct udev *udev, const char *name)
+{
+ (void)udev;
+ (void)name;
+ return NULL;
+}
+
+struct udev_monitor *
+udev_monitor_unref(struct udev_monitor *udev_monitor)
+{
+ return udev_monitor;
+}
+
+int
+udev_monitor_enable_receiving(struct udev_monitor *udev_monitor)
+{
+ (void)udev_monitor;
+ return -1;
+}
+
+int
+udev_monitor_filter_add_match_subsystem_devtype(struct udev_monitor *udev_monitor,
+ const char *subsystem,
+ const char *devtype)
+{
+ (void)udev_monitor;
+ (void)subsystem;
+ (void)devtype;
+ return 0;
+}
+
+int
+udev_monitor_get_fd(struct udev_monitor *udev_monitor)
+{
+ (void)udev_monitor;
+ return -1;
+}
+
+struct udev_device *
+udev_monitor_receive_device(struct udev_monitor *udev_monitor)
+{
+ (void)udev_monitor;
+ return NULL;
+}
diff -ruN -x '*.orig' -x '*.rej' source-old/src/timer.c source/src/timer.c
--- source-old/src/timer.c 2026-02-24 04:13:42.000000000 +0000
+++ source/src/timer.c 2026-04-13 23:39:02.336885230 +0100
+2
View File
@@ -19,6 +19,7 @@ dependencies = [
"libwayland",
"dbus",
"mesa",
"openssl3",
]
script = """
DYNAMIC_INIT
@@ -664,6 +665,7 @@ cmake "${COOKBOOK_SOURCE}" \
-DFEATURE_qtwaylandscanner=ON \
-DFEATURE_egl=ON \
-DFEATURE_openssl=ON \
-DFEATURE_openssl_linked=ON \
-DFEATURE_dbus=ON \
-DFEATURE_wayland=ON \
-DWaylandScanner_EXECUTABLE=/usr/bin/wayland-scanner \
@@ -1627,6 +1627,48 @@ qt_internal_extend_target(Core CONDITION REDOX
io/qstorageinfo_unix.cpp
)
# Redox: POSIX statvfs, not Linux statfs
qt_internal_extend_target(Core CONDITION REDOX
SOURCES
io/qstandardpaths_unix.cpp
io/qstorageinfo_unix.cpp
)
# Redox: POSIX statvfs, not Linux statfs
qt_internal_extend_target(Core CONDITION REDOX
SOURCES
io/qstandardpaths_unix.cpp
io/qstorageinfo_unix.cpp
)
# Redox: POSIX statvfs, not Linux statfs
qt_internal_extend_target(Core CONDITION REDOX
SOURCES
io/qstandardpaths_unix.cpp
io/qstorageinfo_unix.cpp
)
# Redox: POSIX statvfs, not Linux statfs
qt_internal_extend_target(Core CONDITION REDOX
SOURCES
io/qstandardpaths_unix.cpp
io/qstorageinfo_unix.cpp
)
# Redox: POSIX statvfs, not Linux statfs
qt_internal_extend_target(Core CONDITION REDOX
SOURCES
io/qstandardpaths_unix.cpp
io/qstorageinfo_unix.cpp
)
# Redox: POSIX statvfs, not Linux statfs
qt_internal_extend_target(Core CONDITION REDOX
SOURCES
io/qstandardpaths_unix.cpp
io/qstorageinfo_unix.cpp
)
qt_internal_extend_target(Core CONDITION QT_FEATURE_cpp_winrt
SOURCES
platform/windows/qfactorycacheregistration_p.h
@@ -2089,6 +2131,48 @@ qt_internal_extend_target(Core CONDITION REDOX
io/qstorageinfo_unix.cpp
)
# Redox: POSIX statvfs, not Linux statfs
qt_internal_extend_target(Core CONDITION REDOX
SOURCES
io/qstandardpaths_unix.cpp
io/qstorageinfo_unix.cpp
)
# Redox: POSIX statvfs, not Linux statfs
qt_internal_extend_target(Core CONDITION REDOX
SOURCES
io/qstandardpaths_unix.cpp
io/qstorageinfo_unix.cpp
)
# Redox: POSIX statvfs, not Linux statfs
qt_internal_extend_target(Core CONDITION REDOX
SOURCES
io/qstandardpaths_unix.cpp
io/qstorageinfo_unix.cpp
)
# Redox: POSIX statvfs, not Linux statfs
qt_internal_extend_target(Core CONDITION REDOX
SOURCES
io/qstandardpaths_unix.cpp
io/qstorageinfo_unix.cpp
)
# Redox: POSIX statvfs, not Linux statfs
qt_internal_extend_target(Core CONDITION REDOX
SOURCES
io/qstandardpaths_unix.cpp
io/qstorageinfo_unix.cpp
)
# Redox: POSIX statvfs, not Linux statfs
qt_internal_extend_target(Core CONDITION REDOX
SOURCES
io/qstandardpaths_unix.cpp
io/qstorageinfo_unix.cpp
)
qt_internal_extend_target(Core CONDITION QT_FEATURE_itemmodel
SOURCES
itemmodels/qabstractitemmodel.cpp itemmodels/qabstractitemmodel.h itemmodels/qabstractitemmodel_p.h
@@ -184,6 +184,12 @@ static_assert(std::is_signed_v<qint128>,
#include <assert.h>
#include <assert.h>
#include <assert.h>
#include <assert.h>
#include <assert.h>
#include <assert.h>
#include <assert.h>
#include <assert.h>
#include <assert.h>
#ifndef static_assert
#define static_assert _Static_assert
#endif
@@ -50,6 +50,9 @@ struct QPluginMetaData
static constexpr quint8 archRequirements()
{
#ifdef Q_OS_REDOX
return 0;
#else
quint8 v = 0;
#if defined(__AVX512F__)
v = 4; // x86-64-v4: AVX512F, AVX512BW, AVX512CD, AVX512DQ and AVX512VL
@@ -64,6 +67,7 @@ struct QPluginMetaData
v |= 0x80;
#endif
return v;
#endif
}
struct Header {
@@ -29,6 +29,11 @@
# endif
#endif // QT_LINUXBASE
#ifdef Q_OS_REDOX
# define IFNAMSIZ 16
struct ifreq { char ifr_name[IFNAMSIZ]; };
#endif
#include <qplatformdefs.h>
QT_BEGIN_NAMESPACE
@@ -563,9 +568,13 @@ static QList<QNetworkInterfacePrivate *> createInterfaces(ifaddrs *rawList)
iface->flags = convertFlags(ptr->ifa_flags);
if ((socket = openSocket(socket)) >= 0) {
#ifndef Q_OS_REDOX
struct ifreq ifr;
qstrncpy(ifr.ifr_name, ptr->ifa_name, sizeof(ifr.ifr_name));
iface->mtu = getMtu(socket, &ifr);
#else
iface->mtu = 1500;
#endif
}
}
}
@@ -1127,6 +1127,12 @@ qint64 QNativeSocketEnginePrivate::nativeSendDatagram(const char *data, qint64 l
#ifdef IPV6_HOPLIMIT
#ifdef IPV6_HOPLIMIT
#ifdef IPV6_HOPLIMIT
#ifdef IPV6_HOPLIMIT
#ifdef IPV6_HOPLIMIT
#ifdef IPV6_HOPLIMIT
#ifdef IPV6_HOPLIMIT
#ifdef IPV6_HOPLIMIT
#ifdef IPV6_HOPLIMIT
#ifdef IPV6_HOPLIMIT
if (header.hopLimit != -1) {
msg.msg_controllen += CMSG_SPACE(sizeof(int));
@@ -1142,6 +1148,12 @@ qint64 QNativeSocketEnginePrivate::nativeSendDatagram(const char *data, qint64 l
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
if (header.ifindex != 0 || !header.senderAddress.isNull()) {
struct in6_pktinfo *data = reinterpret_cast<in6_pktinfo *>(CMSG_DATA(cmsgptr));
@@ -28,6 +28,12 @@
#include <sys/ioctl.h>
#include <sys/ioctl.h>
#include <sys/ioctl.h>
#include <sys/ioctl.h>
#include <sys/ioctl.h>
#include <sys/ioctl.h>
#include <sys/ioctl.h>
#include <sys/ioctl.h>
#include <sys/ioctl.h>
#include <netinet/in.h>
#if defined(Q_OS_VXWORKS)
@@ -58,6 +58,12 @@ public:
#if QT_CONFIG(opengl)
#if QT_CONFIG(opengl)
#if QT_CONFIG(opengl)
#if QT_CONFIG(opengl)
#if QT_CONFIG(opengl)
#if QT_CONFIG(opengl)
#if QT_CONFIG(opengl)
#if QT_CONFIG(opengl)
#if QT_CONFIG(opengl)
#if QT_CONFIG(opengl)
virtual QPlatformOpenGLContext *createPlatformOpenGLContext(const QSurfaceFormat &glFormat, QPlatformOpenGLContext *share) const = 0;
#endif /* QT_CONFIG(opengl) */
@@ -66,6 +72,12 @@ public:
#endif /* QT_CONFIG(opengl) */
#endif /* QT_CONFIG(opengl) */
#endif /* QT_CONFIG(opengl) */
#endif /* QT_CONFIG(opengl) */
#endif /* QT_CONFIG(opengl) */
#endif /* QT_CONFIG(opengl) */
#endif /* QT_CONFIG(opengl) */
#endif /* QT_CONFIG(opengl) */
#endif /* QT_CONFIG(opengl) */
#endif /* QT_CONFIG(opengl) */
virtual bool canCreatePlatformOffscreenSurface() const { return false; }
#if QT_CONFIG(opengl)
@@ -85,6 +97,12 @@ public:
#if QT_CONFIG(opengl)
#if QT_CONFIG(opengl)
#if QT_CONFIG(opengl)
#if QT_CONFIG(opengl)
#if QT_CONFIG(opengl)
#if QT_CONFIG(opengl)
#if QT_CONFIG(opengl)
#if QT_CONFIG(opengl)
#if QT_CONFIG(opengl)
#if QT_CONFIG(opengl)
virtual void *nativeResourceForContext(NativeResource /*resource*/, QPlatformOpenGLContext */*context*/) { return nullptr; }
#endif /* QT_CONFIG(opengl) */
@@ -94,6 +112,12 @@ public:
#endif /* QT_CONFIG(opengl) */
#endif /* QT_CONFIG(opengl) */
#endif /* QT_CONFIG(opengl) */
#endif /* QT_CONFIG(opengl) */
#endif /* QT_CONFIG(opengl) */
#endif /* QT_CONFIG(opengl) */
#endif /* QT_CONFIG(opengl) */
#endif /* QT_CONFIG(opengl) */
#endif /* QT_CONFIG(opengl) */
};
}
@@ -691,6 +691,7 @@ const XDG_WM_BASE_DESTROY: u16 = 0;
const XDG_WM_BASE_CREATE_POSITIONER: u16 = 1;
const XDG_WM_BASE_GET_XDG_SURFACE: u16 = 2;
const XDG_WM_BASE_PONG: u16 = 3;
const XDG_WM_BASE_PING: u16 = 0;
const XDG_SURFACE_DESTROY: u16 = 0;
const XDG_SURFACE_GET_TOPLEVEL: u16 = 1;
@@ -840,6 +841,7 @@ const ZXDG_DECORATION_MANAGER_V1_GET_TOPLEVEL_DECORATION: u16 = 1;
const ZXDG_TOPLEVEL_DECORATION_V1_DESTROY: u16 = 0;
const ZXDG_TOPLEVEL_DECORATION_V1_SET_MODE: u16 = 1;
const ZXDG_TOPLEVEL_DECORATION_V1_UNSET_MODE: u16 = 2;
const ZXDG_TOPLEVEL_DECORATION_V1_CONFIGURE: u16 = 0;
const ZXDG_TOPLEVEL_DECORATION_MODE_SERVER_SIDE: u32 = 2;
const WP_VIEWPORTER_DESTROY: u16 = 0;
@@ -1281,6 +1283,10 @@ impl Compositor {
data_devices: HashMap::new(),
data_offers: HashMap::new(),
xdg_to_surface: HashMap::new(),
decorations: HashMap::new(),
dmabuf_params: HashMap::new(),
viewporters: HashMap::new(),
presentation_feedback: HashMap::new(),
acked_global_removals: HashSet::new(),
_next_id: 1,
},
@@ -1481,6 +1487,10 @@ impl Compositor {
"wl_data_device_manager" => OBJECT_TYPE_WL_DATA_DEVICE_MANAGER,
"wl_subcompositor" => OBJECT_TYPE_WL_SUBCOMPOSITOR,
"wl_fixes" => OBJECT_TYPE_WL_FIXES,
"zxdg_decoration_manager_v1" => OBJECT_TYPE_ZXDG_DECORATION_MANAGER_V1,
"zwp_linux_dmabuf_v1" => OBJECT_TYPE_ZWP_LINUX_DMABUF_V1,
"wp_viewporter" => OBJECT_TYPE_WP_VIEWPORTER,
"wp_presentation" => OBJECT_TYPE_WP_PRESENTATION,
_ => 0,
};
client.objects.insert(new_id, type_id);
@@ -1495,6 +1505,9 @@ impl Compositor {
if iface == "wl_seat" {
self.send_seat_capabilities(stream, new_id, object_version);
}
if iface == "xdg_wm_base" {
self.send_xdg_wm_base_ping(stream, new_id);
}
}
}
_ => {
@@ -3070,6 +3083,13 @@ impl Compositor {
let _ = stream.write_all(&msg);
}
fn send_xdg_wm_base_ping(&self, stream: &mut UnixStream, xdg_wm_base_id: u32) {
let mut msg = Vec::with_capacity(12);
push_header(&mut msg, xdg_wm_base_id, XDG_WM_BASE_PING, 4);
push_u32(&mut msg, self.next_serial());
let _ = stream.write_all(&msg);
}
fn send_shm_format(&self, stream: &mut UnixStream, shm_id: u32, format: u32) {
let mut msg = Vec::with_capacity(12);
push_header(&mut msg, shm_id, WL_SHM_FORMAT, 4);
+1
View File
@@ -10,6 +10,7 @@ patches = [
"../../../local/patches/mesa/04-sys-ioccom-stub-header.patch",
"../../../local/patches/mesa/05-vk-sync-wchar-include.patch",
"../../../local/patches/mesa/06-redox-surface-image-fields.patch",
"../../../local/patches/mesa/07-wayland-scanner-env-override.patch",
]
[build]
template = "custom"