I’ve been trying to build the gnome-software package with Snappy support. I created a snapd-glib package to satisfy its dependency on this package, but it cannot detect it… My spec file for gnome-software includes both snapd-glib and snapd-glib-devel (which does depend on the former package but builddep’in it by itself gave this error so I thought I should add snapd-glib explicitly as a dep too) as build dependencies, yet it gives the error:
35s] Native dependency json-glib-1.0 found: YES 1.4.2 35s] Library m found: YES 35s] Native dependency libsecret-1 found: YES 0.18.6 35s] Native dependency libsoup-2.4 found: YES 2.62.1 35s] Native dependency sqlite3 found: YES 3.23.1 35s] Message: 0.45.0 35s] Native dependency valgrind found: YES 3.13.0 35s] Native dependency gnome-desktop-3.0 found: YES 3.28.1 35s] Native dependency gspell-1 found: YES 1.8.0 35s] Native dependency polkit-gobject-1 found: YES 0.114 35s] Native dependency packagekit-glib2 found: YES 1.1.9 35s] Native dependency fwupd found: YES 1.0.6 35s] Native dependency flatpak found: YES 0.11.5 35s] Native dependency gudev-1.0 found: YES 232 35s] 35s] meson.build:169:2: ERROR: Native dependency 'snapd-glib' not found 35s] 35s] A full log can be found at /home/abuild/rpmbuild/BUILD/gnome-software-3.28.1/build/meson-logs/meson-log.txt 35s] error: Bad exit status from /var/tmp/rpm-tmp.QXrari (%build) 35s] 35s] 35s] RPM build errors: 35s] Bad exit status from /var/tmp/rpm-tmp.QXrari (%build) 35s] 35s] fusion809-ot-pc failed "build gnome-software.spec" at Wed May 2 06:44:47 UTC 2018. 35s]
This is what I get locally on my 64-bit system, but the OBS server 64-bit build target gets the same error, for its log see https://build.opensuse.org/package/live_build_log/home:fusion809/gnome-software/openSUSE_Tumbleweed/x86_64/_log. Funny thing is that for i586 build target (instead of x86-64 which was used for the above build) it builds fine, likewise when I build locally with rpmbuild this spec file works until a ninja build failure. Any ideas why my x86-64 build fails?
Thanks for your time