Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/grub2.spec'], chrootPath='/var/lib/mock/dist-an23-build-python3.11-372530-71504/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=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fdxzoph2:/etc/resolv.conf', '--bind=/dev/mapper/control', '--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.fdxzoph2:/etc/resolv.conf', '--bind=/dev/mapper/control', '--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', '48eddf99ffb14914a4b1bdfc7b62ad09', '-D', '/var/lib/mock/dist-an23-build-python3.11-372530-71504/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fdxzoph2:/etc/resolv.conf', '--bind=/dev/mapper/control', '--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 --noclean --target aarch64 --nodeps /builddir/build/SPECS/grub2.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', 'SYSTEMD_SECCOMP': '0'} and shell False warning: /builddir/build/SPECS/grub2.spec: line 196: Macro %___pesign_client_cert defined but not used within scope warning: /builddir/build/SPECS/grub2.spec: line 196: Macro %__pesign_client_cert defined but not used within scope warning: Macro expanded in comment on line 346: %{_sbindir}/%{name}-switch-to-blscfg warning: Macro expanded in comment on line 347: %{_sbindir}/%{name}-rpm-sort warning: Macro expanded in comment on line 359: %{_libexecdir}/%{name} warning: Macro expanded in comment on line 362: %{_sysconfdir}/grub.d/01_fallback_counting warning: Macro expanded in comment on line 369: %{name}-systemd-integration.service warning: Macro expanded in comment on line 397: %{_sbindir}/%{name}-set-bootflag warning: Macro expanded in comment on line 398: %{_sbindir}/%{name}-get-kernel-settings Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1712016000 Wrote: /builddir/build/SRPMS/grub2-2.12-2.an23.src.rpm RPM build warnings: /builddir/build/SPECS/grub2.spec: line 196: Macro %___pesign_client_cert defined but not used within scope /builddir/build/SPECS/grub2.spec: line 196: Macro %__pesign_client_cert defined but not used within scope Macro expanded in comment on line 346: %{_sbindir}/%{name}-switch-to-blscfg Macro expanded in comment on line 347: %{_sbindir}/%{name}-rpm-sort Macro expanded in comment on line 359: %{_libexecdir}/%{name} Macro expanded in comment on line 362: %{_sysconfdir}/grub.d/01_fallback_counting Macro expanded in comment on line 369: %{name}-systemd-integration.service Macro expanded in comment on line 397: %{_sbindir}/%{name}-set-bootflag Macro expanded in comment on line 398: %{_sbindir}/%{name}-get-kernel-settings Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/grub2.spec'], chrootPath='/var/lib/mock/dist-an23-build-python3.11-372530-71504/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=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fdxzoph2:/etc/resolv.conf', '--bind=/dev/mapper/control', '--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.fdxzoph2:/etc/resolv.conf', '--bind=/dev/mapper/control', '--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', '4dac87da89254b0bb6486962e3eb150b', '-D', '/var/lib/mock/dist-an23-build-python3.11-372530-71504/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fdxzoph2:/etc/resolv.conf', '--bind=/dev/mapper/control', '--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 --noclean --target aarch64 --nodeps /builddir/build/SPECS/grub2.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', 'SYSTEMD_SECCOMP': '0'} and shell False warning: Macro expanded in comment on line 346: %{_sbindir}/%{name}-switch-to-blscfg warning: Macro expanded in comment on line 347: %{_sbindir}/%{name}-rpm-sort warning: Macro expanded in comment on line 359: %{_libexecdir}/%{name} warning: Macro expanded in comment on line 362: %{_sysconfdir}/grub.d/01_fallback_counting warning: Macro expanded in comment on line 366: %{_userunitdir}/* warning: Macro expanded in comment on line 367: %{_unitdir}/grub-boot-indeterminate.service warning: Macro expanded in comment on line 368: %{_unitdir}/system-update.target.wants warning: Macro expanded in comment on line 369: %{_unitdir}/%{name}-systemd-integration.service warning: Macro expanded in comment on line 370: %{_unitdir}/systemd-logind.service.d warning: Macro expanded in comment on line 371: %{_unitdir}/systemd-logind.service.d/* warning: Macro expanded in comment on line 397: %{_sbindir}/%{name}-set-bootflag warning: Macro expanded in comment on line 398: %{_sbindir}/%{name}-get-kernel-settings Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1712016000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.LYnuK8 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf grub-2.12 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/grub-2.12.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd grub-2.12 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fv docs/grub-dev.info docs/grub.info removed 'docs/grub-dev.info' removed 'docs/grub.info' + cp /builddir/build/SOURCES/gitignore .gitignore + cp /builddir/build/SOURCES/strtoull_test.c ./grub-core/tests/strtoull_test.c + cp /builddir/build/SOURCES/bootstrap bootstrap + cp /builddir/build/SOURCES/bootstrap.conf bootstrap.conf + cp /builddir/build/SOURCES/gnulib-fixes.tar.gz gnulib-fixes.tar.gz + tar -zxf gnulib-fixes.tar.gz + mv gnulib-fixes gnulib + git init hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /builddir/build/BUILD/grub-2.12/.git/ + echo '![[:digit:]][[:digit:]]_*.in' + echo '!*.[[:digit:]]' + echo '!config.h' + git config user.email buildteam@anolis.org + git config user.name 'anolis Buildteam' + git config gc.auto 0 + rm -f configure + git add . + git commit -a -q -m '2.12 baseline.' + git apply --whitespace=nowarn /builddir/build/SOURCES/rename-grub-info-file-to-grub2.patch /builddir/build/SOURCES/grub2-linux.patch /builddir/build/SOURCES/info-dir-entry.patch /builddir/build/SOURCES/grub2-simplefb.patch /builddir/build/SOURCES/grub2-iterate-and-hook-for-extended-partition.patch /builddir/build/SOURCES/grub2-ppc-terminfo.patch /builddir/build/SOURCES/grub2-fix-error-terminal-gfxterm-isn-t-found.patch /builddir/build/SOURCES/grub2-fix-menu-in-xen-host-server.patch /builddir/build/SOURCES/not-display-menu-when-boot-once.patch /builddir/build/SOURCES/grub2-pass-corret-root-for-nfsroot.patch /builddir/build/SOURCES/grub2-efi-HP-workaround.patch /builddir/build/SOURCES/grub2-secureboot-add-linuxefi.patch /builddir/build/SOURCES/grub2-secureboot-no-insmod-on-sb.patch /builddir/build/SOURCES/grub2-secureboot-chainloader.patch /builddir/build/SOURCES/grub2-linuxefi-fix-boot-params.patch /builddir/build/SOURCES/grub2-linguas.sh-no-rsync.patch /builddir/build/SOURCES/grub2-use-Unifont-for-starfield-theme-terminal.patch /builddir/build/SOURCES/grub2-s390x-01-Changes-made-and-files-added-in-order-to-allow-s390x.patch /builddir/build/SOURCES/grub2-s390x-03-output-7-bit-ascii.patch /builddir/build/SOURCES/grub2-s390x-04-grub2-install.patch /builddir/build/SOURCES/grub2-s390x-05-grub2-mkconfig.patch /builddir/build/SOURCES/grub2-use-rpmsort-for-version-sorting.patch /builddir/build/SOURCES/grub2-getroot-treat-mdadm-ddf-as-simple-device.patch /builddir/build/SOURCES/grub2-setup-try-fs-embed-if-mbr-gap-too-small.patch /builddir/build/SOURCES/grub2-xen-linux16.patch /builddir/build/SOURCES/grub2-efi-disable-video-cirrus-and-bochus.patch /builddir/build/SOURCES/grub2-vbe-blacklist-preferred-1440x900x32.patch /builddir/build/SOURCES/grub2-grubenv-in-btrfs-header.patch /builddir/build/SOURCES/grub2-mkconfig-aarch64.patch /builddir/build/SOURCES/grub2-default-distributor.patch /builddir/build/SOURCES/grub2-menu-unrestricted.patch /builddir/build/SOURCES/grub2-mkconfig-arm.patch /builddir/build/SOURCES/grub2-s390x-06-loadparm.patch /builddir/build/SOURCES/grub2-s390x-07-add-image-param-for-zipl-setup.patch /builddir/build/SOURCES/grub2-s390x-08-workaround-part-to-disk.patch /builddir/build/SOURCES/grub2-commands-introduce-read_file-subcommand.patch /builddir/build/SOURCES/grub2-efi-chainload-harder.patch /builddir/build/SOURCES/grub2-emu-4-all.patch /builddir/build/SOURCES/grub2-lvm-allocate-metadata-buffer-from-raw-contents.patch /builddir/build/SOURCES/grub2-diskfilter-support-pv-without-metadatacopies.patch /builddir/build/SOURCES/grub2-s390x-09-improve-zipl-setup.patch /builddir/build/SOURCES/grub2-getroot-scan-disk-pv.patch /builddir/build/SOURCES/grub2-util-30_os-prober-multiple-initrd.patch /builddir/build/SOURCES/grub2-getroot-support-nvdimm.patch /builddir/build/SOURCES/grub2-install-fix-not-a-directory-error.patch /builddir/build/SOURCES/grub-install-force-journal-draining-to-ensure-data-i.patch /builddir/build/SOURCES/grub2-s390x-skip-zfcpdump-image.patch /builddir/build/SOURCES/grub2-btrfs-01-add-ability-to-boot-from-subvolumes.patch /builddir/build/SOURCES/grub2-btrfs-02-export-subvolume-envvars.patch /builddir/build/SOURCES/grub2-btrfs-03-follow_default.patch /builddir/build/SOURCES/grub2-btrfs-04-grub2-install.patch /builddir/build/SOURCES/grub2-btrfs-05-grub2-mkconfig.patch /builddir/build/SOURCES/grub2-btrfs-06-subvol-mount.patch /builddir/build/SOURCES/grub2-btrfs-07-subvol-fallback.patch /builddir/build/SOURCES/grub2-btrfs-08-workaround-snapshot-menu-default-entry.patch /builddir/build/SOURCES/grub2-btrfs-09-get-default-subvolume.patch /builddir/build/SOURCES/grub2-btrfs-10-config-directory.patch /builddir/build/SOURCES/grub2-efi-xen-chainload.patch /builddir/build/SOURCES/grub2-efi-xen-cmdline.patch /builddir/build/SOURCES/grub2-efi-xen-cfg-unquote.patch /builddir/build/SOURCES/grub2-efi-xen-removable.patch /builddir/build/SOURCES/grub2-Add-hidden-menu-entries.patch /builddir/build/SOURCES/grub2-SUSE-Add-the-t-hotkey.patch /builddir/build/SOURCES/grub2-zipl-setup-fix-btrfs-multipledev.patch /builddir/build/SOURCES/grub2-suse-remove-linux-root-param.patch /builddir/build/SOURCES/grub2-ppc64le-disable-video.patch /builddir/build/SOURCES/grub2-ppc64le-memory-map.patch /builddir/build/SOURCES/grub2-ppc64-cas-reboot-support.patch /builddir/build/SOURCES/grub2-install-remove-useless-check-PReP-partition-is-empty.patch /builddir/build/SOURCES/grub2-ppc64-cas-new-scope.patch /builddir/build/SOURCES/grub2-ppc64-cas-fix-double-free.patch /builddir/build/SOURCES/grub2-efi_gop-avoid-low-resolution.patch /builddir/build/SOURCES/0003-bootp-New-net_bootp6-command.patch /builddir/build/SOURCES/0004-efinet-UEFI-IPv6-PXE-support.patch /builddir/build/SOURCES/0005-grub.texi-Add-net_bootp6-doument.patch /builddir/build/SOURCES/0006-bootp-Add-processing-DHCPACK-packet-from-HTTP-Boot.patch /builddir/build/SOURCES/0007-efinet-Setting-network-from-UEFI-device-path.patch /builddir/build/SOURCES/0008-efinet-Setting-DNS-server-from-UEFI-protocol.patch /builddir/build/SOURCES/0012-tpm-Build-tpm-as-module.patch /builddir/build/SOURCES/0001-add-support-for-UEFI-network-protocols.patch /builddir/build/SOURCES/0002-AUDIT-0-http-boot-tracker-bug.patch /builddir/build/SOURCES/grub2-mkconfig-default-entry-correction.patch /builddir/build/SOURCES/grub2-s390x-11-secureboot.patch /builddir/build/SOURCES/grub2-s390x-12-zipl-setup-usrmerge.patch /builddir/build/SOURCES/grub2-secureboot-install-signed-grub.patch /builddir/build/SOURCES/grub2-btrfs-help-on-snapper-rollback.patch /builddir/build/SOURCES/grub2-video-limit-the-resolution-for-fixed-bimap-font.patch /builddir/build/SOURCES/grub2-gfxmenu-support-scrolling-menu-entry-s-text.patch /builddir/build/SOURCES/0001-kern-mm.c-Make-grub_calloc-inline.patch /builddir/build/SOURCES/0002-cmdline-Provide-cmdline-functions-as-module.patch /builddir/build/SOURCES/0001-ieee1275-powerpc-implements-fibre-channel-discovery-.patch /builddir/build/SOURCES/0002-ieee1275-powerpc-enables-device-mapper-discovery.patch /builddir/build/SOURCES/0001-Unify-the-check-to-enable-btrfs-relative-path.patch /builddir/build/SOURCES/0001-efi-linux-provide-linux-command.patch /builddir/build/SOURCES/0001-Add-support-for-Linux-EFI-stub-loading-on-aarch64.patch /builddir/build/SOURCES/0002-arm64-make-sure-fdt-has-address-cells-and-size-cells.patch /builddir/build/SOURCES/0003-Make-grub_error-more-verbose.patch /builddir/build/SOURCES/0004-arm-arm64-loader-Better-memory-allocation-and-error-.patch /builddir/build/SOURCES/0006-efi-Set-image-base-address-before-jumping-to-the-PE-.patch /builddir/build/SOURCES/0044-squash-kern-Add-lockdown-support.patch /builddir/build/SOURCES/0001-ieee1275-Avoiding-many-unecessary-open-close.patch /builddir/build/SOURCES/0001-Workaround-volatile-efi-boot-variable.patch /builddir/build/SOURCES/0001-templates-Follow-the-path-of-usr-merged-kernel-confi.patch /builddir/build/SOURCES/0001-ieee1275-implement-FCP-methods-for-WWPN-and-LUNs.patch /builddir/build/SOURCES/0001-arm64-Fix-EFI-loader-kernel-image-allocation.patch /builddir/build/SOURCES/0002-Arm-check-for-the-PE-magic-for-the-compiled-arch.patch /builddir/build/SOURCES/0001-Factor-out-grub_efi_linux_boot.patch /builddir/build/SOURCES/0002-Fix-race-in-EFI-validation.patch /builddir/build/SOURCES/0003-Handle-multi-arch-64-on-32-boot-in-linuxefi-loader.patch /builddir/build/SOURCES/0004-Try-to-pick-better-locations-for-kernel-and-initrd.patch /builddir/build/SOURCES/0005-x86-efi-Use-bounce-buffers-for-reading-to-addresses-.patch /builddir/build/SOURCES/0006-x86-efi-Re-arrange-grub_cmd_linux-a-little-bit.patch /builddir/build/SOURCES/0007-x86-efi-Make-our-own-allocator-for-kernel-stuff.patch /builddir/build/SOURCES/0008-x86-efi-Allow-initrd-params-cmdline-allocations-abov.patch /builddir/build/SOURCES/0009-x86-efi-Reduce-maximum-bounce-buffer-size-to-16-MiB.patch /builddir/build/SOURCES/0010-efilinux-Fix-integer-overflows-in-grub_cmd_initrd.patch /builddir/build/SOURCES/0011-Also-define-GRUB_EFI_MAX_ALLOCATION_ADDRESS-for-RISC.patch /builddir/build/SOURCES/0004-Add-suport-for-signing-grub-with-an-appended-signatu.patch /builddir/build/SOURCES/0005-docs-grub-Document-signing-grub-under-UEFI.patch /builddir/build/SOURCES/0006-docs-grub-Document-signing-grub-with-an-appended-sig.patch /builddir/build/SOURCES/0007-dl-provide-a-fake-grub_dl_set_persistent-for-the-emu.patch /builddir/build/SOURCES/0008-pgp-factor-out-rsa_pad.patch /builddir/build/SOURCES/0009-crypto-move-storage-for-grub_crypto_pk_-to-crypto.c.patch /builddir/build/SOURCES/0010-posix_wrap-tweaks-in-preparation-for-libtasn1.patch /builddir/build/SOURCES/0011-libtasn1-import-libtasn1-4.18.0.patch /builddir/build/SOURCES/0012-libtasn1-disable-code-not-needed-in-grub.patch /builddir/build/SOURCES/0013-libtasn1-changes-for-grub-compatibility.patch /builddir/build/SOURCES/0014-libtasn1-compile-into-asn1-module.patch /builddir/build/SOURCES/0015-test_asn1-test-module-for-libtasn1.patch /builddir/build/SOURCES/0016-grub-install-support-embedding-x509-certificates.patch /builddir/build/SOURCES/0017-appended-signatures-import-GNUTLS-s-ASN.1-descriptio.patch /builddir/build/SOURCES/0018-appended-signatures-parse-PKCS-7-signedData-and-X.50.patch /builddir/build/SOURCES/0019-appended-signatures-support-verifying-appended-signa.patch /builddir/build/SOURCES/0020-appended-signatures-verification-tests.patch /builddir/build/SOURCES/0021-appended-signatures-documentation.patch /builddir/build/SOURCES/0022-ieee1275-enter-lockdown-based-on-ibm-secure-boot.patch /builddir/build/SOURCES/0023-x509-allow-Digitial-Signature-plus-other-Key-Usages.patch /builddir/build/SOURCES/0001-grub-install-Add-SUSE-signed-image-support-for-power.patch /builddir/build/SOURCES/0001-Add-grub_envblk_buf-helper-function.patch /builddir/build/SOURCES/0002-Add-grub_disk_write_tail-helper-function.patch /builddir/build/SOURCES/0003-grub-install-support-prep-environment-block.patch /builddir/build/SOURCES/0004-Introduce-prep_load_env-command.patch /builddir/build/SOURCES/0005-export-environment-at-start-up.patch /builddir/build/SOURCES/0001-grub-install-bailout-root-device-probing.patch /builddir/build/SOURCES/0001-install-fix-software-raid1-on-esp.patch /builddir/build/SOURCES/0001-grub-probe-Deduplicate-probed-partmap-output.patch /builddir/build/SOURCES/0001-Fix-infinite-boot-loop-on-headless-system-in-qemu.patch /builddir/build/SOURCES/0001-ofdisk-improve-boot-time-by-lookup-boot-disk-first.patch /builddir/build/SOURCES/0001-protectors-Add-key-protectors-framework.patch /builddir/build/SOURCES/0002-tpm2-Add-TPM-Software-Stack-TSS.patch /builddir/build/SOURCES/0003-protectors-Add-TPM2-Key-Protector.patch /builddir/build/SOURCES/0004-cryptodisk-Support-key-protectors.patch /builddir/build/SOURCES/0005-util-grub-protect-Add-new-tool.patch /builddir/build/SOURCES/0008-linuxefi-Use-common-grub_initrd_load.patch /builddir/build/SOURCES/0009-Add-crypttab_entry-to-obviate-the-need-to-input-pass.patch /builddir/build/SOURCES/0010-templates-import-etc-crypttab-to-grub.cfg.patch /builddir/build/SOURCES/grub-read-pcr.patch /builddir/build/SOURCES/tpm-record-pcrs.patch /builddir/build/SOURCES/grub-install-record-pcrs.patch /builddir/build/SOURCES/safe_tpm_pcr_snapshot.patch /builddir/build/SOURCES/0001-ieee1275-add-support-for-NVMeoFC.patch /builddir/build/SOURCES/0002-ieee1275-ofpath-enable-NVMeoF-logical-device-transla.patch /builddir/build/SOURCES/0003-ieee1275-change-the-logic-of-ieee1275_get_devargs.patch /builddir/build/SOURCES/0004-ofpath-controller-name-update.patch /builddir/build/SOURCES/0002-Mark-environmet-blocks-as-used-for-image-embedding.patch /builddir/build/SOURCES/grub2-increase-crypttab-path-buffer.patch /builddir/build/SOURCES/0001-grub2-Set-multiple-device-path-for-a-nvmf-boot-devic.patch /builddir/build/SOURCES/0001-grub2-Can-t-setup-a-default-boot-device-correctly-on.patch /builddir/build/SOURCES/0001-tpm2-Add-TPM2-types-structures-and-command-constants.patch /builddir/build/SOURCES/0002-tpm2-Add-more-marshal-unmarshal-functions.patch /builddir/build/SOURCES/0003-tpm2-Implement-more-TPM2-commands.patch /builddir/build/SOURCES/0004-tpm2-Support-authorized-policy.patch /builddir/build/SOURCES/0001-clean-up-crypttab-and-linux-modules-dependency.patch /builddir/build/SOURCES/0002-discard-cached-key-before-entering-grub-shell-and-ed.patch /builddir/build/SOURCES/0001-ieee1275-ofdisk-retry-on-open-and-read-failure.patch /builddir/build/SOURCES/0002-Restrict-cryptsetup-key-file-permission-for-better-s.patch /builddir/build/SOURCES/0001-openfw-Ensure-get_devargs-and-get_devname-functions-.patch /builddir/build/SOURCES/0002-prep_loadenv-Fix-regex-for-Open-Firmware-device-spec.patch /builddir/build/SOURCES/0001-xen_boot-add-missing-grub_arch_efi_linux_load_image_.patch /builddir/build/SOURCES/0001-font-Try-memdisk-fonts-with-the-same-name.patch /builddir/build/SOURCES/0001-Make-grub.cfg-compatible-to-old-binaries.patch /builddir/build/SOURCES/grub2-change-bash-completion-dir.patch /builddir/build/SOURCES/0001-protectors-Implement-NV-index.patch /builddir/build/SOURCES/0002-cryptodisk-Fallback-to-passphrase.patch /builddir/build/SOURCES/0003-cryptodisk-wipe-out-the-cached-keys-from-protectors.patch /builddir/build/SOURCES/0004-diskfilter-look-up-cryptodisk-devices-first.patch /builddir/build/SOURCES/grub2-mkconfig-riscv64.patch /builddir/build/SOURCES/arm64-Use-proper-memory-type-for-kernel-allocation.patch /builddir/build/SOURCES/0001-luks2-Use-grub-tpm2-token-for-TPM2-protected-volume-.patch /builddir/build/SOURCES/Fix-the-size-calculation-for-the-synthesized-initrd.patch /builddir/build/SOURCES/0001-Improve-TPM-key-protection-on-boot-interruptions.patch /builddir/build/SOURCES/0002-Restrict-file-access-on-cryptodisk-print.patch /builddir/build/SOURCES/0003-Restrict-ls-and-auto-file-completion-on-cryptodisk-p.patch /builddir/build/SOURCES/0004-Key-revocation-on-out-of-bound-file-access.patch /builddir/build/SOURCES/fix_no_extra_deps_in_release_tarball.patch /builddir/build/SOURCES/0001-fs-xfs-always-verify-the-total-number-of-entries-is-.patch /builddir/build/SOURCES/0001-loader-arm64-efi-linux-Remove-magic-number-header-fi.patch /builddir/build/SOURCES/0001-squash-ieee1275-ofpath-enable-NVMeoF-logical-device-.patch /builddir/build/SOURCES/0001-ofdisk-enhance-boot-time-by-focusing-on-boot-disk-re.patch /builddir/build/SOURCES/0002-ofdisk-add-early_log-support.patch /builddir/build/SOURCES/0001-disk-Optimize-disk-iteration-by-moving-memdisk-to-th.patch /builddir/build/SOURCES/grub2-bash-completion-2.12.patch /builddir/build/SOURCES/0010-re-write-.gitignore.patch /builddir/build/SOURCES/disable-some-unsupported-filesystems.patch /builddir/build/SOURCES/remove-the-items-of-unsupported-filesystems-in-fs.ls.patch /builddir/build/SOURCES/backport-Read-etc-default-grub.d-.cfg-after-etc-default-grub.patch /builddir/build/SOURCES/modify-klist-in-10_linux.in.patch /builddir/build/SOURCES/0019-Add-fw_path-variable-revised.patch /builddir/build/SOURCES/0024-Don-t-say-GNU-Linux-in-generated-menus.patch /builddir/build/SOURCES/0026-Don-t-require-a-password-to-boot-entries-generated-b.patch /builddir/build/SOURCES/0028-use-fw_path-prefix-when-fallback-searching-for-grub-.patch /builddir/build/SOURCES/0029-Try-mac-guid-etc-before-grub.cfg-on-tftp-config-file.patch /builddir/build/SOURCES/0030-Generate-OS-and-CLASS-in-10_linux-from-etc-os-releas.patch /builddir/build/SOURCES/0032-Try-prefix-if-fw_path-doesn-t-work.patch /builddir/build/SOURCES/0034-Make-grub2-mkconfig-construct-titles-that-look-like-.patch /builddir/build/SOURCES/0035-Add-friendly-grub2-password-config-tool-985962.patch /builddir/build/SOURCES/grub2-set-password-prompts-to-enter-the-current-pass.patch /builddir/build/SOURCES/add-TPCM-support-with-ipmi-channel.patch /builddir/build/SOURCES/skip-verification-when-not-loading-grub.cfg.patch /builddir/build/SOURCES/0021-blscfg-add-blscfg-module-to-parse-Boot-Loader-Specif.patch /builddir/build/SOURCES/0001-change-menuentry.c.patch /builddir/build/SOURCES/0212-efi-new-connectefi-command.patch + cp docs/grub.texi docs/grub2.texi + git add . + git commit -a -q -m 'init all patches' + ./autogen.sh Using python3... Importing unicode... Importing libgcrypt... WARNING: grub-core/lib/libgcrypt-grub already exists WARNING: grub-core/lib/libgcrypt-grub/cipher already exists WARNING: grub-core/lib/libgcrypt-grub/mpi already exists WARNING: grub-core/lib/libgcrypt-grub/src already exists Generating Automake input... Saving timestamps... Running autoreconf... autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: running: autopoint --force Copying file m4/extern-inline.m4 Copying file m4/glibc21.m4 Copying file m4/longlong.m4 Copying file po/Makefile.in.in Copying file po/Makevars.template autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:46: installing 'build-aux/compile' autoreconf: Leaving directory '.' + mkdir grub-aarch64-efi-2.12 + grep -A100000 '# stuff "make" creates' .gitignore + cp /builddir/build/SOURCES/unifont-13.0.06.pcf.gz grub-aarch64-efi-2.12/unifont.pcf.gz + sed -e s,@@VERSION@@,2.12,g -e s,@@VERSION_RELEASE@@,2.12-2.an23,g /builddir/build/SOURCES/sbat.csv.in + git add grub-aarch64-efi-2.12 + mkdir grub-emu-2.12 + grep -A100000 '# stuff "make" creates' .gitignore + cp /builddir/build/SOURCES/unifont-13.0.06.pcf.gz grub-emu-2.12/unifont.pcf.gz + git add grub-emu-2.12 + git commit -m 'After making subdirs' [master f4c6bd6] After making subdirs 5 files changed, 173 insertions(+) create mode 100644 grub-aarch64-efi-2.12/.gitignore create mode 100644 grub-aarch64-efi-2.12/sbat.csv create mode 100644 grub-aarch64-efi-2.12/unifont.pcf.gz create mode 100644 grub-emu-2.12/.gitignore create mode 100644 grub-emu-2.12/unifont.pcf.gz + sed -i /videotest_checksum/d grub-core/tests/lib/functional_test.c + sed -i /gfxterm_menu/d grub-core/tests/lib/functional_test.c + sed -i /cmdline_cat_test/d grub-core/tests/lib/functional_test.c + git add grub-core/tests/lib/functional_test.c + git commit -m 'Disable partial grub_func_test cases' [master 56cac84] Disable partial grub_func_test cases 1 file changed, 3 deletions(-) + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Cxd3p4 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd grub-2.12 + cd grub-aarch64-efi-2.12 + CFLAGS='-fno-strict-aliasing -fno-inline-functions-called-once ' + CXXFLAGS=' ' + FFLAGS=' ' + export CFLAGS CXXFLAGS FFLAGS + CFLAGS='-fno-strict-aliasing -fno-inline-functions-called-once ' + export CFLAGS + CXXFLAGS=' ' + export CXXFLAGS + FFLAGS=' ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + '[' 0 = 1 ']' + '[' 1 = 1 ']' + '[' x '!=' x ']' ++ dirname ../configure + /usr/lib/rpm/anolis/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/anolis/fix-libtool-ltmain-from-overlinking ++ dirname ../configure + /usr/lib/rpm/anolis/fix-libtool-from-moving-options-after-libs .. + /usr/lib/rpm/anolis/fix-dlsearch-path-in-libtool . lib64 ++ pwd ++ pwd + ../configure --build=aarch64-Anolis-linux --host=aarch64-Anolis-linux --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/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info 'CC=gcc -fPIE' 'HOST_CFLAGS=-fno-strict-aliasing -flto=auto -ffat-lto-objects -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_GLIBCXX_ASSERTIONS -mbranch-protection=standard -fstack-clash-protection -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1' HOST_CPPFLAGS=-I/builddir/build/BUILD/grub-2.12/grub-aarch64-efi-2.12 'HOST_LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,--build-id=sha1 -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld' 'TARGET_CFLAGS=-fno-strict-aliasing -flto=auto -ffat-lto-objects -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_GLIBCXX_ASSERTIONS -mbranch-protection=standard -fstack-clash-protection' TARGET_CPPFLAGS=-I/builddir/build/BUILD/grub-2.12/grub-aarch64-efi-2.12 'TARGET_LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,--build-id=sha1 -static' --with-platform=efi --with-utils=host --target=aarch64-anolis-linux-gnu --with-grubdir=grub2 --program-transform-name=s,grub,grub2, --disable-werror configure: WARNING: unrecognized options: --with-utils checking for aarch64-Anolis-linux-gcc... gcc -fPIE 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 -fPIE accepts -g... yes checking for gcc -fPIE option to enable C11 features... none needed checking whether gcc -fPIE understands -c and -o together... yes checking whether the compiler is clang... no checking for compiler option needed when checking for declarations... none checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking for features.h... yes checking for linewrap.h... no checking for sys/param.h... yes checking for sys/socket.h... yes checking for dirent.h... yes checking for fnmatch.h... yes checking for getopt.h... yes checking for sys/cdefs.h... yes checking for threads.h... yes checking for limits.h... yes checking for langinfo.h... yes checking for xlocale.h... no checking for sys/mman.h... yes checking for malloc.h... yes checking for sys/time.h... yes checking for sysexits.h... yes checking for crtdefs.h... no checking for wctype.h... yes checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking build system type... aarch64-Anolis-linux-gnu checking host system type... aarch64-Anolis-linux-gnu checking target system type... aarch64-anolis-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c 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 the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of gcc -fPIE... none checking for aarch64-Anolis-linux-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for cmp... cmp checking for bison... bison checking for aarch64-Anolis-linux-ranlib... no checking for ranlib... ranlib checking for gawk... (cached) gawk checking for flex... flex checking for lex output file root... lex.yy checking for lex library... none needed checking whether yytext is a pointer... yes checking for bison... (cached) bison checking whether make sets $(MAKE)... (cached) yes checking whether ln -s works... yes checking for makeinfo... /usr/bin/makeinfo checking for aarch64-Anolis-linux-gcc... (cached) gcc -fPIE checking whether the compiler supports GNU C... (cached) yes checking whether gcc -fPIE accepts -g... (cached) yes checking for gcc -fPIE option to enable C11 features... (cached) none needed checking whether gcc -fPIE understands -c and -o together... (cached) yes checking whether the compiler is clang... (cached) no checking for compiler option needed when checking for declarations... (cached) none checking how to run the C preprocessor... gcc -fPIE -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for Minix Amsterdam compiler... no checking for aarch64-Anolis-linux-ar... no checking for ar... ar checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... none checking dependency style of gcc -fPIE... none checking for a Python interpreter with version >= 2.6... python3 checking for python3... /usr/bin/python3 checking for python3 version... 3.11 checking for python3 platform... linux checking for GNU default python3 prefix... ${prefix} checking for GNU default python3 exec_prefix... ${exec_prefix} checking for python3 script directory (pythondir)... ${PYTHON_PREFIX}/lib/python3.11/site-packages checking for python3 extension module directory (pyexecdir)... ${PYTHON_EXEC_PREFIX}/lib64/python3.11/site-packages checking for g++... yes checking for a sed that does not truncate output... /usr/bin/sed checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for ld used by gcc -fPIE... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for special C compiler options needed for large files... (cached) no checking for _FILE_OFFSET_BITS value needed for large files... (cached) no checking whether byte ordering is bigendian... no checking size of void *... 8 checking size of long... 8 checking size of off_t... 8 checking for help2man... /usr/bin/help2man checking for posix_memalign... yes checking for memalign... yes checking for getextmntent... no checking for atexit... yes checking for sys/param.h... (cached) yes checking for sys/mount.h... yes checking for sys/mnttab.h... no checking for limits.h... (cached) yes checking for sys/mkdev.h... no checking for sys/sysmacros.h... yes checking for struct statfs.f_fstypename... no checking for struct statfs.f_mntfromname... no checking for util.h... no checking whether -Wtrampolines work... yes checking for gcc... gcc checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for inline... inline checking for C/C++ restrict keyword... __restrict__ checking for gcc -fPIE options needed to detect all undeclared functions... none needed checking whether clearerr_unlocked is declared... yes checking whether feof_unlocked is declared... yes checking whether ferror_unlocked is declared... yes checking whether fflush_unlocked is declared... yes checking whether fgets_unlocked is declared... yes checking whether fputc_unlocked is declared... yes checking whether fputs_unlocked is declared... yes checking whether fread_unlocked is declared... yes checking whether fwrite_unlocked is declared... yes checking whether getc_unlocked is declared... yes checking whether getchar_unlocked is declared... yes checking whether putc_unlocked is declared... yes checking whether putchar_unlocked is declared... yes checking for flockfile... yes checking for funlockfile... yes checking for btowc... yes checking for _set_invalid_parameter_handler... no checking for fchdir... yes checking for fcntl... yes checking for symlink... yes checking for mempcpy... yes checking for fnmatch... yes checking for mbsrtowcs... yes checking for getdelim... yes checking for getdtablesize... yes checking for getprogname... no checking for getexecname... no checking for isblank... yes checking for mbsinit... yes checking for mbrtowc... yes checking for isascii... yes checking for mprotect... yes checking for nl_langinfo... yes checking for lstat... yes checking for openat... yes checking for pipe... yes checking for iswctype... yes checking for sleep... yes checking for strndup... yes checking for vasnprintf... no checking for snprintf... yes checking for wcrtomb... yes checking for iswcntrl... yes checking for wcwidth... yes checking for wmempcpy... yes checking whether strerror_r is declared... yes checking whether strerror_r returns char *... yes checking whether uses 'inline' correctly... yes checking for nl_langinfo and CODESET... yes checking for a traditional french locale... none checking whether malloc is ptrdiff_t safe... yes checking whether malloc, realloc, calloc set errno on failure... yes checking whether the preprocessor supports include_next... yes checking whether source code line length is unlimited... yes checking for complete errno.h... yes checking whether fchdir is declared... yes