Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/grub2.spec'], chrootPath='/var/lib/mock/f40-staging-840655-154855/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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'} and shell False warning: /builddir/build/SPECS/grub2.spec: line 214: Macro %___pesign_client_cert defined but not used within scope warning: /builddir/build/SPECS/grub2.spec: line 214: Macro %__pesign_client_cert defined but not used within scope Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1723507200 Wrote: /builddir/build/SRPMS/grub2-2.12-4.0.riscv64.fc40.src.rpm RPM build warnings: /builddir/build/SPECS/grub2.spec: line 214: Macro %___pesign_client_cert defined but not used within scope /builddir/build/SPECS/grub2.spec: line 214: Macro %__pesign_client_cert defined but not used within scope Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/grub2.spec'], chrootPath='/var/lib/mock/f40-staging-840655-154855/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1723507200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.5hLQxk + 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 + rm -rf /builddir/build/BUILD/grub-2.12-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/grub-2.12-SPECPARTS + /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/bootstrap bootstrap + cp /builddir/build/SOURCES/bootstrap.conf bootstrap.conf + cp /builddir/build/SOURCES/strtoull_test.c ./grub-core/tests/strtoull_test.c + cp /builddir/build/SOURCES/gnulib-9f48fb992a3d7e96610c4ce8be969cff2d61a01b.tar.gz gnulib-9f48fb992a3d7e96610c4ce8be969cff2d61a01b.tar.gz + tar -zxf gnulib-9f48fb992a3d7e96610c4ce8be969cff2d61a01b.tar.gz + mv gnulib-9f48fb992a3d7e96610c4ce8be969cff2d61a01b 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 grub2-owner@fedoraproject.org + git config user.name 'Fedora Ninjas' + git config gc.auto 0 + rm -f configure + git add . + git commit -a -q -m '2.12 baseline.' + git am --whitespace=nowarn /builddir/build/SOURCES/0001-Revert-templates-Fix-user-facing-typo-with-an-incorr.patch /builddir/build/SOURCES/0002-Revert-templates-Properly-disable-the-os-prober-by-d.patch /builddir/build/SOURCES/0003-Revert-templates-Disable-the-os-prober-by-default.patch /builddir/build/SOURCES/0004-Rework-linux-command.patch /builddir/build/SOURCES/0005-Rework-linux16-command.patch /builddir/build/SOURCES/0006-re-write-.gitignore.patch /builddir/build/SOURCES/0007-IBM-client-architecture-CAS-reboot-support.patch /builddir/build/SOURCES/0008-for-ppc-reset-console-display-attr-when-clear-screen.patch /builddir/build/SOURCES/0009-Disable-GRUB-video-support-for-IBM-power-machines.patch /builddir/build/SOURCES/0010-Move-bash-completion-script-922997.patch /builddir/build/SOURCES/0011-Allow-fallback-to-include-entries-by-title-not-just-.patch /builddir/build/SOURCES/0012-Make-exit-take-a-return-code.patch /builddir/build/SOURCES/0013-Make-efi-machines-load-an-env-block-from-a-variable.patch /builddir/build/SOURCES/0014-Migrate-PPC-from-Yaboot-to-Grub2.patch /builddir/build/SOURCES/0015-Add-fw_path-variable-revised.patch /builddir/build/SOURCES/0016-Pass-x-hex-hex-straight-through-unmolested.patch /builddir/build/SOURCES/0017-blscfg-add-blscfg-module-to-parse-Boot-Loader-Specif.patch /builddir/build/SOURCES/0018-Add-devicetree-loading.patch /builddir/build/SOURCES/0019-Enable-pager-by-default.-985860.patch /builddir/build/SOURCES/0020-Don-t-say-GNU-Linux-in-generated-menus.patch /builddir/build/SOURCES/0021-Add-.eh_frame-to-list-of-relocations-stripped.patch /builddir/build/SOURCES/0022-Don-t-require-a-password-to-boot-entries-generated-b.patch /builddir/build/SOURCES/0023-use-fw_path-prefix-when-fallback-searching-for-grub-.patch /builddir/build/SOURCES/0024-Try-mac-guid-etc-before-grub.cfg-on-tftp-config-file.patch /builddir/build/SOURCES/0025-Generate-OS-and-CLASS-in-10_linux-from-etc-os-releas.patch /builddir/build/SOURCES/0026-Try-prefix-if-fw_path-doesn-t-work.patch /builddir/build/SOURCES/0027-Make-grub2-mkconfig-construct-titles-that-look-like-.patch /builddir/build/SOURCES/0028-Add-friendly-grub2-password-config-tool-985962.patch /builddir/build/SOURCES/0029-tcp-add-window-scaling-support.patch /builddir/build/SOURCES/0030-efinet-and-bootp-add-support-for-dhcpv6.patch /builddir/build/SOURCES/0031-bootp-New-net_bootp6-command.patch /builddir/build/SOURCES/0032-Add-grub-get-kernel-settings-and-use-it-in-10_linux.patch /builddir/build/SOURCES/0033-Make-grub_fatal-also-backtrace.patch /builddir/build/SOURCES/0034-Make-our-info-pages-say-grub2-where-appropriate.patch /builddir/build/SOURCES/0035-macos-just-build-chainloader-entries-don-t-try-any-x.patch /builddir/build/SOURCES/0036-grub2-btrfs-Add-ability-to-boot-from-subvolumes.patch /builddir/build/SOURCES/0037-btrfs-fix-a-bad-null-check.patch /builddir/build/SOURCES/0038-export-btrfs_subvol-and-btrfs_subvolid.patch /builddir/build/SOURCES/0039-grub2-btrfs-03-follow_default.patch /builddir/build/SOURCES/0040-grub2-btrfs-04-grub2-install.patch /builddir/build/SOURCES/0041-grub2-btrfs-05-grub2-mkconfig.patch /builddir/build/SOURCES/0042-grub2-btrfs-06-subvol-mount.patch /builddir/build/SOURCES/0043-Fallback-to-old-subvol-name-scheme-to-support-old-sn.patch /builddir/build/SOURCES/0044-Grub-not-working-correctly-with-btrfs-snapshots-bsc-.patch /builddir/build/SOURCES/0045-Add-grub_efi_allocate_pool-and-grub_efi_free_pool-wr.patch /builddir/build/SOURCES/0046-Use-grub_efi_.-memory-helpers-where-reasonable.patch /builddir/build/SOURCES/0047-Add-PRIxGRUB_EFI_STATUS-and-use-it.patch /builddir/build/SOURCES/0048-don-t-use-int-for-efi-status.patch /builddir/build/SOURCES/0049-make-GRUB_MOD_INIT-declare-its-function-prototypes.patch /builddir/build/SOURCES/0050-Don-t-guess-boot-efi-as-HFS-on-ppc-machines-in-grub-.patch /builddir/build/SOURCES/0051-20_linux_xen-load-xen-or-multiboot-2-modules-as-need.patch /builddir/build/SOURCES/0052-align-struct-efi_variable-better.patch /builddir/build/SOURCES/0053-Add-BLS-support-to-grub-mkconfig.patch /builddir/build/SOURCES/0054-Don-t-attempt-to-backtrace-on-grub_abort-for-grub-em.patch /builddir/build/SOURCES/0055-Add-grub2-switch-to-blscfg.patch /builddir/build/SOURCES/0056-normal-don-t-draw-our-startup-message-if-debug-is-se.patch /builddir/build/SOURCES/0057-Work-around-some-minor-include-path-weirdnesses.patch /builddir/build/SOURCES/0058-Make-it-possible-to-enabled-build-id-sha1.patch /builddir/build/SOURCES/0059-make-better-backtraces.patch /builddir/build/SOURCES/0060-Fixup-for-newer-compiler.patch /builddir/build/SOURCES/0061-Don-t-attempt-to-export-the-start-and-_start-symbols.patch /builddir/build/SOURCES/0062-Fixup-for-newer-compiler.patch /builddir/build/SOURCES/0063-Add-support-for-non-Ethernet-network-cards.patch /builddir/build/SOURCES/0064-efinet-UEFI-IPv6-PXE-support.patch /builddir/build/SOURCES/0065-grub.texi-Add-net_bootp6-doument.patch /builddir/build/SOURCES/0066-bootp-Add-processing-DHCPACK-packet-from-HTTP-Boot.patch /builddir/build/SOURCES/0067-Fix-const-char-pointers-in-grub-core-net-bootp.c.patch /builddir/build/SOURCES/0068-efinet-Setting-network-from-UEFI-device-path.patch /builddir/build/SOURCES/0069-efinet-Setting-DNS-server-from-UEFI-protocol.patch /builddir/build/SOURCES/0070-Support-UEFI-networking-protocols.patch /builddir/build/SOURCES/0071-AUDIT-0-http-boot-tracker-bug.patch /builddir/build/SOURCES/0072-grub-editenv-Add-incr-command-to-increment-integer-v.patch /builddir/build/SOURCES/0073-Add-auto-hide-menu-support.patch /builddir/build/SOURCES/0074-Add-grub-set-bootflag-utility.patch /builddir/build/SOURCES/0075-docs-Add-grub-boot-indeterminate.service-example.patch /builddir/build/SOURCES/0076-gentpl-add-disable-support.patch /builddir/build/SOURCES/0077-gentpl-add-pc-firmware-type.patch /builddir/build/SOURCES/0078-efinet-also-use-the-firmware-acceleration-for-http.patch /builddir/build/SOURCES/0079-efi-http-Make-root_url-reflect-the-protocol-hostname.patch /builddir/build/SOURCES/0080-Make-it-so-we-can-tell-configure-which-cflags-utils-.patch /builddir/build/SOURCES/0081-Rework-how-the-fdt-command-builds.patch /builddir/build/SOURCES/0082-Disable-non-wordsize-allocations-on-arm.patch /builddir/build/SOURCES/0083-Prepend-prefix-when-HTTP-path-is-relative.patch /builddir/build/SOURCES/0084-Make-grub_error-more-verbose.patch /builddir/build/SOURCES/0085-Make-reset-an-alias-for-the-reboot-command.patch /builddir/build/SOURCES/0086-Add-a-version-command.patch /builddir/build/SOURCES/0087-Add-more-dprintf-and-nerf-dprintf-in-script.c.patch /builddir/build/SOURCES/0088-Attempt-to-fix-up-all-the-places-Wsign-compare-error.patch /builddir/build/SOURCES/0089-Don-t-use-Wno-sign-compare-Wno-conversion-Wno-error-.patch /builddir/build/SOURCES/0090-Fix-getroot.c-s-trampolines.patch /builddir/build/SOURCES/0091-Do-not-allow-stack-trampolines-anywhere.patch /builddir/build/SOURCES/0092-Reimplement-boot_counter.patch /builddir/build/SOURCES/0093-Fix-menu-entry-selection-based-on-ID-and-title.patch /builddir/build/SOURCES/0094-Make-the-menu-entry-users-option-argument-to-be-opti.patch /builddir/build/SOURCES/0095-Add-efi-export-env-and-efi-load-env-commands.patch /builddir/build/SOURCES/0096-Export-all-variables-from-the-initial-context-when-c.patch /builddir/build/SOURCES/0097-grub.d-Split-out-boot-success-reset-from-menu-auto-h.patch /builddir/build/SOURCES/0098-Don-t-assume-that-boot-commands-will-only-return-on-.patch /builddir/build/SOURCES/0099-grub-set-bootflag-Update-comment-about-running-as-ro.patch /builddir/build/SOURCES/0100-grub-set-bootflag-Write-new-env-to-tmpfile-and-then-.patch /builddir/build/SOURCES/0101-grub.d-Fix-boot_indeterminate-getting-set-on-boot_su.patch /builddir/build/SOURCES/0102-Add-start-symbol-for-RISC-V.patch /builddir/build/SOURCES/0103-bootstrap.conf-Force-autogen.sh-to-use-python3.patch /builddir/build/SOURCES/0104-efi-http-Export-fw-http-_path-variables-to-make-them.patch /builddir/build/SOURCES/0105-efi-http-Enclose-literal-IPv6-addresses-in-square-br.patch /builddir/build/SOURCES/0106-efi-net-Allow-to-specify-a-port-number-in-addresses.patch /builddir/build/SOURCES/0107-efi-ip4_config-Improve-check-to-detect-literal-IPv6-.patch /builddir/build/SOURCES/0108-efi-net-Print-a-debug-message-if-parsing-the-address.patch /builddir/build/SOURCES/0109-kern-term-Also-accept-F8-as-a-user-interrupt-key.patch /builddir/build/SOURCES/0110-http-Prepend-prefix-when-the-HTTP-path-is-relative-a.patch /builddir/build/SOURCES/0111-Fix-a-missing-return-in-efi-export-env-and-efi-load-.patch /builddir/build/SOURCES/0112-efi-dhcp-fix-some-allocation-error-checking.patch /builddir/build/SOURCES/0113-efi-http-fix-some-allocation-error-checking.patch /builddir/build/SOURCES/0114-efi-ip-46-_config.c-fix-some-potential-allocation-ov.patch /builddir/build/SOURCES/0115-Fix-const-char-pointers-in-grub-core-net-efi-ip4_con.patch /builddir/build/SOURCES/0116-Fix-const-char-pointers-in-grub-core-net-efi-ip6_con.patch /builddir/build/SOURCES/0117-Fix-const-char-pointers-in-grub-core-net-efi-net.c.patch /builddir/build/SOURCES/0118-Fix-const-char-pointers-in-grub-core-net-efi-pxe.c.patch /builddir/build/SOURCES/0119-Add-systemd-integration-scripts-to-make-systemctl-re.patch /builddir/build/SOURCES/0120-systemd-integration.sh-Also-set-old-menu_show_once-g.patch /builddir/build/SOURCES/0121-at_keyboard-use-set-1-when-keyboard-is-in-Translate-.patch /builddir/build/SOURCES/0122-grub-install-disable-support-for-EFI-platforms.patch /builddir/build/SOURCES/0123-New-with-debug-timestamps-configure-flag-to-prepend-.patch /builddir/build/SOURCES/0124-Added-debug-statements-to-grub_disk_open-and-grub_di.patch /builddir/build/SOURCES/0125-Introduce-function-grub_debug_is_enabled-void-return.patch /builddir/build/SOURCES/0126-Don-t-clear-screen-when-debugging-is-enabled.patch /builddir/build/SOURCES/0127-grub_file_-instrumentation-new-file-debug-tag.patch /builddir/build/SOURCES/0128-ieee1275-Avoiding-many-unecessary-open-close.patch /builddir/build/SOURCES/0129-ieee1275-powerpc-implements-fibre-channel-discovery-.patch /builddir/build/SOURCES/0130-ieee1275-powerpc-enables-device-mapper-discovery.patch /builddir/build/SOURCES/0131-Add-at_keyboard_fallback_set-var-to-force-the-set-ma.patch /builddir/build/SOURCES/0132-Add-suport-for-signing-grub-with-an-appended-signatu.patch /builddir/build/SOURCES/0133-docs-grub-Document-signing-grub-under-UEFI.patch /builddir/build/SOURCES/0134-docs-grub-Document-signing-grub-with-an-appended-sig.patch /builddir/build/SOURCES/0135-dl-provide-a-fake-grub_dl_set_persistent-for-the-emu.patch /builddir/build/SOURCES/0136-pgp-factor-out-rsa_pad.patch /builddir/build/SOURCES/0137-crypto-move-storage-for-grub_crypto_pk_-to-crypto.c.patch /builddir/build/SOURCES/0138-posix_wrap-tweaks-in-preparation-for-libtasn1.patch /builddir/build/SOURCES/0139-libtasn1-import-libtasn1-4.16.0.patch /builddir/build/SOURCES/0140-libtasn1-disable-code-not-needed-in-grub.patch /builddir/build/SOURCES/0141-libtasn1-changes-for-grub-compatibility.patch /builddir/build/SOURCES/0142-libtasn1-compile-into-asn1-module.patch /builddir/build/SOURCES/0143-test_asn1-test-module-for-libtasn1.patch /builddir/build/SOURCES/0144-grub-install-support-embedding-x509-certificates.patch /builddir/build/SOURCES/0145-appended-signatures-import-GNUTLS-s-ASN.1-descriptio.patch /builddir/build/SOURCES/0146-appended-signatures-parse-PKCS-7-signedData-and-X.50.patch /builddir/build/SOURCES/0147-appended-signatures-support-verifying-appended-signa.patch /builddir/build/SOURCES/0148-appended-signatures-verification-tests.patch /builddir/build/SOURCES/0149-appended-signatures-documentation.patch /builddir/build/SOURCES/0150-ieee1275-enter-lockdown-based-on-ibm-secure-boot.patch /builddir/build/SOURCES/0151-ieee1275-drop-HEAP_MAX_ADDR-HEAP_MIN_SIZE.patch /builddir/build/SOURCES/0152-appendedsig-x509-Also-handle-the-Extended-Key-Usage-.patch /builddir/build/SOURCES/0153-ieee1275-ofdisk-retry-on-open-failure.patch /builddir/build/SOURCES/0154-efinet-Add-DHCP-proxy-support.patch /builddir/build/SOURCES/0155-Don-t-update-the-cmdline-when-generating-legacy-menu.patch /builddir/build/SOURCES/0156-Suppress-gettext-error-message.patch /builddir/build/SOURCES/0157-grub-set-password-Always-use-boot-grub2-user.cfg-as-.patch /builddir/build/SOURCES/0158-normal-main-Discover-the-device-to-read-the-config-f.patch /builddir/build/SOURCES/0159-powerpc-adjust-setting-of-prefix-for-signed-binary-c.patch /builddir/build/SOURCES/0160-powerpc-ieee1275-load-grub-at-4MB-not-2MB.patch /builddir/build/SOURCES/0161-Add-Fedora-location-of-DejaVu-SANS-font.patch /builddir/build/SOURCES/0162-efi-new-connectefi-command.patch /builddir/build/SOURCES/0163-powerpc-prefix-detection-support-device-names-with-c.patch /builddir/build/SOURCES/0164-make-ofdisk_retries-optional.patch /builddir/build/SOURCES/0165-misc-Make-grub_min-and-grub_max-more-resilient.patch /builddir/build/SOURCES/0166-ReiserFS-switch-to-using-grub_min-grub_max.patch /builddir/build/SOURCES/0167-misc-make-grub_boot_time-also-call-grub_dprintf-boot.patch /builddir/build/SOURCES/0168-modules-make-.module_license-read-only.patch /builddir/build/SOURCES/0169-modules-strip-.llvm_addrsig-sections-and-similar.patch /builddir/build/SOURCES/0170-modules-Don-t-allocate-space-for-non-allocable-secti.patch /builddir/build/SOURCES/0171-modules-load-module-sections-at-page-aligned-address.patch /builddir/build/SOURCES/0172-nx-add-memory-attribute-get-set-API.patch /builddir/build/SOURCES/0173-nx-set-page-permissions-for-loaded-modules.patch /builddir/build/SOURCES/0174-nx-set-the-nx-compatible-flag-in-EFI-grub-images.patch /builddir/build/SOURCES/0175-grub_fs_probe-dprint-errors-from-filesystems.patch /builddir/build/SOURCES/0176-Make-debug-file-show-which-file-filters-get-run.patch /builddir/build/SOURCES/0177-BLS-create-etc-kernel-cmdline-during-mkconfig.patch /builddir/build/SOURCES/0178-squish-don-t-dup-rhgb-quiet-check-mtimes.patch /builddir/build/SOURCES/0179-squish-give-up-on-rhgb-quiet.patch /builddir/build/SOURCES/0180-squish-BLS-only-write-etc-kernel-cmdline-if-writable.patch /builddir/build/SOURCES/0181-blscfg-Don-t-root-device-in-emu-builds.patch /builddir/build/SOURCES/0182-ppc64le-signed-boot-media-changes.patch /builddir/build/SOURCES/0183-core-Fix-several-implicit-function-declarations.patch /builddir/build/SOURCES/0184-ieee1275-request-memory-with-ibm-client-architecture.patch /builddir/build/SOURCES/0185-hostdisk-work-around-proc-not-reporting-size.patch /builddir/build/SOURCES/0186-blscfg-check-for-mounted-boot-in-emu.patch /builddir/build/SOURCES/0187-grub_dl_set_mem_attrs-fix-format-string.patch /builddir/build/SOURCES/0188-grub_dl_set_mem_attrs-add-self-check-for-the-tramp-G.patch /builddir/build/SOURCES/0189-grub_dl_load_segments-page-align-the-tramp-GOT-areas.patch /builddir/build/SOURCES/0190-emu-Add-switch-root-to-grub-emu.patch /builddir/build/SOURCES/0191-util-Enable-default-kernel-for-updates.patch /builddir/build/SOURCES/0192-efi-http-change-uint32_t-to-uintn_t.patch /builddir/build/SOURCES/0193-Add-Install-section-to-aux-systemd-units.patch /builddir/build/SOURCES/0194-Fix-missing-include-in-ofdisk.c.patch /builddir/build/SOURCES/0195-add-flag-to-only-search-root-dev.patch /builddir/build/SOURCES/0196-cryptdisk-fix-incorrect-sign-comparison.patch /builddir/build/SOURCES/0197-grub-install-fix-a-sign-comparison-error.patch /builddir/build/SOURCES/0198-grub-mount-work-around-bad-integer-comparison.patch /builddir/build/SOURCES/0199-power-Fix-use-after-free-in-get_slave_from_dm.patch /builddir/build/SOURCES/0200-Fix-some-sign-comparison-errors.patch /builddir/build/SOURCES/0201-normal-Fix-a-discarded-const.patch /builddir/build/SOURCES/0202-at_keyboard-mark-grub_keyboard_controller_write-unus.patch /builddir/build/SOURCES/0203-Fix-another-minor-sign-comparison-error.patch /builddir/build/SOURCES/0204-Track-explicit-module-dependencies-in-Makefile.core..patch /builddir/build/SOURCES/0205-Revert-mm-Assert-that-we-preserve-header-vs-region-a.patch /builddir/build/SOURCES/0206-make-use-the-_CPU-variety-of-build-flags-for-PROGRAM.patch /builddir/build/SOURCES/0207-Work-around-extra_deps.lst-issue.patch /builddir/build/SOURCES/0208-include-proper-attribute-for-an-EFI-API-call-definit.patch /builddir/build/SOURCES/0209-cast-grub_error-status-parameter.patch /builddir/build/SOURCES/0210-remove-unused-varible.patch /builddir/build/SOURCES/0211-cast-grub_net_bootp_packet-pointer.patch /builddir/build/SOURCES/0212-libtasn1-fix-string-overflow-warning.patch /builddir/build/SOURCES/0213-Add-support-for-Linux-EFI-stub-loading.patch /builddir/build/SOURCES/0214-fix-i386_pc-on-legacycfg-module.patch /builddir/build/SOURCES/0215-Add-secureboot-support-on-efi-chainloader.patch /builddir/build/SOURCES/0216-Make-any-of-the-loaders-that-link-in-efi-mode-honor-.patch /builddir/build/SOURCES/0217-Minimize-the-sort-ordering-for-.debug-and-rescue-ker.patch /builddir/build/SOURCES/0218-Add-grub_qdprintf-grub_dprintf-without-the-file-line.patch /builddir/build/SOURCES/0219-Make-a-gdb-dprintf-that-tells-us-load-addresses.patch /builddir/build/SOURCES/0220-Handle-multi-arch-64-on-32-boot-in-linuxefi-loader.patch /builddir/build/SOURCES/0221-Try-to-pick-better-locations-for-kernel-and-initrd.patch /builddir/build/SOURCES/0222-x86-efi-Use-bounce-buffers-for-reading-to-addresses-.patch /builddir/build/SOURCES/0223-x86-efi-Re-arrange-grub_cmd_linux-a-little-bit.patch /builddir/build/SOURCES/0224-x86-efi-Make-our-own-allocator-for-kernel-stuff.patch /builddir/build/SOURCES/0225-x86-efi-Allow-initrd-params-cmdline-allocations-abov.patch /builddir/build/SOURCES/0226-efi-Set-image-base-address-before-jumping-to-the-PE-.patch /builddir/build/SOURCES/0227-x86-efi-Reduce-maximum-bounce-buffer-size-to-16-MiB.patch /builddir/build/SOURCES/0228-efilinux-Fix-integer-overflows-in-grub_cmd_initrd.patch /builddir/build/SOURCES/0229-linuxefi-fail-kernel-validation-without-shim-protoco.patch /builddir/build/SOURCES/0230-Allow-chainloading-EFI-apps-from-loop-mounts.patch /builddir/build/SOURCES/0231-grub-core-loader-i386-efi-linux.c-do-not-validate-ke.patch /builddir/build/SOURCES/0232-grub-core-loader-efi-chainloader.c-do-not-validate-c.patch /builddir/build/SOURCES/0233-grub-core-loader-efi-linux.c-drop-now-unused-grub_li.patch /builddir/build/SOURCES/0234-loader-efi-chainloader-grub_load_and_start_image-doe.patch /builddir/build/SOURCES/0235-loader-efi-chainloader-simplify-the-loader-state.patch /builddir/build/SOURCES/0236-loader-efi-chainloader-Use-grub_loader_set_ex.patch /builddir/build/SOURCES/0237-loader-i386-efi-linux-Avoid-a-use-after-free-in-the-.patch /builddir/build/SOURCES/0238-loader-i386-efi-linux-Use-grub_loader_set_ex.patch /builddir/build/SOURCES/0239-loader-i386-efi-linux-Fix-a-memory-leak-in-the-initr.patch /builddir/build/SOURCES/0240-EFI-allocate-kernel-in-EFI_RUNTIME_SERVICES_CODE-ins.patch /builddir/build/SOURCES/0241-efi-use-enumerated-array-positions-for-our-allocatio.patch /builddir/build/SOURCES/0242-efi-split-allocation-policy-for-kernel-vs-initrd-mem.patch /builddir/build/SOURCES/0243-efi-allocate-the-initrd-within-the-bounds-expressed-.patch /builddir/build/SOURCES/0244-efi-use-EFI_LOADER_-CODE-DATA-for-kernel-and-initrd-.patch /builddir/build/SOURCES/0245-x86-efi-Fix-an-incorrect-array-size-in-kernel-alloca.patch /builddir/build/SOURCES/0246-grub-install-on-EFI-if-forced.patch /builddir/build/SOURCES/0247-Remove-Install-section-from-aux-systemd-units.patch /builddir/build/SOURCES/0248-chainloader-remove-device-path-debug-message.patch /builddir/build/SOURCES/0249-grub-set-bootflag-Conservative-partial-fix-for-CVE-2.patch /builddir/build/SOURCES/0250-grub-set-bootflag-More-complete-fix-for-CVE-2024-104.patch /builddir/build/SOURCES/0251-grub-set-bootflag-Exit-calmly-when-not-running-as-ro.patch /builddir/build/SOURCES/0252-Makefile.core.def-fix-linux-module.patch /builddir/build/SOURCES/0256-pe-add-the-DOS-header-struct-and-fix-some-bad-naming.patch /builddir/build/SOURCES/0259-normal-Remove-grub_env_set-prefix-in-grub_try_normal.patch /builddir/build/SOURCES/0260-fs-xfs-Handle-non-continuous-data-blocks-in-director.patch /builddir/build/SOURCES/0261-Ignore-warnings-for-incompatible-types.patch /builddir/build/SOURCES/0262-cmd-search-Rework-of-CVE-2023-4001-fix.patch /builddir/build/SOURCES/0263-loader-efi-linux.c-read-the-kernel-image-before-head.patch /builddir/build/SOURCES/0264-nx-set-attrs-in-our-kernel-loaders.patch /builddir/build/SOURCES/0265-efi-Provide-wrappers-for-load_image-start_image.patch /builddir/build/SOURCES/0266-efi-Disallow-fallback-to-legacy-Linux-loader-when-sh.patch /builddir/build/SOURCES/0267-Set-non-executable-stack-sections-on-EFI-assembly-fi.patch /builddir/build/SOURCES/0268-grub-mkconfig.in-turn-off-executable-owner-bit.patch /builddir/build/SOURCES/0269-kern-ieee1275-init-Add-IEEE-1275-Radix-support-for-K.patch /builddir/build/SOURCES/0270-grub2-mkconfig-Ensure-grub-cfg-stub-is-not-overwritt.patch /builddir/build/SOURCES/0271-grub2-mkconfig-Simplify-os_name-detection.patch /builddir/build/SOURCES/0272-grub-mkconfig-Remove-check-for-mount-point-for-grub-.patch /builddir/build/SOURCES/0273-Use-medany-instead-of-large-model-for-RISCV.patch /builddir/build/SOURCES/0274-riscv-use-time-register-in-grub-efi-get-time-ms.patch Applying: Revert "templates: Fix user-facing typo with an incorrect use of "it's"" Applying: Revert "templates: Properly disable the os-prober by default" Applying: Revert "templates: Disable the os-prober by default" Applying: Rework linux command Applying: Rework linux16 command Applying: re-write .gitignore Applying: IBM client architecture (CAS) reboot support Applying: for ppc, reset console display attr when clear screen Applying: Disable GRUB video support for IBM power machines Applying: Move bash completion script (#922997) Applying: Allow "fallback" to include entries by title, not just number. Applying: Make "exit" take a return code. Applying: Make efi machines load an env block from a variable Applying: Migrate PPC from Yaboot to Grub2 Applying: Add fw_path variable (revised) Applying: Pass "\x[[:hex:]][[:hex:]]" straight through unmolested. Applying: blscfg: add blscfg module to parse Boot Loader Specification snippets Applying: Add devicetree loading Applying: Enable pager by default. (#985860) Applying: Don't say "GNU/Linux" in generated menus. Applying: Add .eh_frame to list of relocations stripped Applying: Don't require a password to boot entries generated by grub-mkconfig. Applying: use fw_path prefix when fallback searching for grub config Applying: Try mac/guid/etc before grub.cfg on tftp config files. Applying: Generate OS and CLASS in 10_linux from /etc/os-release Applying: Try $prefix if $fw_path doesn't work. Applying: Make grub2-mkconfig construct titles that look like the ones we want elsewhere. Applying: Add friendly grub2 password config tool (#985962) Applying: tcp: add window scaling support Applying: efinet and bootp: add support for dhcpv6 Applying: bootp: New net_bootp6 command Applying: Add grub-get-kernel-settings and use it in 10_linux Applying: Make grub_fatal() also backtrace. Applying: Make our info pages say "grub2" where appropriate. Applying: macos: just build chainloader entries, don't try any xnu xnu. Applying: grub2/btrfs: Add ability to boot from subvolumes Applying: btrfs: fix a bad null check Applying: export btrfs_subvol and btrfs_subvolid Applying: grub2-btrfs-03-follow_default Applying: grub2-btrfs-04-grub2-install Applying: grub2-btrfs-05-grub2-mkconfig Applying: grub2-btrfs-06-subvol-mount Applying: Fallback to old subvol name scheme to support old snapshot config Applying: Grub not working correctly with btrfs snapshots (bsc#1026511) Applying: Add grub_efi_allocate_pool() and grub_efi_free_pool() wrappers. Applying: Use grub_efi_...() memory helpers where reasonable. Applying: Add PRIxGRUB_EFI_STATUS and use it. Applying: don't use int for efi status Applying: make GRUB_MOD_INIT() declare its function prototypes. Applying: Don't guess /boot/efi/ as HFS+ on ppc machines in grub-install Applying: 20_linux_xen: load xen or multiboot{,2} modules as needed. Applying: align struct efi_variable better... Applying: Add BLS support to grub-mkconfig Applying: Don't attempt to backtrace on grub_abort() for grub-emu Applying: Add grub2-switch-to-blscfg Applying: normal: don't draw our startup message if debug is set Applying: Work around some minor include path weirdnesses Applying: Make it possible to enabled --build-id=sha1 Applying: make better backtraces Applying: Fixup for newer compiler Applying: Don't attempt to export the start and _start symbols for grub-emu Applying: Fixup for newer compiler Applying: Add support for non-Ethernet network cards Applying: efinet: UEFI IPv6 PXE support Applying: grub.texi: Add net_bootp6 doument Applying: bootp: Add processing DHCPACK packet from HTTP Boot Applying: Fix const char ** pointers in grub-core/net/bootp.c Applying: efinet: Setting network from UEFI device path Applying: efinet: Setting DNS server from UEFI protocol Applying: Support UEFI networking protocols Applying: AUDIT-0: http boot tracker bug Applying: grub-editenv: Add "incr" command to increment integer value env. variables Applying: Add auto-hide menu support Applying: Add grub-set-bootflag utility Applying: docs: Add grub-boot-indeterminate.service example Applying: gentpl: add 'disable = ' support Applying: gentpl: add 'pc' firmware type Applying: efinet: also use the firmware acceleration for http Applying: efi/http: Make root_url reflect the protocol+hostname of our boot url. Applying: Make it so we can tell configure which cflags utils are built with Applying: Rework how the fdt command builds. Applying: Disable non-wordsize allocations on arm Applying: Prepend prefix when HTTP path is relative Applying: Make grub_error() more verbose Applying: Make "reset" an alias for the "reboot" command. Applying: Add a "version" command Applying: Add more dprintf, and nerf dprintf in script.c Applying: Attempt to fix up all the places -Wsign-compare=error finds. Applying: Don't use -Wno-sign-compare -Wno-conversion -Wno-error, do use -Wextra. Applying: Fix getroot.c's trampolines. Applying: Do not allow stack trampolines, anywhere. Applying: Reimplement boot_counter Applying: Fix menu entry selection based on ID and title Applying: Make the menu entry users option argument to be optional Applying: Add efi-export-env and efi-load-env commands Applying: Export all variables from the initial context when creating a submenu Applying: grub.d: Split out boot success reset from menu auto hide script Applying: Don't assume that boot commands will only return on fail Applying: grub-set-bootflag: Update comment about running as root through pkexec Applying: grub-set-bootflag: Write new env to tmpfile and then rename Applying: grub.d: Fix boot_indeterminate getting set on boot_success=0 boot Applying: Add start symbol for RISC-V Applying: bootstrap.conf: Force autogen.sh to use python3 Applying: efi/http: Export {fw,http}_path variables to make them global Applying: efi/http: Enclose literal IPv6 addresses in square brackets Applying: efi/net: Allow to specify a port number in addresses Applying: efi/ip4_config: Improve check to detect literal IPv6 addresses Applying: efi/net: Print a debug message if parsing the address fails Applying: kern/term: Also accept F8 as a user interrupt key Applying: http: Prepend prefix when the HTTP path is relative as done in efi/http Applying: Fix a missing return in efi-export-env and efi-load-env commands Applying: efi+dhcp: fix some allocation error checking. Applying: efi+http: fix some allocation error checking. Applying: efi/ip[46]_config.c: fix some potential allocation overflows Applying: Fix const char ** pointers in grub-core/net/efi/ip4_config.c Applying: Fix const char ** pointers in grub-core/net/efi/ip6_config.c Applying: Fix const char ** pointers in grub-core/net/efi/net.c Applying: Fix const char ** pointers in grub-core/net/efi/pxe.c Applying: Add systemd integration scripts to make "systemctl reboot --boot-loader-menu=xxx" work with grub Applying: systemd-integration.sh: Also set old menu_show_once grubenv var Applying: at_keyboard: use set 1 when keyboard is in Translate mode Applying: grub-install: disable support for EFI platforms Applying: New --with-debug-timestamps configure flag to prepend debug traces with absolute and relative timestamp Applying: Added debug statements to grub_disk_open() and grub_disk_close() on success Applying: Introduce function grub_debug_is_enabled(void) returning 1 if 'debug' is in the environment and not empty Applying: Don't clear screen when debugging is enabled Applying: grub_file_* instrumentation (new 'file' debug tag) Applying: ieee1275: Avoiding many unecessary open/close Applying: ieee1275/powerpc: implements fibre channel discovery for ofpathname Applying: ieee1275/powerpc: enables device mapper discovery Applying: Add 'at_keyboard_fallback_set' var to force the set manually Applying: Add suport for signing grub with an appended signature Applying: docs/grub: Document signing grub under UEFI Applying: docs/grub: Document signing grub with an appended signature Applying: dl: provide a fake grub_dl_set_persistent for the emu target Applying: pgp: factor out rsa_pad Applying: crypto: move storage for grub_crypto_pk_* to crypto.c Applying: posix_wrap: tweaks in preparation for libtasn1 Applying: libtasn1: import libtasn1-4.16.0 Applying: libtasn1: disable code not needed in grub Applying: libtasn1: changes for grub compatibility Applying: libtasn1: compile into asn1 module Applying: test_asn1: test module for libtasn1 Applying: grub-install: support embedding x509 certificates Applying: appended signatures: import GNUTLS's ASN.1 description files Applying: appended signatures: parse PKCS#7 signedData and X.509 certificates Applying: appended signatures: support verifying appended signatures Applying: appended signatures: verification tests Applying: appended signatures: documentation Applying: ieee1275: enter lockdown based on /ibm,secure-boot Applying: ieee1275: drop HEAP_MAX_ADDR, HEAP_MIN_SIZE Applying: appendedsig/x509: Also handle the Extended Key Usage extension Applying: ieee1275/ofdisk: retry on open failure Applying: efinet: Add DHCP proxy support Applying: Don't update the cmdline when generating legacy menuentry commands Applying: Suppress gettext error message Applying: grub-set-password: Always use /boot/grub2/user.cfg as password default Applying: normal/main: Discover the device to read the config from as a fallback Applying: powerpc: adjust setting of prefix for signed binary case Applying: powerpc-ieee1275: load grub at 4MB, not 2MB Applying: Add Fedora location of DejaVu SANS font Applying: efi: new 'connectefi' command Applying: powerpc: prefix detection: support device names with commas Applying: make ofdisk_retries optional Applying: misc: Make grub_min() and grub_max() more resilient. Applying: ReiserFS: switch to using grub_min()/grub_max() Applying: misc: make grub_boot_time() also call grub_dprintf("boot",...) Applying: modules: make .module_license read-only Applying: modules: strip .llvm_addrsig sections and similar. Applying: modules: Don't allocate space for non-allocable sections. Applying: modules: load module sections at page-aligned addresses Applying: nx: add memory attribute get/set API Applying: nx: set page permissions for loaded modules. Applying: nx: set the nx compatible flag in EFI grub images Applying: grub_fs_probe(): dprint errors from filesystems Applying: Make debug=file show which file filters get run. Applying: BLS: create /etc/kernel/cmdline during mkconfig Applying: squish: don't dup rhgb quiet, check mtimes Applying: squish: give up on rhgb quiet Applying: squish: BLS: only write /etc/kernel/cmdline if writable Applying: blscfg: Don't root device in emu builds Applying: ppc64le: signed boot media changes Applying: core: Fix several implicit function declarations Applying: ieee1275: request memory with ibm, client-architecture-support Applying: hostdisk: work around /proc not reporting size Applying: blscfg: check for mounted /boot in emu Applying: grub_dl_set_mem_attrs(): fix format string Applying: grub_dl_set_mem_attrs(): add self-check for the tramp/GOT sizes Applying: grub_dl_load_segments(): page-align the tramp/GOT areas too Applying: emu: Add switch-root to grub-emu Applying: util: Enable default kernel for updates Applying: efi/http: change uint32_t to uintn_t Applying: Add [Install] section to aux systemd units Applying: Fix missing #include in ofdisk.c Applying: add flag to only search root dev Applying: cryptdisk: fix incorrect sign comparison Applying: grub-install: fix a sign comparison error Applying: grub-mount: work around bad integer comparison. Applying: power: Fix use after free in get_slave_from_dm() Applying: Fix some sign comparison errors Applying: normal: Fix a discarded const. Applying: at_keyboard: mark grub_keyboard_controller_write unused Applying: Fix another minor sign comparison error. Applying: Track explicit module dependencies in Makefile.core.def Applying: Revert "mm: Assert that we preserve header vs region alignment" Applying: make: use the _CPU variety of build flags for PROGRAM and LIBRARY Applying: Work around extra_deps.lst issue Applying: include proper attribute for an EFI API call definition Applying: cast grub_error status parameter Applying: remove unused varible Applying: cast grub_net_bootp_packet pointer Applying: libtasn1: fix error: patch failed: grub-core/loader/efi/linux.c:559 error: grub-core/loader/efi/linux.c: patch does not apply string overflow warning Applying: Add support for Linux EFI stub loading. Applying: fix i386_pc on legacycfg module Applying: Add secureboot support on efi chainloader Applying: Make any of the loaders that link in efi mode honor secure boot. Applying: Minimize the sort ordering for .debug and -rescue- kernels. Applying: Add grub_qdprintf() - grub_dprintf() without the file+line number. Applying: Make a "gdb" dprintf that tells us load addresses. Applying: Handle multi-arch (64-on-32) boot in linuxefi loader. Applying: Try to pick better locations for kernel and initrd Applying: x86-efi: Use bounce buffers for reading to addresses > 4GB Applying: x86-efi: Re-arrange grub_cmd_linux() a little bit. Applying: x86-efi: Make our own allocator for kernel stuff Applying: x86-efi: Allow initrd+params+cmdline allocations above 4GB. Applying: efi: Set image base address before jumping to the PE/COFF entry point Applying: x86-efi: Reduce maximum bounce buffer size to 16 MiB Applying: efilinux: Fix integer overflows in grub_cmd_initrd Applying: linuxefi: fail kernel validation without shim protocol. Applying: Allow chainloading EFI apps from loop mounts. Applying: grub-core/loader/i386/efi/linux.c: do not validate kernels twice Applying: grub-core/loader/efi/chainloader.c: do not validate chainloader twice Applying: grub-core/loader/efi/linux.c: drop now unused grub_linuxefi_secure_validate Applying: loader/efi/chainloader: grub_load_and_start_image doesn't load and start Applying: loader/efi/chainloader: simplify the loader state Applying: loader/efi/chainloader: Use grub_loader_set_ex Applying: loader/i386/efi/linux: Avoid a use-after-free in the linuxefi loader Applying: loader/i386/efi/linux: Use grub_loader_set_ex Applying: loader/i386/efi/linux: Fix a memory leak in the initrd command Applying: EFI: allocate kernel in EFI_RUNTIME_SERVICES_CODE instead of EFI_LOADER_DATA. Applying: efi: use enumerated array positions for our allocation choices Applying: efi: split allocation policy for kernel vs initrd memories. Applying: efi: allocate the initrd within the bounds expressed by the kernel Applying: efi: use EFI_LOADER_(CODE|DATA) for kernel and initrd allocations Applying: x86-efi: Fix an incorrect array size in kernel allocation Applying: grub-install on EFI if forced Applying: Remove [Install] section from aux systemd units Applying: chainloader: remove device path debug message Applying: grub-set-bootflag: Conservative partial fix for CVE-2024-1048 Applying: grub-set-bootflag: More complete fix for CVE-2024-1048 Applying: grub-set-bootflag: Exit calmly when not running as root Applying: Makefile.core.def: fix linux module Applying: pe: add the DOS header struct and fix some bad naming. Applying: normal: Remove grub_env_set prefix in grub_try_normal_prefix Applying: fs/xfs: Handle non-continuous data blocks in directory extents Applying: Ignore warnings for incompatible types Applying: cmd/search: Rework of CVE-2023-4001 fix Applying: loader/efi/linux.c: read the kernel image before header Patch failed at 0258 loader/efi/linux.c: read the kernel image before header When you have resolved this problem, run "git am --continue". If you prefer to skip this patch, run "git am --skip" instead. To restore the original branch and stop patching, run "git am --abort". hint: Use 'git am --show-current-patch=diff' to see the failed patch error: Bad exit status from /var/tmp/rpm-tmp.5hLQxk (%prep) Bad exit status from /var/tmp/rpm-tmp.5hLQxk (%prep) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/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: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/grub2.spec