Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/efivar.spec'], chrootPath='/var/lib/mock/dist-an7_9-updates-build-228501-62403/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wkl1z1u9:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wkl1z1u9:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '576d2fef8ced439a8a41487980f253f5', '-D', '/var/lib/mock/dist-an7_9-updates-build-228501-62403/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wkl1z1u9:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/efivar.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/efivar-37-4.0.4.an7.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/efivar.spec'], chrootPath='/var/lib/mock/dist-an7_9-updates-build-228501-62403/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wkl1z1u9:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wkl1z1u9:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '5e8c2c6d68994fc4ac6683273b49659c', '-D', '/var/lib/mock/dist-an7_9-updates-build-228501-62403/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wkl1z1u9:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/efivar.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.zkGzAi + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf efivar-37 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/efivar-37.tar.bz2 + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd efivar-37 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + git init Initialized empty Git repository in /builddir/build/BUILD/efivar-37/.git/ + git config user.email efivar-owner@fedoraproject.org + git config user.name 'Fedora Ninjas' + git add . + git commit -a -q -m '37 baseline.' + git am /builddir/build/SOURCES/0001-util.h-add-unlikely-and-likely-macros.patch /builddir/build/SOURCES/0002-dp.h-make-format_guid-handle-misaligned-guid-pointer.patch /builddir/build/SOURCES/0003-linux-pci-root-remove-an-unused-assignment.patch /builddir/build/SOURCES/0004-Fix-all-the-places-Werror-address-of-packed-member-c.patch /builddir/build/SOURCES/0005-Get-rid-of-the-arrows-in-our-debug-messages.patch /builddir/build/SOURCES/0006-Define-strdupa-if-it-is-not-defined.patch /builddir/build/SOURCES/0007-Android-inital-porting-of-libefivar.patch /builddir/build/SOURCES/0008-Remove-an-unused-function.patch /builddir/build/SOURCES/0009-Fix-another-error-of-Werror-address-of-packed-member.patch /builddir/build/SOURCES/0010-ucs2.h-remove-unused-variable.patch /builddir/build/SOURCES/0011-ucs2.h-fix-logic-that-checks-for-UCS-2-string-termin.patch /builddir/build/SOURCES/0012-dp-message-fix-efidp_ipv4_addr-fields-assignment.patch /builddir/build/SOURCES/0013-Always-refer-to-MBR-and-GPT-fixed-values-as-magic-no.patch /builddir/build/SOURCES/0014-Add-more-hexdump-logging-functions.patch /builddir/build/SOURCES/0015-Add-efi_error_pop-and-pop-some-errors-sometimes.patch /builddir/build/SOURCES/0016-Always-log-to-a-memfd-regardless-of-loglevel.patch /builddir/build/SOURCES/0017-Always-initialize-any-variable-we-use-with-sscanf-s-.patch /builddir/build/SOURCES/0018-Add-efi_get_libefivar_version-and-efi_get_libefiboot.patch /builddir/build/SOURCES/0019-Fix-dbglog_seek-to-update-the-offset.patch /builddir/build/SOURCES/0020-Update-efivar-37-.abixml-for-new-libabigail-version.patch /builddir/build/SOURCES/0021-Fix-up-efi_guid_cmp-s-alignment-problem-a-different-.patch /builddir/build/SOURCES/0022-Fix-dbglog_write-to-always-return-the-status-of-writ.patch /builddir/build/SOURCES/0023-Do-a-better-job-of-making-sure-DLIBEFIVAR_VERSION-ha.patch /builddir/build/SOURCES/0024-efi_stash_loglevel_-efi_set_loglevel.patch /builddir/build/SOURCES/0025-guids-add-grub-guid-for-grubenv.patch /builddir/build/SOURCES/0026-gcc.specs-add-grecord-gcc-switches.patch /builddir/build/SOURCES/0027-Makefile-don-t-echo-our-deps-submake-invocation.patch /builddir/build/SOURCES/0028-Make-Add-some-more-stuff-to-the-toplevel-clean.patch /builddir/build/SOURCES/0029-Make-scan-build-rules-slightly-more-intuitive.patch /builddir/build/SOURCES/0030-Local-header-whitespace-cleanup.patch /builddir/build/SOURCES/0031-Exported-header-whitespace-cleanup.patch /builddir/build/SOURCES/0032-Main-code-whitespace-cleanup.patch /builddir/build/SOURCES/0033-efivar-rework-usage.patch /builddir/build/SOURCES/0034-Try-to-deal-with-some-signof-char-signof-uint8_t-mad.patch /builddir/build/SOURCES/0035-ucs2-document-things-a-little-better.patch /builddir/build/SOURCES/0036-util.h-implement-add-mul-sub-for-more-integer-types.patch /builddir/build/SOURCES/0037-Implement-efivar-export-foo.var.patch /builddir/build/SOURCES/0038-Add-some-test-cases-for-efivar-export-import.patch /builddir/build/SOURCES/0039-Fix-a-case-clang-analyzer-found-where-we-may-try-to-.patch /builddir/build/SOURCES/0040-Make-sure-makeguids-helper-is-compiled-for-the-host-.patch /builddir/build/SOURCES/0041-Makefile-sort-wildcard-output-for-reproducibility.patch /builddir/build/SOURCES/0042-guids.txt-correct-sentinal-typo.patch /builddir/build/SOURCES/0043-update-manpage-for-efivar-such-that-it-reflects-the-.patch /builddir/build/SOURCES/0044-Fix-some-32-bit-size_t-format-specifier-errors.patch /builddir/build/SOURCES/0045-Make-the-top-level-makefile-not-parallelize.patch /builddir/build/SOURCES/0046-guids-add-auto_created_boot_option.patch /builddir/build/SOURCES/0047-Move-our-infrastructure-makefiles-out-of-the-topdir.patch /builddir/build/SOURCES/0048-Make-CC_FOR_BUILD-and-CCLD_FOR_BUILD-override-HOSTCC.patch /builddir/build/SOURCES/0049-Rework-some-makefile-bits-to-make-overriding-some-op.patch /builddir/build/SOURCES/0050-Make-add-Wno-missing-field-initializers.patch /builddir/build/SOURCES/0051-debug-don-t-write-newlines-to-memfd.patch /builddir/build/SOURCES/0052-sysfs-parsing-add-some-more-debugging-output.patch /builddir/build/SOURCES/0053-gitignore-ignore-.strace.patch /builddir/build/SOURCES/0054-Improve-consistency-of-debug-prints.patch /builddir/build/SOURCES/0055-Fix-the-error-path-in-set_disk_and_part_name.patch /builddir/build/SOURCES/0056-Try-even-harder-to-find-disk-device-symlinks-in-sysf.patch /builddir/build/SOURCES/0057-Handle-sys-devices-virtual-nvme-fabrics-nvme-subsyst.patch /builddir/build/SOURCES/0058-sysfs-parsers-make-all-the-sys-block-link-parsers-wo.patch /builddir/build/SOURCES/0059-Put-some-EFI-device-paths-into-the-debug-log.patch /builddir/build/SOURCES/0060-Update-abixml.patch /builddir/build/SOURCES/0061-Update-abixml-files-and-work-around-some-inconsequen.patch /builddir/build/SOURCES/0062-Don-t-use-march-native-on-ia64.patch /builddir/build/SOURCES/0063-Work-around-autoconf-existing-in-the-world.patch /builddir/build/SOURCES/0064-Fix-efivar-w-and-efivar-a.patch /builddir/build/SOURCES/0065-Fix-variable-sz-uninitialized-error.patch /builddir/build/SOURCES/0066-Fix-conversion-from-UTF8-to-UCS2.patch Applying: util.h: add unlikely() and likely() macros Applying: dp.h: make format_guid() handle misaligned guid pointers safely. Applying: linux-pci-root: remove an unused assignment Applying: Fix all the places -Werror=address-of-packed-member catches. Applying: Get rid of the arrows in our debug messages. Applying: Define strdupa if it is not defined Applying: Android: inital porting of libefivar Applying: Remove an unused function Applying: Fix another error of -Werror=address-of-packed-member Applying: ucs2.h: remove unused variable Applying: ucs2.h: fix logic that checks for UCS-2 string termination Applying: dp-message: fix efidp_ipv4_addr fields assignment Applying: Always refer to MBR and GPT fixed values as 'magic' not 'signature' Applying: Add more hexdump logging functions. Applying: Add efi_error_pop() and pop some errors sometimes. Applying: Always log to a memfd regardless of loglevel. Applying: Always initialize any variable we use with sscanf's %n Applying: Add efi_get_libefivar_version() and efi_get_libefiboot_version() Applying: Fix dbglog_seek() to update the offset. Applying: Update efivar-37 .abixml for new libabigail version Applying: Fix up efi_guid_cmp()'s alignment problem a different way Applying: Fix dbglog_write() to always return the status of write() Applying: Do a better job of making sure -DLIBEFIVAR_VERSION happens... Applying: efi_stash_loglevel_() -> efi_set_loglevel() Applying: guids: add 'grub' guid for grubenv. Applying: gcc.specs: add -grecord-gcc-switches Applying: Makefile: don't echo our deps submake invocation Applying: Make: Add some more stuff to the toplevel 'clean' Applying: Make scan build rules slightly more intuitive. Applying: Local header whitespace cleanup. Applying: Exported header whitespace cleanup. Applying: Main code whitespace cleanup. Applying: efivar: rework usage() Applying: Try to deal with some signof(char) != signof(uint8_t) madness. Applying: ucs2: document things a little better Applying: util.h: implement add()/mul()/sub() for more integer types. Applying: Implement 'efivar --export=foo.var' Applying: Add some test cases for efivar export/import Applying: Fix a case clang-analyzer found where we may try to parse a NULL Applying: Make sure makeguids helper is compiled for the host's arch Applying: Makefile: sort $(wildcard) output for reproducibility Applying: guids.txt: correct "sentinal" typo Applying: update manpage for efivar such that it reflects the current options of the efivar util Applying: Fix some 32-bit size_t format specifier errors Applying: Make the top level makefile not parallelize. Applying: guids: add auto_created_boot_option Applying: Move our infrastructure makefiles out of the topdir. Applying: Make CC_FOR_BUILD and CCLD_FOR_BUILD override HOSTCC/HOSTCCLD Applying: Rework some makefile bits to make overriding some options simpler. Applying: Make: add -Wno-missing-field-initializers Applying: debug(): don't write newlines to memfd Applying: sysfs parsing: add some more debugging output Applying: gitignore: ignore *.strace Applying: Improve consistency of debug prints Applying: Fix the error path in set_disk_and_part_name() Applying: Try even harder to find disk device symlinks in sysfs. Applying: Handle /sys/devices/virtual/{nvme-fabrics,nvme-subsystem} devices Applying: sysfs parsers: make all the /sys/block link parsers work the same way Applying: Put some EFI device paths into the debug log Applying: Update abixml Applying: Update abixml files and work around some inconsequential ABI breakage Applying: Don't use -march=native on ia64. Applying: Work around autoconf existing in the world. Applying: Fix "efivar -w" and "efivar -a" Applying: Fix variable 'sz' uninitialized error Applying: Fix conversion from UTF8 to UCS2 + git config --unset user.email + git config --unset user.name + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.p8eCdL + umask 022 + cd /builddir/build/BUILD + cd efivar-37 + make libdir=/usr/lib64 bindir=/usr/bin 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -flto -flto-partition=none' 'LDFLAGS=-Wl,-z,relro -flto -flto-partition=none' make[1]: Entering directory `/builddir/build/BUILD/efivar-37/src' gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -flto -flto-partition=none -std=gnu11 -funsigned-char -fvisibility=hidden -specs=/builddir/build/BUILD/efivar-37/src/include/gcc.specs -fno-merge-constants -L. -Wl,-z,relro -flto -flto-partition=none -Wl,--add-needed -Wl,--build-id -Wl,--no-allow-shlib-undefined -Wl,--no-undefined-version -Wl,-z,now -Wl,-z,muldefs -DLIBEFIVAR_VERSION=37 -D_GNU_SOURCE -I/builddir/build/BUILD/efivar-37/src/include/ -DEFIVAR_BUILD_ENVIRONMENT -march=native -o makeguids makeguids.c guid.c -ldl ./makeguids guids.txt guids.bin names.bin \ guid-symbols.c include/efivar/efivar-guids.h 37 lines make[2]: Entering directory `/builddir/build/BUILD/efivar-37/src' gcc -DLIBEFIVAR_VERSION=37 -D_GNU_SOURCE -I/builddir/build/BUILD/efivar-37/src/include/ -MM -MG -MF .crc32.d crc32.c gcc -DLIBEFIVAR_VERSION=37 -D_GNU_SOURCE -I/builddir/build/BUILD/efivar-37/src/include/ -MM -MG -MF .creator.d creator.c gcc -DLIBEFIVAR_VERSION=37 -D_GNU_SOURCE -I/builddir/build/BUILD/efivar-37/src/include/ -MM -MG -MF .disk.d disk.c gcc -DLIBEFIVAR_VERSION=37 -D_GNU_SOURCE -I/builddir/build/BUILD/efivar-37/src/include/ -MM -MG -MF .gpt.d gpt.c gcc -DLIBEFIVAR_VERSION=37 -D_GNU_SOURCE -I/builddir/build/BUILD/efivar-37/src/include/ -MM -MG -MF .loadopt.d loadopt.c gcc -DLIBEFIVAR_VERSION=37 -D_GNU_SOURCE -I/builddir/build/BUILD/efivar-37/src/include/ -MM -MG -MF .path-helpers.d path-helpers.c gcc -DLIBEFIVAR_VERSION=37 -D_GNU_SOURCE -I/builddir/build/BUILD/efivar-37/src/include/ -MM -MG -MF .linux.d linux.c gcc -DLIBEFIVAR_VERSION=37 -D_GNU_SOURCE -I/builddir/build/BUILD/efivar-37/src/include/ -MM -MG -MF .linux-acpi-root.d linux-acpi-root.c gcc -DLIBEFIVAR_VERSION=37 -D_GNU_SOURCE -I/builddir/build/BUILD/efivar-37/src/include/ -MM -MG -MF .linux-acpi.d linux-acpi.c gcc -DLIBEFIVAR_VERSION=37 -D_GNU_SOURCE -I/builddir/build/BUILD/efivar-37/src/include/ -MM -MG -MF .linux-ata.d linux-ata.c gcc -DLIBEFIVAR_VERSION=37 -D_GNU_SOURCE -I/builddir/build/BUILD/efivar-37/src/include/ -MM -MG -MF .linux-emmc.d linux-emmc.c gcc -DLIBEFIVAR_VERSION=37 -D_GNU_SOURCE -I/builddir/build/BUILD/efivar-37/src/include/ -MM -MG -MF .linux-i2o.d linux-i2o.c gcc -DLIBEFIVAR_VERSION=37 -D_GNU_SOURCE -I/builddir/build/BUILD/efivar-37/src/include/ -MM -MG -MF .linux-md.d linux-md.c gcc -DLIBEFIVAR_VERSION=37 -D_GNU_SOURCE -I/builddir/build/BUILD/efivar-37/src/include/ -MM -MG -MF .linux-nvme.d linux-nvme.c gcc -DLIBEFIVAR_VERSION=37 -D_GNU_SOURCE -I/builddir/build/BUILD/efivar-37/src/include/ -MM -MG -MF .linux-pci-root.d linux-pci-root.c gcc -DLIBEFIVAR_VERSION=37 -D_GNU_SOURCE -I/builddir/build/BUILD/efivar-37/src/include/ -MM -MG -MF .linux-pci.d linux-pci.c gcc -DLIBEFIVAR_VERSION=37 -D_GNU_SOURCE -I/builddir/build/BUILD/efivar-37/src/include/ -MM -MG -MF .linux-pmem.d linux-pmem.c gcc -DLIBEFIVAR_VERSION=37 -D_GNU_SOURCE -I/builddir/build/BUILD/efivar-37/src/include/ -MM -MG -MF .linux-sas.d linux-sas.c gcc -DLIBEFIVAR_VERSION=37 -D_GNU_SOURCE -I/builddir/build/BUILD/efivar-37/src/include/ -MM -MG -MF .linux-sata.d linux-sata.c gcc -DLIBEFIVAR_VERSION=37 -D_GNU_SOURCE -I/builddir/build/BUILD/efivar-37/src/include/ -MM -MG -MF .linux-scsi.d linux-scsi.c gcc -DLIBEFIVAR_VERSION=37 -D_GNU_SOURCE -I/builddir/build/BUILD/efivar-37/src/include/ -MM -MG -MF .linux-soc-root.d linux-soc-root.c gcc -DLIBEFIVAR_VERSION=37 -D_GNU_SOURCE -I/builddir/build/BUILD/efivar-37/src/include/ -MM -MG -MF .linux-virtblk.d linux-virtblk.c gcc -DLIBEFIVAR_VERSION=37 -D_GNU_SOURCE -I/builddir/build/BUILD/efivar-37/src/include/ -MM -MG -MF .linux-virtual-root.d linux-virtual-root.c gcc -DLIBEFIVAR_VERSION=37 -D_GNU_SOURCE -I/builddir/build/BUILD/efivar-37/src/include/ -MM -MG -MF .dp.d dp.c gcc -DLIBEFIVAR_VERSION=37 -D_GNU_SOURCE -I/builddir/build/BUILD/efivar-37/src/include/ -MM -MG -MF .dp-acpi.d dp-acpi.c gcc -DLIBEFIVAR_VERSION=37 -D_GNU_SOURCE -I/builddir/build/BUILD/efivar-37/src/include/ -MM -MG -MF .dp-hw.d dp-hw.c gcc -DLIBEFIVAR_VERSION=37 -D_GNU_SOURCE -I/builddir/build/BUILD/efivar-37/src/include/ -MM -MG -MF .dp-media.d dp-media.c gcc -DLIBEFIVAR_VERSION=37 -D_GNU_SOURCE -I/builddir/build/BUILD/efivar-37/src/include/ -MM -MG -MF .dp-message.d dp-message.c gcc -DLIBEFIVAR_VERSION=37 -D_GNU_SOURCE -I/builddir/build/BUILD/efivar-37/src/include/ -MM -MG -MF .efivarfs.d efivarfs.c gcc -DLIBEFIVAR_VERSION=37 -D_GNU_SOURCE -I/builddir/build/BUILD/efivar-37/src/include/ -MM -MG -MF .error.d error.c gcc -DLIBEFIVAR_VERSION=37 -D_GNU_SOURCE -I/builddir/build/BUILD/efivar-37/src/include/ -MM -MG -MF .export.d export.c gcc -DLIBEFIVAR_VERSION=37 -D_GNU_SOURCE -I/builddir/build/BUILD/efivar-37/src/include/ -MM -MG -MF .guid.d guid.c gcc -DLIBEFIVAR_VERSION=37 -D_GNU_SOURCE -I/builddir/build/BUILD/efivar-37/src/include/ -MM -MG -MF .guid-symbols.d guid-symbols.c gcc -DLIBEFIVAR_VERSION=37 -D_GNU_SOURCE -I/builddir/build/BUILD/efivar-37/src/include/ -MM -MG -MF .lib.d lib.c gcc -DLIBEFIVAR_VERSION=37 -D_GNU_SOURCE -I/builddir/build/BUILD/efivar-37/src/include/ -MM -MG -MF .vars.d vars.c gcc -DLIBEFIVAR_VERSION=37 -D_GNU_SOURCE -I/builddir/build/BUILD/efivar-37/src/include/ -MM -MG -MF .makeguids.d makeguids.c gcc -DLIBEFIVAR_VERSION=37 -D_GNU_SOURCE -I/builddir/build/BUILD/efivar-37/src/include/ -MM -MG -MF .efivar.d efivar.c gcc -DLIBEFIVAR_VERSION=37 -D_GNU_SOURCE -I/builddir/build/BUILD/efivar-37/src/include/ -MM -MG -MF .guids.d guids.S make[2]: Leaving directory `/builddir/build/BUILD/efivar-37/src' gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -flto -flto-partition=none -std=gnu11 -funsigned-char -fvisibility=hidden -specs=/builddir/build/BUILD/efivar-37/src/include/gcc.specs -fno-merge-constants -fPIC -DLIBEFIVAR_VERSION=37 -D_GNU_SOURCE -I/builddir/build/BUILD/efivar-37/src/include/ -c -o crc32.o crc32.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -flto -flto-partition=none -std=gnu11 -funsigned-char -fvisibility=hidden -specs=/builddir/build/BUILD/efivar-37/src/include/gcc.specs -fno-merge-constants -fPIC -DLIBEFIVAR_VERSION=37 -D_GNU_SOURCE -I/builddir/build/BUILD/efivar-37/src/include/ -c -o dp.o dp.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -flto -flto-partition=none -std=gnu11 -funsigned-char -fvisibility=hidden -specs=/builddir/build/BUILD/efivar-37/src/include/gcc.specs -fno-merge-constants -fPIC -DLIBEFIVAR_VERSION=37 -D_GNU_SOURCE -I/builddir/build/BUILD/efivar-37/src/include/ -c -o dp-acpi.o dp-acpi.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -flto -flto-partition=none -std=gnu11 -funsigned-char -fvisibility=hidden -specs=/builddir/build/BUILD/efivar-37/src/include/gcc.specs -fno-merge-constants -fPIC -DLIBEFIVAR_VERSION=37 -D_GNU_SOURCE -I/builddir/build/BUILD/efivar-37/src/include/ -c -o dp-hw.o dp-hw.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -flto -flto-partition=none -std=gnu11 -funsigned-char -fvisibility=hidden -specs=/builddir/build/BUILD/efivar-37/src/include/gcc.specs -fno-merge-constants -fPIC -DLIBEFIVAR_VERSION=37 -D_GNU_SOURCE -I/builddir/build/BUILD/efivar-37/src/include/ -c -o dp-media.o dp-media.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -flto -flto-partition=none -std=gnu11 -funsigned-char -fvisibility=hidden -specs=/builddir/build/BUILD/efivar-37/src/include/gcc.specs -fno-merge-constants -fPIC -DLIBEFIVAR_VERSION=37 -D_GNU_SOURCE -I/builddir/build/BUILD/efivar-37/src/include/ -c -o dp-message.o dp-message.c dp-message.c: In function 'efidp_make_ipv4': dp-message.c:681:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *((uint32_t *)ipv4->local_ipv4_addr) = htonl(local); ^ dp-message.c:682:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *((uint32_t *)ipv4->remote_ipv4_addr) = htonl(remote); ^ dp-message.c:689:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *((uint32_t *)ipv4->gateway) = htonl(gateway); ^ dp-message.c:690:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *((uint32_t *)ipv4->netmask) = htonl(netmask); ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -flto -flto-partition=none -std=gnu11 -funsigned-char -fvisibility=hidden -specs=/builddir/build/BUILD/efivar-37/src/include/gcc.specs -fno-merge-constants -fPIC -DLIBEFIVAR_VERSION=37 -D_GNU_SOURCE -I/builddir/build/BUILD/efivar-37/src/include/ -c -o efivarfs.o efivarfs.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -flto -flto-partition=none -std=gnu11 -funsigned-char -fvisibility=hidden -specs=/builddir/build/BUILD/efivar-37/src/include/gcc.specs -fno-merge-constants -fPIC -DLIBEFIVAR_VERSION=37 -D_GNU_SOURCE -I/builddir/build/BUILD/efivar-37/src/include/ -c -o error.o error.c error.c:30:24: fatal error: sys/random.h: No such file or directory #include ^ compilation terminated. make[1]: *** [error.o] Error 1 make[1]: Leaving directory `/builddir/build/BUILD/efivar-37/src' make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.p8eCdL (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.p8eCdL (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 5e8c2c6d68994fc4ac6683273b49659c -D /var/lib/mock/dist-an7_9-updates-build-228501-62403/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.wkl1z1u9:/etc/resolv.conf --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/efivar.spec