[OpenWrt-Devel] linux5.4: build-dependency to rsync

Bjørn Mork bjorn at mork.no
Sun Apr 19 05:32:03 EDT 2020

Sven Roederer <devel-sven at geroedel.de> writes:

> I was just building a master-branch for x86-generic and got following error:
> make[5]: Entering directory '/mnt/local/btrfs/build/freifunk/ffberlin/
> firmware/openwrt/build_dir/toolchain-i386_pentium4_gcc-8.4.0_musl/
> linux-5.4.28'
>   INSTALL /mnt/local/btrfs/build/freifunk/ffberlin/firmware/openwrt/build_dir/
> toolchain-i386_pentium4_gcc-8.4.0_musl/linux-dev//include
> /bin/sh: 1: rsync: not found
> make[5]: *** [Makefile:1186: headers_install] Error 127
> make[5]: Leaving directory '/mnt/local/btrfs/build/freifunk/ffberlin/firmware/
> openwrt/build_dir/toolchain-i386_pentium4_gcc-8.4.0_musl/linux-5.4.28'
> make[4]: *** [Makefile:108: /mnt/local/btrfs/build/freifunk/ffberlin/firmware/
> openwrt/build_dir/toolchain-i386_pentium4_gcc-8.4.0_musl/
> linux-5.4.28/.configured] Error 2
> make[4]: Leaving directory '/mnt/local/btrfs/build/freifunk/ffberlin/firmware/
> openwrt/toolchain/kernel-headers'
> time: toolchain/kernel-headers/compile#1.46#0.83#2.26
> In https://github.com/torvalds/linux/commit/59b2bd05f5f4d the call to rsync 
> was added. I think we have the 2 options:
> * use host-command (changing the build-requirements)
> * compile it ourself (like we do with zip: ad8c2d6099a7da51)

This new dependency looks like it might have been unintentional.  rsync
is not documented in Documentation/process/changes.rst . And there must
be many other recursive file copying rules in the kernel build system,
which do *not* depend on rsync.

Maybe check with the kernel community first, verifying that this new
build dependency was in fact intended?  At the very least, that should
result in a patch to Documentation/process/changes.rst making this


openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list