GNOME Bugzilla – Bug 783057
Version 1.4.4 does not build without git as BuildRequires
Last modified: 2017-05-27 23:52:26 UTC
Without git as BR build fails. [ 26s] The Meson build system [ 26s] Version: 0.40.1 [ 26s] Source dir: /home/abuild/rpmbuild/BUILD/gnome-recipes-1.4.4 [ 26s] Build dir: /home/abuild/rpmbuild/BUILD/gnome-recipes-1.4.4/build [ 26s] Build type: native build [ 26s] Project name: gnome-recipes [ 26s] Native c compiler: cc (gcc 6.3.1) [ 26s] Appending CFLAGS from environment: '-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -g' [ 26s] Build machine cpu family: x86_64 [ 26s] Build machine cpu: x86_64 [ 26s] [ 26s] Executing subproject libgd. [ 26s] [ 26s] Project name: libgd [ 26s] Native c compiler: cc (gcc 6.3.1) [ 26s] Found pkg-config: /usr/bin/pkg-config (0.29.2) [ 26s] Native dependency gtk+-3.0 found: YES 3.22.15 [ 26s] Library m found: YES [ 26s] Native dependency glib-2.0 found: YES 2.53.2 [ 26s] Build targets in project: 3 [ 26s] [ 26s] Subproject libgd finished. [ 26s] [ 26s] Meson encountered an error in file meson.build, line 21, column 0: [ 26s] Could not execute command "git". [ 26s] error: Bad exit status from /var/tmp/rpm-tmp.7jBjxK (%build) [ 26s] [ 26s] [ 26s] RPM build errors: [ 26s] Bad exit status from /var/tmp/rpm-tmp.7jBjxK (%build) [ 26s] [ 26s] haldis failed "build gnome-recipes.spec" at Wed May 24 20:12:19 UTC 2017. [ 26s] The buildroot was: /var/tmp/build-root/Factory-x86_64 With git as buildrequires, it passes the "meson configure" [ 16s] The Meson build system [ 16s] Version: 0.39.1 [ 16s] Source dir: /home/abuild/rpmbuild/BUILD/gnome-recipes-1.4.4 [ 16s] Build dir: /home/abuild/rpmbuild/BUILD/gnome-recipes-1.4.4/build [ 16s] Build type: native build [ 16s] Project name: gnome-recipes [ 16s] Native c compiler: ccache cc (gcc 6.3.1) [ 16s] Appending CFLAGS from environment: '-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -g' [ 16s] Build machine cpu family: x86_64 [ 16s] Build machine cpu: x86_64 [ 16s] [ 16s] Executing subproject libgd. [ 16s] [ 16s] Project name: libgd [ 16s] Native c compiler: ccache cc (gcc 6.3.1) [ 16s] Found pkg-config: /usr/bin/pkg-config (0.29.2) [ 16s] Native dependency gtk+-3.0 found: YES 3.22.14 [ 16s] Library m found: YES [ 16s] Native dependency glib-2.0 found: YES 2.52.2 [ 16s] Build targets in project: 3 [ 16s] [ 16s] Subproject libgd finished. [ 16s] Message: Failed to extract git commit hash for libgd: [ 16s] fatal: Not a git repository (or any of the parent directories): .git [ 16s] [ 16s] Message: Failed to extract git commit ID for recipes: [ 16s] fatal: Not a git repository (or any of the parent directories): .git [ 16s] [ 16s] Native dependency gnome-autoar-0 found: YES 0.2.2 [ 16s] Native dependency gspell-1 found: YES 1.4.0 [ 16s] Native dependency libcanberra found: YES 0.30 [ 16s] Native dependency gmodule-export-2.0 found: YES 2.52.2 [ 16s] Native dependency libsoup-2.4 found: YES 2.58.1 [ 16s] Configuring config.h using configuration [ 16s] Program list_to_c.py found: YES (/usr/bin/env python3 /home/abuild/rpmbuild/BUILD/gnome-recipes-1.4.4/src/list_to_c.py) [ 16s] Program glib-mkenums found: YES (/usr/bin/glib-mkenums) [ 16s] Program gdbus-codegen found: YES (/usr/bin/gdbus-codegen) [ 16s] Program msgfmt found: YES (/usr/bin/msgfmt) [ 16s] Configuring org.gnome.Recipes.service using configuration [ 16s] Program glib-compile-schemas found: YES (/usr/bin/glib-compile-schemas) [ 16s] Program meson_post_install.py found: YES (/home/abuild/rpmbuild/BUILD/gnome-recipes-1.4.4/meson_post_install.py) [ 16s] Build targets in project: 30 [ 16s] + /usr/bin/ninja -v -j4 -C build [ 16s] ninja: Entering directory `build' [ 16s] [1/91] 'glib-compile-resources' '../subprojects/libgd/libgd/gd