Skip to content

Instantly share code, notes, and snippets.

@ilovezfs
Created April 2, 2018 09:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ilovezfs/4b68dd8af97fd5b3ac35124738b37cf6 to your computer and use it in GitHub Desktop.
Save ilovezfs/4b68dd8af97fd5b3ac35124738b37cf6 to your computer and use it in GitHub Desktop.
==> Downloading https://download.gnome.org/sources/libgit2-glib/0.26/libgit2-glib-0.26.4.tar.xz
Already downloaded: /Users/joe/Library/Caches/Homebrew/libgit2-glib-0.26.4.tar.xz
==> Verifying libgit2-glib-0.26.4.tar.xz checksum
tar xJf /Users/joe/Library/Caches/Homebrew/libgit2-glib-0.26.4.tar.xz
==> meson --prefix=/usr/local/Cellar/libgit2-glib/0.26.4_1 -Dpython=false -Dvapi=false ..
The Meson build system
Version: 0.45.1
Source dir: /private/tmp/libgit2-glib-20180402-8782-1szxcji/libgit2-glib-0.26.4
Build dir: /private/tmp/libgit2-glib-20180402-8782-1szxcji/libgit2-glib-0.26.4/build
Build type: native build
Project name: libgit2-glib
Native C compiler: clang (clang 9.0.0 "Apple LLVM version 9.0.0 (clang-900.0.38)")
Build machine cpu family: x86_64
Build machine cpu: x86_64
Compiler for C supports arguments -ffast-math -fstrict-aliasing -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Wcast-align -Wno-unused-local-typedefs -Werror=implicit -Werror=init-self -Werror=main -Werror=missing-braces -Werror=return-type -Werror=array-bounds -Werror=write-strings: YES
meson.build:101: WARNING: Trying to compare values of different types (str, bool) using ==.
The result of this is undefined and will become a hard error in a future Meson release.
Has header "termios.h": YES
Found pkg-config: /usr/local/opt/pkg-config/bin/pkg-config (0.29.2)
Native dependency glib-2.0 found: YES 2.56.0
Native dependency gobject-2.0 found: YES 2.56.0
Native dependency gio-2.0 found: YES 2.56.0
Native dependency libgit2 found: YES 0.27.0
Program g-ir-scanner found: YES (/usr/local/opt/gobject-introspection/bin/g-ir-scanner)
Checking if "libgit2 supports SSH" compiles: YES
Configuring ggit.h using configuration
Program glib-mkenums found: YES (/usr/local/opt/glib/bin/glib-mkenums)
Program g-ir-scanner found: YES (/usr/local/opt/gobject-introspection/bin/g-ir-scanner)
Program g-ir-compiler found: YES (/usr/local/opt/gobject-introspection/bin/g-ir-compiler)
Native dependency gobject-introspection-1.0 found: YES 1.56.0
Build targets in project: 9
Found ninja-1.8.2 at /usr/local/opt/ninja/bin/ninja
==> ninja
[1/85] Generating ggit-enum-types.h with a meson_exe.py custom command.
[2/85] Compiling C object 'libgit2-glib/git2-glib-1.0@sha/ggit-convert.c.o'.
[3/85] Compiling C object 'libgit2-glib/git2-glib-1.0@sha/ggit-annotated-commit.c.o'.
[4/85] Compiling C object 'libgit2-glib/git2-glib-1.0@sha/ggit-branch-enumerator.c.o'.
[5/85] Compiling C object 'libgit2-glib/git2-glib-1.0@sha/ggit-cherry-pick-options.c.o'.
[6/85] Compiling C object 'libgit2-glib/git2-glib-1.0@sha/ggit-blob.c.o'.
[7/85] Compiling C object 'libgit2-glib/git2-glib-1.0@sha/ggit-blame-options.c.o'.
[8/85] Compiling C object 'libgit2-glib/git2-glib-1.0@sha/ggit-blame.c.o'.
[9/85] Compiling C object 'libgit2-glib/git2-glib-1.0@sha/ggit-checkout-options.c.o'.
[10/85] Compiling C object 'libgit2-glib/git2-glib-1.0@sha/ggit-branch.c.o'.
[11/85] Compiling C object 'libgit2-glib/git2-glib-1.0@sha/ggit-blob-output-stream.c.o'.
[12/85] Compiling C object 'libgit2-glib/git2-glib-1.0@sha/ggit-commit.c.o'.
[13/85] Compiling C object 'libgit2-glib/git2-glib-1.0@sha/ggit-clone-options.c.o'.
[14/85] Compiling C object 'libgit2-glib/git2-glib-1.0@sha/ggit-commit-parents.c.o'.
[15/85] Compiling C object 'libgit2-glib/git2-glib-1.0@sha/ggit-config-entry.c.o'.
[16/85] Compiling C object 'libgit2-glib/git2-glib-1.0@sha/ggit-config.c.o'.
FAILED: libgit2-glib/git2-glib-1.0@sha/ggit-config.c.o
clang -Ilibgit2-glib/git2-glib-1.0@sha -Ilibgit2-glib -I../libgit2-glib -I. -I../ -I/usr/local/Cellar/pcre/8.42/include -I/usr/local/Cellar/glib/2.56.0/include/glib-2.0 -I/usr/local/Cellar/glib/2.56.0/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/libgit2/0.27.0/include -Xclang -fcolor-diagnostics -pipe -Wall -Winvalid-pch -O2 -g -ffast-math -fstrict-aliasing -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Wcast-align -Wno-unused-local-typedefs -Werror=implicit -Werror=init-self -Werror=main -Werror=missing-braces -Werror=return-type -Werror=array-bounds -Werror=write-strings -DLIBGIT2_GLIB_ENABLE_DEBUG -DG_DISABLE_CAST_CHECKS -D_REENTRANT -DGIT_SSH=1 '-DG_LOG_DOMAIN="Ggit"' -MD -MQ 'libgit2-glib/git2-glib-1.0@sha/ggit-config.c.o' -MF 'libgit2-glib/git2-glib-1.0@sha/ggit-config.c.o.d' -o 'libgit2-glib/git2-glib-1.0@sha/ggit-config.c.o' -c ../libgit2-glib/ggit-config.c
../libgit2-glib/ggit-config.c:298:41: error: too few arguments to function call, expected 5, have 4
force);
^
/usr/local/Cellar/libgit2/0.27.0/include/git2/config.h:208:1: note: 'git_config_add_file_ondisk' declared here
GIT_EXTERN(int) git_config_add_file_ondisk(
^
/usr/local/Cellar/libgit2/0.27.0/include/git2/common.h:42:27: note: expanded from macro 'GIT_EXTERN'
# define GIT_EXTERN(type) extern \
^
1 error generated.
[17/85] Compiling C object 'libgit2-glib/git2-glib-1.0@sha/ggit-cred-plaintext.c.o'.
[18/85] Compiling C object 'libgit2-glib/git2-glib-1.0@sha/ggit-cred.c.o'.
[19/85] Compiling C object 'libgit2-glib/git2-glib-1.0@sha/ggit-index-entry.c.o'.
[20/85] Generating ggit-enum-types.c with a meson_exe.py custom command.
[21/85] Compiling C object 'libgit2-glib/git2-glib-1.0@sha/ggit-diff.c.o'.
ninja: build stopped: subcommand failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment