# git rev-parse -q --verify 783c55ae7a9551f049b0c1a52cde0ec3a5550501^{commit} 783c55ae7a9551f049b0c1a52cde0ec3a5550501 already have revision, skipping fetch # git checkout -q -f -B kisskb 783c55ae7a9551f049b0c1a52cde0ec3a5550501 # git clean -qxdf # < git log -1 # commit 783c55ae7a9551f049b0c1a52cde0ec3a5550501 # Author: Masahiro Yamada # Date: Sat Jul 22 13:48:06 2023 +0900 # # kbuild: rpm-pkg: skip build dependency check on non-rpm systems # # Commit 8818039f959b ("kbuild: add ability to make source rpm buildable # using koji") added the BuildRequires: field. # # Checking the build dependency is fine, but one annoyance is that # 'make (bin)rpm-pkg' fails on non-rpm systems [1]. For example, Debian # provides rpmbuild via 'apt install rpm', but of course cannot meet the # requirement listed in the BuildRequires: field. # # It is possible to pass RPMOPTS=--nodeps to work around it, but it is # reasonable to do it automatically. # # If 'rpm -q rpm' fails, it is not an RPM-managed system. (The command # 'rpm' is not installed at all, or was installed by other means.) # # In that case, pass --nodeps to skip the build dependency check. # # [1]: https://lore.kernel.org/linux-kbuild/Y6mkdYQYmjUz7bqV@li-4a3a4a4c-28e5-11b2-a85c-a8d192c6f089.ibm.com/ # # Signed-off-by: Masahiro Yamada # < /opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 783c55ae7a9551f049b0c1a52cde0ec3a5550501 # make -s -j 40 ARCH=x86 O=/kisskb/build/kbuild_allmodconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux- allmodconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_SAMPLES=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig # < make -s -j 40 ARCH=x86 O=/kisskb/build/kbuild_allmodconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux- help # make -s -j 40 ARCH=x86 O=/kisskb/build/kbuild_allmodconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig # make -s -j 40 ARCH=x86 O=/kisskb/build/kbuild_allmodconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux- Completed OK # rm -rf /kisskb/build/kbuild_allmodconfig_x86_64-gcc8 # Build took: 0:13:28.517801