#21968: prereq-build.mk (git-core) check broken
------------------------+------------------------
Reporter: andieq@… | Owner: developers
Type: defect | Status: reopened
Priority: normal | Milestone:
Component: toolchain | Version: Trunk
Resolution: | Keywords:
------------------------+------------------------
Comment (by risa2000):
@nbd It seems that the patch fixes the prereq check in the build, but does
not work in ImageBuilder. When I run build in ImageBuilder I am getting:
{{{
rm: missing operand
Try 'rm --help' for more information.
rm -rf /home/risa/openwrt/OpenWrt-ImageBuilder-ar71xx-generic.Linux-
x86_64/tmp /home/risa/openwrt/OpenWrt-ImageBuilder-ar71xx-generic.Linux-
x86_64/dl /home/risa/openwrt/OpenWrt-ImageBuilder-ar71xx-generic.Linux-
x86_64/build_dir/target-mips_34kc_musl-1.1.14/root-ar71xx
/home/risa/openwrt/OpenWrt-ImageBuilder-ar71xx-generic.Linux-
x86_64/bin/ar71xx
make[1]: Entering directory '/home/risa/openwrt/OpenWrt-ImageBuilder-
ar71xx-generic.Linux-x86_64'
mkdir -p tmp
rm -f tmp/.host.mk
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... ok.
Checking 'gcc'... ok.
Checking 'working-gcc'... ok.
Checking 'g++'... ok.
Checking 'working-g++'... ok.
Checking 'ncurses'... ok.
Checking 'zlib'... ok.
Checking 'libssl'... ok.
Checking 'perl-thread-queue'... ok.
Checking 'tar'... ok.
Checking 'find'... ok.
Checking 'bash'... ok.
Checking 'patch'... ok.
Checking 'diff'... ok.
Checking 'cp'... ok.
Checking 'seq'... ok.
Checking 'awk'... ok.
Checking 'grep'... ok.
Checking 'getopt'... ok.
Checking 'stat'... ok.
Checking 'md5sum'... ok.
Checking 'unzip'... ok.
Checking 'bzip2'... ok.
Checking 'wget'... ok.
Checking 'perl'... ok.
Checking 'python'... ok.
Checking 'svn'... ok.
Checking 'git'... failed.
Checking 'file'... ok.
Checking 'openssl'... ok.
Checking 'ldconfig-stub'... ok.
Build dependency: Please install Git (git-core) >= 1.7.12.2
/home/risa/openwrt/OpenWrt-ImageBuilder-ar71xx-generic.Linux-
x86_64/include/prereq.mk:12: recipe for target 'prereq' failed
Prerequisite check failed. Use FORCE=1 to override.
Makefile:91: recipe for target 'staging_dir/host/.prereq-build' failed
make[1]: *** [staging_dir/host/.prereq-build] Error 1
make[1]: Leaving directory '/home/risa/openwrt/OpenWrt-ImageBuilder-
ar71xx-generic.Linux-x86_64'
Makefile:195: recipe for target 'image' failed
make: *** [image] Error 2
}}}
Removing {{{MANPAGER=cat}}} from the check fixes it in ImageBuilder.
--
Ticket URL: <https://dev.openwrt.org/ticket/21968#comment:15>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets