#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 anonymous):

 r48931 fails the prereq check on Debian 8 (Jessie) with this error, also
 reported in duplicate issue #21978 to fail on Ubuntu 15.10. This is not
 limited to ImageBuilder, it failed for me by cloning the repo, updating
 feeds and doing make prereq.

 {{{
 $ git submodule --help 2>&1 | grep -- --recursive
 git submodule [--quiet] status [--cached] [--recursive] [--] [<path>...]
                      [--depth <depth>] [--recursive] [--] [<path>...]
        git submodule [--quiet] foreach [--recursive] <command>
        git submodule [--quiet] sync [--recursive] [--] [<path>...]
            If --recursive is specified, this command will recurse into
 nested submodules, and show their status as well.
            If --recursive is specified, this command will recurse into the
 registered submodules, and update any nested submodules within.
            prints the name of each submodule before evaluating the
 command. If --recursive is given, submodules are traversed recursively
 (i.e. the given shell command is evaluated in nested
        --recursive
 }}}

 Running `MANPAGER=cat git submodule --help 2>&1 | grep -q -- --recursive`
 in a shell is successful (returns 0). As suggested by risa2000, remvoing
 `MANPAGER=cat` (reverting r48927) solves the problem.

--
Ticket URL: <https://dev.openwrt.org/ticket/21968#comment:16>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to