Hiya guys,
I need some help to build gnome-builder-43.alpha. The build failed with error below.
_5_6 -DGTK_SOURCE_VERSION_MAX_ALLOWED=GTK_SOURCE_VERSION_5_6 -Wcast-align -Wdeclaration-after-statement -Werror=address -Werror=array-bounds -Werror=empty-body -Werror=implicit -Werror=implicit-function-declaration -Werror=incompatible-pointer-types -Werror=init-self -Werror=int-conversion -Werror=int-to-pointer-cast -Werror=main -Werror=misleading-indentation -Werror=missing-braces -Werror=missing-include-dirs -Werror=nonnull -Werror=overflow -Werror=pointer-arith -Werror=pointer-to-int-cast -Werror=redundant-decls -Werror=return-type -Werror=sequence-point -Werror=shadow -Werror=trigraphs -Werror=undef -Werror=write-strings -Wformat-nonliteral -Werror=format-security -Werror=format=2 -Wignored-qualifiers -Wimplicit-function-declaration -Wlogical-op -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wno-cast-function-type -Wno-dangling-pointer -Wno-missing-field-initializers -Wno-sign-compare -Wno-unused-parameter -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wuninitialized -Wunused -fno-strict-aliasing -fstack-protector-strong -DHAVE_CONFIG_H -D_GNU_SOURCE -DIDE_COMPILATION -DG_DISABLE_CAST_CHECKS -O2 -fPIC -DGIT_SSH=1 -pthread -MD -MQ src/plugins/git/daemon/gnome-builder-git.p/ipc-git-repository-impl.c.o -MF src/plugins/git/daemon/gnome-builder-git.p/ipc-git-repository-impl.c.o.d -o src/plugins/git/daemon/gnome-builder-git.p/ipc-git-repository-impl.c.o -c ../src/plugins/git/daemon/ipc-git-repository-impl.c
../src/plugins/git/daemon/ipc-git-repository-impl.c: In function âtranslate_statusâ:
../src/plugins/git/daemon/ipc-git-repository-impl.c:135:10: error: âGGIT_STATUS_CONFLICTEDâ undeclared (first use in this function); did you mean âGIT_STATUS_CONFLICTEDâ?
135 | case GGIT_STATUS_CONFLICTED:
| ^~~~~~~~~~~~~~~~~~~~~~
| GIT_STATUS_CONFLICTED
../src/plugins/git/daemon/ipc-git-repository-impl.c:135:10: note: each undeclared identifier is reported only once for each function it appears in
../src/plugins/git/daemon/ipc-git-repository-impl.c:144:10: error: âGGIT_STATUS_WORKING_TREE_RENAMEDâ undeclared (first use in this function); did you mean âGGIT_STATUS_WORKING_TREE_DELETEDâ?
144 | case GGIT_STATUS_WORKING_TREE_RENAMED:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| GGIT_STATUS_WORKING_TREE_DELETED
../src/plugins/git/daemon/ipc-git-repository-impl.c:145:10: error: âGGIT_STATUS_WORKING_TREE_UNREADABLEâ undeclared (first use in this function); did you mean âGGIT_STATUS_WORKING_TREE_TYPECHANGEâ?
145 | case GGIT_STATUS_WORKING_TREE_UNREADABLE:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| GGIT_STATUS_WORKING_TREE_TYPECHANGE
[658/1437] Compiling C object src/plugins/podman/test-podman.p/gbp-podman-runtime.c.o
ninja: build stopped: subcommand failed.
[39/787] Generating src/libide/core/ide-build-ident.h with a custom command
fatal: not a git repository (or any of the parent directories): .git
[45/781] Compiling C object src/plugins/git/daemon/gnome-builder-git.p/ipc-git-repository-impl.c.o
FAILED: src/plugins/git/daemon/gnome-builder-git.p/ipc-git-repository-impl.c.o
ccache cc -Isrc/plugins/git/daemon/gnome-builder-git.p -Isrc/plugins/git/daemon -I../src/plugins/git/daemon -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libgit2-glib-1.0 -I/tmp/snuk/gnome-builder-43.alpha1/build -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -O3 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_72 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_72 -DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_4_8 -DGDK_VERSION_MAX_ALLOWED=GDK_VERSION_4_8 -DGTK_SOURCE_VERSION_MIN_REQUIRED=GTK_SOURCE_VERSION_5_6 -DGTK_SOURCE_VERSION_MAX_ALLOWED=GTK_SOURCE_VERSION_5_6 -Wcast-align -Wdeclaration-after-statement -Werror=address -Werror=array-bounds -Werror=empty-body -Werror=implicit -Werror=implicit-function-declaration -Werror=incompatible-pointer-types -Werror=init-self -Werror=int-conversion -Werror=int-to-pointer-cast -Werror=main -Werror=misleading-indentation -Werror=missing-braces -Werror=missing-include-dirs -Werror=nonnull -Werror=overflow -Werror=pointer-arith -Werror=pointer-to-int-cast -Werror=redundant-decls -Werror=return-type -Werror=sequence-point -Werror=shadow -Werror=trigraphs -Werror=undef -Werror=write-strings -Wformat-nonliteral -Werror=format-security -Werror=format=2 -Wignored-qualifiers -Wimplicit-function-declaration -Wlogical-op -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wno-cast-function-type -Wno-dangling-pointer -Wno-missing-field-initializers -Wno-sign-compare -Wno-unused-parameter -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wuninitialized -Wunused -fno-strict-aliasing -fstack-protector-strong -DHAVE_CONFIG_H -D_GNU_SOURCE -DIDE_COMPILATION -DG_DISABLE_CAST_CHECKS -O2 -fPIC -DGIT_SSH=1 -pthread -MD -MQ src/plugins/git/daemon/gnome-builder-git.p/ipc-git-repository-impl.c.o -MF src/plugins/git/daemon/gnome-builder-git.p/ipc-git-repository-impl.c.o.d -o src/plugins/git/daemon/gnome-builder-git.p/ipc-git-repository-impl.c.o -c ../src/plugins/git/daemon/ipc-git-repository-impl.c
../src/plugins/git/daemon/ipc-git-repository-impl.c: In function âtranslate_statusâ:
../src/plugins/git/daemon/ipc-git-repository-impl.c:135:10: error: âGGIT_STATUS_CONFLICTEDâ undeclared (first use in this function); did you mean âGIT_STATUS_CONFLICTEDâ?
135 | case GGIT_STATUS_CONFLICTED:
| ^~~~~~~~~~~~~~~~~~~~~~
| GIT_STATUS_CONFLICTED
../src/plugins/git/daemon/ipc-git-repository-impl.c:135:10: note: each undeclared identifier is reported only once for each function it appears in
../src/plugins/git/daemon/ipc-git-repository-impl.c:144:10: error: âGGIT_STATUS_WORKING_TREE_RENAMEDâ undeclared (first use in this function); did you mean âGGIT_STATUS_WORKING_TREE_DELETEDâ?
144 | case GGIT_STATUS_WORKING_TREE_RENAMED:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| GGIT_STATUS_WORKING_TREE_DELETED
../src/plugins/git/daemon/ipc-git-repository-impl.c:145:10: error: âGGIT_STATUS_WORKING_TREE_UNREADABLEâ undeclared (first use in this function); did you mean âGGIT_STATUS_WORKING_TREE_TYPECHANGEâ?
145 | case GGIT_STATUS_WORKING_TREE_UNREADABLE:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| GGIT_STATUS_WORKING_TREE_TYPECHANGE
[50/781] Compiling C object src/gnome-builder.p/main.c.o
ninja: build stopped: subcommand failed.
lancs@kvm:~/git/gnome-snuk/sources/gnome-builder$