Package Details: libshumate-git 1.0.0.beta.r6.g125757b-1

Git Clone URL: https://aur.archlinux.org/libshumate-git.git (read-only, click to copy)
Package Base: libshumate-git
Description: GTK toolkit providing widgets for embedded maps
Upstream URL: https://wiki.gnome.org/Projects/libshumate
Keywords: maps widget
Licenses: LGPL
Conflicts: libshumate
Provides: libshumate, libshumate-1.0.so
Submitter: trissylegs
Maintainer: None
Last Packager: yochananmarqos
Votes: 3
Popularity: 0.000010
First Submitted: 2021-07-14 11:51 (UTC)
Last Updated: 2023-04-08 21:17 (UTC)

Required by (12)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3

trissylegs commented on 2021-11-04 06:27 (UTC)

I've got some updates but having trouble connecting to AUR's ssh server to committing it.

Here's the updated one for now: https://github.com/trissylegs/libshumate-git-aur

I've used a pkgver() function from the Arch wiki as @yochananmarqos pointed out.

I've added the missing protobuf-c dep.

Regarding the "Display not found" you can skip checking with --nocheck in makepkg. BUT I've now added xorg-server-xvfb that's used to run the unit tests without failing.

Sorry for the delay my desktop with Arch linux has been in storage (work laptop is Ubuntu). I got docker to run this so I could start with a minimal arch install and identify any missing deps.

freebench commented on 2021-11-03 18:54 (UTC) (edited on 2021-11-03 19:09 (UTC) by freebench)

@yochananmarqos After installing extra/protobuf-c 1.4.0-1 is does build, however fails during the tests? My best guess is that my x11 isn't configured properly... cannot open display: :0

$ makepkg -si .
==> Making package: libshumate-git 0.0-1 (Wed 03 Nov 2021 08:51:23 PM EET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating libshumate git repo...
Fetching origin
==> Validating source files with sha256sums...
    libshumate ... Skipped
==> Extracting sources...
  -> Creating working copy of libshumate git repo...
Reset branch 'makepkg'
==> Starting prepare()...
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
+ exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_lto=true -D b_pie=true libshumate build -D gtk_doc=true
Directory already configured.

Just run your build command (e.g. ninja) and Meson will regenerate as necessary.
If ninja fails, run "ninja reconfigure" or "meson --reconfigure"
to force Meson to regenerate.

If build failures persist, run "meson setup --wipe" to rebuild from scratch
using the same options as passed when configuring the build.
To change option values, run "meson configure" instead.
ninja: Entering directory `build'
ninja: no work to do.
==> Starting check()...
ninja: Entering directory `/home/admin/aur/libshumate-git/src/build'
ninja: no work to do.
 1/12 coordinate                  OK              0.20s
 2/12 file-cache                  FAIL            0.26s   killed by signal 5 SIGTRAP
>>> G_ENABLE_DIAGNOSTIC=0 G_TEST_BUILDDIR=/home/admin/aur/libshumate-git/src/build/tests GIO_USE_VOLUME_MONITOR=unix G_TEST_SRCDIR=/home/admin/aur/libshumate-git/src/libshumate/tests MALLOC_PERTURB_=10 GSETTINGS_BACKEND=memory /home/admin/aur/libshumate-git/src/build/tests/file-cache
―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― ✀  ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
stdout:
# random seed: R02S7f26ad847a0b4177ccb291a9a09468db
stderr:
No protocol specified

(/home/admin/aur/libshumate-git/src/build/tests/file-cache:5018): Gtk-WARNING **: 20:51:25.423: cannot open display: :0
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――

 3/12 marker                      OK              0.27s
 4/12 license                     OK              0.29s
 5/12 marker-layer                OK              0.25s
 6/12 map                         OK              0.33s
 7/12 vector-expression           OK              0.04s
 8/12 memory-cache                OK              0.30s
 9/12 vector-style                OK              0.05s
10/12 vector-value                OK              0.04s
11/12 network-tile-source         OK              0.36s
12/12 viewport                    OK              0.13s

Summary of Failures:

 2/12 file-cache          FAIL            0.26s   killed by signal 5 SIGTRAP


Ok:                 11
Expected Fail:      0
Fail:               1
Unexpected Pass:    0
Skipped:            0
Timeout:            0

Full log written to /home/admin/aur/libshumate-git/src/build/meson-logs/testlog.txt
==> ERROR: A failure occurred in check().
    Aborting...

yochananmarqos commented on 2021-11-03 16:52 (UTC)

@freebench: protobuf-c is a missing dependency.

freebench commented on 2021-11-03 13:33 (UTC) (edited on 2021-11-03 13:43 (UTC) by freebench)

Fails during build

    $ makepkg -si .
==> Making package: libshumate-git 0.0-1 (Wed 03 Nov 2021 03:38:31 PM EET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating libshumate git repo...
Fetching origin
==> Validating source files with sha256sums...
    libshumate ... Skipped
==> Extracting sources...
  -> Creating working copy of libshumate git repo...
Switched to a new branch 'makepkg'
==> Starting prepare()...
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
+ exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_lto=true -D b_pie=true libshumate build -D gtk_doc=true
The Meson build system
Version: 0.60.1
Source dir: /home/admin/aur/libshumate-git/src/libshumate
Build dir: /home/admin/aur/libshumate-git/src/build
Build type: native build
Project name: libshumate
Project version: 0.0.0
C compiler for the host machine: cc (gcc 11.1.0 "cc (GCC) 11.1.0")
C linker for the host machine: cc ld.bfd 2.36.1
Host machine cpu family: x86_64
Host machine cpu: x86_64
Library m found: YES
Found pkg-config: /usr/bin/pkg-config (1.8.0)
Run-time dependency glib-2.0 found: YES 2.70.0
Run-time dependency gobject-2.0 found: YES 2.70.0
Run-time dependency gio-2.0 found: YES 2.70.0
Run-time dependency cairo found: YES 1.17.4
Run-time dependency sqlite3 found: YES 3.36.0
Run-time dependency libsoup-2.4 found: YES 2.74.1
Run-time dependency gtk4 found: YES 4.4.1
Run-time dependency json-glib-1.0 found: YES 1.6.6
Found CMake: /usr/bin/cmake (3.21.4)
Run-time dependency libprotobuf-c found: NO (tried pkgconfig and cmake)

libshumate/meson.build:73:0: ERROR: Dependency "libprotobuf-c" not found, tried pkgconfig and cmake

A full log can be found at /home/admin/aur/libshumate-git/src/build/meson-logs/meson-log.txt
==> ERROR: A failure occurred in build().
    Aborting...

yochananmarqos commented on 2021-10-22 20:43 (UTC) (edited on 2021-10-22 20:44 (UTC) by yochananmarqos)

Please use a proper pkgver() function that contains the revision and commit hash.