D: [iurt_root_command] chroot
Building target platforms: x86_64
Building for target x86_64
Installing /home/pterjan/rpmbuild/SRPMS/libgbinder-1.1.42-1.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.C2p6rp
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.sTuk0R
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/libgbinder-1.1.42-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/libgbinder-1.1.42-build
+ rm -rf libgbinder-1.1.42
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/libgbinder-1.1.42.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd libgbinder-1.1.42
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.bo4imK
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/libgbinder-1.1.42-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 libgbinder-1.1.42
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 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'
+ 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
+ /usr/bin/make -O -j16 V=1 VERBOSE=1 LIBDIR=/usr/lib64 STRIP=true
mkdir -p build/debug
mkdir -p build/release
sed -e 's|@version@|1.1.42|g' -e 's|@libdir@|/usr/lib64|g' libgbinder.pc.in > build/libgbinder.pc
gcc -c -fPIC -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 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_MAX_ALLOWED -Wall -Wstrict-aliasing -Wunused-result -Iinclude -MMD -MP -I/usr/include/gutil -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -DDEBUG -MT"build/debug/gbinder_cleanup.o" -MF"build/debug/gbinder_cleanup.d" src/gbinder_cleanup.c -o build/debug/gbinder_cleanup.o
gcc -c -fPIC -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 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_MAX_ALLOWED -Wall -Wstrict-aliasing -Wunused-result -Iinclude -MMD -MP -I/usr/include/gutil -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -DDEBUG -MT"build/debug/gbinder_log.o" -MF"build/debug/gbinder_log.d" src/gbinder_log.c -o build/debug/gbinder_log.o
gcc -c -fPIC -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 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_MAX_ALLOWED -Wall -Wstrict-aliasing -Wunused-result -Iinclude -MMD -MP -I/usr/include/gutil -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -DDEBUG -MT"build/debug/gbinder_buffer.o" -MF"build/debug/gbinder_buffer.d" src/gbinder_buffer.c -o build/debug/gbinder_buffer.o
gcc -c -fPIC -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 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_MAX_ALLOWED -Wall -Wstrict-aliasing -Wunused-result -Iinclude -MMD -MP -I/usr/include/gutil -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -DDEBUG -MT"build/debug/gbinder_eventloop.o" -MF"build/debug/gbinder_eventloop.d" src/gbinder_eventloop.c -o build/debug/gbinder_eventloop.o
gcc -c -fPIC -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 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_MAX_ALLOWED -Wall -Wstrict-aliasing -Wunused-result -Iinclude -MMD -MP -I/usr/include/gutil -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -DDEBUG -MT"build/debug/gbinder_config.o" -MF"build/debug/gbinder_config.d" src/gbinder_config.c -o build/debug/gbinder_config.o
gcc -c -fPIC -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 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_MAX_ALLOWED -Wall -Wstrict-aliasing -Wunused-result -Iinclude -MMD -MP -I/usr/include/gutil -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -DDEBUG -MT"build/debug/gbinder_local_reply.o" -MF"build/debug/gbinder_local_reply.d" src/gbinder_local_reply.c -o build/debug/gbinder_local_reply.o
gcc -c -fPIC -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 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_MAX_ALLOWED -Wall -Wstrict-aliasing -Wunused-result -Iinclude -MMD -MP -I/usr/include/gutil -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -DDEBUG -MT"build/debug/gbinder_bridge.o" -MF"build/debug/gbinder_bridge.d" src/gbinder_bridge.c -o build/debug/gbinder_bridge.o
gcc -c -fPIC -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 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_MAX_ALLOWED -Wall -Wstrict-aliasing -Wunused-result -Iinclude -MMD -MP -I/usr/include/gutil -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -DDEBUG -MT"build/debug/gbinder_local_request.o" -MF"build/debug/gbinder_local_request.d" src/gbinder_local_request.c -o build/debug/gbinder_local_request.o
gcc -c -fPIC -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 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_MAX_ALLOWED -Wall -Wstrict-aliasing -Wunused-result -Iinclude -MMD -MP -I/usr/include/gutil -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -DDEBUG -MT"build/debug/gbinder_proxy_object.o" -MF"build/debug/gbinder_proxy_object.d" src/gbinder_proxy_object.c -o build/debug/gbinder_proxy_object.o
gcc -c -fPIC -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 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_MAX_ALLOWED -Wall -Wstrict-aliasing -Wunused-result -Iinclude -MMD -MP -I/usr/include/gutil -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -DDEBUG -MT"build/debug/gbinder_client.o" -MF"build/debug/gbinder_client.d" src/gbinder_client.c -o build/debug/gbinder_client.o
gcc -c -fPIC -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 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_MAX_ALLOWED -Wall -Wstrict-aliasing -Wunused-result -Iinclude -MMD -MP -I/usr/include/gutil -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -DDEBUG -MT"build/debug/gbinder_io_32.o" -MF"build/debug/gbinder_io_32.d" src/gbinder_io_32.c -o build/debug/gbinder_io_32.o
gcc -c -fPIC -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 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_MAX_ALLOWED -Wall -Wstrict-aliasing -Wunused-result -Iinclude -MMD -MP -I/usr/include/gutil -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -DDEBUG -MT"build/debug/gbinder_io_64.o" -MF"build/debug/gbinder_io_64.d" src/gbinder_io_64.c -o build/debug/gbinder_io_64.o
gcc -c -fPIC -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 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_MAX_ALLOWED -Wall -Wstrict-aliasing -Wunused-result -Iinclude -MMD -MP -I/usr/include/gutil -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -DDEBUG -MT"build/debug/gbinder_local_object.o" -MF"build/debug/gbinder_local_object.d" src/gbinder_local_object.c -o build/debug/gbinder_local_object.o
gcc -c -fPIC -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 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_MAX_ALLOWED -Wall -Wstrict-aliasing -Wunused-result -Iinclude -MMD -MP -I/usr/include/gutil -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -DDEBUG -MT"build/debug/gbinder_fmq.o" -MF"build/debug/gbinder_fmq.d" src/gbinder_fmq.c -o build/debug/gbinder_fmq.o
gcc -c -fPIC -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 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_MAX_ALLOWED -Wall -Wstrict-aliasing -Wunused-result -Iinclude -MMD -MP -I/usr/include/gutil -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -DDEBUG -MT"build/debug/gbinder_remote_object.o" -MF"build/debug/gbinder_remote_object.d" src/gbinder_remote_object.c -o build/debug/gbinder_remote_object.o
gcc -c -fPIC -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 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_MAX_ALLOWED -Wall -Wstrict-aliasing -Wunused-result -Iinclude -MMD -MP -I/usr/include/gutil -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -DDEBUG -MT"build/debug/gbinder_remote_reply.o" -MF"build/debug/gbinder_remote_reply.d" src/gbinder_remote_reply.c -o build/debug/gbinder_remote_reply.o
gcc -c -fPIC -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 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_MAX_ALLOWED -Wall -Wstrict-aliasing -Wunused-result -Iinclude -MMD -MP -I/usr/include/gutil -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -DDEBUG -MT"build/debug/gbinder_servicename.o" -MF"build/debug/gbinder_servicename.d" src/gbinder_servicename.c -o build/debug/gbinder_servicename.o
gcc -c -fPIC -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 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_MAX_ALLOWED -Wall -Wstrict-aliasing -Wunused-result -Iinclude -MMD -MP -I/usr/include/gutil -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -DDEBUG -MT"build/debug/gbinder_remote_request.o" -MF"build/debug/gbinder_remote_request.d" src/gbinder_remote_request.c -o build/debug/gbinder_remote_request.o
gcc -c -fPIC -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 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_MAX_ALLOWED -Wall -Wstrict-aliasing -Wunused-result -Iinclude -MMD -MP -I/usr/include/gutil -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -DDEBUG -MT"build/debug/gbinder_rpc_protocol.o" -MF"build/debug/gbinder_rpc_protocol.d" src/gbinder_rpc_protocol.c -o build/debug/gbinder_rpc_protocol.o
gcc -c -fPIC -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 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_MAX_ALLOWED -Wall -Wstrict-aliasing -Wunused-result -Iinclude -MMD -MP -I/usr/include/gutil -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -DDEBUG -MT"build/debug/gbinder_servicepoll.o" -MF"build/debug/gbinder_servicepoll.d" src/gbinder_servicepoll.c -o build/debug/gbinder_servicepoll.o
gcc -c -fPIC -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 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_MAX_ALLOWED -Wall -Wstrict-aliasing -Wunused-result -Iinclude -MMD -MP -I/usr/include/gutil -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -DDEBUG -MT"build/debug/gbinder_writer.o" -MF"build/debug/gbinder_writer.d" src/gbinder_writer.c -o build/debug/gbinder_writer.o
src/gbinder_writer.c: In function 'gbinder_writer_alloc':
src/gbinder_writer.c:1334:60: error: passing argument 2 of 'gbinder_cleanup_add' from incompatible pointer type [-Wincompatible-pointer-types]
 1334 |         data->cleanup = gbinder_cleanup_add(data->cleanup, dealloc, ptr);
      |                                                            ^~~~~~~
      |                                                            |
      |                                                            void (*)(void)
In file included from src/gbinder_writer_p.h:38,
                 from src/gbinder_writer.c:33:
src/gbinder_cleanup.h:51:20: note: expected 'GDestroyNotify' {aka 'void (*)(void *)'} but argument is of type 'void (*)(void)'
   51 |     GDestroyNotify destroy,
      |     ~~~~~~~~~~~~~~~^~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:34,
                 from /usr/include/glib-2.0/glib.h:32,
                 from /usr/include/gutil/gutil_types.h:36,
                 from include/gbinder_types.h:36,
                 from include/gbinder_writer.h:36,
                 from src/gbinder_writer_p.h:36:
/usr/include/glib-2.0/glib/gtypes.h:140:27: note: 'GDestroyNotify' declared here
  140 | typedef void            (*GDestroyNotify)       (gpointer       data);
      |                           ^~~~~~~~~~~~~~
src/gbinder_writer.c: In function 'gbinder_writer_malloc':
src/gbinder_writer.c:1345:55: error: passing argument 4 of 'gbinder_writer_alloc' from incompatible pointer type [-Wincompatible-pointer-types]
 1345 |     return gbinder_writer_alloc(self, size, g_malloc, g_free);
      |                                                       ^~~~~~
      |                                                       |
      |                                                       void (*)(void *)
src/gbinder_writer.c:1327:12: note: expected 'void (*)(void)' but argument is of type 'void (*)(void *)'
 1327 |     void (*dealloc)())
      |     ~~~~~~~^~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/glist.h:34,
                 from /usr/include/glib-2.0/glib/ghash.h:36,
                 from /usr/include/glib-2.0/glib.h:52:
/usr/include/glib-2.0/glib/gmem.h:74:11: note: 'g_free' declared here
   74 | void     (g_free)         (gpointer          mem);
      |           ^~~~~~
src/gbinder_writer.c: In function 'gbinder_writer_malloc0':
src/gbinder_writer.c:1353:56: error: passing argument 4 of 'gbinder_writer_alloc' from incompatible pointer type [-Wincompatible-pointer-types]
 1353 |     return gbinder_writer_alloc(self, size, g_malloc0, g_free);
      |                                                        ^~~~~~
      |                                                        |
      |                                                        void (*)(void *)
src/gbinder_writer.c:1327:12: note: expected 'void (*)(void)' but argument is of type 'void (*)(void *)'
 1327 |     void (*dealloc)())
      |     ~~~~~~~^~~~~~~~~~
/usr/include/glib-2.0/glib/gmem.h:74:11: note: 'g_free' declared here
   74 | void     (g_free)         (gpointer          mem);
      |           ^~~~~~
make: *** [Makefile:267: build/debug/gbinder_writer.o] Error 1
make: *** Waiting for unfinished jobs....
gcc -c -fPIC -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 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_MAX_ALLOWED -Wall -Wstrict-aliasing -Wunused-result -Iinclude -MMD -MP -I/usr/include/gutil -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -DDEBUG -MT"build/debug/gbinder_servicemanager_aidl2.o" -MF"build/debug/gbinder_servicemanager_aidl2.d" src/gbinder_servicemanager_aidl2.c -o build/debug/gbinder_servicemanager_aidl2.o
gcc -c -fPIC -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 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_MAX_ALLOWED -Wall -Wstrict-aliasing -Wunused-result -Iinclude -MMD -MP -I/usr/include/gutil -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -DDEBUG -MT"build/debug/gbinder_reader.o" -MF"build/debug/gbinder_reader.d" src/gbinder_reader.c -o build/debug/gbinder_reader.o
gcc -c -fPIC -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 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_MAX_ALLOWED -Wall -Wstrict-aliasing -Wunused-result -Iinclude -MMD -MP -I/usr/include/gutil -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -DDEBUG -MT"build/debug/gbinder_servicemanager_aidl.o" -MF"build/debug/gbinder_servicemanager_aidl.d" src/gbinder_servicemanager_aidl.c -o build/debug/gbinder_servicemanager_aidl.o
gcc -c -fPIC -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 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_MAX_ALLOWED -Wall -Wstrict-aliasing -Wunused-result -Iinclude -MMD -MP -I/usr/include/gutil -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -DDEBUG -MT"build/debug/gbinder_servicemanager_aidl3.o" -MF"build/debug/gbinder_servicemanager_aidl3.d" src/gbinder_servicemanager_aidl3.c -o build/debug/gbinder_servicemanager_aidl3.o
gcc -c -fPIC -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 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_MAX_ALLOWED -Wall -Wstrict-aliasing -Wunused-result -Iinclude -MMD -MP -I/usr/include/gutil -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -DDEBUG -MT"build/debug/gbinder_servicemanager_aidl4.o" -MF"build/debug/gbinder_servicemanager_aidl4.d" src/gbinder_servicemanager_aidl4.c -o build/debug/gbinder_servicemanager_aidl4.o
gcc -c -fPIC -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 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_MAX_ALLOWED -Wall -Wstrict-aliasing -Wunused-result -Iinclude -MMD -MP -I/usr/include/gutil -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -DDEBUG -MT"build/debug/gbinder_driver.o" -MF"build/debug/gbinder_driver.d" src/gbinder_driver.c -o build/debug/gbinder_driver.o
src/gbinder_driver.c: In function 'gbinder_driver_handle_command':
src/gbinder_driver.c:726:9: note: '#pragma message: TODO: handle more commands from the driver'
  726 | #pragma message("TODO: handle more commands from the driver")
      |         ^~~~~~~
gcc -c -fPIC -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 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_MAX_ALLOWED -Wall -Wstrict-aliasing -Wunused-result -Iinclude -MMD -MP -I/usr/include/gutil -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -DDEBUG -MT"build/debug/gbinder_system.o" -MF"build/debug/gbinder_system.d" src/gbinder_system.c -o build/debug/gbinder_system.o
gcc -c -fPIC -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 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_MAX_ALLOWED -Wall -Wstrict-aliasing -Wunused-result -Iinclude -MMD -MP -I/usr/include/gutil -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -DDEBUG -MT"build/debug/gbinder_servicemanager_hidl.o" -MF"build/debug/gbinder_servicemanager_hidl.d" src/gbinder_servicemanager_hidl.c -o build/debug/gbinder_servicemanager_hidl.o
gcc -c -fPIC -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 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_MAX_ALLOWED -Wall -Wstrict-aliasing -Wunused-result -Iinclude -MMD -MP -I/usr/include/gutil -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -DDEBUG -MT"build/debug/gbinder_servicemanager.o" -MF"build/debug/gbinder_servicemanager.d" src/gbinder_servicemanager.c -o build/debug/gbinder_servicemanager.o
gcc -c -fPIC -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 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_MAX_ALLOWED -Wall -Wstrict-aliasing -Wunused-result -Iinclude -MMD -MP -I/usr/include/gutil -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -DDEBUG -MT"build/debug/gbinder_ipc.o" -MF"build/debug/gbinder_ipc.d" src/gbinder_ipc.c -o build/debug/gbinder_ipc.o
error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.bo4imK (%build)

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