D: [iurt_root_command] chroot RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument Building target platforms: x86_64 Building for target x86_64 Installing /home/iurt/rpmbuild/SRPMS/@2218233:fwupd-efi-1.6-4.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.9nraop Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.vIaLaw + umask 022 + cd /home/iurt/rpmbuild/BUILD/fwupd-efi-1.6-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD/fwupd-efi-1.6-build + rm -rf fwupd-efi-1.6 + /usr/lib/rpm/rpmuncompress -x /home/iurt/rpmbuild/SOURCES/fwupd-efi-1.6.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd fwupd-efi-1.6 + /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/iurt/rpmbuild/tmp/rpm-tmp.68bo3L + umask 022 + cd /home/iurt/rpmbuild/BUILD/fwupd-efi-1.6-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 fwupd-efi-1.6 + '[' 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/meson setup --buildtype=plain --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/sbin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localedir=/usr/share/locale --sysconfdir=/etc --localstatedir=/var --sharedstatedir=/var/lib --wrap-mode=nodownload --auto-features=enabled . build -Defi_sbat_distro_id=mageia '-Defi_sbat_distro_summary=The Mageia Project' -Defi_sbat_distro_pkgname=fwupd-efi -Defi_sbat_distro_version=1.6-4.mga10 -Defi_sbat_distro_url=http://madb.mageia.org/package/show/name/fwupd-efi/ The Meson build system Version: 1.8.2 Source dir: /home/iurt/rpmbuild/BUILD/fwupd-efi-1.6-build/fwupd-efi-1.6 Build dir: /home/iurt/rpmbuild/BUILD/fwupd-efi-1.6-build/fwupd-efi-1.6/build Build type: native build Project name: fwupd-efi Project version: 1.6 C compiler for the host machine: gcc (gcc 15.1.0 "gcc (Mageia 15.1.0-1.mga10) 15.1.0") C linker for the host machine: gcc ld.bfd 2.44 Host machine cpu family: x86_64 Host machine cpu: x86_64 Program objcopy found: YES (/usr/bin/objcopy) Found pkg-config: YES (/usr/bin/pkg-config) 2.3.0 Run-time dependency gnu-efi found: YES 3.0.18 Program genpeimg found: NO Configuring config.h using configuration Program uswid found: NO meson.build:69: WARNING: uswid is unfound, so not embedding uSWID metadata Program generate_sbat.py found: YES (/home/iurt/rpmbuild/BUILD/fwupd-efi-1.6-build/fwupd-efi-1.6/efi/generate_sbat.py) Program generate_binary.py found: YES (/home/iurt/rpmbuild/BUILD/fwupd-efi-1.6-build/fwupd-efi-1.6/efi/generate_binary.py) Program git found: NO Has header "/usr/include/efi/x86_64/efibind.h" : YES efi/meson.build:110: WARNING: Cannot find SBAT section in /usr/lib/../lib64/gnuefi/elf_x86_64_efi.lds, using local copy Message: efi-libdir: "/usr/lib/../lib64" Message: efi-ldsdir: "/home/iurt/rpmbuild/BUILD/fwupd-efi-1.6-build/fwupd-efi-1.6/efi/lds" Message: efi-crtdir: "/usr/lib/../lib64/gnuefi" Message: efi-includedir: "/usr/include/efi" Compiler for C supports arguments -fno-merge-constants: YES First supported argument: -fno-merge-constants Build targets in project: 8 fwupd-efi 1.6 User defined options auto_features : enabled bindir : /usr/bin buildtype : plain datadir : /usr/share efi_sbat_distro_id : mageia efi_sbat_distro_pkgname: fwupd-efi efi_sbat_distro_summary: The Mageia Project efi_sbat_distro_url : http://madb.mageia.org/package/show/name/fwupd-efi/ efi_sbat_distro_version: 1.6-4.mga10 includedir : /usr/include infodir : /usr/share/info libdir : /usr/lib64 libexecdir : /usr/libexec localedir : /usr/share/locale localstatedir : /var mandir : /usr/share/man prefix : /usr sbindir : /usr/sbin sharedstatedir : /var/lib sysconfdir : /etc wrap_mode : nodownload Found ninja-1.12.1 at /usr/bin/ninja + /usr/bin/meson compile -C build -j 24 --verbose ninja: Entering directory `/home/iurt/rpmbuild/BUILD/fwupd-efi-1.6-build/fwupd-efi-1.6/build' [1/7] /usr/bin/gcc -c ../efi/fwup-efi.c -o efi/fwup-efi.o -Og -g3 --param=ssp-buffer-size=4 -fexceptions -Wall -Wextra -Wvla -std=gnu11 -fpic -funsigned-char -fshort-wchar -ffreestanding -fno-strict-aliasing -fno-stack-protector -fno-stack-check -fno-merge-all-constants -Wsign-compare -Wno-missing-field-initializers -Wno-address-of-packed-member -grecord-gcc-switches '-DDEBUGDIR="/usr/lib64/debug"' -I. -isystem /usr/include/efi -isystem /usr/include/efi/x86_64 -fno-merge-constants -mno-red-zone -mno-sse -mno-mmx -DEFI_FUNCTION_WRAPPER -DGNU_EFI_USE_MS_ABI [2/7] /home/iurt/rpmbuild/BUILD/fwupd-efi-1.6-build/fwupd-efi-1.6/efi/generate_sbat.py efi/fwup-sbat.o --cc gcc --cflags '-Og -g3 --param=ssp-buffer-size=4 -fexceptions -Wall -Wextra -Wvla -std=gnu11 -fpic -funsigned-char -fshort-wchar -ffreestanding -fno-strict-aliasing -fno-stack-protector -fno-stack-check -fno-merge-all-constants -Wsign-compare -Wno-missing-field-initializers -Wno-address-of-packed-member -grecord-gcc-switches -DDEBUGDIR="/usr/lib64/debug" -I. -isystem /usr/include/efi -isystem /usr/include/efi/x86_64 -fno-merge-constants -mno-red-zone -mno-sse -mno-mmx -DEFI_FUNCTION_WRAPPER -DGNU_EFI_USE_MS_ABI' --objcopy /usr/bin/objcopy --project-name fwupd-efi --project-version 1.6 --sbat-version 1 --sbat-generation 1 --sbat-distro-id mageia --sbat-distro-generation 0 --sbat-distro-summary 'The Mageia Project' --sbat-distro-pkgname fwupd-efi --sbat-distro-version 1.6-4.mga10 --sbat-distro-url http://madb.mageia.org/package/show/name/fwupd-efi/ [3/7] /usr/bin/gcc -c ../efi/fwup-debug.c -o efi/fwup-debug.o -Og -g3 --param=ssp-buffer-size=4 -fexceptions -Wall -Wextra -Wvla -std=gnu11 -fpic -funsigned-char -fshort-wchar -ffreestanding -fno-strict-aliasing -fno-stack-protector -fno-stack-check -fno-merge-all-constants -Wsign-compare -Wno-missing-field-initializers -Wno-address-of-packed-member -grecord-gcc-switches '-DDEBUGDIR="/usr/lib64/debug"' -I. -isystem /usr/include/efi -isystem /usr/include/efi/x86_64 -fno-merge-constants -mno-red-zone -mno-sse -mno-mmx -DEFI_FUNCTION_WRAPPER -DGNU_EFI_USE_MS_ABI [4/7] /usr/bin/gcc -c ../efi/fwup-common.c -o efi/fwup-common.o -Og -g3 --param=ssp-buffer-size=4 -fexceptions -Wall -Wextra -Wvla -std=gnu11 -fpic -funsigned-char -fshort-wchar -ffreestanding -fno-strict-aliasing -fno-stack-protector -fno-stack-check -fno-merge-all-constants -Wsign-compare -Wno-missing-field-initializers -Wno-address-of-packed-member -grecord-gcc-switches '-DDEBUGDIR="/usr/lib64/debug"' -I. -isystem /usr/include/efi -isystem /usr/include/efi/x86_64 -fno-merge-constants -mno-red-zone -mno-sse -mno-mmx -DEFI_FUNCTION_WRAPPER -DGNU_EFI_USE_MS_ABI [5/7] /usr/bin/gcc -c ../efi/fwupdate.c -o efi/fwupdate.o -Og -g3 --param=ssp-buffer-size=4 -fexceptions -Wall -Wextra -Wvla -std=gnu11 -fpic -funsigned-char -fshort-wchar -ffreestanding -fno-strict-aliasing -fno-stack-protector -fno-stack-check -fno-merge-all-constants -Wsign-compare -Wno-missing-field-initializers -Wno-address-of-packed-member -grecord-gcc-switches '-DDEBUGDIR="/usr/lib64/debug"' -I. -isystem /usr/include/efi -isystem /usr/include/efi/x86_64 -fno-merge-constants -mno-red-zone -mno-sse -mno-mmx -DEFI_FUNCTION_WRAPPER -DGNU_EFI_USE_MS_ABI [6/7] /usr/bin/gcc -nostdlib -o efi/fwup.so -Wl,-T -Wl,/home/iurt/rpmbuild/BUILD/fwupd-efi-1.6-build/fwupd-efi-1.6/efi/lds/elf_x86_64_efi.lds -Wl,-shared -Wl,-Bsymbolic -Wl,-nostdlib -Wl,-znocombreloc -Wl,-L -Wl,/usr/lib/../lib64/gnuefi -Wl,-L -Wl,/usr/lib/../lib64 -Wl,/usr/lib/../lib64/gnuefi/crt0-efi-x86_64.o efi/fwupdate.o efi/fwup-debug.o efi/fwup-efi.o efi/fwup-common.o efi/fwup-sbat.o -lefi -lgnuefi /usr/lib/gcc/x86_64-mageia-linux/15/libgcc.a [7/7] /home/iurt/rpmbuild/BUILD/fwupd-efi-1.6-build/fwupd-efi-1.6/efi/generate_binary.py efi/fwup.so efi/fwupdx64.efi --arch x86_64 --os linux --objcopy /usr/bin/objcopy --genpeimg '' FAILED: efi/fwupdx64.efi /home/iurt/rpmbuild/BUILD/fwupd-efi-1.6-build/fwupd-efi-1.6/efi/generate_binary.py efi/fwup.so efi/fwupdx64.efi --arch x86_64 --os linux --objcopy /usr/bin/objcopy --genpeimg '' Unable to add NX support to binaries without genpeimg or python3-pefile ninja: build stopped: subcommand failed. INFO: autodetecting backend as ninja INFO: calculating backend command to run: /usr/bin/ninja -C /home/iurt/rpmbuild/BUILD/fwupd-efi-1.6-build/fwupd-efi-1.6/build -j 24 -v error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.68bo3L (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.68bo3L (%build) I: [iurt_root_command] ERROR: chroot