• Bug#1105306: edk2: FTBFS with make --shuffle=reverse: make[2]: *** No r

    From Lucas Nussbaum@21:1/5 to All on Tue May 13 21:10:16 2025
    Source: edk2
    Version: 2025.02-7
    Severity: minor
    Tags: trixie sid ftbfs
    User: lucas@debian.org
    Usertags: ftbfs-shuffle

    Hi,

    GNU Make now has a --shuffle option that simulates non-deterministic ordering of target prerequisites. See https://trofi.github.io/posts/238-new-make-shuffle-mode.html and also previous work in Debian by Santiago Vila: https://people.debian.org/~sanvila/make-shuffle/

    This package fails to build with make --shuffle=reverse.
    This is likely to be caused by a missing dependency in
    debian/rules or an upstream Makefile.

    More information about this mass bug filing is available at https://wiki.debian.org/qa.debian.org/FTBFS/Shuffle

    Relevant part (hopefully):
    make[2]: Entering directory '/build/reproducible-path/edk2-2025.02/Build/LoongArchVirtQemu/RELEASE_GCC5/LOONGARCH64/MdeModulePkg/Application/UiApp/UiApp'
    GNUmakefile:442: update target '/build/reproducible-path/edk2-2025.02/Build/LoongArchVirtQemu/RELEASE_GCC5/FV/Ffs/462CAA21-7614-4503-836E-8AB6F4662331UiApp/462CAA21-7614-4503-836E-8AB6F4662331SEC2.ui' due to: target does not exist
    GenSec -s EFI_SECTION_USER_INTERFACE -n UiApp -o /build/reproducible-path/edk2-2025.02/Build/LoongArchVirtQemu/RELEASE_GCC5/FV/Ffs/462CAA21-7614-4503-836E-8AB6F4662331UiApp/462CAA21-7614-4503-836E-8AB6F4662331SEC2.ui
    make[2]: *** No rule to make target '/build/reproducible-path/edk2-2025.02/Build/LoongArchVirtQemu/RELEASE_GCC5/LOONGARCH64/MdeModulePkg/Application/UiApp/UiApp/DEBUG/UiApp.efi', needed by '/build/reproducible-path/edk2-2025.02/Build/LoongArchVirtQemu/
    RELEASE_GCC5/FV/Ffs/462CAA21-7614-4503-836E-8AB6F4662331UiApp/UiApp.offset'. Stop.
    make[2]: Leaving directory '/build/reproducible-path/edk2-2025.02/Build/LoongArchVirtQemu/RELEASE_GCC5/LOONGARCH64/MdeModulePkg/Application/UiApp/UiApp'


    build.py...
    : error 7000: Failed to execute command
    make tbuild [/build/reproducible-path/edk2-2025.02/Build/LoongArchVirtQemu/RELEASE_GCC5/LOONGARCH64/MdeModulePkg/Application/UiApp/UiApp]


    build.py...
    : error F002: Failed to build module
    /build/reproducible-path/edk2-2025.02/MdeModulePkg/Application/UiApp/UiApp.inf [LOONGARCH64, GCC5, RELEASE]

    - Failed -
    Build end time: 12:44:32, May.01 2025
    Build total time: 00:02:38

    make[1]: *** [debian/rules:307: debian/loongarch64-install/QEMU_VARS.fd] Error 1 shuffle=reverse


    The full build log is available from: http://qa-logs.debian.net/2025/05/05/shuffle/reverse/edk2_2025.02-7_unstable_reverse.log

    If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)