meson build error “Git command failed”
My execution command is:
git clone https://gitlab.freedesktop.org/gstreamer/gst-build.git
meson ./gst-build
and the error occurred,The message is below
[root@localhost source]# meson ./gst-build/
The Meson build system
Version: 0.55.1
Source dir: /home/wzn/object/gstreamer/source/gst-build
Build dir: /home/wzn/object/gstreamer/source
Build type: native build
Using 'PKG_CONFIG_PATH' from environment with value: '/usr/local/pkgconfig:/usr/lib64/pkgconfig/'
Using 'PKG_CONFIG_PATH' from environment with value: '/usr/local/pkgconfig:/usr/lib64/pkgconfig/'
Project name: All GStreamer modules
Project version: 1.19.0.1
C compiler for the host machine: cc (gcc 4.8.5 "cc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39)")
C linker for the host machine: cc ld.bfd 2.27-34
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program python3 found: YES (/usr/bin/python3)
Unknown option: -C
usage: git [--version] [--help] [-c name=value]
[--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
[-p|--paginate|--no-pager] [--no-replace-objects] [--bare]
[--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
<command> [<args>]
Git command failed
Subproject subprojects/orc is buildable: NO (disabling)
Unknown option: -C
usage: git [--version] [--help] [-c name=value]
[--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
[-p|--paginate|--no-pager] [--no-replace-objects] [--bare]
[--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
<command> [<args>]
gst-build/meson.build:118:4: ERROR: Git command failed
A full log can be found at /home/wzn/object/gstreamer/source/meson-logs/meson-log.txt