D: [iurt_root_command] chroot
Building target platforms: x86_64
Building for target x86_64
sh: line 4: [: -j8: integer expression expected
Installing /home/pterjan/rpmbuild/SRPMS/wmix-3.5-2.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.R4vX2q
sh: line 4: [: -j8: integer expression expected
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.iMlTGm
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/wmix-3.5-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/wmix-3.5-build
+ rm -rf wmix-3.5
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/wmix-3.5.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd wmix-3.5
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ RPM_EC=0
++ jobs -p
+ exit 0
sh: line 4: [: -j8: integer expression expected
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.wgQXfO
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/wmix-3.5-build
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd wmix-3.5
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ autoreconf --force --install
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ CONFIGURE_TOP=.
+ '[' 1 = 1 ']'
++ find . -name config.guess -o -name config.sub
+ /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool
Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html)
+ /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool
+ /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking
+ /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs .
+ /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64
+ ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info
checking for a BSD-compatible install... /usr/bin/install -c
checking whether sleep supports fractional seconds... yes
checking filesystem timestamp resolution... 0.01
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking xargs -n works... yes
checking for x86_64-mageia-linux-gnu-gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... none
checking for snd_mixer_selem_get_playback_switch in -lasound... yes
checking for cos in -lm... yes
checking for XOpenDisplay in -lX11... yes
checking for XShapeCombineMask in -lXext... yes
checking for XpmCreatePixmapFromData in -lXpm... yes
checking for XRRQueryExtension in -lXrandr... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
+ /usr/bin/make -O -j48 V=1 VERBOSE=1 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon' 'LDFLAGS=-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
gcc -DPACKAGE_NAME=\"wmix\" -DPACKAGE_TARNAME=\"wmix\" -DPACKAGE_VERSION=\"3.5\" -DPACKAGE_STRING=\"wmix\ 3.5\" -DPACKAGE_BUGREPORT=\"wmaker-dev@googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"wmix\" -DVERSION=\"3.5\" -DHAVE_LIBASOUND=1 -DHAVE_LIBM=1 -DHAVE_LIBX11=1 -DHAVE_LIBXEXT=1 -DHAVE_LIBXPM=1 -DHAVE_LIBXRANDR=1 -I.     -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c -o misc.o misc.c
In file included from misc.c:33:
include/common.h:21:22: error: 'bool' cannot be defined via 'typedef'
   21 | typedef unsigned int bool;
      |                      ^~~~
include/common.h:21:22: note: 'bool' is a keyword with '-std=c23' onwards
include/common.h:21:1: warning: useless type name in empty declaration
   21 | typedef unsigned int bool;
      | ^~~~~~~
make: *** [Makefile:431: misc.o] Error 1
make: *** Waiting for unfinished jobs....
gcc -DPACKAGE_NAME=\"wmix\" -DPACKAGE_TARNAME=\"wmix\" -DPACKAGE_VERSION=\"3.5\" -DPACKAGE_STRING=\"wmix\ 3.5\" -DPACKAGE_BUGREPORT=\"wmaker-dev@googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"wmix\" -DVERSION=\"3.5\" -DHAVE_LIBASOUND=1 -DHAVE_LIBM=1 -DHAVE_LIBX11=1 -DHAVE_LIBXEXT=1 -DHAVE_LIBXPM=1 -DHAVE_LIBXRANDR=1 -I.     -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c -o config.o config.c
In file included from config.c:32:
include/common.h:21:22: error: 'bool' cannot be defined via 'typedef'
   21 | typedef unsigned int bool;
      |                      ^~~~
include/common.h:21:22: note: 'bool' is a keyword with '-std=c23' onwards
include/common.h:21:1: warning: useless type name in empty declaration
   21 | typedef unsigned int bool;
      | ^~~~~~~
make: *** [Makefile:431: config.o] Error 1
gcc -DPACKAGE_NAME=\"wmix\" -DPACKAGE_TARNAME=\"wmix\" -DPACKAGE_VERSION=\"3.5\" -DPACKAGE_STRING=\"wmix\ 3.5\" -DPACKAGE_BUGREPORT=\"wmaker-dev@googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"wmix\" -DVERSION=\"3.5\" -DHAVE_LIBASOUND=1 -DHAVE_LIBM=1 -DHAVE_LIBX11=1 -DHAVE_LIBXEXT=1 -DHAVE_LIBXPM=1 -DHAVE_LIBXRANDR=1 -I.     -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c -o mmkeys.o mmkeys.c
In file included from mmkeys.c:30:
include/common.h:21:22: error: 'bool' cannot be defined via 'typedef'
   21 | typedef unsigned int bool;
      |                      ^~~~
include/common.h:21:22: note: 'bool' is a keyword with '-std=c23' onwards
include/common.h:21:1: warning: useless type name in empty declaration
   21 | typedef unsigned int bool;
      | ^~~~~~~
make: *** [Makefile:431: mmkeys.o] Error 1
gcc -DPACKAGE_NAME=\"wmix\" -DPACKAGE_TARNAME=\"wmix\" -DPACKAGE_VERSION=\"3.5\" -DPACKAGE_STRING=\"wmix\ 3.5\" -DPACKAGE_BUGREPORT=\"wmaker-dev@googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"wmix\" -DVERSION=\"3.5\" -DHAVE_LIBASOUND=1 -DHAVE_LIBM=1 -DHAVE_LIBX11=1 -DHAVE_LIBXEXT=1 -DHAVE_LIBXPM=1 -DHAVE_LIBXRANDR=1 -I.     -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c -o mixer-oss.o mixer-oss.c
In file included from mixer-oss.c:33:
include/common.h:21:22: error: 'bool' cannot be defined via 'typedef'
   21 | typedef unsigned int bool;
      |                      ^~~~
include/common.h:21:22: note: 'bool' is a keyword with '-std=c23' onwards
include/common.h:21:1: warning: useless type name in empty declaration
   21 | typedef unsigned int bool;
      | ^~~~~~~
make: *** [Makefile:431: mixer-oss.o] Error 1
gcc -DPACKAGE_NAME=\"wmix\" -DPACKAGE_TARNAME=\"wmix\" -DPACKAGE_VERSION=\"3.5\" -DPACKAGE_STRING=\"wmix\ 3.5\" -DPACKAGE_BUGREPORT=\"wmaker-dev@googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"wmix\" -DVERSION=\"3.5\" -DHAVE_LIBASOUND=1 -DHAVE_LIBM=1 -DHAVE_LIBX11=1 -DHAVE_LIBXEXT=1 -DHAVE_LIBXPM=1 -DHAVE_LIBXRANDR=1 -I.     -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c -o wmix.o wmix.c
In file included from wmix.c:35:
include/common.h:21:22: error: 'bool' cannot be defined via 'typedef'
   21 | typedef unsigned int bool;
      |                      ^~~~
include/common.h:21:22: note: 'bool' is a keyword with '-std=c23' onwards
include/common.h:21:1: warning: useless type name in empty declaration
   21 | typedef unsigned int bool;
      | ^~~~~~~
make: *** [Makefile:431: wmix.o] Error 1
gcc -DPACKAGE_NAME=\"wmix\" -DPACKAGE_TARNAME=\"wmix\" -DPACKAGE_VERSION=\"3.5\" -DPACKAGE_STRING=\"wmix\ 3.5\" -DPACKAGE_BUGREPORT=\"wmaker-dev@googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"wmix\" -DVERSION=\"3.5\" -DHAVE_LIBASOUND=1 -DHAVE_LIBM=1 -DHAVE_LIBX11=1 -DHAVE_LIBXEXT=1 -DHAVE_LIBXPM=1 -DHAVE_LIBXRANDR=1 -I.     -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c -o mixer-alsa.o mixer-alsa.c
In file included from mixer-alsa.c:1:
include/common.h:21:22: error: 'bool' cannot be defined via 'typedef'
   21 | typedef unsigned int bool;
      |                      ^~~~
include/common.h:21:22: note: 'bool' is a keyword with '-std=c23' onwards
include/common.h:21:1: warning: useless type name in empty declaration
   21 | typedef unsigned int bool;
      | ^~~~~~~
make: *** [Makefile:431: mixer-alsa.o] Error 1
gcc -DPACKAGE_NAME=\"wmix\" -DPACKAGE_TARNAME=\"wmix\" -DPACKAGE_VERSION=\"3.5\" -DPACKAGE_STRING=\"wmix\ 3.5\" -DPACKAGE_BUGREPORT=\"wmaker-dev@googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"wmix\" -DVERSION=\"3.5\" -DHAVE_LIBASOUND=1 -DHAVE_LIBM=1 -DHAVE_LIBX11=1 -DHAVE_LIBXEXT=1 -DHAVE_LIBXPM=1 -DHAVE_LIBXRANDR=1 -I.     -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c -o ui_x.o ui_x.c
In file included from ui_x.c:44:
include/common.h:21:22: error: 'bool' cannot be defined via 'typedef'
   21 | typedef unsigned int bool;
      |                      ^~~~
include/common.h:21:22: note: 'bool' is a keyword with '-std=c23' onwards
include/common.h:21:1: warning: useless type name in empty declaration
   21 | typedef unsigned int bool;
      | ^~~~~~~
make: *** [Makefile:431: ui_x.o] Error 1
error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.wgQXfO (%build)

RPM build errors:
    Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.wgQXfO (%build)
I: [iurt_root_command] ERROR: chroot