Bug#934673: libgit2-glib ftbfs with meson.build:148:2: ERROR: Assert failed: libgit2 ssh support was requested, but not found. Use -Dssh=false to build without it

Pirate Praveen praveen at onenetbeyond.org
Tue Aug 13 09:44:01 BST 2019


Package: libgit2-glib
version: 0.27.8-1
severity: serious
Control: block 931684 by -1

When building with sbuild,

Determining dependency 'libgit2' with pkg-config executable
'/usr/bin/pkg-config'
PKG_CONFIG_PATH:
Called `/usr/bin/pkg-config --modversion libgit2` -> 0
0.27.7
PKG_CONFIG_PATH:
Called `/usr/bin/pkg-config --cflags libgit2` -> 0

PKG_CONFIG_PATH:
Called `/usr/bin/pkg-config libgit2 --libs` -> 0
-L/usr/lib/x86_64-linux-gnu -lgit2
PKG_CONFIG_PATH:
Called `/usr/bin/pkg-config libgit2 --libs` -> 0
-lgit2
Run-time dependency libgit2 found: YES 0.27.7
Program g-ir-scanner found: YES (/usr/bin/g-ir-scanner)
No VALAFLAGS in the environment, not changing global flags.
No LDFLAGS in the environment, not changing global flags.
Running compile:
Working directory:  /tmp/tmprx948as5
Command line:  valac /tmp/tmprx948as5/testfile.vala -C

Code:
 class MesonSanityCheck : Object { }
Compiler stdout:

Compiler stderr:

Vala compiler for the build machine: valac (valac 0.42.5)
No VALAFLAGS in the environment, not changing global flags.
No LDFLAGS in the environment, not changing global flags.
Using cached compile:
Cached command line:  valac /tmp/tmprx948as5/testfile.vala -C

Code:
 class MesonSanityCheck : Object { }
Cached compiler stdout:

Cached compiler stderr:

Vala compiler for the host machine: valac (valac 0.42.5)
Program meson_vapi_link.py found: YES (/usr/bin/python3
/<<PKGBUILDDIR>>/meson_vapi_link.py)
Running compile:
Working directory:  /tmp/tmpuanwhmo8
Command line:  ccache cc /tmp/tmpuanwhmo8/testfile.c -o
/tmp/tmpuanwhmo8/output.obj -pipe -c -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2
-D_FILE_OFFSET_BITS=64 -O0

Code:

    #include <git2.h>
    int
    main(int argc, const char *argv[])
    {
            git_libgit2_init ();
            return ((git_libgit2_features() & GIT_FEATURE_SSH) != 0) ? 0
: 1;
    }

Compiler stdout:

Compiler stderr:
 ccache: error: Failed to create directory
/sbuild-nonexistent/.ccache/tmp: Permission denied

Checking if "libgit2 supports SSH" compiles: NO

meson.build:148:2: ERROR: Assert failed: libgit2 ssh support was
requested, but not found. Use -Dssh=false to build without it.
dh_auto_configure: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 meson ..
--wrap-mode=nodownload --buildtype=plain --prefix=/usr --sysconfdir=/etc
--localstatedir=/var --libdir=lib/x86_64-linux-gnu
--libexecdir=lib/x86_64-linux-gnu -Dgtk_doc=true returned exit code 1
make[1]: *** [debian/rules:10: override_dh_auto_configure] Error 255
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:7: build] Error 2



More information about the pkg-gnome-maintainers mailing list